Oddbean new post about | logout
 {"name":"FreedomTechChat","about":"Freedom Tech Chat","picture":"https://m.primal.net/IFWY.png"} 
 ### Set Up Fingerprint Reader in Linux Mint

>Note: This works on the Dell XPS-13 9635 2-in-1, and on the Dell Latitude 5400 fingerprint readers

>For XPS-13, swipe down over sensor. For Latitude 5400 press ... or swipe. The XPS-13 usually take a few tries.

1. Make sure your fingerprint device is compatible with Linux
	- type `lsusb`
	- check to see if the device is included on this website: https://fprint.freedesktop.org/supported-devices
	- If `lsusb` shows a Broadcom device, you may be able to get the driver in the next step.

2. For Broadcom fingerprint devices, such as the "Broadcom Corp. 58200" on the Dell Latitude 5400. grab and install the latest .deb Broadcom driver package from this Ubuntu Canonical website: (Debian based distros only)

>Note: This link is not encrypted or secure
	- http://dell.archive.canonical.com/updates/pool/public/libf/libfprint-2-tod1-broadcom/

- `libfprint-2-tod1-broadcom_5.12.018-0ubuntu1~22.04.01_amd64.deb` is what worked on the Dell Latitude 5400 running Mint 22.
3. Make sure fingerprint packages are installed.:
	```
	sudo apt install fprintd libpam-fprintd
	```
4. Enroll your fingerprints
	```
	fprintd-enroll -f right-index-finger <username>
	```
	
	- Here's a list of "fingerprint" options. Replace `right-index-finger` in the above command with one of these.
	  - left-thumb
	  - left-index-finger
	  - left-middle-finger
	  - left-ring-finger
	  - left-little-finger
	  - right-thumb
	  - right-index-finger
	  - right-middle-finger
	  - right-ring-finger
	  - right-little-finger.
5. Enable the fingerprint option in pam.  Hit space bare to enable an option.  Make sure to leave the other options enabled so if fingerprint fails you can still log in.
    `sudo pam-auth-update`
6. Set max fingerprint tries to a larger number, such as 5 or 10
	- edit the `/etc/pam.d/common-auth` file and set the `max_tries`  equal to something larger than 1.
  
```
sudo nano /etc/pam.d/common-auth
```

```
max_tries=10
```
7. Verify the fingerprint works
```
	fprintd-verify
```

⚡️ [Follow](nostr:nprofile1qqsym07t03wahqjfl8r7hrppuqvlpralklk9mm25pzmpgkgtawx3d9gpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhszyrhwden5te0dehhxarj9ekk7mf0qyt8wumn8ghj7mn0wd68yetvd96x2uewdaexwtcs3ewhj) | 🗣 [Discuss](nostr:nevent1qqsyle9lxzgt5zvd84yhvcdgm7mtthuva2fn076nhzd6qaxd4jyudzqzypxmljmuthdcyj0ecl4ccg0qr8cgl0aha3w764qgkc29jzlt35tf2qcyqqqqq2q4hy6hy)

#FingerprintSensor #Linux