andree182 / vfs301 Goto Github PK
View Code? Open in Web Editor NEWA linux driver for (Validity) vfs301 (and others compatible) fingerprint scanner
Home Page: http://andree.sk/
A linux driver for (Validity) vfs301 (and others compatible) fingerprint scanner
Home Page: http://andree.sk/
Dear andree182,
You think about porting this driver to libfprint?
Congratulations for the wonderful job!
best regards,
Work very fine with VSF300 (Bus 001 Device 004: ID 138a:0008 Validity Sensors, Inc. VFS300 Fingeprint Reader)!
just change the proto.c line (135)
from:
dev->devh = libusb_open_device_with_vid_pid(NULL, 0x138a, 0x0005);
to:
dev->devh = libusb_open_device_with_vid_pid(NULL, 0x138a, 0x0008);
Congratulations!
(Dell Vostro 3500)
segmentation fault on the ./cli
I'm using for libfprint, but sometimes applications that used libfprint are crashed.
and...
recognition is too low. maybe i think because bottom of scanned image isn't not cropped well.
Thought you might want to know that 138a:0018 doesn't work.
lsusb -v:
Bus 006 Device 003: ID 138a:0018 Validity Sensors, Inc.
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 17
bDeviceProtocol 255
bMaxPacketSize0 8
idVendor 0x138a Validity Sensors, Inc.
idProduct 0x0018
bcdDevice 0.78
iManufacturer 0
iProduct 0
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 46
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 4
Hi, I have a similar device, VFS451, but I can't make it work no matter what I do. I was hoping you might be able to point me in the right direction so I can get this thing working... I know this repo hasn't received an update in a really long time and andree182 may not even be using the same github account anymore but I really just don't know what to do anymore with this thing :(
Hi Andree. Thanks for working on this driver. I cannot compile it. (just for the record I am not a programmer). So when I compile it i get:
gcc -ggdb pkg-config --cflags libusb-1.0
pkg-config --libs libusb-1.0
-o cli proto.c cli.c
/tmp/cchqESW9.o: In function usb_init': /home/carlos/Desktop/VFS301/cli/cli.c:52: undefined reference to
libusb_init'
/home/carlos/Desktop/VFS301/cli/cli.c:60: undefined reference to libusb_open_device_with_vid_pid' /home/carlos/Desktop/VFS301/cli/cli.c:73: undefined reference to
libusb_kernel_driver_active'
/home/carlos/Desktop/VFS301/cli/cli.c:75: undefined reference to libusb_detach_kernel_driver' /home/carlos/Desktop/VFS301/cli/cli.c:81: undefined reference to
libusb_claim_interface'
/home/carlos/Desktop/VFS301/cli/cli.c:88: undefined reference to libusb_reset_device' /home/carlos/Desktop/VFS301/cli/cli.c:94: undefined reference to
libusb_control_transfer'
/tmp/cchqESW9.o: In function usb_deinit': /home/carlos/Desktop/VFS301/cli/cli.c:110: undefined reference to
libusb_reset_device'
/home/carlos/Desktop/VFS301/cli/cli.c:117: undefined reference to libusb_release_interface' /home/carlos/Desktop/VFS301/cli/cli.c:124: undefined reference to
libusb_close'
/home/carlos/Desktop/VFS301/cli/cli.c:130: undefined reference to libusb_exit' /tmp/cchqESW9.o: In function
usb_recv':
/home/carlos/Desktop/VFS301/cli/cli.c:161: undefined reference to libusb_bulk_transfer' /tmp/cchqESW9.o: In function
usb_send':
/home/carlos/Desktop/VFS301/cli/cli.c:180: undefined reference to `libusb_bulk_transfer'
collect2: ld returned 1 exit status
make: *** [cli] Error 1
I have installed the packages libusb1-0, libusb1-0 dev, make and g++. It supposed to compile it without problem. Do you have any suggestion about this?
I am using Ubuntu 11.10 64bit. Another user claimed as well that cannot compile it and is using 64bit. Do you think is problem with the architecture?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.