This is my first post to this list, so please tell me if it is not
appropriate or if there is somewhere else I should ask.

I have developed a usb device that acts like a keyboard, and it works
under linux to the extent that I can hit keys and see characters in a
terminal.  But there seems to be something odd with its output of
strings, including the language id string, and I am having trouble
getting clues about the bad behavior.

In /proc/bus/usb/devices I see the manufacturer and product id strings,
but lsusb can't read them.  Thinking that lsusb was based on libusb, I
have been fiddling with the test program that comes with libusb
(testlibusb.c) and it also can't read the strings.

I'm trying to understand how the OS can read the strings (as reflected
by the /proc/bus/usb/devices file) but the libusb functions can't.

To do this, I have tried to find information explaining the usb ioctl
calls and, especially, their error return codes.  After an hour or so
googling for things like "usb ioctl" I haven't been getting anywhere.

Can anyone recommend where I could find the usb ioctl's listed?

Thanks.

Ben Dugan


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to