Mark Atwood wrote:
> Is there any existant documentation on how to read and use the
> /proc/bus/usb/nnn/mmm file points, or is it soley a matter of spending
> a month to grok the kernel usbfs code?
Presumably you did grok Documentation/usb/proc_usb_info.txt already?
It gives some pointers, though not much else, for those files.
It should be more like an afternoon to grok the usbdev_ioctl() call
in drivers/usb/.../devio.c ("..." = "." on 2.4, "core" in 2.5); you
can look at "libusb" for some examples. Or the jUSB code, which
has a more complete bus and device model, and documentation ... but
it's written in Java, which may not be your cup of tea.
On the other hand, periodically I do think it'd be useful to spend
some time writing that up. Most of the work understanding usbfs is
really understanding the device and bus model behind it.
- Dave
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel