Ubuntu – Red items in HTML sudo lshw -html > ~/hardware.html


I am checking list of devices installed in my system

I used the following

 sudo lshw -html > ~/hardware.html

Many items come in red in that list, others come in a yellow color.

Does red mean there's something wrong with them?

Best Answer

  • I am almost certain that the red colour indicates that the node in red is UNCLAIMED and yellow nodes are ENABLED (see below).

    When I execute lshw -html, there is one item in red in the HTML report which, on the terminal listing, is status UNCLAIMED, eg *-enclosure UNCLAIMED.

    All other nodes on the computer are yellow in the HTML and do not have a status in the terminal listing, so I assume they are most likely to be ENABLED.

    Not sure what colour the CLAIMED or DISABLED are, as there are no nodes on my computer with these statii on the terminal listing.

    Extract from http://ezix.org/project/wiki/HardwareLiSter

    How to interpret lshw's output

    lshw displays nodes with attributes in a tree-like structure (that can be in indented plain text form, HTML, XML or graphically displayed in the GUI). Each node has its individual status: it be CLAIMED (potentially usable) or UNCLAIMED (no driver has been detected for this node), ENABLED (this device is supported and can be used) or DISABLED (this device is supported but has been disabled):

    a node is marked as CLAIMED if a driver (usually a kernel module or a driver within the monolithic kernel) has been loaded for it
    a node is marked as UNCLAIMED if no specific support for it has been loaded (or lshw has been unable to identify the driver)
    a node is marked as ENABLED if a driver has been loaded for it and is fully functional
    a node is marked as DISABLED if the node has been disabled by a configuration, some hardware failure, etc.