[ThinkPads] No brightness-notification - Bug in generic get_brightness function
Bug #372874 reported by
Johannes Hessellund
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HAL |
Fix Released
|
Medium
|
|||
hal (Ubuntu) |
Fix Released
|
Low
|
Steve Langasek | ||
Karmic |
Fix Released
|
Low
|
Steve Langasek |
Bug Description
Binary package hint: hal
Brightness notification always shows the same value for laptops with hardwired brightness control, ex T42. Thus not reflecting the true brightness value.
Problem is get_backlight () function in: hald/linux/
Line 67 reads: g_snprintf (sysfs_path, sizeof (sysfs_path), "%s/brightness", path);
should be: g_snprintf (sysfs_path, sizeof (sysfs_path), "%s/actual_
'actual_brightness' holds the current value of brightness.
'brightness' is used to set the brightness, and when read gives the last writen value!
Changed in hal: | |
status: | Unknown → Confirmed |
Changed in hal (Ubuntu): | |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
Changed in hal: | |
status: | Confirmed → Fix Released |
Changed in hal (Ubuntu Karmic): | |
assignee: | Canonical Foundations Team (canonical-foundations) → Steve Langasek (vorlon) |
Changed in hal (Ubuntu Karmic): | |
status: | Triaged → Fix Committed |
Changed in hal: | |
importance: | Unknown → Medium |
Changed in hal: | |
importance: | Medium → Unknown |
Changed in hal: | |
importance: | Unknown → Medium |
To post a comment you must log in.
Fixing this would partly fix bug #357673.
thinkpad hotkeys for brightness should be enabled by default after this fix.