Public bug reported:

Binary package hint: hal

Brightness notification always shows the same value for laptops with
hardwired brightness control, ex T42.

Problem is get_backlight () function in: hald/linux/addons/addon-
generic-backlight.c

Line 67 reads: g_snprintf (sysfs_path, sizeof (sysfs_path),
"%s/brightness", path);

should be: g_snprintf (sysfs_path, sizeof (sysfs_path),
"%s/actual_brightness", path);

'actual_brightness' holds the current value of brightness.
'brightness' is used to set the brightness, and when read gives the last writen 
value!

** Affects: hal (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Generic get_brightness function should read 'actual_brightness' not 'brightness'
https://bugs.launchpad.net/bugs/372874
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to