I'm currently looking at developing a way to interface with a couple of
HID devices.  Specifically a bill acceptor and a swipe card reader. 
Both devices are detected and picked up by the hiddev kernel module, but
as far as I can see the hiddev doesn't provide everything I need to get
full support for these devices.  I am also finding it difficult to find
anything documentation on the HIDDEV api.   I found the
Documentation/usb/hiddev.txt and that provides some info but I was
hoping to get a more detailed example of how to use it.  I also looked
at the hiddev.c source and noticed that the write function just returns
-EINVAL.  So does this mean that you can't write at all, or is there
something else that picks up that functionality?

I've also seen the libhid library but it is a GPL library so it wouldn't
work for me.  If there isn't a good way to do this using hiddev then my
only other option is implementing the whole thing using just libusb.

Any help would be appreciated,


Michael Downey



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to