[CS-FSLUG] Switching to linux (lspci, long)
Leon Brooks
xtiansrc at leon.brooks.fdns.net
Thu Sep 30 02:21:20 CDT 2004
On Mon, 20 Sep 2004 21:39, Jukka Y wrote:
> I would like to to add "lspci" (it seems to give a long listing about
> "bridges", "interfaces", "controllers" etc..). I had not heard before
> about hardware's digital ID's. How do I find them? Do they look like
> some long serial-numbers?
OK, here are some lspci listings from this machine, somewhat
line-wrapped. It is nForce2 based with an ATI video card, a Yamaha
sound card, a 3COM 3c595 ethernet card and sundry USB ports:
$ lspci -v
00:00.0 Host bridge: nVidia Corporation nForce2 AGP (different version?)
(rev a2)
Flags: bus master, 66Mhz, fast devsel, latency 0
Memory at c0000000 (32-bit, prefetchable) [size=256M]
Capabilities: <available only to root>
00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev
a2)
Subsystem: Micro-Star International Co., Ltd.: Unknown device
5700
Flags: 66Mhz, fast devsel
00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev
a2)
Subsystem: Micro-Star International Co., Ltd.: Unknown device
5700
Flags: 66Mhz, fast devsel
00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev
a2)
Subsystem: Micro-Star International Co., Ltd.: Unknown device
5700
Flags: 66Mhz, fast devsel
00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev
a2)
Subsystem: Micro-Star International Co., Ltd.: Unknown device
5700
Flags: 66Mhz, fast devsel
00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev
a2)
Subsystem: Micro-Star International Co., Ltd.: Unknown device
5700
Flags: 66Mhz, fast devsel
00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4)
Subsystem: Micro-Star International Co., Ltd.: Unknown device
5700
Flags: bus master, 66Mhz, fast devsel, latency 0
Capabilities: <available only to root>
00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
Subsystem: Micro-Star International Co., Ltd.: Unknown device
5700
Flags: 66Mhz, fast devsel, IRQ 5
I/O ports at c000 [size=32]
Capabilities: <available only to root>
00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev
a4) (prog-if 10 [OHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device
5700
Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 12
Memory at e4000000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <available only to root>
00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev
a4) (prog-if 10 [OHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device
5700
Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 10
Memory at e4001000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <available only to root>
00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev
a4) (prog-if 20 [EHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device
5700
Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 11
Memory at e4002000 (32-bit, non-prefetchable) [size=256]
Capabilities: <available only to root>
00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev
a3) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
I/O behind bridge: 00009000-0000afff
Memory behind bridge: e2000000-e3ffffff
00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2) (prog-if
8a [Master SecP PriP])
Subsystem: Micro-Star International Co., Ltd.: Unknown device
5700
Flags: bus master, 66Mhz, fast devsel, latency 0
I/O ports at f000 [size=16]
Capabilities: <available only to root>
00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev a2) (prog-if 00
[Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 32
Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
I/O behind bridge: 0000b000-0000bfff
Memory behind bridge: e0000000-e1ffffff
Prefetchable memory behind bridge: d0000000-dfffffff
01:07.0 USB Controller: VIA Technologies, Inc. USB (rev 50) (prog-if 00
[UHCI])
Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
Flags: bus master, medium devsel, latency 32, IRQ 5
I/O ports at 9000 [size=32]
Capabilities: <available only to root>
01:07.1 USB Controller: VIA Technologies, Inc. USB (rev 50) (prog-if 00
[UHCI])
Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at 9400 [size=32]
Capabilities: <available only to root>
01:07.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51) (prog-if
20 [EHCI])
Subsystem: VIA Technologies, Inc. (Wrong ID): Unknown device
1234
Flags: bus master, medium devsel, latency 32, IRQ 12
Memory at e3008000 (32-bit, non-prefetchable) [size=256]
Capabilities: <available only to root>
01:08.0 Ethernet controller: 3Com Corporation 3c595 100BaseTX [Vortex]
Flags: bus master, medium devsel, latency 248, IRQ 11
I/O ports at 9800 [size=32]
Expansion ROM at <unassigned> [disabled] [size=64K]
01:09.0 Multimedia audio controller: Yamaha Corporation YMF-744B [DS-1S
Audio Controller] (rev 02)
Subsystem: Yamaha Corporation DS-XG PCI Audio CODEC
Flags: bus master, medium devsel, latency 32, IRQ 10
Memory at e3000000 (32-bit, non-prefetchable) [size=32K]
I/O ports at 9c00 [size=64]
I/O ports at a000 [size=4]
Capabilities: <available only to root>
02:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device
5964 (rev 01) (prog-if 00 [VGA])
Subsystem: C.P. Technology Co. Ltd: Unknown device 2073
Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 10
Memory at d0000000 (32-bit, prefetchable) [size=256M]
I/O ports at b000 [size=256]
Memory at e1000000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: <available only to root>
[lucyb at leonlucy Documents]$ lspci -n
00:00.0 Class 0600: 10de:01e0 (rev a2)
00:00.1 Class 0500: 10de:01eb (rev a2)
00:00.2 Class 0500: 10de:01ee (rev a2)
00:00.3 Class 0500: 10de:01ed (rev a2)
00:00.4 Class 0500: 10de:01ec (rev a2)
00:00.5 Class 0500: 10de:01ef (rev a2)
00:01.0 Class 0601: 10de:0060 (rev a4)
00:01.1 Class 0c05: 10de:0064 (rev a2)
00:02.0 Class 0c03: 10de:0067 (rev a4)
00:02.1 Class 0c03: 10de:0067 (rev a4)
00:02.2 Class 0c03: 10de:0068 (rev a4)
00:08.0 Class 0604: 10de:006c (rev a3)
00:09.0 Class 0101: 10de:0065 (rev a2)
00:1e.0 Class 0604: 10de:01e8 (rev a2)
01:07.0 Class 0c03: 1106:3038 (rev 50)
01:07.1 Class 0c03: 1106:3038 (rev 50)
01:07.2 Class 0c03: 1106:3104 (rev 51)
01:08.0 Class 0200: 10b7:5950
01:09.0 Class 0401: 1073:0010 (rev 02)
02:00.0 Class 0300: 1002:5964 (rev 01)
[lucyb at leonlucy Documents]$
So... my sound card is this one:
01:09.0 Multimedia audio controller: Yamaha Corporation YMF-744B
[DS-1S Audio Controller] (rev 02)
That's buss #1 (ordinary PCI), slot #9 (the machine doesn't have 9
physical slots, these numbers are pretty arbitrary), subdevice 0. The
corresponding numeric listing shows its ID:
01:09.0 Class 0401: 1073:0010 (rev 02)
A Google search on '"1073:0010" alsa' shows it on this list:
http://www.calel.cl/pci-devices/alsa-device-list.html
In Mandrake, lspcidrake shows you which modules belong to which PCI (and
USB) devices; "unknown" usually means "needs no module":
$ lspcidrake -vf
unknown : Nvidia Corporation|nForce2 AGP Controller
[BRIDGE_HOST]
unknown : Nvidia Corporation|nForce2 Memory Controller
[MEMORY_RAM]
unknown : Nvidia Corporation|nForce2 Memory Controller
[MEMORY_RAM]
unknown : Nvidia Corporation|nForce2 Memory Controller
[MEMORY_RAM]
unknown : Nvidia Corporation|nForce2 Memory Controller
[MEMORY_RAM]
unknown : Nvidia Corporation|nForce2 Memory Controller
[MEMORY_RAM]
unknown : Nvidia Corporation|nForce2 LPC / Legacy /
System Management [BRIDGE_ISA]
unknown : Nvidia Corporation|nForce2 SMBus 2.0 Controller
[SERIAL_SMBUS]
usb-ohci : Nvidia Corporation|nForce2 USB 1.0 OHCI
Controller [SERIAL_USB]
usb-ohci : Nvidia Corporation|nForce2 USB 1.0 OHCI
Controller [SERIAL_USB]
ehci-hcd : Nvidia Corporation|nForce2 USB 2.0 Enhanced
Controller [SERIAL_USB]
unknown : Nvidia Corporation|nForce2 External PCI Bridge
[BRIDGE_PCI]
unknown : Nvidia Corporation|nForce2 UDMA 100 IDE
Controller [STORAGE_IDE]
unknown : Nvidia Corporation|nForce2 AGP Host to PCI
Bridge [BRIDGE_PCI]
usb-uhci : VIA Technologies|VT82C586B USB [SERIAL_USB]
usb-uhci : VIA Technologies|VT82C586B USB [SERIAL_USB]
ehci-hcd : VIA Technologies Inc|VT8235 USB Enhanced
Controller [SERIAL_USB]
3c59x : 3Com Corporation|3c595 100BaseTX [Vortex]
[NETWORK_ETHERNET]
ymfpci : Yamaha Corp|YMF-744B [DS-1S Audio Controller]
[MULTIMEDIA_AUDIO]
Card:ATI Radeon (fglrx): ATI|Radeon 9200SE 5964 (AGP) [DISPLAY_VGA]
unknown : Linux 2.6.3-14mdk ehci_hcd|EHCI Host Controller [Hub]
unknown : Genesyslogic|USB Mass Storage Device
[Mass Storage|SCSI|Bulk (Zip)]
unknown : Linux 2.6.3-14mdk ehci_hcd|EHCI Host Controller [Hub]
unknown : Linux 2.6.3-14mdk uhci_hcd|UHCI Host Controller [Hub]
unknown : Linux 2.6.3-14mdk uhci_hcd|UHCI Host Controller [Hub]
unknown : Linux 2.6.3-14mdk ohci_hcd|OHCI Host Controller [Hub]
unknown : CHESEN|USB Keyboard [Human Interface Devices|Boot
Interface Subclass|Keyboard]
unknown : A4Tech|USB Optical Mouse [Human Interface Devices|
Boot Interface Subclass|Mouse]
unknown : Epson Corp.|USB Printer [Printer|Printer
|Bidirectional]
unknown : Linux 2.6.3-14mdk ohci_hcd|OHCI Host Controller [Hub]
[lucyb at leonlucy Documents]$
Cheers; Leon
--
Think not that I am come to destroy the law, or the prophets:
I am not come to destroy, but to fulfil.
For verily I say unto you,
"Till heaven and earth pass,
one jot or one tittle shall in no wise pass from the law,
till all be fulfilled."
Whosoever therefore shall break one of these least commandments,
and shall teach men so,
he shall be called the least in the kingdom of heaven:
but whosoever shall do and teach them,
the same shall be called great in the kingdom of heaven.
-- Matthew 5:17-19, KJV
More information about the Christiansource
mailing list