EasyManua.ls Logo

Fujitsu PalmSecure SDK V02 - Building the Sensor Driver for Extended Function (Linux Version)

Fujitsu PalmSecure SDK V02
68 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter6 Installing the Sensor Driver for Extended Function (Linux Version)
54
6.1 Building the Sensor Driver for
Extended Function (Linux Version)
The Sensor driver for extended function for Linux is provided as the source code.
Modify and build the source code for the Senor driver for extended function
for Linux before installing on the target hardware.
!Caution Kernel configuration
The driver does not support kernels which are configured to
automatically assign minor numbers to USB devices.
Do not set the CONFIG_USB_DYNAMIC_MINORS macro when
implementing the kernel.
The following steps describe how to modify and build the source code for 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 Install the kernel-devel package of the target kernel version.
This step is not required if you have already installed.
Step2 Enter the full path to the folder where Makefile of the kernel is stored to
the following line within Makefile.
KERNDIR = # Set your target kernel source path.(Full path)
Enter the path here
Example) CentOS6.4 with the kernel version “2.6.32-358.el6.i686”.
KERNDIR = /usr/src/kernels/2.6.32-358.el6.i686
Step3 Modify the source code “fjveincam.c” and “fjveincam.has required.
Step4 Build the source code.
The module"fjveincam.ko" of the Sensor driver is created.
Tip Checking if the Sensor driver module"fjveincam.ko"
is created
You can check using the ls -l command.
-rw-rw-r-- 1 palmsec palmsec XXXXX Jan 23 16:09 fjveincam.ko
XXXXX: File size

Table of Contents