GNU/Linux Command – LSHAL

lshal — List HAL devices

Summary:
lshal is a utility for displaying devices in the Hardware Abstraction Layer(HAL) device database. This DB maintains the list of devices, that are connected to the system in real-time.

Examples:
$ lshal -- List all HAL devices info in long and detailed format. $ lshal -l -- Same as above. $ lshal -s -- List all HAL devices info in short format (Only the Unique Device Identifier - UDI). $ lshal -st -- List the devices info in short and tree format. $ lshal -m -- Monitor the HAL devices and show the state changes. $ lshal -u computer -- Show the info of a specific device. $ lshal -u /org/freedesktop/Hal/devices/pci_8086_2a40 -- Show thedetails about the specified UID alone.
Read: man lshal

Advertisements
Tagged with: ,
Posted in Uncategorized
2 comments on “GNU/Linux Command – LSHAL
  1. Waldo T. Moose says:

    We would have never thought that years later Ubuntu 11.04 would leave lshal out of the base install. Any ideas on which package it comes in (if any)?Cheers

  2. Bharathi Subramanian says:

    @Waldo: It may be removed due to the deprecation of HAL in the latest distros. You can can achieve the same using the UDEV tool "udevadm".

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: