Show Hardware Device Information on Linux

The step by step example below show the example of lshw command with -X option ( lshw-gui command) to show hardware device information on Linux Fedora desktop. The lshw -X command ( lshw-gui command ) must be execute in Graphical User Interface (GUI desktop) environment in order to see the hardware device information on graphical window screen. You may get error output if execute lshw -X (lshw-gui) if not log in on Graphical User Interface Desktop mode.

Show hardware device information:

1. Open Terminal on the Gnome desktop, go to menu bar... Application -> System Tools -> and click on Terminal.
2. Execute lshw -X & or lshw-gui &, to open the lshw graphical screen, as show on example below.


[root@fedora ~]# lshw -X &
[1] 3058
[root@fedora ~]#

3. The figure show the example of lshw -X window screen (lshw-gui window screen). Browse to see hardware device information by clicking on the hardware device listed on the lshw window screen.




Example when executing lshw -X and lshw-gui command display the error message when not in GUI mode:

lshw -X:
[root@fedora ~]# lshw -X

(gtk-lshw:3201): Gtk-WARNING **: cannot open display:
[root@fedora ~]#

lshw-gui:
[root@fedora ~]# lshw-gui

(lshw-gui:3202): Gtk-WARNING **: cannot open display:
[root@fedora ~]#

Keywords: show hardware information, show hardware device, hardware information, lshw-gui, graphical hardware information, lshw-gui command





To see PCI connected devices, from the command line do: lspci
For USB connected devices... lsusb


Hwinfo –short
Udevinfo

No comments:

Post a Comment