View previous topic :: View next topic |
Author |
Message |
gabrielg Tux's lil' helper
Joined: 16 Nov 2012 Posts: 134
|
Posted: Sat Feb 23, 2013 11:09 am Post subject: SOLVED Thinkpad X230 + kernel 3.7.9 = no brightness controls |
|
|
Hi,
Just wanted to throw it out there I guess... since I upgraded from 3.6.11 to 3.7.9 (stable), my brightness keys stopped working. I can see the unhandled event in /var/log/messages, I can see acpid up and running, and I can adjust the brightness anyway through /sys/class/backlight/acpi_video0/brightness.
I do have all the THINKPAD modules compiled in, which used to work with 3.6.11. I'll leave the troubleshooting for a rainy day I guess, since I can still control the brightness somehow, but I thought I'd mention it here as I haven't seen any reports yet, and I haven't got enough information to open a bug.
Gabriel
Last edited by gabrielg on Sat Feb 23, 2013 12:16 pm; edited 1 time in total |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Sat Feb 23, 2013 11:32 am Post subject: |
|
|
So what doesn't work? Changing brightness in your X11 desktop environment? If so, which one?
To check whether the kernel understands your brightness keys, emerge sys-apps/input-utils and see if you get the following when you run input-events:
Code: | # 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
20:29:57.314773: EV_MSC MSC_SCAN 15
20:29:57.314778: EV_KEY KEY_BRIGHTNESSUP pressed
20:29:57.314781: EV_SYN code=0 value=0
20:29:57.314793: EV_MSC MSC_SCAN 15
20:29:57.314796: EV_KEY KEY_BRIGHTNESSUP released
20:29:57.314798: EV_SYN code=0 value=0
20:30:00.836848: EV_MSC MSC_SCAN 16
20:30:00.836854: EV_KEY KEY_BRIGHTNESSDOWN pressed
20:30:00.836857: EV_SYN code=0 value=0
20:30:00.836872: EV_MSC MSC_SCAN 16
20:30:00.836883: EV_KEY KEY_BRIGHTNESSDOWN released
20:30:00.836885: EV_SYN code=0 value=0 |
To check whether X11 is understanding your brightness keys, emerge x11-apps/xev and see if you get output like the following when you run it (various output snipped):
Code: | KeyRelease event, serial 36, synthetic NO, window 0x3e00001,
root 0xaf, subw 0x0, time 775827942, (133,46), root:(752,418),
state 0x0, keycode 233 (keysym 0x1008ff02, XF86MonBrightnessUp), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 38, synthetic NO, window 0x3e00001,
root 0xaf, subw 0x0, time 775829166, (133,46), root:(752,418),
state 0x0, keycode 232 (keysym 0x1008ff03, XF86MonBrightnessDown), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
|
On my Thinkpad X301, the BIOS handles brightness control, so I don't run acpid nor the xfce4-power-manager (in XFCE). _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
gabrielg Tux's lil' helper
Joined: 16 Nov 2012 Posts: 134
|
Posted: Sat Feb 23, 2013 11:50 am Post subject: |
|
|
Thanks for the tips, Hypnos. I had tried this with xev and I can see that the keys are captured just fine, but nothing happens. I didn't know about input-events until I saw your reply, so tried it and it doesn't capture anything. Thanks again for this.
I always used acpid, but I know that the brightness shouldn't be managed by it on this laptop.
So, I now know that the issue is that the kernel doesn't understand these keys, which is what I was assuming. |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
|
Back to top |
|
|
gabrielg Tux's lil' helper
Joined: 16 Nov 2012 Posts: 134
|
Posted: Sat Feb 23, 2013 12:15 pm Post subject: [SOLVED] Thinkpad X230 + kernel 3.7.9 = no brightness keys |
|
|
Thanks, I guess I won't leave this for a rainy day then, and you saved me some work. Workaround did the trick. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|