Re: How USB's are enumerated on the XO

2008-06-24 Thread shivaprasad javali
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. On the XO according to the /proc/bus/usb/devices file It is the port no. But

Re: How USB's are enumerated on the XO

2008-06-24 Thread K. K. Subramaniam
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

Re: How USB's are enumerated on the XO

2008-06-24 Thread david
On Tue, 24 Jun 2008, K. K. Subramaniam wrote: 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

Re: How USB's are enumerated on the XO

2008-06-23 Thread shivaprasad javali
I was trying to use the port no to which the usb device is connected to differentiate between two usb devices of the same type connected in my application. For that I wanted the variant field between the two usb devices so that I can uniquely identify them. P.S: The output of lshal -m wasnt of

Re: How USB's are enumerated on the XO

2008-06-23 Thread Jim Gettys
While in theory, USB devices can/should send serial numbers, that part of the spec is honored mostly by it's absence (due to cost). As John said, unfortunately, with USB you have to go down to the device and see if they have something usable to distinguish devices. - Jim On

Re: How USB's are enumerated on the XO

2008-06-23 Thread Carl-Daniel Hailfinger
On 23.06.2008 20:29, Jim Gettys wrote: While in theory, USB devices can/should send serial numbers, that part of the spec is honored mostly by it's absence (due to cost). As John said, unfortunately, with USB you have to go down to the device and see if they have something usable to

Re: How USB's are enumerated on the XO

2008-06-23 Thread Eben Eliason
On Mon, Jun 23, 2008 at 2:36 PM, Carl-Daniel Hailfinger [EMAIL PROTECTED] wrote: On 23.06.2008 20:29, Jim Gettys wrote: While in theory, USB devices can/should send serial numbers, that part of the spec is honored mostly by it's absence (due to cost). As John said, unfortunately, with USB you