Matching problems

Bastien Nocera hadess at hadess.net
Tue Jun 5 10:48:47 PDT 2007


On Tue, 2007-06-05 at 18:42 +0100, Richard Hughes wrote:
> I can't seem to get matching to work for the backlight panel anymore:
> 
>    <match key="info.category" string="laptop_panel">
>       <merge key="laptop_panel.brightness_in_hardware.yyyyyyyyyyyy" type="bool">true</merge>
>       <match key="/org/freedesktop/Hal/devices/computer:system.hardware.vendor" string="LENOVO">
>         <merge key="laptop_panel.brightness_in_hardware.zzzzzzzzzz" type="bool">true</merge>
>         <match key="/org/freedesktop/Hal/devices/computer:system.hardware.version" string="ThinkPad X60">
>           <merge key="laptop_panel.brightness_in_hardware.xxxxxxxxxxxxx" type="bool">true</merge>
>         </match>
>       </match>
>     </match>
> 
>   system.hardware.vendor = 'LENOVO'  (string)
>   system.hardware.version = 'ThinkPad X60'  (string)
> 
> I get yyyyyyyyy merged but not zzzzzzzzzzz or xxxxxxxxxx. I smell a
> matching bug somewhere, anyone got any ideas?

I was just playing with that file, and I'm getting the same sort of
problems on my Dell with current head/tip/trunk.

-- 
Bastien Nocera <hadess at hadess.net> 



More information about the hal mailing list