[Bug 288179] New: Keyboard backlight support

Corentin Chary corentin.chary at gmail.com
Sun Dec 4 08:51:39 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=288179

           Summary: Keyboard backlight support
           Product: kde
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: corentin.chary at gmail.com


Version:           unspecified (using Devel) 
OS:                Linux

More and more laptop are comming with keyboard backlight and currently KDE
doesn't handle keyboard backlight at all.

Xorg have the following keys:
#define XF86XK_KbdLightOnOff       0x1008FF04
#define XF86XK_KbdBrightnessUp     0x1008FF05
#define XF86XK_KbdBrightnessDown   0x1008FF06

And those are mapped in Qt:
    { Qt::Key_KeyboardLightOnOff,  XF86XK_KbdLightOnOff },
    { Qt::Key_KeyboardBrightnessUp,  XF86XK_KbdBrightnessUp },
    { Qt::Key_KeyboardBrightnessDown,  XF86XK_KbdBrightnessDown },

On Linux, keyboard backlight is exposed as a led (/sys/class/led) with a name
ending with ::kbd_backlight and the ABI is described here:
https://github.com/torvalds/linux/blob/master/Documentation/ABI/testing/sysfs-class-led

Currently, the following drivers export such a backlight: asus-wmi,
asus-laptop, samsung-laptop (not merged yet, but probably in 3.3), applesmc. So
if you have a samsung, asus or apple laptop with a keyboard backlight, it
should be supported (if not, please ping me).

The code should be easy to write using the existing code for brightness (except
that xrandr can't be used here, but upower/backlighthelper handle
/sys/class/backlight/ directly). Unfortunatly I don't have enought time to do
it alone (writting the Linux drivers already eats a lot of my free time), but
I've got two laptops with keyboard backlight and I'll be happy to test
anything.


Reproducible: Didn't try

Steps to Reproduce:
- Press Keyboard Brightness Up/Down

Actual Results:  
- Nothing

Expected Results:  
- The keyboard brightness is changed
- A nice OSD popup and show the current level

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list