On Tue, Mar 30, David Brownell wrote: > Olaf Hering wrote: > > > >The current situation is, that reading the "serial" file of an USB > >storage device leads to an empty serial file, in some situations. > > What are those situations?
There is some silly sort of media change polling. This keeps a device busy. Sometimes I get segfaults in 'read serial < $foo/serial', sometimes I get only half of the string, sometimes nothing. > I keep thinking the code to fetch string (and config, and device) > descriptors needs some fault handling and retry logic. Would that > sort of update help? No. make it static. Always. There might be broken devices that change its data during runtime. We can deal with them in another way, maybe just by triggering a reread of the data. There is no question that the device above is broken. To bad, there are too many of them, we cant ignore them. Just because "it works with Mac OS" or "it works with Windows" or whatever. -- 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
