Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Connect for Kids

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 60 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here




       lspci [options]


       lspci  is  a  utility for displaying information about all
       PCI buses in the system and all devices connected to them.

       If  you  are going to report bugs in PCI device drivers or
       in lspci itself, please include output of "lspci -vvx".


       -v     Tells lspci to  be  verbose  and  display  detailed
              information about all devices.

       -vv    Tells  lspci  to  be  very verbose and display even
              more  information  (actually  everything  the   PCI
              device is able to tell). The exact meaning of these
              data is not explained in this manual page,  if  you
              want to know more, consult /usr/include/linux/pci.h
              or the PCI specs.

       -n     Show PCI vendor and device codes as numbers instead
              of looking them up in the PCI ID database.

       -x     Show  hexadecimal dump of first 64 bytes of the PCI
              configuration space (the standard  header).  Useful
              for debugging of drivers and lspci itself.

       -xxx   Show  hexadecimal  dump  of whole PCI configuration
              space. Available  only  for  root  as  several  PCI
              devices  crash  when you try to read undefined por­
              tions of the config space (this behaviour  probably
              doesn't violate the PCI standard, but it's at least
              very stupid).

       -b     Bus-centric  view.  Show  all   IRQ   numbers   and
              addresses  as  seen  by  the  cards  on the PCI bus
              instead of as seen by the kernel.

       -t     Show a  tree-like  diagram  containing  all  buses,
              bridges, devices and connections between them.

       -s [[<bus>]:][<slot>][.[<func>]]
              Show  only devices in specified bus, slot and func­
              tion. Each component of the device address  can  be
              omitted or set as "*" meaning "any value". All num­
              bers are hexadecimal.  E.g., "0:" means all devices
              on  bus  0,  "0" means all functions of device 0 on
              any bus, "0.3" selects third function of  device  0
              on all buses and ".4" shows only fourth function of
              each device.

       -m     Dump PCI device data in machine readable form (both
              normal and verbose format supported) for easy pars­
              ing by scripts.

       -M     Invoke bus mapping mode which scans the bus  exten­
              sively  to  find all devices including those behind
              misconfigured bridges etc. Please note that this is
              intended only for debugging and as it can crash the
              machine (only in case of buggy devices, but  unfor­
              tunately  these  happen  to  exist), it's available
              only to root. Also using -M on PCI  access  methods
              which  don't  directly  touch  the  hardware has no
              sense since the results are (modulo bugs in  lspci)
              identical to normal listing modes.

              Shows  lspci  version.  This  option should be used


       The PCI utilities use PCILIB (a portable library providing
       platform-independent functions for PCI configuration space
       access) to talk to the PCI cards.  The  following  options
       control  parameters of the library, especially what access
       method it uses.  By default, PCILIB uses the first  avail­
       able  access  method  and  displays no debugging messages.
       Each switch is accompanied by a list of  hardware/software
       configurations it's supported in.

       -P <dir>
              Force  use  of Linux /proc/bus/pci style configura­
              tion access, using <dir> instead of  /proc/bus/pci.
              (Linux 2.1 or newer only)

       -H1    Use  direct hardware access via Intel configuration
              mechanism 1. (i386 and compatible only)

       -H2    Use direct hardware access via Intel  configuration
              mechanism  2.  Warning:  This  method  is  able  to
              address only first 16 devices on  any  bus  and  it
              seems  to  be very unrealiable in many cases. (i386
              and compatible only)

       -S     Use PCI access syscalls. (Linux on Alpha and Ultra­
              Sparc only)

       -F <file>
              Extract  all information from given file containing
              output of lspci -x. This is very useful for  analy­
              sis  of  user-supplied bug reports, because you can
              vided by the post-2.1.82  Linux  kernels.  Contains
              per-bus  subdirectories  with per-card config space
              files and a devices file containing a list  of  all
              PCI devices.




       The  Linux  PCI  Utilities  are maintained by Martin Mares

pciutils-2.1.11          04 January 2003                 lspci(8)



Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
You can choose larger fonts by selecting a different themes.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.09 Seconds