Jessica Mayo wrote:

>On Thu, 1 Aug 2002, Andy Eager wrote:
>
>>Peter Hardy wrote:
>>
>>>I don't think there's an easy way to tell, at any given point in time,
>>>which USB device is which.  About the best you can do is say that
>>>devices are enumerated in the order they're plugged in, and know in what
>>>order they're plugged in.  Of course, for devices that were there at
>>>boot, it isn't quite that simple..
>>>
>>Thats a shame.  The same problem happens when scanner.o is loaded:  The 
>>only way to find out which device to use is to run sane-find-scanner.
>>
>
>Ok. I don't have usb set up anywhere to look at this, but look under
>/proc/scsi/
>
All that shows is what scsi devices are installed:  Not the /dev entry. 
 (In this case /dev/scd0)
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: CREATIVE Model: CD5233E          Rev: 1.00
  Type:   CD-ROM                           ANSI SCSI revision: 02

>
>and see what's there. There should be some info about what each scsi
>device is. also see if there is a
>/proc/usb/
>directory. I'm guessing now, though.
>
Once again, only shows the devices: Not the /dev entry used by the module.

>
>I would like to know if you find something useful.
>There's lots of interesting stuff in /proc, and that's probably where
>sane-find-scanner is looking.
>
No, I think sane-find-scanner is probing well known scanner entries for 
a scanner.
(By actually opening the device and asking it)


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to