How USB's are enumerated on the XO

K. K. Subramaniam subbukk at gmail.com
Tue Jun 24 13:02:04 EDT 2008


On Tuesday 24 Jun 2008 5:18:52 pm shivaprasad javali wrote:
> The USB device that I am connecting is not a storage drive. so there is no
> way I can copy a file containing a unique UUID on the device. I just need
> one unique parameter for the device when it is connected to the system.
Have you tried using /sys/bus/usb/devices/../dev? This gives the major/minor 
number of the attached device. The major number will be that of the usb 
driver, but the minor number will be unique.

HTH,
Subbu



More information about the Devel mailing list