From owner-freebsd-questions Mon Nov 5 17:42:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id 536D337B405 for ; Mon, 5 Nov 2001 17:42:10 -0800 (PST) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 7A5222B693; Tue, 6 Nov 2001 02:42:05 +0100 (CET) Received: by k7.mavetju.org (Postfix, from userid 1001) id 8B3E2184; Tue, 6 Nov 2001 12:42:00 +1100 (EST) Date: Tue, 6 Nov 2001 12:42:00 +1100 From: Edwin Groothuis To: Rob B Cc: questions@FreeBSD.ORG Subject: Re: /proc/pci equivalent? Message-ID: <20011106124200.S35710@k7.mavetju.org> References: <5.1.0.14.2.20011106114638.020d9d90@pop.ozemail.com.au> <5.1.0.14.2.20011106121304.04ff2bd0@pop.ozemail.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 +1100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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