tag:blogger.com,1999:blog-18846074428414663372024-02-18T18:37:00.826-08:00Serge's LabLansergehttp://www.blogger.com/profile/00260720447988765817noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-1884607442841466337.post-60222530827453954862016-02-11T12:12:00.001-08:002016-02-11T12:27:13.036-08:00Fingerprint reader from HP laptopJust decided to try another fingerprint reader.<br />
The smallest I found - HP NX6325.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuETETD3WDPQEd-FzXUTvXxhMTOayHTd4JpjzmtawTKmflbi9DySYkvzJCvV_4f89MSQNMh950Za33IyCjgSZ3jAYgZaieWPxV8e2OWUTzb3g4Eb1tfvj8XKsg4VpKge_ISzKkONKbkLk/s1600/IMG_4315.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuETETD3WDPQEd-FzXUTvXxhMTOayHTd4JpjzmtawTKmflbi9DySYkvzJCvV_4f89MSQNMh950Za33IyCjgSZ3jAYgZaieWPxV8e2OWUTzb3g4Eb1tfvj8XKsg4VpKge_ISzKkONKbkLk/s320/IMG_4315.JPG" width="240" /></a></div>
After adding connector and wrapping with tape:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgz6KvnHr13pysIi9eP2462lsMXlP_veHw4aubg_Xz_sh_fo50kQvroqjpQGZPCw5xpWo4eSVjr7FsMEJfj1rmF9AtI73QlfuEIl1tnr5VnqaKiUxog-vqgVnVeoAl0SLI3q1eeCsSbFUU/s1600/IMG_4316.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgz6KvnHr13pysIi9eP2462lsMXlP_veHw4aubg_Xz_sh_fo50kQvroqjpQGZPCw5xpWo4eSVjr7FsMEJfj1rmF9AtI73QlfuEIl1tnr5VnqaKiUxog-vqgVnVeoAl0SLI3q1eeCsSbFUU/s320/IMG_4316.JPG" width="240" /></a></div>
Became very practical:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTGIp7mcxGevhqgSzqNYYak1q2oDkD0isrAGLBrJL-XuUftXUW2jdQ_VYqmKCD2KmbBDlmAtbhqlQ3wNGrjIAflpa-liKjhcxrIm32GKSEDJldGCH5IbUncZV0T6VxHwFLZ4WC4pfa36I/s1600/IMG_4318.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTGIp7mcxGevhqgSzqNYYak1q2oDkD0isrAGLBrJL-XuUftXUW2jdQ_VYqmKCD2KmbBDlmAtbhqlQ3wNGrjIAflpa-liKjhcxrIm32GKSEDJldGCH5IbUncZV0T6VxHwFLZ4WC4pfa36I/s320/IMG_4318.JPG" width="240" /></a></div>
But I found this fingerprint reader to have really bad performance. You need to swipe finger really the same way as first time to make it recognise. This makes this scanner absolutely useless because no chance to succeed in first three times. The previous reader from Lenovo laptop works 10 times from 10 tries and accept variations how the finger actually swipes.<br />
Lansergehttp://www.blogger.com/profile/00260720447988765817noreply@blogger.com1tag:blogger.com,1999:blog-1884607442841466337.post-38100890006032910092016-01-27T08:06:00.001-08:002016-01-27T08:06:49.083-08:00Cheap USB fingerprint reader (from Laptop) works with Raspberry PiJust connected it to Raspberry Pi.<br />
Did software install:<br />
<br />
> sudo apt-get install libpam-fprintd<br />
<br />
And then testing:<br />
<br />
> sudo fprintd-enroll <br />Using device /net/reactivated/Fprint/Device/0<br />Enrolling right-index-finger finger.<br />
Enroll result: enroll-stage-passed<br />Enroll result: enroll-stage-passed<br />
Enroll result: enroll-completed<br />
<br />
> sudo fprintd-verify<br />Using device /net/reactivated/Fprint/Device/0<br />Listing enrolled fingers:<br /> - #0: right-index-finger<br />Verify result: verify-match (done)<br />
<br />
So it works perfectly on Raspberry Pi.<br />
<br />Lansergehttp://www.blogger.com/profile/00260720447988765817noreply@blogger.com8tag:blogger.com,1999:blog-1884607442841466337.post-13919121400222868602016-01-27T05:51:00.000-08:002016-01-27T06:11:09.984-08:00Cheap USB Fingerprint scanner for your Linux projectRecently I bought new Lenovo Yoga 300 laptop. The choice was really fast just the day before my travel to US. Basically I bought cheapest Lenovo laptop and just paid attention to screen resolution, battery power and weight.<br />
The very first thing was installing Ubuntu on external HDD. <br />
<br />
It works just fine. Actually touchscreen and screen rotation are not working but everything else works.<br />
And I found that I really missing the fingerprint scanner. It so useful under Linux when you need to do so frequently sudo commands. And with fingerprint scanner it is just simple finger swipe instead of password typing.<br />
<br />
I looked at my old Lenovo X200 laptop and typed lsusb and found that fingerprint scanner is actually on USB bus. Aha, this is USB device.<br />
I bought spare 42W7764 fingerprint scanner taken from Lenovo laptop. It cost me around £3 from e-bay. It came with interesting flat cable and strange connector. That connector has 16 pins but flat cable has only four tracks. I just guessed that these four tracks basically USB bus. Close look at PCB confirmed that two offside pins are ground and power and two in the middle likely some differential signal.<br />
I cut flat cable in half and soldered USB cable. First I soldered GND(black) and +5V(red) and then soldered green and white in the standard order as in USB connector. After connecting, Ubuntu said that USB device appeared but with a lot of bus errors. I swapped green and white and finally got next system logs:<br />
<br />
usb 1-4.3: new full-speed USB device number 8 using xhci_hcdusb 1-4.3: New USB device found, idVendor=0483, idProduct=2016<br />
usb 1-4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0<br />
usb 1-4.3: Product: Biometric Coprocessor<br />
usb 1-4.3: Manufacturer: STMicroelectronics<br />
usb 1-4.3: ep 0x83 - rounding interval to 128 microframes, ep desc says 160 microframes<br />
<br />
It just works!!!<br />
I installed libpam-fprintd and enabled fingerprint login in User settings and everything works.<br />
<br />
I looked at other fingerprint scanners on e-bay and looks like most of them got four wires but with all different types of connectors. Likely most of them USB devices but with non standard connectors.<br />
<br />
I think my finding could be very useful to those who need some cheap fingerprint scanner for some project especially with Linux.<br />
Will try it on Raspberry Pi next day.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEil4k5MOoQnFEtAWOrzH6oYe8gdgybg_f17nkg1It4PkJ0Zj2q9Ovy94yrh1Hrx5UK61sgdvCnLcQorAwTG3az90sXk6J-uqjhrk-WWlT4ZXTe3CFAos9Ahhzw10sBzvC3dlS77BQMUeEc/s1600/IMG_4296.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEil4k5MOoQnFEtAWOrzH6oYe8gdgybg_f17nkg1It4PkJ0Zj2q9Ovy94yrh1Hrx5UK61sgdvCnLcQorAwTG3az90sXk6J-uqjhrk-WWlT4ZXTe3CFAos9Ahhzw10sBzvC3dlS77BQMUeEc/s320/IMG_4296.JPG" width="240" /></a></div>
<br />Lansergehttp://www.blogger.com/profile/00260720447988765817noreply@blogger.com7