Skip to contentSkip to conversation

platform/x86: dell-wmi: Add an event created by Dell Latitude 5495

PATCH In review Shih-Yuan Lee (FourDollars) 3 participants 3 messages Dec 19, 2017 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 platform/x86: dell-wmi: Add an event created by Dell Latitude 5495

The Dell Latitude 5495 has the mic mute key.

---
 drivers/platform/x86/dell-wmi.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/platform/x86/dell-wmi.c +3 -0
index fb25b20..2c99274 100644
@@ -261,6 +261,9 @@ static const u16 bios_to_linux_keycode[256] = {
  * override them.
  */
 static const struct key_entry dell_wmi_keymap_type_0010[] = {
+	/* Mic mute */
+	{ KE_KEY, 0x150, { KEY_MICMUTE } },
+
 	/* Fn-lock */
 	{ KE_IGNORE, 0x151, { KEY_RESERVED } },
 
Signature · 1 line
2.7.4
#1 lore raw
Quoted 2 lines · Shih-Yuan Lee (FourDollars)

The Dell Latitude 5495 has the mic mute key.

Pali, I assumed this one is settled and I go ahead to apply it to my review and testing queue, thanks!

Feel free to comment / object / ACK (it will be not published for a while anyway)

Quoted 22 lines
---
 drivers/platform/x86/dell-wmi.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/platform/x86/dell-wmi.c +3 -1
index fb25b20..2c99274 100644
@@ -261,6 +261,9 @@ static const u16 bios_to_linux_keycode[256] = {
  * override them.
  */
 static const struct key_entry dell_wmi_keymap_type_0010[] = {
+       /* Mic mute */
+       { KE_KEY, 0x150, { KEY_MICMUTE } },
+
        /* Fn-lock */
        { KE_IGNORE, 0x151, { KEY_RESERVED } },
 
--

2.7.4

Signature · 2 lines
With Best Regards,
Andy Shevchenko
Reviewed-by
#2 lore raw
Quoted 10 lines · On Tuesday 19 December 2017 16:42:57 Andy Shevchenko wrote:
Quoted 2 lines · Shih-Yuan Lee (FourDollars)

The Dell Latitude 5495 has the mic mute key.

Pali, I assumed this one is settled and I go ahead to apply it to my review and testing queue, thanks!

Feel free to comment / object / ACK (it will be not published for a while anyway)

Quoted 23 lines
Quoted 22 lines
---
 drivers/platform/x86/dell-wmi.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/platform/x86/dell-wmi.c +3 -1
index fb25b20..2c99274 100644
@@ -261,6 +261,9 @@ static const u16 bios_to_linux_keycode[256] = {
  * override them.
  */
 static const struct key_entry dell_wmi_keymap_type_0010[] = {
+       /* Mic mute */
+       { KE_KEY, 0x150, { KEY_MICMUTE } },
+
        /* Fn-lock */
        { KE_IGNORE, 0x151, { KEY_RESERVED } },
 
--

2.7.4

Signature · 2 lines
Pali Rohár
[email protected]