Package: acpi-support
Version: 0.95-2
Severity: wishlist

Hi,

I was wondering what the hotkey parameter of the ibm_acpi module means. I 
neither found a documentation in the kernel sources, nor on ThinkWiki.org.
According to gentoo-wiki.com, the 12 least significant bits are directly mapped 
to the Fn+F* combinations. And this works for my ThinkPad.
Playing around with the four remaining bits, I was able to find the 
corresponding key combinations.

I suggest to add this information in form of a short public summary to 
/etc/modprobe.d/ibm_acpi.modprobe, to let the file looks like this:

--- cut here---
# The ibm_acpi module can be configured to generate ACPI events for certain 
hotkey (Fn+*) presses.
# This often happens in addition to the usual function, e.g. bluetooth hotkey 
(Fn+F5) off means:
# no acpi event, but bluetooth still switches on and off.

# bits   -- hotkey: function
# 0x0001 -- Fn+F1 : -
# 0x0002 -- Fn+F2 : lock screen
# 0x0004 -- Fn+F3 : blank screen
# 0x0008 -- Fn+F4 : suspend to ram
# 0x0010 -- Fn+F5 : switch bluetooth
# 0x0020 -- Fn+F6 : -
# 0x0040 -- Fn+F7 : switch display
# 0x0080 -- Fn+F8 : toggle display expansion
# 0x0100 -- Fn+F9 : eject from dock
# 0x0200 -- Fn+F10: -
# 0x0400 -- Fn+F11: -
# 0x0800 -- Fn+F12: hibernate
# 0x1000 -- Fn+Backspace
# 0x2000 -- Fn+Ins
# 0x4000 -- Fn+Del
# 0x8000 -- Fn+Pos1 / Fn+Home: brightness up

# examples:
# 0xffff -- enable all possible hot keys
# 0xffef -- enable all except Fn+F5
# 0xff9f -- enable all except Fn+F6 and Fn+F7 (default)
# 0x080c -- enable only Fn+F3, Fn+F4 and Fn+F12
# 0x0000 -- disable all possible hot keys

options ibm_acpi hotkey=enable,0xff9f experimental=1
--- cut here ---

Bye,
  Toby


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to