Azitech

Azimout's Linux weblog

pciids and usbids

leave a comment »

devices identify themselves to the system through 4-byte long unique ids. The first 2 bytes identify the manufacturer (vendor id) and the last 2 ones the model (device id). To see these number, run lspci -nn for pci-attached devices, and lsusb for usb-attached ones.

The way these 4-byte ids are matched with the human-readable strings is through two files: /usr/share/misc/pci.ids and /var/lib/misc/usb.ids

The first one is hosted at http://pciids.sourceforge.net/, while the second one is hosted at http://www.linux-usb.org/

You can update usb.ids by running sudo update-usbids

Update 29.09.2010: The usb.ids file now seems to be located here: /var/lib/usbutils/usb.ids

Advertisements

Written by azimout

20/10/2008 at 13:47

Posted in Reference

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: