On Mon, Jan 01, 2007 at 08:00:05PM -0500, Ron Gage wrote:
> Steve Bangert wrote:
> >  Check out the udev page at:
> >
> > http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
> >
> > Steve
> >   
> 
> Steve:
> 
> Thanks for the reply.
> 
> I must be unusually dense tonight as I don't see anything that provides 
> a working answer to my question.  I see tons of stuff about hotplug and 
> node naming, but nothing about tying the device info to the device node.

try:
        man udevinfo

it can show you this information.

For example:
        $ udevinfo --query=all --name=/dev/sdc
        P: /block/sdc
        N: sdc
        S: disk/by-id/usb-Lexar_Media_Inc._CF_20030128160726900
        S: disk/by-path/pci-0000:00:1d.7-usb-0:5:1.0-scsi-0:0:0:1
        E: ID_VENDOR=Lexar
        E: ID_MODEL=Media_Inc._CF
        E: ID_REVISION=009E
        E: ID_SERIAL=Lexar_Media_Inc._CF_20030128160726900
        E: ID_TYPE=disk
        E: ID_BUS=usb
        E: ID_PATH=pci-0000:00:1d.7-usb-0:5:1.0-scsi-0:0:0:1

Hope this helps,

greg k-h

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to