> > dell-wmi: Add support for new Dell systems > > > > Newer Dell systems support HotKey features differently from legacy > > systems. A new vendor specifc HotKey SMBIOS table (Type 0xB2) is [snip] I get improved, but still not flawless, behavior with this patch, testing on my Dell E4300 with bios A05 (tested on top of approximately Ubuntu's 2.6.31-14.47 which is more or less 2.6.31.4). [ 7.068589] input: Dell WMI hotkeys as /devices/virtual/input/input8 [ 621.845305] dell-wmi: Received unknown WMI event 0x11 [ 1580.825651] dell-wmi: Received unknown WMI event 0x11 [ 1585.239914] dell-wmi: Received unknown WMI event 0x11 [ 1586.675563] dell-wmi: Received unknown WMI event 0x11 [ 1587.442542] dell-wmi: Received unknown WMI event 0x11 [ 1623.471288] keyboard.c: can't emulate rawmode for keycode 241 [ 1623.471301] keyboard.c: can't emulate rawmode for keycode 241 [ 1626.035593] keyboard.c: can't emulate rawmode for keycode 241 [ 1626.035605] keyboard.c: can't emulate rawmode for keycode 241 The keyboard.c complaints are from when I hit Fn-F8 (display switch). I can trigger the same complaint with Fn-Left (display brightness auto), with code 240. I don't see keyboard.c complaints from Fn-Right, which toggles the keyboard illumination and reports code 228. I don't know what event causes the "event 0x11" complaint. It seems to be purely cosmetic and not directly tied to user interaction? Fn-F8, Display Toggle, gives code 241 on the WMI event8 *and* code 227 on /dev/input/event4 "Video Bus". That seems ... wrong. There is an interesting behavior with Fn-Up and Fn-Down -- normally they do not trigger events on /dev/input/event8 although I can see ACPI interrupt count increasing in /proc/interrupts. However there is some state that I can toggle after about 5 minutes of futzing -- I still haven't figured out what the toggle is -- that causes event8 to show Brightness key events: Event: time 1257214081.248619, type 1 (Key), code 236 (?), value 0 Event: time 1257214081.248621, -------------- Report Sync ------------ Event: time 1257214087.837272, type 1 (Key), code 240 (Unknown), value 1 Event: time 1257214087.837278, -------------- Report Sync ------------ Event: time 1257214087.837282, type 1 (Key), code 240 (Unknown), value 0 Event: time 1257214087.837284, -------------- Report Sync ------------ Event: time 1257214089.908451, type 1 (Key), code 225 (Brightness up), value 1 Event: time 1257214089.908457, -------------- Report Sync ------------ Event: time 1257214089.908460, type 1 (Key), code 225 (Brightness up), value 0 Event: time 1257214089.908462, -------------- Report Sync ------------ Event: time 1257214095.235095, type 1 (Key), code 240 (Unknown), value 1 Event: time 1257214095.235102, -------------- Report Sync ------------ Event: time 1257214095.235106, type 1 (Key), code 240 (Unknown), value 0 Event: time 1257214095.235108, -------------- Report Sync ------------ ^C Other keys of interest: Fn-F3, a Battery glyph, gives keycode 236 Fn-F2, Battery with lighting bolt, gives no WMI key event but does increase /proc/interrupts' ACPI entry Fn-F7, "DCP", gives code 148 (Prog1) Volume keys and mute don't show WMI events (they work fine through the 8042 keyboard channel), but /dev/input/event8 does have event codes for them. -andy -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html