On Mon, 18 Jun 2007, Dave Mielke wrote: > What about having another sysfs device file called "descriptor" which one > could > read and which would return the same data as an opened usbfs file?
Well, all the information in the device and current config descriptors is already available in sysfs, just spread out among several files. The interface and endpoint descriptor information is also available in the appropriate subdirectories (although only the info for the currently-installed configuration is in sysfs). I shouldn't think it would be too much harder to read several sysfs files than a single usbfs file. Do you really need anything other than the vendor ID, the product ID, and perhaps the bcdDevice value? Alan Stern ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users