Hello, we had that /proc/bus/usb/devices file, which was nice and the whole world used it to find info about the attached usb devices. The bug in this file was (and still is) that it is created on the fly, its content is not static. Now we have sysfs, and to my surprise, the content is STILL dynamic? usb_string() calls usb_get_string() which seems to send stuff over the wire. WHY is all the vendor, product, serial and what not info still dynamic? How can the info change during the "lifetime" of an attached USB device?
The current situation is, that reading the "serial" file of an USB storage device leads to an empty serial file, in some situations. This makes it really reliable... -- USB is for mice, FireWire is for men! sUse lINUX ag, nÃRNBERG ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel