useful linux command for hardware detection

Computer builds, hardware and software discussion or troubleshooting, including peripherals. Essentially a general place to talk about desktop computers.
Locked
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

useful linux command for hardware detection

Post by Red Squirrel »

kudzu -p: probes for devices and shows a list of what it detected.

lspci: shows PCI devices

ls [hit tab for various commands that start with ls] : other fun random information.



Archived topic from Iceteks, old topic ID:4526, old post ID:36108
Honk if you love Jesus, text if you want to meet Him!
Chris Vogel
Posts: 5140
Joined: Fri Jan 10, 2003 1:14 am

useful linux command for hardware detection

Post by Chris Vogel »

Red Squirrel wrote: kudzu -p: probes for devices and shows a list of what it detected. 
Is that a KDE thing? It doesn’t work in Ubuntu.

Surely you have some sort of GUI-based way to see this, right? In Ubuntu, i can just go to System→Administration→Device Manager.

Archived topic from Iceteks, old topic ID:4526, old post ID:36111
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

useful linux command for hardware detection

Post by Red Squirrel »

I think its a redhat thing. The output looks something like this:

Code: Select all

[root@borg temp]# kudzu -p
-
class: OTHER
bus: PCI
detached: 0
driver: i2c-viapro
desc: "VIA Technologies, Inc. VT8233A ISA Bridge"
vendorId: 1106
deviceId: 3147
subVendorId: 1043
subDeviceId: 808c
pciType: 1
pcidom:    0
pcibus:  0
pcidev: 11
pcifn:  0
-
class: OTHER
bus: PCI
detached: 0
desc: "VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP]"
vendorId: 1106
deviceId: b099
subVendorId: 0000
subDeviceId: 0000
pciType: 1
pcidom:    0
pcibus:  0
pcidev:  1
pcifn:  0
-
class: OTHER
bus: USB
detached: 0
desc: "Linux 2.6.15-1.2054_FC5 ehci_hcd EHCI Host Controller"
usbclass: 9
usbsubclass: 0
usbprotocol: 0
usbbus: 1
usblevel: 0
usbport: 0
usbdev: 1
vendorId: 0000
deviceId: 0000
usbmfr: Linux 2.6.15-1.2054_FC5 ehci_hcd
usbprod: EHCI Host Controller
-
class: OTHER
bus: USB
detached: 0
desc: "Linux 2.6.15-1.2054_FC5 uhci_hcd UHCI Host Controller"
usbclass: 9
usbsubclass: 0
usbprotocol: 0
usbbus: 2
usblevel: 0
usbport: 0
usbdev: 1
vendorId: 0000
deviceId: 0000
usbmfr: Linux 2.6.15-1.2054_FC5 uhci_hcd
usbprod: UHCI Host Controller
-
class: OTHER
bus: USB
detached: 0
desc: "Linux 2.6.15-1.2054_FC5 uhci_hcd UHCI Host Controller"
usbclass: 9
usbsubclass: 0
usbprotocol: 0
usbbus: 3
usblevel: 0
usbport: 0
usbdev: 1
vendorId: 0000
deviceId: 0000
usbmfr: Linux 2.6.15-1.2054_FC5 uhci_hcd
usbprod: UHCI Host Controller
-
class: OTHER
bus: USB
detached: 0
desc: "Linux 2.6.15-1.2054_FC5 uhci_hcd UHCI Host Controller"
usbclass: 9
usbsubclass: 0
usbprotocol: 0
usbbus: 4
usblevel: 0
usbport: 0
usbdev: 1
vendorId: 0000
deviceId: 0000
usbmfr: Linux 2.6.15-1.2054_FC5 uhci_hcd
usbprod: UHCI Host Controller
-
class: OTHER
bus: USB
detached: 0
desc: "Linux 2.6.15-1.2054_FC5 uhci_hcd UHCI Host Controller"
usbclass: 9
usbsubclass: 0
usbprotocol: 0
usbbus: 5
usblevel: 0
usbport: 0
usbdev: 1
vendorId: 0000
deviceId: 0000
usbmfr: Linux 2.6.15-1.2054_FC5 uhci_hcd
usbprod: UHCI Host Controller
-
class: OTHER
bus: ISAPNP
detached: 0
desc: "PNP0200"
deviceId: PNP0200
-
class: OTHER
bus: ISAPNP
detached: 0
driver: parport_pc
desc: "PNP0401"
deviceId: PNP0401
-
class: OTHER
bus: ISAPNP
detached: 0
desc: "PNP0501"
deviceId: PNP0501
-
class: OTHER
bus: ISAPNP
detached: 0
desc: "PNP0501"
deviceId: PNP0501
-
class: OTHER
bus: ISAPNP
detached: 0
desc: "PNP0700"
deviceId: PNP0700
-
class: OTHER
bus: ISAPNP
detached: 0
desc: "PNP0800"
deviceId: PNP0800
-
class: OTHER
bus: ISAPNP
detached: 0
desc: "PNP0a03"
deviceId: PNP0a03
-
class: OTHER
bus: ISAPNP
detached: 0
desc: "PNP0b00"
deviceId: PNP0b00
-
class: OTHER
bus: ISAPNP
detached: 0
desc: "PNP0c01"
deviceId: PNP0c01
-
class: OTHER
bus: ISAPNP
detached: 0
desc: "PNP0c02"
deviceId: PNP0c02
-
class: OTHER
bus: ISAPNP
detached: 0
desc: "PNP0c02"
deviceId: PNP0c02
-
class: OTHER
bus: ISAPNP
detached: 0
desc: "PNP0c02"
deviceId: PNP0c02
-
class: OTHER
bus: ISAPNP
detached: 0
desc: "PNP0c04"
deviceId: PNP0c04
-
class: OTHER
bus: PCI
detached: 0
desc: "VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]"
vendorId: 1106
deviceId: 3099
subVendorId: 1043
subDeviceId: 807f
pciType: 1
pcidom:    0
pcibus:  0
pcidev:  0
pcifn:  0
-
class: NETWORK
bus: PCI
detached: 0
device: eth1
driver: tulip
desc: "Digital Equipment Corporation DECchip 21140 [FasterNet]"
network.hwaddr: 00:00:e8:2f:d7:a7
vendorId: 1011
deviceId: 0009
subVendorId: 0000
subDeviceId: 0000
pciType: 1
pcidom:    0
pcibus:  0
pcidev:  d
pcifn:  0
-
class: NETWORK
bus: PCI
detached: 0
device: eth0
driver: via-rhine
desc: "VIA Technologies, Inc. VT6102 [Rhine-II]"
network.hwaddr: 00:05:5d:df:84:69
vendorId: 1106
deviceId: 3065
subVendorId: 1186
subDeviceId: 1400
pciType: 1
pcidom:    0
pcibus:  0
pcidev:  f
pcifn:  0
-
class: AUDIO
bus: PCI
detached: 0
driver: snd-cmipci
desc: "C-Media Electronics Inc CM8738"
vendorId: 13f6
deviceId: 0111
subVendorId: 1043
subDeviceId: 80e2
pciType: 1
pcidom:    0
pcibus:  0
pcidev:  5
pcifn:  0
-
class: VIDEO
bus: PCI
detached: 0
driver: radeonfb
desc: "ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE]"
video.xdriver: radeon
vendorId: 1002
deviceId: 5159
subVendorId: 1002
subDeviceId: 000b
pciType: 1
pcidom:    0
pcibus:  0
pcidev:  c
pcifn:  0
-
class: VIDEO
bus: DDC
detached: 0
desc: "ATI Technologies Inc. R100"
mem: 32768
-
class: FLOPPY
bus: MISC
detached: 1
device: fd0
desc: "3.5" 1.44MB floppy drive"
-
class: HD
bus: IDE
detached: 0
device: hda
desc: "Maxtor 6Y120P0"
physical: 16383/16/63
logical: 65535/16/63
-
class: HD
bus: IDE
detached: 0
device: hdb
desc: "Maxtor 6B300R0"
physical: 16383/16/63
logical: 36483/255/63
-
class: HD
bus: IDE
detached: 0
device: hdc
desc: "ST3320620A"
physical: 16383/16/63
logical: 38913/255/63
-
class: USB
bus: PCI
detached: 0
driver: uhci-hcd
desc: "VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller"
vendorId: 1106
deviceId: 3038
subVendorId: 1043
subDeviceId: 808c
pciType: 1
pcidom:    0
pcibus:  0
pcidev: 11
pcifn:  3
-
class: USB
bus: PCI
detached: 0
driver: uhci-hcd
desc: "VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller"
vendorId: 1106
deviceId: 3038
subVendorId: 1043
subDeviceId: 808c
pciType: 1
pcidom:    0
pcibus:  0
pcidev: 11
pcifn:  2
-
class: USB
bus: PCI
detached: 0
driver: ehci-hcd
desc: "VIA Technologies, Inc. USB 2.0"
vendorId: 1106
deviceId: 3104
subVendorId: 1043
subDeviceId: 8080
pciType: 1
pcidom:    0
pcibus:  0
pcidev:  9
pcifn:  2
-
class: USB
bus: PCI
detached: 0
driver: uhci-hcd
desc: "VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller"
vendorId: 1106
deviceId: 3038
subVendorId: 1043
subDeviceId: 8080
pciType: 1
pcidom:    0
pcibus:  0
pcidev:  9
pcifn:  1
-
class: USB
bus: PCI
detached: 0
driver: uhci-hcd
desc: "VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller"
vendorId: 1106
deviceId: 3038
subVendorId: 1043
subDeviceId: 8080
pciType: 1
pcidom:    0
pcibus:  0
pcidev:  9
pcifn:  0
-
class: FIREWIRE
bus: PCI
detached: 0
driver: ohci1394
desc: "Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)"
vendorId: 104c
deviceId: 8023
subVendorId: 1043
subDeviceId: 808d
pciType: 1
pcidom:    0
pcibus:  0
pcidev:  7
pcifn:  0
-
class: IDE
bus: PCI
detached: 0
desc: "VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE"
vendorId: 1106
deviceId: 0571
subVendorId: 1043
subDeviceId: 808c
pciType: 1
pcidom:    0
pcibus:  0
pcidev: 11
pcifn:  1
[root@borg temp]# 
[code]


No GUI on my server, but I'm sure there must be a GUI equivalent somewhere. 

[color=#888888][size=85]Archived topic from Iceteks,  old topic ID:4526, old post ID:36112[/size][/color]
Honk if you love Jesus, text if you want to meet Him!
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

useful linux command for hardware detection

Post by Red Squirrel »

OMG I did not realize I had TWO maxtor drives in there. Was sure it was all seagate. I will die in a house fire.

Archived topic from Iceteks, old topic ID:4526, old post ID:36113
Honk if you love Jesus, text if you want to meet Him!
Locked