The aforementioned laptop has a keyboard with few extra keys that are better be supported by xkb, for improved convenience of its users.
Created attachment 4018 [details] [review] Proposed addition to symbols/inet v1.37
Created attachment 4019 [details] [review] Trivial addition to symbols.dir following that to symbols/inet
Created attachment 4020 [details] [review] Trivial addition to xorg following that to symbols/inet
Created attachment 4021 [details] [review] Trivial addition to xorg.lst following that to symbols/inet
Created attachment 4022 [details] [review] Trivial addition to xorg.xml following that to symbols/inet
I've posted few patches to xkb files I use to make all keys of my Acer F4k to work. I'm also forced to use "setkeycodes" on some escaped keycodes in the following manner: xkb : 233 234 240 241 242 243 244 245 249 249 console : 159 158 235 236 237 238 239 138 192 192 scode : e033 e034 e06e e074 e073 e025 e026 e027 e055 e056 (I need to map "scode" code to "console" code in order to get an "xkb" code reported by xev). I don't have enough knowledge of the input system in linux (kernel mapping + xkb mapping, but I hope my solution is at least reasonable. I will be glad if it (or something similar) could be included into official tree.
Created attachment 4190 [details] [review] Patch to add support for Acer F4k keyboard After some consideration I decided on this key mapping (patch against Xorg-7.0 xkbdata). The rationale and kernel scancode mapping are as following: # Extra keys for Acer Ferrari 4k # Key | scode | X11 symbol | X11 kcode | Console kcode # ---------------------------------------------------------------------- # Fn-F1 e025 Help I70 - 240 235 # Fn-F2 e026 XF86Launch1 I71 - 241 236 # Fn-F3 e027 XF86Launch2 I72 - 242 237 # Fn-F4 <acpi sleep event> # Fn-F5 e029 XF86Display I26 - 166 154 # Euro e033 EuroSign I25 - 165 205 # Dollar e034 dollar I24 - 164 166 # WIFI ON e055 NoSymbol x 240 # WIFI OFF e056 NoSymbol x 241 # USB ON e057 NoSymbol x 242 # USB OFF e058 NoSymbol x 243 # BR. UP e063 NoSymbol x 244 # Fn-F7 (TPAD ON) e071 NoSymbol x 245 # Fn-F7 (TPAD OFF) e072 NoSymbol x 246 # "P" button e073 XF86Launch3 I73 - 243 238 # "e" button e074 XF86Launch4 I74 - 244 239 # -------------------------------------------- # Rationale: "NoSymbol" keys have nothing to do with X apps - they must be # handled on the lower level if at all (they do their work). # Therefore I've mapped them to the keycodes that never get # reported to X (I think). # "XF86Display" mapped according to the only other occurrence in # <inet> file. # "Help" and "XF86Launch*" buttons mapped by majority and # grouping of "XF86Launch*" buttons in <inet> file. # "dollar" was mapped in resemblance of it ASCII code and "Euro" # used to plug a discontinuity KEYCODES="e025 235 e026 236 e027 237 e029 154 e033 205 e034 166 e055 240 e056 241 e057 242 e058 243 e063 244 e071 245 e072 246 e073 238 e074 239"
Reassigning bug to xkeyboard-config component, as X.Org's xkbdata is no longer maintained or supported.
Thanks, committed.
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.