From: "Pali Rohár" <pali.rohar@gmail.com>
To: "Michał Kępień" <kernel@kempniu.pl>,
"Gabriele Mazzotta" <gabriele.mzt@gmail.com>
Cc: Matthew Garrett <mjg@redhat.com>,
Rezwanul Kabir <Rezwanul_Kabir@dell.com>,
Alex Hung <alex.hung@canonical.com>,
Darren Hart <dvhart@infradead.org>,
platform-driver-x86@vger.kernel.org
Subject: Re: Dell Vostro V131 hotkeys revisited
Date: Sat, 4 Jul 2015 21:13:14 +0200 [thread overview]
Message-ID: <201507042113.14902@pali> (raw)
In-Reply-To: <20150703140901.GN1841@pali>
[-- Attachment #1: Type: Text/Plain, Size: 9129 bytes --]
On Friday 03 July 2015 16:09:01 Pali Rohár wrote:
> Then in your case, I would need to know format of *all* events which
> can your laptop via WMI receive. If we collect as more as possible
> events from different laptops we can try to abstract
> format/interface.
To have list of events "more" complete, here are dumps from my Latitude E6440:
(dell_new_hk_type is true)
(brightness up)
[41389.833588] dell_wmi: Received WMI event (02 00 10 00 48 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
[41389.833591] dell_wmi: Process buffer (02 00 10 00 48 00)
[41389.833592] dell_wmi: Key 48 pressed
(brightness down)
[41393.984812] dell_wmi: Received WMI event (02 00 10 00 50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
[41393.984815] dell_wmi: Process buffer (02 00 10 00 50 00)
[41393.984816] dell_wmi: Key 50 pressed
(toggle keyboard backlight)
[41396.660972] dell_wmi: Received WMI event (02 00 10 00 4d 00 02 00 11 00 e1 01 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
[41396.660975] dell_wmi: Process buffer (02 00 10 00 4d 00)
[41396.660977] dell_wmi: Key 4d pressed
[41396.660977] dell_wmi: Process buffer (02 00 11 00 e1 01)
[41396.660978] dell_wmi: Keyboard backlight level changed
(toggle keyboard backlight again)
[41408.872213] dell_wmi: Received WMI event (02 00 10 00 4d 00 02 00 11 00 ea 02 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
[41408.872215] dell_wmi: Process buffer (02 00 10 00 4d 00)
[41408.872217] dell_wmi: Key 4d pressed
[41408.872218] dell_wmi: Process buffer (02 00 11 00 ea 02)
[41408.872218] dell_wmi: Keyboard backlight level changed
(again)
[41410.604351] dell_wmi: Received WMI event (02 00 10 00 4d 00 02 00 11 00 eb 02 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
[41410.604354] dell_wmi: Process buffer (02 00 10 00 4d 00)
[41410.604355] dell_wmi: Key 4d pressed
[41410.604356] dell_wmi: Process buffer (02 00 11 00 eb 02)
[41410.604357] dell_wmi: Keyboard backlight level changed
(and again)
[41411.313732] dell_wmi: Received WMI event (02 00 10 00 4d 00 02 00 11 00 ec 02 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
[41411.313735] dell_wmi: Process buffer (02 00 10 00 4d 00)
[41411.313736] dell_wmi: Key 4d pressed
[41411.313737] dell_wmi: Process buffer (02 00 11 00 ec 02)
[41411.313737] dell_wmi: Keyboard backlight level changed
(and again)
[41412.046983] dell_wmi: Received WMI event (02 00 10 00 4d 00 02 00 11 00 f6 02 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
[41412.046986] dell_wmi: Process buffer (02 00 10 00 4d 00)
[41412.046988] dell_wmi: Key 4d pressed
[41412.046989] dell_wmi: Process buffer (02 00 11 00 f6 02)
[41412.046989] dell_wmi: Keyboard backlight level changed
(Fn+Q)
[41471.644347] dell_wmi: Received WMI event (02 00 10 00 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
[41471.644350] dell_wmi: Process buffer (02 00 10 00 10 00)
[41471.644351] dell_wmi: Key 10 pressed
(Fn+W)
[41482.965057] dell_wmi: Received WMI event (02 00 10 00 11 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
[41482.965062] dell_wmi: Process buffer (02 00 10 00 11 00)
[41482.965064] dell_wmi: Key 11 pressed
(Fn+E)
[41485.619605] dell_wmi: Received WMI event (02 00 10 00 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
[41485.619608] dell_wmi: Process buffer (02 00 10 00 12 00)
[41485.619609] dell_wmi: Key 12 pressed
(Fn+R)
[41486.537823] dell_wmi: Received WMI event (02 00 10 00 13 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
[41486.537827] dell_wmi: Process buffer (02 00 10 00 13 00)
[41486.537828] dell_wmi: Key 13 pressed
(Fn+T)
[41487.090608] dell_wmi: Received WMI event (02 00 10 00 14 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
[41487.090610] dell_wmi: Process buffer (02 00 10 00 14 00)
[41487.090612] dell_wmi: Key 14 pressed
(Fn+A)
[41491.910608] dell_wmi: Received WMI event (02 00 10 00 1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
[41491.910611] dell_wmi: Process buffer (02 00 10 00 1e 00)
[41491.910613] dell_wmi: Key 1e pressed
(Fn+S)
[41492.645035] dell_wmi: Received WMI event (02 00 10 00 1f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
[41492.645039] dell_wmi: Process buffer (02 00 10 00 1f 00)
[41492.645040] dell_wmi: Key 1f pressed
(Fn+D)
[41493.132750] dell_wmi: Received WMI event (02 00 10 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
[41493.132753] dell_wmi: Process buffer (02 00 10 00 20 00)
[41493.132755] dell_wmi: Key 20 pressed
(Fn+F)
[41493.624070] dell_wmi: Received WMI event (02 00 10 00 21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
[41493.624073] dell_wmi: Process buffer (02 00 10 00 21 00)
[41493.624074] dell_wmi: Key 21 pressed
(Fn+G)
[41494.603007] dell_wmi: Received WMI event (02 00 10 00 22 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
[41494.603010] dell_wmi: Process buffer (02 00 10 00 22 00)
[41494.603011] dell_wmi: Key 22 pressed
(now pressed brightness down key more times, but very very quickly)
[41566.295409] dell_wmi: Received WMI event (03 00 10 00 50 00 50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
[41566.295413] dell_wmi: Process buffer (03 00 10 00 50 00 50 00)
[41566.295415] dell_wmi: Key 50 pressed
[41566.295429] dell_wmi: Key 50 pressed
[41566.418593] dell_wmi: Received WMI event (02 00 10 00 50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
[41566.418595] dell_wmi: Process buffer (02 00 10 00 50 00)
[41566.418597] dell_wmi: Key 50 pressed
[41566.448279] dell_wmi: Received WMI event (00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
(so sometimes double key is received in one event! and sometimes empty event is received)
(and now via /sys dell-laptop.ko I changed keyboard backlight, very very quickly all 5 levels)
[41602.300604] dell_wmi: Received WMI event (06 00 11 00 f6 02 ec 02 eb 02 ea 02 e1 01 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
[41602.300607] dell_wmi: Process buffer (06 00 11 00 f6 02 ec 02 eb 02 ea 02 e1 01)
[41602.300608] dell_wmi: Keyboard backlight level changed
[41602.300608] dell_wmi: Keyboard backlight level changed
[41602.300609] dell_wmi: Keyboard backlight level changed
[41602.300609] dell_wmi: Keyboard backlight level changed
[41602.300610] dell_wmi: Keyboard backlight level changed
(and all five events were received in one WMI buffer)
So what is important: Dell BIOS send via one WMI buffer more events and also with different types!
--
Pali Rohár
pali.rohar@gmail.com
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2015-07-05 11:47 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-23 11:26 Dell Vostro V131 hotkeys revisited Michał Kępień
2015-06-23 11:46 ` Pali Rohár
2015-06-23 19:40 ` Michał Kępień
2015-06-23 19:47 ` Pali Rohár
2015-06-24 11:18 ` Michał Kępień
2015-06-24 13:23 ` Pali Rohár
2015-06-25 9:02 ` Michał Kępień
2015-06-27 18:50 ` Pali Rohár
2015-06-30 7:38 ` Michał Kępień
2015-06-30 8:00 ` Pali Rohár
2015-07-01 8:32 ` Michał Kępień
2015-07-01 8:40 ` Pali Rohár
2015-07-01 10:11 ` Michał Kępień
2015-07-01 10:55 ` Pali Rohár
2015-07-02 20:41 ` Michał Kępień
2015-07-02 20:58 ` Pali Rohár
2015-07-03 6:52 ` Michał Kępień
2015-07-03 7:48 ` Pali Rohár
2015-07-03 11:26 ` Michał Kępień
2015-07-03 11:43 ` Pali Rohár
2015-07-03 13:23 ` Michał Kępień
2015-07-03 13:32 ` Pali Rohár
2015-07-03 13:50 ` Michał Kępień
2015-07-03 14:09 ` Pali Rohár
2015-07-03 14:14 ` Pali Rohár
2015-07-03 18:22 ` Gabriele Mazzotta
2015-07-03 20:07 ` Michał Kępień
2015-07-03 20:30 ` Gabriele Mazzotta
2015-07-04 19:41 ` Pali Rohár
2015-07-04 20:34 ` Gabriele Mazzotta
2015-07-03 20:55 ` Michał Kępień
2015-07-04 19:13 ` Pali Rohár [this message]
2015-07-04 19:47 ` Pali Rohár
2015-07-27 19:27 ` Michał Kępień
2015-07-07 18:36 ` Mario Limonciello
2015-07-07 21:01 ` Pali Rohár
2015-07-08 3:21 ` Michał Kępień
2015-07-08 3:53 ` Michał Kępień
2015-07-22 7:35 ` Michał Kępień
2015-08-31 9:51 ` Michał Kępień
2015-09-10 4:38 ` Darren Hart
2015-11-13 10:17 ` Michał Kępień
2015-12-07 11:43 ` Pali Rohár
2015-12-16 9:05 ` Michał Kępień
2015-12-16 9:30 ` Pali Rohár
2015-12-16 10:29 ` Hans de Goede
2015-12-17 8:05 ` Michał Kępień
2015-12-17 9:48 ` Hans de Goede
2015-12-17 18:47 ` Pali Rohár
2015-12-17 18:54 ` Hans de Goede
2015-12-19 0:02 ` Darren Hart
2015-12-19 9:59 ` Pali Rohár
2015-12-18 7:10 ` Michał Kępień
2015-12-18 10:44 ` Hans de Goede
2015-12-19 12:31 ` Michał Kępień
2015-07-04 21:24 ` Pali Rohár
2015-07-05 4:51 ` Michał Kępień
2015-06-23 12:18 ` Pali Rohár
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=201507042113.14902@pali \
--to=pali.rohar@gmail.com \
--cc=Rezwanul_Kabir@dell.com \
--cc=alex.hung@canonical.com \
--cc=dvhart@infradead.org \
--cc=gabriele.mzt@gmail.com \
--cc=kernel@kempniu.pl \
--cc=mjg@redhat.com \
--cc=platform-driver-x86@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.