TBC: How to setup fingerprint scanner on Arch-based Linux (Arch, Manjaro, Antergos etc.)
1. Intro & prerequisites - AUR & yaourt
The easiest way to install a fingerprint scanner software on Arch and Arch-based distros is using AUR (Arch User Repository). AUR is a repository of packages submitted by Arch users community. The package we'll be using in this tutorial is called fingerprint-gui
I recommend installing an AUR helper to deal with packages from this repository as installing them manually is time-consuming and unneeded most of the times.
The AUR helper I personally recommend is yaourt and this is the tool we'll be using in this tutorial.
To install yaourt, run the following commands:
Step-by-step method:
1.1. Login to sudo-enabled user.
> su admin
NOTE: This user cannot be root
1.2. Make sure you have both git (downloading packages from AUR) and base-devel (building packages) installed on your system
> sudo pacman -Syu git base-devel
1.3. Create temporary directory for the installation files and enter it
> mkdir /tmp/yaourt
> cd /tmp/yaourt
1.4. Download a copy of package-query git repository and enter it
> git clone https://aur.archlinux.org/package-query.git
> cd package-query
1.5. Build and install the package-query package; exit the directory afterwards
> makepkg -si
> cd ..
1.6. Download a copy of yaourt git repository and enter it
> git clone https://aur.archlinux.org/yaourt.git
> cd yaourt
1.7 Build and install the yaourt package; exit tho /tmp afterwards
> makepkg -si
> cd /tmp
1.8. Clean up unneeded files
> sudo rm -r yaourt
|
Fuck it, I know how Linux work method:
> sudo pacman -Syu git base-devel
> cd /tmp/ && git clone https://aur.archlinux.org/package-query.git > cd package-query && makepkg -si && cd /tmp/ > git clone https://aur.archlinux.org/yaourt.git > cd yaourt && makepkg -si && cd /tmp && mkdir -r /tmp/yaourt |
You can find more info about yaourt, syntax, usage, switches etc. here
Yaourt command can be run from a non-sudo user. To install any package from AUR you will have to provide root password when asked by the system (example below):
2. Installing fungerprint-gui from AUR using yaourt
To install fingerprint-gui, a package responsible for scanning fingerprints and passing them to your login manager, all you need to do now is to run a single command with yaourt:
> yaourt fingerprint-gui --noconfirm
Please note you will be asked for your password halfway through the installation as yaourt will enter fakeroot environment.
I like to add --noconfirm switch to my yaourt commands as most of the time there's no need to edit the configuration files during package installations. You can safely ignore it if you wish to edit something (and/or break something) or see exactly how the installation process from AUR works.
3. Optional: Getting the right drivers for your fingerprint reader
Fingerprint-gui comes by default with a bunch of drivers (fprint library) for the most popular fingerprint readers found in modern. You can check on the following list if your device is supported out-of-the-box.
Vendor | Example Product | USB Vendor ID | USB Product ID | Driver |
ASUS | F3Sv laptop embedded | 08ff | 1600 | aes1610 |
ASUS | R1F tablet embedded | 0483 | 2016 | upekts |
ASUS | Z37E laptop embedded | 147e | 2016 | upeksonly |
?AuthenTec | AES2550 standalone USB scanner | 08ff | 2550 | aes2550 |
Cherry | ?SmartTerminal SFR-1244U | 0483 | 2015 | upektc |
Covadis | Alya | 05ba | 000a | uru4000 |
Covadis | Atria | 05ba | 000a | uru4000 |
DigitalPersona | U.are.U 4000 Reader | 05ba | 0007 | uru4000 |
DigitalPersona | U.are.U 4000B/4500 Reader | 05ba | 000a | uru4000 |
DigitalPersona | U.are.U Fingerprint Keyboard | 05ba | 0008 | uru4000 |
Fujitsu-Siemens | FP-Sensor S26381-K342-V1 GS:01 | 08ff | 2580 | aes2501 |
Fujitsu-Siemens | Lifebook S7110 | 08ff | 2580 | aes2501 |
HP | 2510p laptop embedded | 08ff | 2580 | aes2501 |
HP | 6510b laptop embedded | 08ff | 2580 | aes2501 |
HP | 6710b laptop embedded | 08ff | 2580 | aes2501 |
HP | 6910p laptop embedded | 08ff | 2580 | aes2501 |
HP | 8710w laptop embedded | 08ff | 2580 | aes2501 |
HP | nc6400 laptop embedded | 08ff | 2580 | aes2501 |
HP | nx6125 laptop embedded | 08ff | 2580 | aes2501 |
HP | nx6325 laptop embedded | 08ff | 2580 | aes2501 |
HP | nw9440 laptop embedded | 08ff | 2580 | aes2501 |
HP | Pavilion dv6640ew laptop embedded | 08ff | 2580 | aes2501 |
HP | Pavilion HDX9494nr laptop embedded | 08ff | 2580 | aes2501 |
HP | Pavilion tx1302au tablet embedded | 08ff | 1600 | aes1610 |
HP | Pavilion tx2108ca laptop embedded | 08ff | 1600 | aes1610 |
IBM | ThinkPad T43p embedded | 0483 | 2016 | upekts |
IBM | ThinkPad T61 embedded | 0483 | 2016 | upekts |
IBM | ThinkPad X41 embedded | 0483 | 2016 | upekts |
IBM | ThinkPad X60 embedded | 0483 | 2016 | upekts |
Lenovo | V100 laptop embedded | 08ff | 1600 | aes1610 |
Lenovo | 3000 N100 laptop embedded | 08ff | 2580 | aes2501 |
Lenovo | ?ThinkPad R61i laptop embedded | 147e | 2016 | upeksonly |
Medion | MD85264 | 08ff | 2580 | aes2501 |
Microsoft | Keyboard with Fingerprint Reader | 045e | 00bb | uru4000 |
Microsoft | Wireless Intellimouse with Fingerprint Reader | 045e | 00bc | uru4000 |
Microsoft | Fingerprint Reader | 045e | 00bd | uru4000 |
Microsoft | Fingerprint Reader | 045e | 00ca | uru4000 |
Precise Biometrics | 100 XS | 08ff | 2580 | aes2501 |
Samsung | P35 laptop embedded | 0483 | 2015 | upektc |
Samsung | X65 laptop embedded | 08ff | 1600 | aes1610 |
Sony | SZ61VN embedded | 147e | 2016 | upeksonly |
System76 | Pangolin laptop embedded | 147e | 2016 | upeksonly |
Targus | PA460U DEFCON Authenticator | 08ff | 5501 | aes4000 |
Toshiba | A-105 laptop embedded | 0483 | 2016 | upekts |
UPEK | Eikon | 0483 | 2016 | upekts |
Veridicom | 5thSense | 061a | 0110 | ?vcom5s |
Verinex | XM550 | 05ba | 000a | uru4000 |
Verinex | XM570 | 05ba | 000a | uru4000 |
If you don't know your device name/manufacturer/ID, you can run a command lsusb
> lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 04f3:0903 Elan Microelectronics Corp.
Bus 001 Device 003: ID 8087:0a2b Intel Corp.
Bus 001 Device 002: ID 0bda:58e4 Realtek Semiconductor Corp.
Bus 001 Device 012: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
As you can see, my ASUS UX430 has Elan Microelectronics Corp. fingerprint reader installed with a vendor ID of 04f3 and product ID 0903. This means my fingerprint reader will not work with the default fprint drivers.
If you're out of luck as myself, you can always check the AUR repository for alternative/beta drivers, which in my case turned out to be libfprint-elantech). All I had to do to get my fingerprint reader to work was to run:
> yaourt libfprint-elantech --noconfirm
NOTE: As this package turned out to be a fork of libfprint, I had to remove it during the installation.
To be continued...
To be continued...