Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2001 12:42:00 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Rob B <rbyrnes@ozemail.com.au>
Cc:        questions@FreeBSD.ORG
Subject:   Re: /proc/pci equivalent?
Message-ID:  <20011106124200.S35710@k7.mavetju.org>
In-Reply-To: <5.1.0.14.2.20011106121304.04ff2bd0@pop.ozemail.com.au>; from rbyrnes@ozemail.com.au on Tue, Nov 06, 2001 at 12:16:49PM %2B1100
References:  <5.1.0.14.2.20011106114638.020d9d90@pop.ozemail.com.au> <Pine.BSF.3.96.1011105195644.44146F-100000@localhost> <5.1.0.14.2.20011106121304.04ff2bd0@pop.ozemail.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 06, 2001 at 12:16:49PM +1100, Rob B wrote:
> At 11:59 6/11/2001, Chris Hill sent this up the stick:
> >On Tue, 6 Nov 2001, Rob B wrote:
> >
> > > Is there a way to see what is on the PCI bus of a system?  Under Linux, I
> > > could do :
> > >
> > >          cat /proc/pci
> > >
> > > and get a dump of everything on the bus.  Is there a command like it in
> > > FreeBSD?
> >
> >You could try scanpci - it tells you stuff like
> >
> >pci bus 0x0 cardnum 0x12 function 0x0000: vendor 0x1000 device 0x000f
> >  NCR 53C875
> >   STATUS    0x0210  COMMAND 0x0007
> >   CLASS     0x01 0x00 0x00  REVISION 0x26
> >   BIST      0x00  HEADER 0x00  LATENCY 0x40  CACHE 0x08
> >...etc., blah bla
> 
> Unfortunately, scanpci doesn't exist on my system (or in the ports) and 
> Matthew's suggestion of Kcontrol is no good since this box doesn't run 
> X.  dmesg shows me what is loaded, but there is a sound device that is not 
> being shown, and I know it is there.

Scanpci is part of the XFree86-4 package, that's why you don't have it.

Edwin

-- 
Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
edwin@mavetju.org |           Interested in MUDs? Visit Fatal Dimensions:
------------------+                       http://www.FatalDimensions.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011106124200.S35710>