Greg KH wrote:
On Tue, Dec 04, 2007 at 05:56:34PM +0000, Phil Endecott wrote:
Greg KH wrote:
Ah, it's the "busnum" and "devnum" sysfs files, that should be all you
need to go from sysfs to the usbfs file name.
I don't seem to have "busnum" on this box; I guess it's relatively new?
what kernel version are you looking at?
Various but none particularly new, e.g. 2.6.19.
It seems that busnum was added by a patch from Alan Stern in April this
year (as903). I think it will be a while before we can rely on this
being present everywhere.
I have implemented something similar to the shell script that I posted
before and it seems to work satisfactorily.
Regards,
Phil.
-
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html