On Fri, Dec 13, 2002 at 11:59:41AM -0500, Benjamin W. Dugan wrote:
> 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?

Use the source: libusb uses devio.c, you will find that in
/usr/src/linux/drivers/usb/devio.c
Search for 'proc_ioctl', and there you are.

The error codes are the usual one, as in
/usr/src/linux/include/asm/errno.h.

Greetings,
Oliver
-- 
Oh my, the stars!
       me, first time I stared at the night sky with my new contact lenses

Attachment: msg09996/pgp00000.pgp
Description: PGP signature

Reply via email to