Secugen Hamster Pro 20 on Ubuntu 20.10 Groovy Gorilla
I'm trying to use the Secugen Hamster Pro 20 (USB Hamster PRO 20 VID:0x1162 PID:0x2200 (U20 class device)) as an external USB fingerprint reader for logins on Ubuntu 20.10 Groovy Gorilla. The device advertises Linux support and has a driver included in their SDK available here: https://secugen.com/request-free-software/
This is what I've tried:
$ sudo apt install fprintd libpam-fprintd libgtk2.0-dev libusb-dev
# Create a SecuGen Group
$ groupadd SecuGen
# Add fingerprint users to the SecuGen group.
$ gpasswd -a myUserID SecuGen
Create a file in /etc/udev/rules.d/99SecuGen.rules
:
ATTRS{idVendor}=="1162", ATTRS{idProduct}=="0320", SYMLINK+="input/fdu03-%k", MODE="0660", GROUP="SecuGen"
ATTRS{idVendor}=="1162", ATTRS{idProduct}=="0322", SYMLINK+="input/sdu03m-%k", MODE="0660", GROUP="SecuGen"
ATTRS{idVendor}=="1162", ATTRS{idProduct}=="0330", SYMLINK+="input/fdu04-%k", MODE="0660", GROUP="SecuGen"
ATTRS{idVendor}=="1162", ATTRS{idProduct}=="1000", SYMLINK+="input/sdu03p-%k", MODE="0660", GROUP="SecuGen"
ATTRS{idVendor}=="1162", ATTRS{idProduct}=="2000", SYMLINK+="input/sdu04p-%k", MODE="0660", GROUP="SecuGen"
ATTRS{idVendor}=="1162", ATTRS{idProduct}=="2200", SYMLINK+="input/u20-%k", MODE="0660", GROUP="SecuGen"
ATTRS{idVendor}=="1162", ATTRS{idProduct}=="2201", SYMLINK+="input/upx-%k", MODE="0660", GROUP="SecuGen"
ATTRS{idVendor}=="1162", ATTRS{idProduct}=="2203", SYMLINK+="input/u10-%k", MODE="0660", GROUP="SecuGen"
KERNEL=="uinput", MODE="0660", GROUP="SecuGen"
# in the SDK directory
$ make install
sudo /sbin/ldconfig /usr/local/lib
sudo cp libsgfdu07.so.1.0.0 /usr/local/lib
sudo cp libsgfdu06.so.1.0.0 /usr/local/lib
sudo cp libsgfdu05.so.1.0.2 /usr/local/lib
sudo cp libsgfdu04.so.1.0.4 /usr/local/lib
sudo cp libsgfdu03.so.2.0.7 /usr/local/lib
sudo cp libsgfplib.so.3.8.5 /usr/local/lib
sudo cp libsgfpamx.so.3.5.2 /usr/local/lib
sudo cp libjnisgfplib.so.3.8.5 /usr/local/lib
sudo cp libpysgfplib.so.1.0.1 /usr/local/lib
sudo cp libsgnfiq.so.1.0.0 /usr/local/lib
sudo cp libsgimage.so.1.0.0 /usr/local/lib
sudo cp libnxsdk.so /usr/local/lib
sudo cp sgfdu05mlp.dat /usr/local/lib
sudo /sbin/ldconfig /usr/local/lib
It seems like libjnisgfplib.so.3.8.0
is the most relevant. After this, some sample java programs included in their bundle are able to interact with the device, switch the light on and off, and take a few fingerprint reads. But I'm unable to interact with the device using fprintd
tools, e.g.:
$ fprintd-enroll
list_devices failed: No devices available
and because of this I cannot use fingerprint tools in the Gnome Utility for Users, where it seems it should just show up. Is there a way to I can connect this driver to the libfprint project, or do I have some other configuration missing? Thanks for any help you can provide! Thanks, too, for all the work that goes into maintaining these projects.