[ltp] Re: tpacpi bug in tpacpi::thinklight/brightness for X1 Carbon

flip linux-thinkpad@linux-thinkpad.org
Wed, 5 Mar 2014 14:29:48 -0800 (PST)


Hi,

I have the same problem on W530 which has backlight keyboard and thinklight.
Pressing Fn+Space toggles between 4 different states: keyboard with low
brightness, high brightness, thinklight (without keyboard backlight), and
off.
I tried to do what you wrote with input-events:

root@flipc /home/flip # input-events 5
/dev/input/event5
   bustype : BUS_HOST
   vendor  : 0x17aa
   product : 0x5054
   version : 16641
   name    : "ThinkPad Extra Buttons"
   phys    : "thinkpad_acpi/input0"
   bits ev : EV_SYN EV_KEY EV_MSC EV_SW

waiting for events
13:12:44.872288: EV_MSC MSC_SCAN 17
13:12:44.872288: EV_KEY KEY_KBDILLUMTOGGLE pressed
13:12:44.872288: EV_SYN code=0 value=0
13:12:44.872305: EV_MSC MSC_SCAN 17
13:12:44.872305: EV_KEY KEY_KBDILLUMTOGGLE released
13:12:44.872305: EV_SYN code=0 value=0
13:12:47.523113: EV_MSC MSC_SCAN 17
13:12:47.523113: EV_KEY KEY_KBDILLUMTOGGLE pressed
13:12:47.523113: EV_SYN code=0 value=0
13:12:47.523126: EV_MSC MSC_SCAN 17
13:12:47.523126: EV_KEY KEY_KBDILLUMTOGGLE released
13:12:47.523126: EV_SYN code=0 value=0
13:12:49.598790: EV_MSC MSC_SCAN 17
13:12:49.598790: EV_KEY KEY_KBDILLUMTOGGLE pressed
13:12:49.598790: EV_SYN code=0 value=0
13:12:49.598803: EV_MSC MSC_SCAN 17
13:12:49.598803: EV_KEY KEY_KBDILLUMTOGGLE released
13:12:49.598803: EV_SYN code=0 value=0
13:12:52.409091: EV_MSC MSC_SCAN 17
13:12:52.409091: EV_KEY KEY_KBDILLUMTOGGLE pressed
13:12:52.409091: EV_SYN code=0 value=0
13:12:52.409103: EV_MSC MSC_SCAN 17
13:12:52.409103: EV_KEY KEY_KBDILLUMTOGGLE released
13:12:52.409103: EV_SYN code=0 value=0
timeout, quitting

I hope this helps in any way.




--
View this message in context: http://linux-thinkpad.10952.n7.nabble.com/tpacpi-bug-in-tpacpi-thinklight-brightness-for-X1-Carbon-tp20888p21041.html
Sent from the Linux Thinkpad mailing list archive at Nabble.com.