[svlug] USB question

Richard Mancusi vrman49 at gmail.com
Tue Mar 29 14:39:10 PST 2005

See if "usbview" gives you what you are looking for.


On Tue, 29 Mar 2005 13:38:38 -0800, Brian J. Tarricone
<bjt23 at cornell.edu> wrote:
> I. Craig Nichols wrote:
> >I'm having a hard time finding the answer to this, so I thought I'd try
> >asking here.
> >
> >Does anyone know a way to ask a linux system which device node
> >(/dev/sd*, /dev/USBtty*, etc.) is mapped to which USB device?
> >
> >I know the kernel must be keeping this information somewhere. How do I
> >look at it?
> >
> If you're using a 2.6 kernel, you can poke around in /sys, though it
> might take some work to figure things out.  Also, often dmesg output (or
> your syslog) will tell you, but the format of the information will
> usually be different for different types of devices.
> I think it would be helpful if you told us what you wanted to do.  If
> you simply want a way to know, for example, which device your iPod is
> after you plug it in, you can write some custom udev rules (assuming
> you're using udev, and not devfs or a static /dev) such that it will
> always appear as /dev/ipod.  Googling "custom udev rules" would probably
> tell you what you need to know, in that case.
> Otherwise, I don't think there's an easy (automated) way to figure this
> info out.  Also note that some USB devices (most digital cameras, for
> example) don't create/use entries in /dev at all, but have nodes in
> /proc/bus/usb (usually they're accessed via some app that uses libusb).
>     -brian
> _______________________________________________
> svlug mailing list
> svlug at lists.svlug.org
> http://lists.svlug.org/lists/listinfo/svlug

More information about the svlug mailing list