On Tuesday 19 December 2017 11:38:34 Shih-Yuan Lee (FourDollars) wrote: > The Dell Latitude 5495 has the mic mute key. > > Signed-off-by: Shih-Yuan Lee (FourDollars) <sylee@xxxxxxxxxxxxx> > --- > drivers/platform/x86/dell-wmi.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c > index fb25b20..d40f803 100644 > --- a/drivers/platform/x86/dell-wmi.c > +++ b/drivers/platform/x86/dell-wmi.c > @@ -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_F20 } }, Hi! Are you sure that this key code needs to be in 0010 table? Because primary this table is constructed from DMI information. See array bios_to_linux_keycode[]. > + > /* Fn-lock */ > { KE_IGNORE, 0x151, { KEY_RESERVED } }, > -- Pali Rohár pali.rohar@xxxxxxxxx