Hi,
Two CD-ROM's (from same vendor) are connected on Linux machine, running 2.4.20
kernel. I am not able to relate the topology of individual CD-ROMs.
# cat /proc/bus/usb/devices
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00
On Tue, 23 Aug 2005, Singh, Brijeshkumar wrote:
> Hi,
>
> Two CD-ROM's (from same vendor) are connected on Linux machine, running
> 2.4.20 kernel. I am not able to relate the topology of individual CD-ROMs.
>
> # cat /proc/bus/usb/devices
>
> T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev
olve this problem.
Thanks,
Brijesh
-Original Message-
From: Alan Stern [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 24, 2005 7:29 AM
To: Singh, Brijeshkumar
Cc: linux-usb-devel@lists.sourceforge.net
Subject: Re: [linux-usb-devel] RE: how to distinguish two device if they does
not pro
On Wed, 24 Aug 2005, Singh, Brijeshkumar wrote:
> Hi Alan,
>
> Thanks for help.
>
> Unfortunately my system has four USB bus. Hence I am not to use the method
> you suggested. I was exploring possibility of adding little additional
> information in /proc/scsi/usb-storage-A/B. The information s
ev,prnt,port) are always
unique to each connected device. Please correct me if I'm wrong.
Thanks,
Brijesh
-Original Message-
From: Alan Stern [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 24, 2005 10:37 AM
To: Singh, Brijeshkumar
Cc: linux-usb-devel@lists.sourceforge.net
Subject
On Wed, 24 Aug 2005, Singh, Brijeshkumar wrote:
> Alan thanks for quick response.
>
> By index I mean local "index" variable in drive/usb/device.c [function
> usb_device_dump]. As if I understand, the below snippet from
> drive/usb/device.c writes topology;
>
> static ssize_t usb_device_dump(cha
gramming so please excuse for silly questions.
Thanks.
Brijesh
-Original Message-
From: Alan Stern [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 24, 2005 11:06 AM
To: Singh, Brijeshkumar
Cc: linux-usb-devel@lists.sourceforge.net
Subject: RE: [linux-usb-devel] RE: how to distinguish two dev
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Singh,
Brijeshkumar
Sent: Wednesday, August 24, 2005 3:11 PM
To: Alan Stern
Cc: linux-usb-devel@lists.sourceforge.net
Subject: RE: [linux-usb-devel] RE: how to distinguish two device if they
does not prov
return (pos - buffer - offset);
else
return (length);
}
Thanks for all your help.
-Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Singh,
Brijeshkumar
Sent: Wednesday, August 24, 2005 3:11 PM
To: Alan Stern
Cc: linux-usb-devel@lists.sourcef