[PATCH] lshal - The next generation

Pierre Ossman drzeus-list at drzeus.cx
Mon Oct 31 07:13:33 PST 2005


Richard Hughes wrote:
> On Mon, 2005-10-31 at 15:57 +0100, Pierre Ossman wrote:
>   
>> [drzeus at poseidon]$ ./lshal
>> computer
>> acpi_PWRF
>> acpi_C1BE
>> acpi_C136
>> acpi_C134
>> acpi_CPU0
>> acpi_C11F
>> computer_alsa_timer
>>     
>
> Just the device names, or the UDI's also?
>
>   

The short output is based on the assumption that most of the UDI is 
static. The output is:

strrchr(udi, '/') + 1

The filter mode accepts both this short version (prepending a 
compile-time string) and a full UDI.

Rgds
Pierre



More information about the hal mailing list