DIY lefty USB hub with fingerprint reader for about $5
The Project
Fingerprint readers are not the best form of security out there. Your fingerprints are literally everywhere. I wasn't going to let that stop me though. I've never had a computer with a fingerprint scanner on it, and I've always been too cheap to buy one. Then I saw a post on hackaday mentioning that many of the fingerprint scanners in laptops are USB devices.Surely, I could make my own, I thought. Let me apologize now for not taking pictures as I put this little project together. I looked up replacement fingerprint readers on taobao.com (I live in China), and found some. The only other thing I needed was a USB chord to connect to it. Then I realized I had something better, a 4-port USB hub.
Parts (approx. $5)
ThinkPad X60/X60S fingerprint scanner |
- 1x Lenovo ThinkPad X60/X60S fingerprint scanner
- 1x 4-port USB hub
Preparation
After checking everything one last time with a multimeter, I plugged it into my computer and ran the lsusb command. Yay! The list showed an attached fingerprint reader!$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 064e:9700 Suyin Corp. Asus Integrated Webcam
Bus 001 Device 002: ID 8087:0a2a Intel Corp.
Bus 001 Device 078: ID 0483:2016 STMicroelectronics Fingerprint Reader
Bus 001 Device 077: ID 1a40:0801 Terminus Technology Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Assembly
Getting It Working in Ubuntu
The last thing to do was compromise my system and setup fingerprint authentication. All that's necessary is to install libpam-fprintd and enroll a digit!
$ sudo apt-get install -y libpam-fprintd ... $ fprintd-enroll -f left-middle-finger user Using device /net/reactivated/Fprint/Device/0 Enrolling left-middle-finger finger. Enroll result: enroll-stage-passed Enroll result: enroll-stage-passed Enroll result: enroll-finger-not-centered Enroll result: enroll-completed user@user-computer:~$ sudo -i Swipe your left index finger across the fingerprint reader root@user-computer:~#
Conclusion
The top sits a little higher than it did originally, but it's just snug enough that it doesn't fall off. My Dremel is out on loan at the moment, but when I get it back, I may attempt shaving away some of the bottom side of the lid for a better fit. At any rate, I'm still very pleased with out it turned out. Now I can trash the security of all my computers (including my RPi's) with my portable USB fingerprint scanner and expand the number of available USB ports at the same time!
Next Iteration
I'm thinking about possibly taking an old, dead thumb drive and re-purposing it as a portable fingerprint scanner that can be attached to a key chain so I can more easily carry around and use the same reader across multiple devices (desktops, laptops, RPi's). If I do, I'll be sure to make a new post with more pictures of the progression ... This one is completed. You'll find it here.
I am really happy with your blog because your article is very unique and powerful for new reader.
ReplyDeleteFingerprint Scanner