Hi, A friend of mine is after some help with coding USB HID functions. Does anybody have any knowledge of experience of Linux USB API functions and data structures? In particular they are after some example C/C++ code that talks to USB HID devices but are finding thorough and complete documentation hard to find.
Any info would be much appreciated as they'd like to release some opensource software for their products.
Simon
Hi,
On 16/02/2008, S.Jude@uea.ac.uk S.Jude@uea.ac.uk wrote:
A friend of mine is after some help with coding USB HID functions. Does anybody have any knowledge of experience of Linux USB API functions and data structures? In particular they are after some example C/C++ code that talks to USB HID devices but are finding thorough and complete documentation hard to find.
Kernel-space or userspace?
I think there is a libusb for userspace stuff. Check out LDD3 for kernel space. Also search for linux-usb mailing list archives, and kernelnewbies mailing list.
-Srdj
On 16/02/2008, S.Jude@uea.ac.uk S.Jude@uea.ac.uk wrote:
Hi, A friend of mine is after some help with coding USB HID functions. Does anybody have any knowledge of experience of Linux USB API functions and data structures? In particular they are after some example C/C++ code that talks to USB HID devices but are finding thorough and complete documentation hard to find.
Oh and Documentation/usb/hiddev.txt in Linux kernel dir could be useful - it references at least 2 URLs that will have further info.
-Srdj