On Monday 21 January 2002 11:15 pm, Greg KH wrote: > On Mon, Jan 21, 2002 at 01:14:57PM -0800, David Brownell wrote: > > > > $ ls -l /proc/bus/usb/001/ > > > > total 2 > > > > -rw-r--r-- 1 root root 0 Jan 21 10:06 001 > > > > -rw-r--r-- 1 root root 0 Jan 21 10:15 002 > > > > > > > > It should be (size = 18) > > > > > > Why should it be 18, just because a previous kernel said so? :) > > > > And rather than 18, shouldn't it be instead > > > > size of device descriptor (18) > > + size of current config's descriptors (variable) > > > > If its not going to be an obvious lie, I'd rather it be correct ...:) > > Good point. Here's a patch against a clean 2.5.3-pre2 that sets the > filesize to the same amount of data that you can get if you do a read() > on the file. > > Does anyone object to this one?
No objection. Here is what it gives on my machine: $ ls -l /proc/bus/usb/001/ total 0 -rw-r--r-- 1 root root 43 Jan 22 09:43 001 -rw-r--r-- 1 root root 165 Jan 22 09:46 002 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
