hal-find-by-capability1
Find device objects by capability matching
Usage
hal-find-by-capability [options]
Overview
hal-get-capability finds device object in the HAL device database by looking at device capabilities. For more information about both the big picture and specific HAL properties, refer to the HAL spec which can be found in /usr/share/doc/hal-doc/spec/hal-spec.html depending on the distribution.
Options
The following options are supported:
-
--capability -
The name of the capability.
-
--verbose -
Verbose output.
-
--help -
Print out usage.
-
--version -
Print the version.
Return value
If devices matching the given capability are found each UDI (Unique Device Identifier) is printed on stdout and the program exits with exit code 0. If no devices are found or an error occured, the program exits with a non-zero exit code.
Releases
Unchanged in 3 releases since Debian 5.0 (Lenny).