Identifying PCI devices – lspci

Most PC Cards such as Network Interface Cards ( NIC ), Sound Cards are PCI devices. To get a list of PCI devices on your computer use lspci. lspci has a list of options, the most frequently used option being -v(verbose), you can also use -vv or -vvv to increase the extent of verbosity. For a complete list of options view the man pages(man lspci).

For instance if you are trying to identify your sound card use:

lspci | grep audio

on the terminal(Applications>Accessories>Terminal)

this will print the list of Sound Card/s. something like:

01:01.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 04)

Similarly lspci can also be used to identify other devices such as NICs

lspci | grep Ethernet

on the terminal lists out the NICs, you will see something like this:

01:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

To view all PCI devices use type lspci on the terminal. lspci is useful if you are trying to install drivers for your PCI devices or just plain exploring your hardware.

Advertisements

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: