Skip to contentSkip to conversation

IBM thinkpad Fn+Fx key driver

RFC Erik Rigtorp 4 participants 4 messages Aug 20, 2004

lore
Share & tools
lore
#0 lore raw

I've written a driver for some of the extra keys on the thinkpads. The supported keys are: Fn+ F3, F4, F5, F7, F8, F9, F12. It has been tested on two diffrent thinkpad x31, but I would like some feedback from testing on other thinkpads.

http://rigtorp.se/files/src/thinkpad-acpi.tar.gz

Just download, extract, run make and insmod thinkpad_acpi.ko

/Erik

#1 lore raw

Hi Erik,

your module is working here on IBM ThinkPad R40 2681-BAG. Previously non-working keys (Fn+ F3, F4, F5, F7, F8, F9, F12) are emitting ACPI events now. Note that Fn+ F8, F9 are not marked with blue signs here on R40, so there is no official function assigned :-).

Your driver even survives ACPI suspend to RAM (and wake-up too :-)) and that's great.

Oops, I almost forgot to mention my kernel configuration: Debian's 2.6.7 (almost vanilla) + ACPI 20040715 (from acpi.sourceforge.net; I need it for suspend to RAM).

I can't wait till it gets to mainstream 2.6 kernel.

That's all for this report.

Regards,

Jan "Pogo" Mynarik

Quoted 15 lines · Erik Rigtorp

I've written a driver for some of the extra keys on the thinkpads. The supported keys are: Fn+ F3, F4, F5, F7, F8, F9, F12. It has been tested on two diffrent thinkpad x31, but I would like some feedback from testing on other thinkpads.

http://rigtorp.se/files/src/thinkpad-acpi.tar.gz

Just download, extract, run make and insmod thinkpad_acpi.ko

/Erik
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw
In reply to Erik Rigtorp
Quoted 6 lines · Erik Rigtorp

I've written a driver for some of the extra keys on the thinkpads. The supported keys are: Fn+ F3, F4, F5, F7, F8, F9, F12. It has been tested on two diffrent thinkpad x31, but I would like some feedback from testing on other thinkpads.

http://rigtorp.se/files/src/thinkpad-acpi.tar.gz

Borislav Deianov ([email protected]) has recently posted a similar Thinkpad ACPI driver on the Thinkpad hardware list, and it has a number of success reports.

He has apparently taken off on holiday, but you can find the code here:
http://bkernel.sf.net/tmp/ibm-acpi-0.3.tar.gz

Perhaps you should talk to him about merging the code, and then working together to get this into the kernel?

I believe that he has also been in touch with the ACPI development list.

Anyway, it is good to see Thinkpad specific ACPI support on the way -- being able to software control my Bluetooth adapter would be nice. :)

Regards,
Daniel

Signature · 2 lines
Beware of all enterprises that require new clothes.
        -- Henry David Thoreau
#3 lore raw
In reply to Erik Rigtorp
Quoted 4 lines · Erik Rigtorp

I've written a driver for some of the extra keys on the thinkpads. The supported keys are: Fn+ F3, F4, F5, F7, F8, F9, F12. It has been tested on two diffrent thinkpad x31, but I would like some feedback from testing on other thinkpads.

Module compiles, loads, but does nothing for the keys, no acpi events are generated.

Kernel 2.6.8-rc3-mm1 with your module on a thinkpad r40e

c'ya
sven

Signature · 2 lines
The Internet treats censorship as a routing problem, and routes around it.
(John Gilmore on http://www.cygnus.com/~gnu/)