Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: Gentoo User <gentoo-user@l.g.o>
Subject: [gentoo-user] How are Fn-F# ACPI events mapped?
Date: Sun, 11 Mar 2012 22:24:53
Message-Id: CAK2H+edLNXFFNKwcCud5zkbOZ7emq=Q7Kqke2=WbhukrrxUysw@mail.gmail.com
1 Hi,
2 I'm trying to figure out how my Asus laptop maps function key
3 events. This is being driven by an emerge message telling me that the
4 acpi4asus package is being obsoleted and removed in 30 days and
5 replaced by an in-kernel driver. I've removed the package and rebuilt
6 my kernels to use this driver, and for vanilla-sources-3.2.7 the
7 results are similar as with the acpi4asus package.
8
9 However, for vanilla-sources-3.2.9 the only key that is doing
10 anything seems to be Fn-F1 which says 'button/sleep' (using
11 acpi_listen) but actually just turns on the screen saver as best I can
12 tell.
13
14 Note that even with 3.2.7 most keys don't actually work, but at
15 least they all produce acpi_listen events. The only ones that do work
16 in 3.2.7 and earlier are:
17
18 Fn-F1 - screen saver
19 Fn-F5 - turns off screen but doesn't seem to generate an ACPI event in
20 acpi_listen (may be hardware mapped)
21 Fn-F11 - turn volume down
22 Fn-F12 - turn volume up
23
24 I haven't tested the external monitor one.
25
26 The ones I really want to figure out are Fn-F3 & F4 as they turn
27 the keyboard lighting up and down. With 3.2.7 I had lighting, but with
28 3.2.9 I have no keyboard lighting at all so it will have hard to use
29 in the dark.
30
31 Before I call this a 3.2.9 regression I figured I should determine
32 if I'm supposed to configure this stuff by hand, or maybe load some
33 new machine specific package that sets up the mappings.
34
35 Thanks in advance,
36 Mark
37
38
39 vanilla-sources-3.2.9
40
41 slinky events # acpi_listen
42 button/sleep SLPB 00000080 00000003
43 button/sleep SLPB 00000080 00000004
44
45
46
47 vanilla-sources-3.2.7
48
49 slinky ~ # acpi_listen
50 button/sleep SLPB 00000080 00000001
51 hotkey ATKD 0000005d 00000000
52 hotkey ATKD 0000007e 00000000
53 hotkey ATKD 000000c5 00000000
54 hotkey ATKD 000000c4 00000000
55 hotkey ATKD 0000002e 00000000
56 hotkey ATKD 0000001a 00000000
57 hotkey ATKD 00000034 00000000
58 hotkey ATKD 00000033 00000000
59 hotkey ATKD 00000034 00000001
60 hotkey ATKD 00000033 00000001
61 hotkey ATKD 00000061 00000000
62 hotkey ATKD 0000006b 00000000
63 hotkey ATKD 00000032 00000000
64 hotkey ATKD 00000032 00000001
65 hotkey ATKD 00000032 00000002
66 hotkey ATKD 00000031 00000000
67 hotkey ATKD 00000031 00000001
68 hotkey ATKD 00000031 00000002
69 hotkey ATKD 00000030 00000000
70 hotkey ATKD 00000030 00000001
71 hotkey ATKD 00000030 00000002
72 hotkey ATKD 00000030 00000003

Replies

Subject Author
Re: [gentoo-user] How are Fn-F# ACPI events mapped? YoYo Siska <yoyo@××××××.sk>