[olug] usb device relation to scsi device

Sam Tetherow tetherow at nicusa.com
Fri May 9 13:46:25 UTC 2003


/proc/bus/usb/devices

You will need to include proc support for USB in your kernel.  for more 
info check /usr/src/linux/Documentation/usb/proc_usb_info.txt

Whether this will give Brian the scsi mapping for his mass storage 
device I don't know (don't have any to test, the only USB device I have 
is a mouse).

Eric Penne wrote:
> my cf reader reports to dmesg without the card plugged in.  I've kinda
> been looking for something similar.  Some type of program that gives a
> listing of all the USB devices that are connected.
> 
> 
>>Anything besides dmesg has been my question I guess... I'm looking for
>>something in /proc or some standard way of correlating between the two
>>(usb device to scsi) as it doesn't always show up on dmesg (it doesn't
>>actually, thats the problem).  Sometimes also adding the usb device to a
>>running system doesn't report anything to dmesg.  I think also if it's a
>>usb sm/cf card reader, it might not say anything unless it detects the
>>card inserted on boot?
>>
>>
>>On Wed, 7 May 2003 18:36:05 -0500 (CDT)
>>"Eric Penne" <epenne at olug.org> wrote:
>>
>>|I check dmesg to see what it registered as.
>>|
>>|> If I hookup a usb mass storage device, like a digital camera/smart |>
>>media/compact flash or such, and linux recognizes it as a scsi device |>
>>(usually as /dev/sda1), is there any way to find this out in the |>
>>system? Can I find out how a certain usb device is being references as
>>|> scsi one(/dev/sd** instead of trying each one...)
>>|>
>>|> mount -t vfat /dev/sda1 /mnt/usb
>>|> mount -t vfat /dev/sda1 /mnt/usb ...
>>|>
>>|> peace
>>|>
>>|>   Brian Wiese | bwiese at cotse.com | aim: unolinuxguru
>>|> ------------------------------------------------------
>>|>   GnuPG/PGP key 0x6BFF6681 | "FREEDOM!" - Braveheart
>>|> ------------------------------------------------------
>>|> This is not about Napster or DVDs. It's about your Freedom.
>>|>   I'll see your DMCA and raise you a First Amendment.
>>|>               http://www.anti-dmca.org
>>|> _______________________________________________
>>|> OLUG mailing list
>>|> OLUG at olug.org
>>|> http://lists.olug.org/mailman/listinfo/olug
>>|
>>|
>>|_______________________________________________
>>|OLUG mailing list
>>|OLUG at olug.org
>>|http://lists.olug.org/mailman/listinfo/olug
>>|
>>
>>
>>  Brian Wiese | bwiese at cotse.com | aim: unolinuxguru
>>------------------------------------------------------
>>  GnuPG/PGP key 0x6BFF6681 | "FREEDOM!" - Braveheart
>>------------------------------------------------------
>>This is not about Napster or DVDs. It's about your Freedom.
>>  I'll see your DMCA and raise you a First Amendment.
>>              http://www.anti-dmca.org
>>_______________________________________________
>>OLUG mailing list
>>OLUG at olug.org
>>http://lists.olug.org/mailman/listinfo/olug
> 
> 
> 
> 
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug


-- 
------------------------------------------------------------------------
Sam Tetherow                           tetherow at nicusa.com
Director of Development
NIC Labs (PSSG)                        http://www.nicusa.com



More information about the OLUG mailing list