Matching problems

Richard Hughes hughsient at gmail.com
Tue Jun 5 10:42:23 PDT 2007


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?

Richard.




More information about the hal mailing list