Created
August 19, 2020 20:52
-
-
Save miguelmota/6ec27080095dfe5d2ef8095cbb317339 to your computer and use it in GitHub Desktop.
Arch linux ThinkPad T480 fingerprint reader
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| yay -S python-validity-git | |
| sudo validity-sensors-firmware | |
| sudo systemctl start python3-validity | |
| fprintd-enroll |
I installed omarchy (which is basically an Arch) on my T480 and had trouble configuring the fingerprint reader.
I removed fprintd and installed open-fprintd and python-validity. I ran the command to download the firmware, but it still didn't work.
It only worked for me after I identified that the device had an "auto" suspend setting. I changed it to "on" with the command:
echo 'on' | sudo tee /sys/bus/usb/devices/1-9/power/controlPS: You'll need to identify the device ID, in my case 1-9. I created a small bash loop that identifies the ID:
# Find exactly device ID
for device in /sys/bus/usb/devices/*; do
if [ -f "$device/idVendor" ]; then
vendor=$(cat "$device/idVendor" 2>/dev/null)
product=$(cat "$device/idProduct" 2>/dev/null)
if [ "$vendor" = "06cb" ] && [ "$product" = "009a" ]; then
echo "Device found in:: $(basename $device)"
echo "Path: $device"
fi
fi
doneAhh, sure, remember that the device identified in my lsusb is: Bus 001 Device 006: ID 06cb:009a Synaptics, Inc. Metallica MIS Touch Fingerprint Reader. This is reflected in the code above in the line if [ "$vendor" = "06cb" ] && [ "$product" = "009a" ]; then
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks a lot for this!