Have updated bug description with info for the FFE. Will update again
soon once I confirm the patch is correct for Natty.

** Description changed:

  Binary package hint: gnome-power-manager
  
- upower 0.9.8 supports controlling keyboard backlights and exposes an
- appropriate dbus interface to control them.
+ The version of upower (0.9.8) in Natty now has support for controlling
+ keyboard backlights via dbus, and upstream g-p-m git HEAD (soon to be
+ released 3.0 for GNOME 3) just added support for controlling these,
+ however the version of g-p-m shipped in Natty (2.32) does not have any
+ such support.
  
- g-p-m can simply access this to control keyboard backlights in much the
- same way as it does for lcd / display backlights.
+ Keyboard backlight support was previously available via HAL in Hardy but
+ was then removed when the dehalsification started and no such support
+ has been available since, and as such adding support to g-p-m in Natty
+ is (and has been for a while) greatly needed.
  
- Attached is a patch to implement such support - this is against g-p-m in
- maverick but should apply pretty cleanly for natty since we are still
- using the same version.
+ I have written a patch against g-p-m 2.32 which provides such support
+ and is similar to the support recently added to g-p-m 3.0.
+ 
+ This patch adds a new GpmBacklightKbd object to g-p-m (which is based on
+ the existing GpmBacklight object which controls the LCD backlight) to
+ control the UPower KbdBacklight DBus interface and the patch provides
+ support for:
+ 
+ * controlling the backlight via the appropriate backlight up / down buttons
+ * automatically dimming the backlight on idle when the lcd is dimmed
+ * automatically shutting of the keyboard backlight when the lcd is shut off
+ * displaying the keyboard brightness level via notify-osd (like we do for lcd 
backlight level) when changed by the user
+ 
+ I have tested this patch significantly myself over numerous days with no
+ issues. After a quick post on the ubuntuforums
+ (http://ubuntuforums.org/showthread.php?t=1694678) at least one other
+ user has also confirmed this patch as working well and providing a
+ reasonable improvement over current sub-optimum methods of controlling
+ the keyboard backlight (such as using pommed, which is only available
+ for MacBook machines and does not support other laptops with keyboard
+ backlights such as various Asus models, which the upower + g-p-m method
+ does).
+ 
+ I am requesting a FFE to merge the attached patch into g-p-m in Natty to
+ provide such support.
+ 
+ A build log for g-p-m 2.32 in Maverick using the attached patch is
+ available my ppa (amd64 version
+ https://launchpad.net/~alexmurray/+archive/ppa/+buildjob/2283751/+files
+ /buildlog_ubuntu-maverick-amd64.gnome-power-
+ manager_2.32.0-0ubuntu2_BUILDING.txt.gz).
+ 
+ I am currently installing a natty daily vm to test building of the Natty
+ version of g-p-m 2.32 with this patch, but due to the almost identical
+ nature of g-p-m in Natty and Maverick I do not expect any problems.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.
https://bugs.launchpad.net/bugs/724324

Title:
  FFE: Add support to g-p-m for controlling keyboard backlight via
  upower in natty

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

Reply via email to