6.2 Installing the Sensor Driver for Extended Function (Linux Version)
6.2 Installing the Sensor Driver for
Extended Function (Linux Version)
This section describes how to install the Sensor driver for extended function
for Linux.
O
O
p
p
e
e
r
r
a
a
t
t
i
i
o
o
n
n
Step1 Ensure that the Sensor is not connected to the target hardware.
Step2 Log in as a user with root privileges.
Step3 Use the “mkdir” command to create the “misc” folder under the
“/lib/modules/(kernel version)/” folder on the target hardware.
Command) mkdir /lib/modules/(kernel version)/misc
Step4 Copy the Sensor driver module you created in “6.1 Building the Sensor
Driver for Extended Function (Linux Version)” into the folder you
created in Step 3.
The following shows the file to be copied and the destination folder.
/lib/modules/(kernel version)/misc
Step5 Use the “mkdir” command to create a folder.
Command) mkdir -p /dev/usb
Step6 Use the “mknod” command to create a special file for sensor access
"fjveincam0”.
<When connecting one Senor>
Command) mknod -m 666 /dev/usb/fjveincam0 c 180 160
<When connecting more than one Sensor> (e.g. 2 Sensors)
Command) mknod -m 666 /dev/usb/fjveincam0 c 180 160
mknod -m 666 /dev/usb/fjveincam1 c 180 161
>See> For information on multiple Sensor connections, refer to
the "System Development Guide" and "Authentication Library
Reference Guide".
Step7 Use the “depmod” command to update dependencies between
kernel modules.
Command) /sbin/depmod -a &> /dev/null
Step8 Use the “modprobe” command to load the Sensor driver module
“fjveincam”.
Command) /sbin/modprobe fjveincam