From: Andy Isaacson <adi@hexapodia.org>
To: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: linux-acpi@vger.kernel.org
Subject: Re: [mjg@redhat.com: [PATCH] From: Rezwanul Kabir <Rezwanul_Kabir@dell.com>]
Date: Mon, 2 Nov 2009 20:05:25 -0800 [thread overview]
Message-ID: <20091103040525.GY25713@hexapodia.org> (raw)
In-Reply-To: <1257181242-4952-1-git-send-email-mjg@redhat.com>
> > 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
next prev parent reply other threads:[~2009-11-03 4:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20091103034212.GF31712@vmware.com>
[not found] ` <20091102174748.GA21342@srcf.ucam.org>
2009-11-02 17:00 ` [PATCH] From: Rezwanul Kabir <Rezwanul_Kabir@dell.com> Matthew Garrett
2009-11-02 18:19 ` Matthew Garrett
2009-12-10 5:20 ` [PATCH] dell-wmi: Add support for new Dell systems ([PATCH] From: Rezwanul Kabir <Rezwanul_Kabir@dell.com>) Len Brown
2009-11-03 4:05 ` Andy Isaacson [this message]
2009-11-03 14:36 ` [mjg@redhat.com: [PATCH] From: Rezwanul Kabir <Rezwanul_Kabir@dell.com>] Matthew Garrett
2009-11-03 20:51 ` Andy Isaacson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091103040525.GY25713@hexapodia.org \
--to=adi@hexapodia.org \
--cc=linux-acpi@vger.kernel.org \
--cc=mjg59@srcf.ucam.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox