[Kernel-packages] [Bug 1762385] [NEW] dell_wmi: Unknown key with type 0x0010 and code 0xe008 pressed

2018-04-09 Thread Dmitriy Geels
Public bug reported: RFKill key produces these messages in kernel log: dell_wmi: Unknown key with type 0x0010 and code 0xe008 pressed This key code is a notification and should be added as KEY_IGNORE here: https://github.com/torvalds/linux/blob/master/drivers/platform/x86/dell- wmi.c#L263

[Kernel-packages] [Bug 1762385] Re: dell_wmi: Unknown key with type 0x0010 and code 0xe008 pressed

2018-04-13 Thread Dmitriy Geels
According to https://github.com/torvalds/linux/blob/master/drivers/platform/x86/dell-wmi.c this key isn't supported by kernel. To add support record { KE_IGNORE, 0xe008, { KEY_RFKILL } } must be added to array dell_wmi_keymap_type_0010. Right now it exists only in dell_wmi_keymap_type_.

[Kernel-packages] [Bug 1762385] Re: dell_wmi: Unknown key codes

2018-04-17 Thread Dmitriy Geels
Rfkill key produces 2 events: keyboard and one, that should be handled by dell-wmi. Hwdb record is for keyboard event. Release emulation is required, at least for my model. Otherwise evtest shows only 1 EV_KEY event. -- You received this bug notification because you are a member of Kernel

[Kernel-packages] [Bug 1762385] Re: dell_wmi: Unknown key codes

2018-04-18 Thread Dmitriy Geels
Enough guessing. Gnome bug is a different one. And it has no connection to this bug. In my case rfkill didn't work because keycode 88 was set to UNKNOWN by this generic dell rule: https://github.com/systemd/systemd/blob/c5896b6a8cfcfd1b94f25450a96a1411384f1108/hwdb/60-keyboard.hwdb#L267 My rule

[Kernel-packages] [Bug 1762385] Re: dell_wmi: Unknown key codes

2018-04-16 Thread Dmitriy Geels
I found one more missing key definition: FN-Lock key - Lock icon with 'Fn' on it, it toggles Fn row behavior between F1-F12 and media keys. I'm not sure with keycode it should have assigned, so I set it to IGNORE in patch. ** Summary changed: - dell_wmi: Unknown key with type 0x0010 and code