You are not logged in.

#1 2011-08-03 18:50:44

Camus
Member
Registered: 2011-07-03
Posts: 71

ThinkPad - making backlight-control keys change backlight by 1 step

I have ThinkPad X201s, which supports 15 backlight steps, but the laptop itself increases/decreases backlight by 2 steps per key-press. So I want to increase backlight by 1 step when backlight-down key is pressed and vice-versa for up key.

The problem is I don't know how to map command to these special keys. I've tried running xev, but I don't see any keycodes like I do for normal keys. Here's acpi_listen output:

# backlight-up key
ibm/hotkey HKEY 00000080 00001010
video LCD0 00000086 00000000
# backlight-down key
ibm/hotkey HKEY 00000080 00001011
video LCD0 00000087 00000000

I hope somebody with ThinkPad can tell me the keycodes.

Offline

#2 2011-08-03 19:14:37

kevku
Member
From: Estonia
Registered: 2009-11-21
Posts: 73

Re: ThinkPad - making backlight-control keys change backlight by 1 step

maybe it's because when you press the keys bios changes brighness and then the powermanager also changes the brightness.

Offline

#3 2011-08-03 22:46:49

Camus
Member
Registered: 2011-07-03
Posts: 71

Re: ThinkPad - making backlight-control keys change backlight by 1 step

At first I didn't thought so, but yeah, it must be that. I've binded keys for controlling brightness in gnome's settings manager to some empty commands, which disabled gnome's brightness pop-ups and 2 step increments/decrements. It would be ideal if I could disable just gnome's increments while keeping the pop-ups (to see at which brightness step I'm at).

Is there any way to edit how much gnome increments/decrements brightness? I want to set it to zero.

Offline

Board footer

Powered by FluxBB