From: "Pali Rohár" <pali.rohar@gmail.com>
To: "Darren Hart" <dvhart@infradead.org>,
"Andy Shevchenko" <andy@infradead.org>,
"Andy Lutomirski" <luto@kernel.org>,
"Mario Limonciello" <mario.limonciello@dell.com>,
"Michał Kępień" <kernel@kempniu.pl>,
qwrd <mistave@countermail.com>
Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Dell WMI Hotkeys on Dell Inspiron 15R SE (7520)
Date: Tue, 1 May 2018 13:00:03 +0200 [thread overview]
Message-ID: <20180501110003.dhsbdvc6cv32lvt7@pali> (raw)
[-- Attachment #1: Type: text/plain, Size: 2174 bytes --]
Hello!
Mistave contacted me, because he has Dell Inspiron 15R SE (7520) on
which are not working 3 hotkeys located in the right upper corner.
After debugging we find out that this Dell Inspirion sends following WMI
event to dell-wmi.c driver:
=====================================================================
----------------------------------------
Left WMI key: Windows Mobility Center
Press: Key with type 0x0000 and code 0xe026 pressed
Hold: -
Release: -
Only the press event was observed. It does not repeat when held down.
----------------------------------------
Middle WMI key: Dell Audio With Preset Switch
Press: Key with type 0x0000 and code 0xe02a pressed
Hold: Key with type 0x0000 and code 0xe02b pressed
(code 0xe02a also repeats continuously)
Release: Key with type 0x0000 and code 0xe02c pressed
Code 0xe02a repeats, if button is held down. After about 3 seconds a
single code 0xe02b entry will also appear. When released before the code
0xe02b pops up, the code 0xe02c will appear. If released afterwards,
code 0xe02c does not appear.
----------------------------------------
Right WMI key: Dell Instant Launch
Press: -
Hold: Key with type 0x0000 and code 0xe025 pressed
Release: Key with type 0x0000 and code 0xe024 pressed
Code 0xe024 only appears, if the button is released within about 3
seconds. If held down for longer, a single code 0xe025 will appear. If
released after the code 0xe025 appears, the code 0xe024 will not appear.
=====================================================================
Such hold and release events in 3sec time period are strange and I'm not
sure how we should handle them. Any idea?
Also there is another problem. Driver dell-wmi.c ignores 0xe025 events
because on all other machines it is reported also by PS/2 internal
keyboard. But seems not on this Dell Inspirion. How to handle this fact?
Add a new quirk into dell-wmi.c code?
Mario, do you have a documentation or something which can prove above
observation that keys are really reported via such strange WMI events?
--
Pali Rohár
pali.rohar@gmail.com
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
reply other threads:[~2018-05-01 11:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20180501110003.dhsbdvc6cv32lvt7@pali \
--to=pali.rohar@gmail.com \
--cc=andy@infradead.org \
--cc=dvhart@infradead.org \
--cc=kernel@kempniu.pl \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@kernel.org \
--cc=mario.limonciello@dell.com \
--cc=mistave@countermail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®