Comment 11 for bug 461524

Revision history for this message
Giuseppe Pennisi (giupenni78) wrote :

> But, why it work in Ubuntu?
>It works in Ubuntu because gnome-power-manager uses a different backend
>(randr instead of hal)
>
Ok, I understod. Thanks!!!

$ lshal | grep system.hardware
  system.hardware.primary_video.product = 70 (0x46) (int)
  system.hardware.primary_video.vendor = 32902 (0x8086) (int)
  system.hardware.product = 'VPCEB1J1E' (string)
  system.hardware.serial = '27524450-5001362' (string)
  system.hardware.uuid = '2028BAAF-4BD7-DD11-8B87-0024BEBEE1D4' (string)
  system.hardware.vendor = 'Sony Corporation' (string)
  system.hardware.version = 'C603XXUX' (string)

I have already added in /usr/share/hal/fdi/information/10freedesktop/10-laptop-panel-hardware.fdi this code:
      <match key="/org/freedesktop/Hal/devices/computer:system.hardware.vendor" prefix_ncase="Sony">
        <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains_outof="VPCEB1J1E">
          <merge key="laptop_panel.brightness_in_hardware" type="bool">true</merge>
        </match>
      </match>

But I don't know if I did the right thing.

Thank you.