[Hoary] /proc/pci

Matt Zimmerman mdz at ubuntu.com
Mon Mar 21 23:40:30 UTC 2005


On Sun, Mar 20, 2005 at 01:29:30PM -0500, Kirtis Bakalarczyk wrote:

> > I'm trying to configure my graphics card on Hoary, and following the
> > instructions on this page:
> > http://www.ubuntulinux.org/wiki/BinaryDriverHowto
> > where it says
> > cat /proc/pci
> > to find the type of graphics card.
> > But I don't have a pci file in proc.
> > 
> > Error on wiki or borked install?
> 
> That's very strange, /proc/pci has been around for ages and i'm not
> really sure why it's not there.. but lspci should do the same thing.

/proc/pci is a legacy interface used in Linux 2.4.  /proc/bus/pci exposes
the same information in a different format now.

At any rate, there's no need to access this stuff directly;
hal-device-manager and lspci provide a nicer interface.

-- 
 - mdz




More information about the ubuntu-users mailing list