[fprint] Device support

Kunal Gangakhedkar kunal.gangakhedkar at gmail.com
Fri Jul 2 19:17:47 BST 2010


On Tuesday 29 Jun 2010 10:15:43 pm Ray Lehtiniemi wrote:
> On 10-06-29 09:40 AM, Kunal Gangakhedkar wrote:
> > For starters, you can take a look at Ray's repo at:
> > http://github.com/rayl/vfs101driver
> >
> > This is not an fprint driver, but a set of tools he's working on to simulate
> > the protocol for the device.
> >    
> just as a quick status update,  the current code is able to configure 
> the device, enter a polling loop, and retrieve a single fingerprint into 
> a PNM file. for some reason the hardware seems to lock up at this 
> point.  once this lockup problem is solved, i think it will be fairly 
> easy (for someone who understands the fprint state machine model) to 
> take this code and produce an actual fprint driver.
>

If you're talking about the lock up in load() while reading the fingerprint, then
it's due to small buffer - I increased it to 4M instead of 1M and the program
ran to completion for me.

You can try the attached patch.

Kunal
 
> so if you're willing and able, please try out the code, try to reproduce 
> the lockup, and see if you can figure out why it's happening :-)
> 
> thanks
> ray
> 
> _______________________________________________
> fprint mailing list
> fprint at reactivated.net
> http://lists.reactivated.net/mailman/listinfo/fprint
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buffer-fixes.diff
Type: text/x-patch
Size: 1618 bytes
Desc: not available
Url : http://lists.reactivated.net/pipermail/fprint/attachments/20100702/d44e0913/buffer-fixes.bin


More information about the fprint mailing list