HAL

Comment 99 for bug 277589

Revision history for this message
Alex (alex-khv) wrote : Re: sony brighness on a geforce series older than 8 (nvclock works fine)

@Steve,

I have completely reinstalled hal package (previously removed all *.fdi files) and saved 10-sony-laptop-brightness.fdi to /usr/share/hal/fdi/policy/10osvendor/ and it does not work for me.

Here is the output:

defue@defue-laptop:~$ hal-find-by-property --key info.category --string laptop_panel | xargs lshal -u
udi = '/org/freedesktop/Hal/devices/computer_backlight'
  info.addons = {'hald-addon-generic-backlight'} (string list)
  info.capabilities = {'laptop_panel'} (string list)
  info.category = 'laptop_panel' (string)
  info.interfaces = {'org.freedesktop.Hal.Device.LaptopPanel'} (string list)
  info.parent = '/org/freedesktop/Hal/devices/computer' (string)
  info.product = 'Generic Backlight Device' (string)
  info.subsystem = 'backlight' (string)
  info.udi = '/org/freedesktop/Hal/devices/computer_backlight' (string)
  laptop_panel.access_method = 'general' (string)
  laptop_panel.num_levels = 8 (0x8) (int)
  linux.hotplug_type = 2 (0x2) (int)
  linux.subsystem = 'backlight' (string)
  linux.sysfs_path = '/sys/devices/virtual/backlight/sony' (string)

And here is the output before copying the file (just after clean hal reinstall):

defue@defue-laptop:~$ hal-find-by-property --key info.category --string laptop_panel | xargs lshal -u
udi = '/org/freedesktop/Hal/devices/computer_backlight'
  info.addons = {'hald-addon-generic-backlight'} (string list)
  info.capabilities = {'laptop_panel'} (string list)
  info.category = 'laptop_panel' (string)
  info.interfaces = {'org.freedesktop.Hal.Device.LaptopPanel'} (string list)
  info.parent = '/org/freedesktop/Hal/devices/computer' (string)
  info.product = 'Generic Backlight Device' (string)
  info.subsystem = 'backlight' (string)
  info.udi = '/org/freedesktop/Hal/devices/computer_backlight' (string)
  laptop_panel.access_method = 'sony-nvidia' (string)
  laptop_panel.num_levels = 86 (0x56) (int)
  linux.hotplug_type = 2 (0x2) (int)
  linux.subsystem = 'backlight' (string)
  linux.sysfs_path = '/sys/devices/virtual/backlight/sony' (string)

wierd...