yoloserv/modules/fjpalmvein/README
2023-06-01 17:02:01 -03:00

71 lines
2.1 KiB
Plaintext

Getting the Fujitsu Palm Scanner to work.
A. The actual device
Plug it into a USB2.0. USB3.0 if you plan on using "high power mode" whatever that is (you wont).
Use lsusb to show the system found it: 04c5:1526 Fujitsu, Ltd FUJITSU PalmSecure-F Pro
B. The driver basics
cd fjpalmvein-main # I had to modify some things so it would compile, eg CURRENT_TIME macro
make # end up with fjveincam.ko
lsmod|grep fj # list modules already loaded with fj in the name
sudo insmod fjveincam.ko # module is now allegedly loaded
dmesg # confirmation the module is loaded and all good
uname -r # driver kernel version = 5.15.0-72-generic
sudo cp fjveincam.ko /usr/lib/modules/5.15.0-72-generic/kernel/drivers/usb/misc/
sudo rmmod fjveincam.ko
sudo insmod fjveincam.ko
C. The driver automount rules
sudo cp 93-unicon-palmvene.rules /usr/lib/udev/rules.d/ # automates mount and provides a path
tail -f /var/log/syslog #
Now unplug/replug the device
cat /tmp/fjpv # Should see the date in the file
ls -altr /tmp/usb # Should see device fjveincam0
D. The legal bullshit
Make sure you have the APP KEY P6Kiuy2L4CifuBuK for your C code.
Make sure you have the licence file F3BC4SDK.LIC in you LIB directory.
If everything isn't *JUST SO* it'll barf.
E. The C demo code
Alter the Makefile (CROSS = "") and point -I= at your libs
make
./BioAPI_sample_C_Identify # ErrorDetail 0x2010002 = sensor driver issue
!!!!!! IMPORTANT - SDK CREDENTIALS - DONT LOSE/DELETE !!!!!!
Confirmation number 95597197
Registration number Q02S-j80m-UpKL-qk5S
Application Key P6Kiuy2L4CifuBuK << goes in your C code
Email cg@dispension.ca
Passwd Dispension920!
Phone 9024189002 or 19024189002
Name carl goodwin
Institution/Company dispension inc
Country Canada
License# PC34-1000-0600-3469
Zip password zArEPdwn << for unzipping the Auth lib
Website:
User ID: ps0026035 (use with the passwd above)
Validity Period: 2024-06-01 23:59:59 (JST)