Attaching a patch to handle these. Note that the patch removes an XF86Hibernate mapping which looks like it could not have been used (no mapping to I255 in eycodes/evdev). In particular KEY_RFKILL is important is it is used on a lot of laptop models. KEY_WWAN (or the alias KEY_WIMAX) is currently not used on any x86 system in the kernel.
Created attachment 131261 [details] [review] Map evdev keycodes KEY_RFKILL and KEY_WWAN to XF86RFKill and XF86WWAN In particular KEY_RFKILL is required for properly handling airplane mode in userspace.
I am worried. Is the key code 255 allowed??
Sorry, stupid question in the previous comment. Of course Hibernate key was using 255. What is going to configurations actually using 255 for hibernation?
I believe it is permissible but I have not actually verified this as of now. I have not verified as of now, but am happy to do so before this is merged.
I don't think any key was mapped to 255 in the past. So effectively this should be removing a dead key (XF86Hibernate) and adding the new XF86RFKill.
I've just submitted a slightly different patch (which adds mappings for a few more keys) upstream here: https://patchwork.freedesktop.org/patch/155965/ I will push this upstream as soon as I get an ack.
Committed! Enjoy! And thank you:)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.