Ubuntu should not wait for upstream. Try out the patch.

It solves the brightness-notification issue.

1. Apply attached patch to hald
2. echo "options thinkpad_acpi hotkey=enable,0xfdffff" > 
/etc/modprobe.d/thinkpad_acpi.conf
3. Restart hal, reload thinkpad_acpi module

=> brightness notification works on Thinkpads, thus partly solving bug
#357673.


** Summary changed:

- Generic get_brightness function should read 'actual_brightness' not 
'brightness'
+ [ThinkPads] No brightness-notification - Bug in generic get_brightness 
function

** Description changed:

  Binary package hint: hal
  
  Brightness notification always shows the same value for laptops with
- hardwired brightness control, ex T42.
+ hardwired brightness control, ex T42. Thus not reflecting the true
+ brightness value.
  
  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!

-- 
[ThinkPads] No brightness-notification - Bug in generic get_brightness function
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