[PATCH] lshal - The next generation
Pierre Ossman
drzeus-list at drzeus.cx
Wed Nov 2 02:41:11 PST 2005
Richard Hughes wrote:
> On 30/10/05, Pierre Ossman <drzeus-list at drzeus.cx> wrote:
>
>> This is a rather extensive patch to lshal which adds a number of new
>> functions. My goal was to make it more like lspci or lsusb.
>>
>> * Short and long output, where long is the original output and short
>> prints as little as possible.
>>
>> * Sorting of devices so that parents always appear above children.
>>
>> * Tree view (only in short mode).
>>
>> * Filter to select just one device (even works with monitor).
>>
>> * Version option (-V).
>>
>> Comments welcome! :)
>>
>>
>
> You got the latest version of this patch, and I'll commit it.
>
>
Sorry for the delay. Yesterday was rather hectic.
Here is the new patch. Added some comments, put the short name
generation in a function and made it a bit more robust (if you're
paranoid you could add a strlen() check to it aswell).
Rgds
Pierre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lshal-tng.patch
Type: text/x-patch
Size: 17996 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20051102/c8cb2fc1/lshal-tng-0001.bin
More information about the hal
mailing list