Keyboard backlight support for Lenovo X1 Carbon Touch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Heya,

With Matthew Garrett's help, I've been able to detect and change the
keyboard backlight on my laptop using software only.

The laptop has 3 levels of backlight (with one of them being 'off') and
can, under Linux, only be controlled using Fn+Space key combination. I
wanted to control the keyboard backlight in software to toggle it on/off
along with the screen, as happens on Macs (those running Linux anyway).

This is the user-space code poking the EC to change the backlight level:
https://gist.github.com/hadess/6847281

Matthew checked out the DSDT and said that bits 4-7 of the DWORD passed
to MLCS should be able to change the backlight level (so MLCG, modify
with the backlight level, and MLCS).

Is somebody interested in implementing the support for this? I'm happy
testing changes, but my time is limited, and I don't really know how to
attack the problem (the driver scares me a bit ;).

UPower has user-space support for the keyboard backlight on Macs, so it
would be useful if the user-space interface matched:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/hwmon/applesmc.c#n1025

Cheers


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel




[Index of Archives]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite Advice]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux