1 # This file is part of systemd.
3 # This file contains 3 types of metadata to apply to keyboards and
4 # keyboard-like input devices:
7 # - Absence of modifier LEDs
9 # The matching process is the same for the different types of metadata.
11 # ########################### MATCHING #######################################
13 # The lookup keys are composed in:
16 # Note: The format of the "evdev:" prefix match key is a contract between the
17 # rules file and the hardware data, it might change in later revisions to
18 # support more or better matches, it is not necessarily expected to be a stable
21 # Supported hardware matches are:
22 # - Generic input devices match:
23 # evdev:input:bZZZZvYYYYpXXXXeWWWW-VVVV
24 # This matches on the kernel modalias of the input-device, mainly:
25 # ZZZZ is the bus-id (see /usr/include/linux/input.h BUS_*), YYYY, XXXX and
26 # WWWW are the 4-digit hex uppercase vendor, product and version ID and VVVV
27 # is an arbitrary length input-modalias describing the device capabilities.
28 # The vendor, product and version ID for a device node "eventX" is listed
29 # in /sys/class/input/eventX/device/id.
31 # - AT keyboard DMI data matches:
32 # evdev:atkbd:dmi:bvn*:bvr*:bd*:svn<vendor>:pn<product>:pvr*
33 # <vendor> and <product> are the firmware-provided strings
34 # exported by the kernel DMI modalias, see /sys/class/dmi/id/modalias
36 # - Input driver device name and DMI data match:
37 # evdev:name:<input device name>:dmi:bvn*:bvr*:bd*:svn<vendor>:pn*
38 # <input device name> is the name device specified by the
39 # driver, <vendor> is the firmware-provided string exported
40 # by the kernel DMI modalias, see /sys/class/dmi/id/modalias
42 # - Extended input driver device name, properties and DMI data match:
43 # evdev:name:<input device name>:phys:<phys>:ev:<ev>:dmi:bvn*:bvr*:bd*:svn<vendor>:pn*
44 # <input device name> is the name device specified by the
45 # driver, <phys> is the physical-device-path, "cat
46 # /sys/class/input/input?/phys", <ev> is the event bitmask, "cat
47 # /sys/class/input/input?/capabilities/ev" and <vendor> is the
48 # firmware-provided string exported by the kernel DMI modalias,
49 # see /sys/class/dmi/id/modalias
51 # ######################### KEY MAPPING ######################################
53 # Keyboard mapping of scan codes to key codes, and
54 # scan codes to add to the AT keyboard's 'force-release' list.
56 # Scan codes are specified as:
57 # KEYBOARD_KEY_<hex scan code>=<key code identifier>
58 # The scan code should be expressed in hex lowercase. The key codes
59 # are retrieved and normalized from the kernel input API header.
60 # Keycodes are either KEY_* defines in lowercase with the key_ prefix
61 # optionally removed or BTN_ defines in lowercase with btn_ preserved.
63 # An '!' as the first character of the key identifier string
64 # will add the scan code to the AT keyboard's list of scan codes
65 # where the driver will synthesize a release event and not expect
66 # it to be generated by the hardware.
68 # To debug key presses and access scan code mapping data of
69 # an input device use the commonly available tool: evtest(1).
71 # A device with a fixed keyboard layout that must not be changed by
72 # the desktop environment may specify that layout as:
75 # Examples of such devices: the Yubikey or other key-code generating
78 # A device where the scan code to key code mapping is insufficient and
79 # requires a special key code to symbol configuration may specify that with:
80 # XKB_FIXED_MODEL=xkbmodel
81 # Examples of such devices: Chromebooks where the top row is used for both
82 # media and F1-F10 keys.
84 # To update this file, create a new file
85 # /etc/udev/hwdb.d/70-keyboard.hwdb
86 # and add your rules there. To load the new rules execute (as root):
88 # udevadm trigger /dev/input/eventXX
89 # where /dev/input/eventXX is the keyboard in question. If in
90 # doubt, simply reload all input rules
91 # udevadm trigger --verbose --sysname-match="event*"
93 # If your changes are generally applicable, preferably send them as a pull
95 # https://github.com/systemd/systemd
96 # or create a bug report on https://github.com/systemd/systemd/issues and
97 # include your new rules, a description of the device, and the output of
98 # udevadm info /dev/input/eventXX.
100 ##########################################
102 ##########################################
105 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn*:*
106 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGateway*:pnA0A1*:*
107 evdev:atkbd:dmi:bvn*:bvr*:bd*:svneMachines:pneMachines*E725:*
108 KEYBOARD_KEY_86=wlan # Fn+F3 or Fn+Q for comunication key
109 KEYBOARD_KEY_a5=help # Fn+F1
110 KEYBOARD_KEY_a6=setup # Fn+F2 Acer eSettings
111 KEYBOARD_KEY_a7=battery # Fn+F3 Power Management
112 KEYBOARD_KEY_a9=switchvideomode # Fn+F5
115 KEYBOARD_KEY_b4=dollar
116 KEYBOARD_KEY_ce=brightnessup # Fn+Right
117 KEYBOARD_KEY_d4=bluetooth # (toggle) off-to-on
118 KEYBOARD_KEY_d5=wlan # (toggle) on-to-off
119 KEYBOARD_KEY_d6=wlan # (toggle) off-to-on
120 KEYBOARD_KEY_d7=bluetooth # (toggle) on-to-off
121 KEYBOARD_KEY_d8=bluetooth # (toggle) off-to-on
122 KEYBOARD_KEY_d9=brightnessup # Fn+Right
123 KEYBOARD_KEY_ee=brightnessup # Fn+Right
124 KEYBOARD_KEY_ef=brightnessdown # Fn+Left
125 KEYBOARD_KEY_f1=f22 # Fn+F7 Touchpad toggle (off-to-on)
126 KEYBOARD_KEY_f2=f23 # Fn+F7 Touchpad toggle (on-to-off)
127 KEYBOARD_KEY_f3=prog2 # "P2" programmable button
128 KEYBOARD_KEY_f4=prog1 # "P1" programmable button
129 KEYBOARD_KEY_f5=presentation
130 KEYBOARD_KEY_f6=power # Power button
132 KEYBOARD_KEY_f9=prog1 # Launch NTI shadow
135 evdev:name:Acer WMI hotkeys:dmi:bvn*:bvr*:bd*:svn*:pnAcer*:*
136 KEYBOARD_KEY_82=f21 # Touchpad toggle
139 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*:*
140 KEYBOARD_KEY_84=bluetooth # sent when bluetooth module missing, and key pressed
141 KEYBOARD_KEY_d9=bluetooth # Bluetooth off
142 KEYBOARD_KEY_92=media # Acer arcade
144 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*5720*:*
145 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnZG8*:*
146 KEYBOARD_KEY_f4=prog3 # e-key
148 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*5920G:*
149 KEYBOARD_KEY_8a=media
150 KEYBOARD_KEY_a6=setup
152 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*6920:*
153 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*8930:*
154 KEYBOARD_KEY_ca=prog3 # key 'HOLD' on CineDash Media Console
155 KEYBOARD_KEY_83=rewind
156 KEYBOARD_KEY_89=fastforward
159 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*7750G:*
160 KEYBOARD_KEY_e0=!pageup
163 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnPredator*PH*315-52:*
164 KEYBOARD_KEY_ef=kbdillumup # Fn+F10
165 KEYBOARD_KEY_f0=kbdillumdown # Fn+F9
168 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*C3[01]0*:*
169 KEYBOARD_KEY_67=f24 # FIXME: rotate screen
173 KEYBOARD_KEY_6c=screenlock # FIXME: lock tablet device/buttons
175 # Travelmate P648-G2-MG, P648-G3-M and P645-S
176 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*P648-G2-MG*:*
177 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*P648-G3-M*:*
178 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*P645-S*:*
179 KEYBOARD_KEY_8a=f20 # Microphone mute button; should be micmute
181 # on some models this isn't brightnessup
182 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn*5210*:*
183 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn*5220*:*
184 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn*5610*:*
185 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn*5620*:*
186 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn*5720*:*
187 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*4720*:*
188 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*6593:*
189 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*1640:*
190 KEYBOARD_KEY_ee=screenlock
192 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAOA*:*
193 KEYBOARD_KEY_a9=!switchvideomode # Fn+F5
195 # Packard Bell and Gateway models
196 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGateway*:pn*:*
197 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnPackard*Bell*:pn*:*
198 KEYBOARD_KEY_86=wlan # Fn+F3 or Fn+Q for comunication key
200 ###########################################################
202 ###########################################################
204 # Alienware/Dell reserves these keys; safe to apply on all their devices
205 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAlienware*:pn*:*
206 KEYBOARD_KEY_81=f21 # Touchpad toggle
207 KEYBOARD_KEY_8a=ejectcd
208 KEYBOARD_KEY_bf=!prog1 # graphics amplifier, cable plug-in event
209 KEYBOARD_KEY_c1=!prog2 # graphics amplifier, undock-button event
210 KEYBOARD_KEY_c2=!power # graphics amplifier, surprise undock event
212 # Alienware M17xR3 laptops
213 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAlienware*:pnM17xR3:*
214 KEYBOARD_KEY_89=ejectcd
216 ###########################################################
218 ###########################################################
220 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnASUS:pn*:*
221 KEYBOARD_KEY_ed=volumeup
222 KEYBOARD_KEY_ee=volumedown
225 evdev:name:Asus WMI hotkeys:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
226 evdev:name:Eee PC WMI hotkeys:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
227 evdev:name:Asus Laptop extra buttons:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
228 KEYBOARD_KEY_6b=f21 # Touchpad Toggle
230 # USB keyboard in Asus FX503VD
231 evdev:input:b0003v0B05p1869*
232 KEYBOARD_KEY_ff31007c=f20 # Remap micmute to f20
234 ###########################################################
236 ###########################################################
238 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn*BenQ*:pn*Joybook*R22*:*
241 ###########################################################
243 ###########################################################
245 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnNotebook:pnW65_67SZ:*
246 KEYBOARD_KEY_a0=!mute
247 KEYBOARD_KEY_a2=!playpause
248 KEYBOARD_KEY_ae=!volumedown
249 KEYBOARD_KEY_b0=!volumeup
251 ###########################################################
253 ###########################################################
255 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnCOMPAL:pnHEL80I:*
258 ###########################################################
260 ###########################################################
262 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnCompaq*:pn*E500*:*
263 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnCompaq*:pn*Evo*N*:*
264 KEYBOARD_KEY_a3=www # I key
265 KEYBOARD_KEY_9a=search
266 KEYBOARD_KEY_9e=email
267 KEYBOARD_KEY_9f=homepage
269 evdev:input:b0003v049Fp0051*
270 KEYBOARD_KEY_0c0011=presentation
271 KEYBOARD_KEY_0c0012=addressbook
272 KEYBOARD_KEY_0c0013=info
273 KEYBOARD_KEY_0c0014=prog1
274 KEYBOARD_KEY_0c0015=messenger
276 ###########################################################
278 ###########################################################
280 evdev:name:gpio-keys:phys:gpio-keys/input0:ev:3:dmi:bvn*:bvr*:bd*:svncube:pni1-TF:*
281 KEYBOARD_KEY_0=leftmeta
284 ###########################################################
286 ###########################################################
288 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pn*:*
289 KEYBOARD_KEY_81=playpause # Play/Pause
290 KEYBOARD_KEY_82=stopcd # Stop
291 KEYBOARD_KEY_83=previoussong # Previous song
292 KEYBOARD_KEY_84=nextsong # Next song
293 KEYBOARD_KEY_85=brightnessdown # Fn+Down Brightness Down
294 KEYBOARD_KEY_86=brightnessup # Fn+Up Brightness Up
295 KEYBOARD_KEY_87=battery # Fn+F3 battery icon
296 KEYBOARD_KEY_88=unknown # Fn+F2 Turn On/Off Wireless - handled in hardware
297 KEYBOARD_KEY_89=ejectclosecd # Fn+F10 Eject CD
298 KEYBOARD_KEY_8a=suspend # Fn+F1 hibernate
299 KEYBOARD_KEY_8b=switchvideomode # Fn+F8 CRT/LCD (high keycode: "displaytoggle")
300 KEYBOARD_KEY_8c=unknown # Fn+Right Auto Brightness
301 KEYBOARD_KEY_8f=switchvideomode # Fn+F7 aspect ratio
302 KEYBOARD_KEY_90=previoussong # Front panel previous song
303 KEYBOARD_KEY_91=prog1 # Wi-Fi Catcher (Dell-specific)
304 KEYBOARD_KEY_92=media # MediaDirect button (house icon)
305 KEYBOARD_KEY_93=unknown # FIXME Fn+Left Auto Brightness
306 KEYBOARD_KEY_95=camera # Shutter button - Takes a picture if optional camera available
307 KEYBOARD_KEY_97=email # Tablet email button
308 KEYBOARD_KEY_98=f21 # FIXME: Tablet screen rotation
309 KEYBOARD_KEY_99=nextsong # Front panel next song
310 KEYBOARD_KEY_9a=setup # Tablet tools button
311 KEYBOARD_KEY_9b=switchvideomode # Display toggle button
312 KEYBOARD_KEY_9e=f21 # Touchpad toggle
313 KEYBOARD_KEY_a2=playpause # Front panel play/pause
314 KEYBOARD_KEY_a4=stopcd # Front panel stop
315 KEYBOARD_KEY_ed=media # MediaDirect button
316 KEYBOARD_KEY_d8=screenlock # FIXME: Tablet lock button
317 KEYBOARD_KEY_d9=f21 # Touchpad toggle
320 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*910:*
321 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*101[012]:*
322 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*1110:*
323 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*1210:*
326 # Dell Inspiron 11 3168
327 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron11-3168:pvr*
328 KEYBOARD_KEY_c7=!home # Fn-LeftArrow
329 KEYBOARD_KEY_cf=!end # Fn-RightArrow
330 KEYBOARD_KEY_c9=!pageup # Fn-UpArrow
331 KEYBOARD_KEY_d1=!pagedown # Fn-DownArrow
333 # Dell Inspiron 1520 and Latitude 2110
334 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*1520:*
335 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*2110:*
336 KEYBOARD_KEY_85=unknown # Brightness Down, also emitted by acpi-video, ignore
337 KEYBOARD_KEY_86=unknown # Brightness Up, also emitted by acpi-video, ignore
340 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron537*:*
341 KEYBOARD_KEY_88=!wlan # Fn-PrtScr rfkill
344 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*XT2:*
345 KEYBOARD_KEY_9b=up # tablet rocker up
346 KEYBOARD_KEY_9e=enter # tablet rocker press
347 KEYBOARD_KEY_9f=back # tablet back
348 KEYBOARD_KEY_a3=down # tablet rocker down
350 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnStudio*155[78]:*
351 KEYBOARD_KEY_a0=! # mute
352 KEYBOARD_KEY_ae=! # volume down
353 KEYBOARD_KEY_b0=! # volume up
356 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*:*
357 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnPrecision*:*
358 KEYBOARD_KEY_88=! # wireless switch
362 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*E7*:*
363 KEYBOARD_KEY_88=unknown # Fn-PrtScr rfkill - handled in HW
366 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnXPS*:*
367 KEYBOARD_KEY_8c=!unknown
370 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDellInc.:pnDellSystemXPSL702X:*
371 KEYBOARD_KEY_84=prog1
372 KEYBOARD_KEY_85=prog2
375 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnXPS12-9Q33*:*
377 KEYBOARD_KEY_65=direction # Screen Rotate
379 # Dell Latitude microphone mute
380 evdev:name:Dell WMI hotkeys:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*:*
381 # Dell Precision microphone mute
382 evdev:name:Dell WMI hotkeys:dmi:bvn*:bvr*:bd*:svnDell*:pnPrecision*:*
383 KEYBOARD_KEY_100150=f20 # Mic mute toggle, should be micmute
385 # Dell Latitude privacy microphone mute
386 evdev:name:Dell Privacy Driver:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*:*
387 KEYBOARD_KEY_120001=f20 # Mic mute toggle, should be micmute
389 ###########################################################
391 ###########################################################
393 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnEverex:pnXT5000*:*
394 KEYBOARD_KEY_5c=media
395 KEYBOARD_KEY_65=f21 # Fn+F5 Touchpad toggle
396 KEYBOARD_KEY_67=prog3 # Fan speed control button
397 KEYBOARD_KEY_6f=brightnessup
398 KEYBOARD_KEY_7f=brightnessdown
402 ##########################################
404 ##########################################
406 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pnAMILO*M*:*
407 KEYBOARD_KEY_97=prog2
408 KEYBOARD_KEY_9f=prog1
410 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pnAmilo*Li*1718:*
414 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pnAMILO*Li*2732:*
415 KEYBOARD_KEY_d9=brightnessdown # Fn+F8 brightness down
416 KEYBOARD_KEY_ef=brightnessup # Fn+F9 brightness up
417 KEYBOARD_KEY_a9=switchvideomode # Fn+F10 Cycle between available video outputs
420 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*AMILO*Pa*2548*:*
421 KEYBOARD_KEY_e0=volumedown
422 KEYBOARD_KEY_e1=volumeup
423 KEYBOARD_KEY_e5=prog1
425 # Amilo Pro Edition V3505
426 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*AMILO*Pro*Edition*V3505*:*
427 KEYBOARD_KEY_a5=help # Fn+F1
428 KEYBOARD_KEY_a9=switchvideomode # Fn+F3
429 KEYBOARD_KEY_d9=brightnessdown # Fn+F8
430 KEYBOARD_KEY_e0=brightnessup # Fn+F9
433 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*AMILO*Pro*V3205*:*
434 KEYBOARD_KEY_f4=f21 # FIXME: silent-mode decrease CPU/GPU clock
435 KEYBOARD_KEY_f7=switchvideomode # Fn+F3
438 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*Amilo*Si*1520*:*
441 KEYBOARD_KEY_ee=brightnessdown
442 KEYBOARD_KEY_e0=brightnessup
443 KEYBOARD_KEY_e2=bluetooth
444 KEYBOARD_KEY_f7=video
447 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*ESPRIMO*Mobile*V5*:*
448 KEYBOARD_KEY_a9=switchvideomode
449 KEYBOARD_KEY_d9=brightnessdown
450 KEYBOARD_KEY_df=sleep
451 KEYBOARD_KEY_ef=brightnessup
454 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*ESPRIMO*Mobile*V6*:*
455 KEYBOARD_KEY_ce=brightnessup
456 KEYBOARD_KEY_ef=brightnessdown
458 ###########################################################
460 ###########################################################
462 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGIGABYTE:pnU2442:*
463 KEYBOARD_KEY_a0=! # mute
465 ###########################################################
467 ###########################################################
469 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGeminiDevices:pnNC14V1006:*
470 KEYBOARD_KEY_9c=enter
472 ###########################################################
474 ###########################################################
477 evdev:input:b0003v0458p0708*
478 KEYBOARD_KEY_0900f0=scrollup
479 KEYBOARD_KEY_0900f1=scrolldown
480 KEYBOARD_KEY_0900f3=back
481 KEYBOARD_KEY_0900f2=forward
482 KEYBOARD_KEY_0900f5=wordprocessor
483 KEYBOARD_KEY_0900f6=spreadsheet
484 KEYBOARD_KEY_0900f4=presentation
485 KEYBOARD_KEY_0c0223=www
486 KEYBOARD_KEY_0900f7=chat
487 KEYBOARD_KEY_0900fb=prog1
488 KEYBOARD_KEY_0900f8=close
489 KEYBOARD_KEY_0900f9=graphicseditor
490 KEYBOARD_KEY_0900fd=scale
491 KEYBOARD_KEY_0900fc=screenlock
493 ###########################################################
495 ###########################################################
497 evdev:name:Intel HID events:dmi:bvn*:bvr*:bd*:svnHP*:pn*:*
498 KEYBOARD_KEY_8=unknown # Use hp-wireless instead
500 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*:*
501 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pn*:*
502 KEYBOARD_KEY_81=fn_esc
503 KEYBOARD_KEY_89=battery # Fn+F8
504 KEYBOARD_KEY_8a=screenlock # Fn+F6
505 KEYBOARD_KEY_8b=camera
506 KEYBOARD_KEY_8c=media # music
509 KEYBOARD_KEY_b3=unknown # FIXME: Auto brightness
511 KEYBOARD_KEY_92=brightnessdown # Fn+F7 (Fn+F9 on 6730b)
512 KEYBOARD_KEY_97=brightnessup # Fn+F8 (Fn+F10 on 6730b)
513 KEYBOARD_KEY_ee=switchvideomode # Fn+F4
516 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*[tT][aA][bB][lL][eE][tT]*:*
517 KEYBOARD_KEY_82=prog2 # Funny Key
518 KEYBOARD_KEY_83=prog1 # Q
521 KEYBOARD_KEY_86=pageup
522 KEYBOARD_KEY_87=pagedown
525 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*[pP][aA][vV][iI][lL][iI][oO][nN]*:*
526 KEYBOARD_KEY_88=media # FIXME: quick play
527 KEYBOARD_KEY_b7=print
528 KEYBOARD_KEY_d8=!f23 # touchpad off
529 KEYBOARD_KEY_d9=!f22 # touchpad on
531 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*Pavilion*dv7*Notebook*PC:*
532 KEYBOARD_KEY_b7=print
533 KEYBOARD_KEY_c2=media # FIXME: quick play
534 KEYBOARD_KEY_c6=break
535 KEYBOARD_KEY_94=reserved
537 # Pavilion 13 x360 (Tablet mode and SYSRQ key)
538 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*[pP][aA][vV][iI][lL][iI][oO][nN]*13*x360*:*
539 KEYBOARD_KEY_d7=!f22 # touchpad off
540 KEYBOARD_KEY_d9=unknown
541 KEYBOARD_KEY_d2=sysrq # Fn+Print = SYSRQ
543 # Spectre x360 13 (Prevents random airplane mode activation)
544 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*[sS][pP][eE][cC][tT][rR][eE]*x360*13*:*
545 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pn*[sS][pP][eE][cC][tT][rR][eE]*x360Convertible*:*
546 KEYBOARD_KEY_d7=unknown
549 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPSpectrex360Convertible13*:*
551 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPENVYx360Convertible13*:*
552 KEYBOARD_KEY_82=f20 # Microphone mute button, should be micmute
554 # HP Elite x2 1013 G3
555 evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHPElitex21013G3:*
556 KEYBOARD_KEY_f8=unknown # rfkill is also reported by HP Wireless hotkeys
557 KEYBOARD_KEY_64=calendar
558 KEYBOARD_KEY_81=f20 # Microphone mute button
559 KEYBOARD_KEY_ee=switchvideomode # Switch display outputs
560 KEYBOARD_KEY_92=brightnessdown
561 KEYBOARD_KEY_97=brightnessup
563 evdev:name:Intel HID events:dmi:bvn*:bvr*:svnHP*:pnHPElitex21013G3:*
564 KEYBOARD_KEY_08=unknown # rfkill is also reported by HP Wireless hotkeys
567 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*Compaq*:*
568 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*EliteBook*:*
569 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*2230s*:*
570 KEYBOARD_KEY_88=presentation
571 KEYBOARD_KEY_d9=help # I key (high keycode: "info")
574 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*Presario*CQ*:*
579 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*2510p*:*
580 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*2530p*:*
581 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*G60*Notebook*PC:*
582 KEYBOARD_KEY_d8=!f23 # touchpad off
583 KEYBOARD_KEY_d9=!f22 # touchpad on
586 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*2570p*:*
587 KEYBOARD_KEY_f8=wlan # Wireless HW switch button
590 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*[tT][xX]2*:*
591 KEYBOARD_KEY_c2=media
592 KEYBOARD_KEY_d8=!f23 # Toggle touchpad button on tx2 (OFF)
593 KEYBOARD_KEY_d9=!f22 # Toggle touchpad button on tx2 (ON)
596 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnPresario*2100*:*
598 KEYBOARD_KEY_f1=screenlock
599 KEYBOARD_KEY_f3=search
602 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*EliteBook*8440p:*
605 KEYBOARD_KEY_ae=volumedown
606 KEYBOARD_KEY_b0=volumeup
610 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*EliteBook*8460p:*
611 KEYBOARD_KEY_f8=wlan # Wireless HW switch button
612 KEYBOARD_KEY_b3=prog1 # Fn+F11 - Ambient Light Sensor button
613 KEYBOARD_KEY_b1=prog2 # Fn+ESC - System information button
616 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHDX9494NR:*
617 KEYBOARD_KEY_b2=www # Fn+F3
618 KEYBOARD_KEY_d8=!f23 # touchpad off
619 KEYBOARD_KEY_d9=!f22 # touchpad on
621 # HP EliteBook 725 G2
622 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHPLicrice:*
624 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHPEliteBook*:*
625 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPEliteBook*:*
627 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP440G2:*
629 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*ProBook*:*
630 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHP*ProBook*:*
632 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHPZBook*:*
633 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPZBook*:*
634 KEYBOARD_KEY_81=f20 # Fn+F8; Microphone mute button, should be micmute
637 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPZBookStudioG5*:*
638 KEYBOARD_KEY_64=calendar # Calendar icon (Fn + F12)
639 KEYBOARD_KEY_6d=displaytoggle # Display icon
640 KEYBOARD_KEY_66=connect # Pickup phone button → connect → XF86Go
641 KEYBOARD_KEY_65=cancel # Hangup phone button → cancel → Cancel
644 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHPZBook15G2:*
645 KEYBOARD_KEY_f8=wlan # Wireless HW switch button
648 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHPProBook11G1:*
649 KEYBOARD_KEY_81=f20 # Fn+F8; Microphone mute button, should be micmute
650 KEYBOARD_KEY_d8=f21 # touchpad toggle
651 KEYBOARD_KEY_d9=f21 # touchpad toggle
654 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP:pnHPZBookStudioG4:*
655 KEYBOARD_KEY_f8=wlan # Wireless HW switch button
657 # HP EliteBook Folio 1040 G2
658 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHPEliteBookFolio1040G2:*
659 KEYBOARD_KEY_d8=!f23 # touchpad off
660 KEYBOARD_KEY_d9=!f22 # touchpad on
662 # HP EliteBook Folio G1
663 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP:pnHPEliteBookFolioG1:*
664 KEYBOARD_KEY_64=calendar
668 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*ProBook*650*:*
669 KEYBOARD_KEY_f8=wlan # Wireless HW switch button
672 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard:pnHPProBook6555b:*
673 KEYBOARD_KEY_b2=www # Earth
676 evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHP*ProBook*440*G3*:*
678 evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHP*ProBook*640*G2*:*
679 KEYBOARD_KEY_85=unknown # lid close; also reported via special evdev
680 KEYBOARD_KEY_f8=unknown # rf kill; also reported via special evdev
683 evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHP*ProBook*645*G4*:*
684 KEYBOARD_KEY_73=slash # Slash key
685 KEYBOARD_KEY_f8=wlan # Wireless HW switch button
688 evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHP*ProBook*455*G5*:*
689 KEYBOARD_KEY_85=unknown # lid close; also reported via special evdev
690 KEYBOARD_KEY_f8=wlan # Wireless HW switch button
692 # HP mt44 Mobile Thin Client
693 evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHP*mt44*Mobile*Thin*Client*:*
694 KEYBOARD_KEY_64=calendar # Calendar icon (Fn + F12)
695 KEYBOARD_KEY_6d=displaytoggle # Display icon
696 KEYBOARD_KEY_66=connect # Pickup phone button → connect → XF86Go
697 KEYBOARD_KEY_65=cancel # Hangup phone button → cancel → Cancel
698 KEYBOARD_KEY_81=f20 # Fn+F8; Microphone mute button, should be micmute
699 KEYBOARD_KEY_85=unknown # lid close; also reported via special evdev
700 KEYBOARD_KEY_f8=wlan # Wireless HW switch button
703 # The ACPI tables contains a gpio-keys entry for a non connected GPIO
704 # causing spurious events, map this to unknown to disable it
705 # older kernels use "ev:23" newer kernels "ev:3"
706 evdev:name:gpio-keys:phys:gpio-keys/input0:ev:3:dmi:*:svnHewlett-Packard:pnHPStream7Tablet:*
707 evdev:name:gpio-keys:phys:gpio-keys/input0:ev:23:dmi:*:svnHewlett-Packard:pnHPStream7Tablet:*
708 KEYBOARD_KEY_0=unknown
710 ##########################################################
712 ##########################################################
714 # Huawei WMI hotkeys driver
715 evdev:name:Huawei WMI hotkeys:dmi:bvn*:bvr*:bd*:svnHUAWEI:*
716 KEYBOARD_KEY_287=f20 # Microphone mute button, should be micmute
718 # Huawei MACH-WX9 and EUL-WX9
719 evdev:atkbd:dmi:bvn*:bvr*:svnHUAWEI*:pnMACH-WX9:*
720 evdev:atkbd:dmi:bvn*:bvr*:svnHUAWEI*:pnEUL-WX9:*
721 KEYBOARD_KEY_f7=unknown
724 evdev:name:Huawei WMI hotkeys:dmi:bvn*:bvr*:bd*:svnHUAWEI*:pnMACH-WX9:*
725 evdev:name:Huawei WMI hotkeys:dmi:bvn*:bvr*:bd*:svnHUAWEI*:pnEUL-WX9:*
726 KEYBOARD_KEY_281=unknown # Brightness Down, also emitted by acpi-video, ignore
727 KEYBOARD_KEY_282=unknown # Brightness Up, also emitted by acpi-video, ignore
729 ###########################################################
731 ###########################################################
733 # thinkpad_acpi driver
734 evdev:name:ThinkPad Extra Buttons:dmi:bvn*:bvr*:bd*:svnIBM*:pn*:*
735 KEYBOARD_KEY_01=battery # Fn+F2
736 KEYBOARD_KEY_02=screenlock # Fn+F3
737 KEYBOARD_KEY_03=sleep # Fn+F4
738 KEYBOARD_KEY_04=wlan # Fn+F5
739 KEYBOARD_KEY_06=switchvideomode # Fn+F7
740 KEYBOARD_KEY_07=zoom # Fn+F8 screen expand
741 KEYBOARD_KEY_08=f24 # Fn+F9 undock
742 KEYBOARD_KEY_0b=suspend # Fn+F12
743 KEYBOARD_KEY_0f=brightnessup # Fn+Home
744 KEYBOARD_KEY_10=brightnessdown # Fn+End
745 KEYBOARD_KEY_11=kbdillumtoggle # Fn+PgUp - ThinkLight
746 KEYBOARD_KEY_13=zoom # Fn+Space
747 KEYBOARD_KEY_14=volumeup
748 KEYBOARD_KEY_15=volumedown
750 KEYBOARD_KEY_17=prog1 # ThinkPad/ThinkVantage button (high keycode: "vendor")
752 # IBM Thinkpad USB Keyboard Trackpoint
753 evdev:input:b0003v04B3p301[89]*
754 KEYBOARD_KEY_900f0=screenlock
755 KEYBOARD_KEY_900f1=wlan
756 KEYBOARD_KEY_900f2=switchvideomode
757 KEYBOARD_KEY_900f3=suspend
758 KEYBOARD_KEY_900f4=brightnessup
759 KEYBOARD_KEY_900f5=brightnessdown
760 KEYBOARD_KEY_900f8=zoom
762 ###########################################################
764 ###########################################################
767 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnINVENTEC:pnSYMPHONY*6.0/7.0:*
768 KEYBOARD_KEY_f3=prog2
769 KEYBOARD_KEY_f4=prog1
771 ###########################################################
773 ###########################################################
775 # thinkpad_acpi driver
776 evdev:name:ThinkPad Extra Buttons:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:*
777 KEYBOARD_KEY_01=screenlock
778 KEYBOARD_KEY_02=battery
779 KEYBOARD_KEY_03=sleep
781 KEYBOARD_KEY_06=switchvideomode
784 KEYBOARD_KEY_0b=suspend
785 KEYBOARD_KEY_0f=brightnessup
786 KEYBOARD_KEY_10=brightnessdown
787 KEYBOARD_KEY_11=kbdillumtoggle
789 KEYBOARD_KEY_14=volumeup
790 KEYBOARD_KEY_15=volumedown
792 KEYBOARD_KEY_17=prog1
793 KEYBOARD_KEY_1a=f20 # Microphone mute button; should be micmute
794 KEYBOARD_KEY_45=bookmarks
796 # ThinkPad Keyboard with TrackPoint
797 evdev:input:b0003v17EFp6009*
798 KEYBOARD_KEY_090012=screenlock # Fn+F2
799 KEYBOARD_KEY_090013=battery # Fn+F3
800 KEYBOARD_KEY_090014=wlan # Fn+F5
801 KEYBOARD_KEY_090016=switchvideomode # Fn+F7
802 KEYBOARD_KEY_090017=f21 # Fn+F8 touchpad toggle
803 KEYBOARD_KEY_090019=suspend # Fn+F12
804 KEYBOARD_KEY_09001a=brightnessup # Fn+Home
805 KEYBOARD_KEY_09001b=brightnessdown # Fn+End
806 KEYBOARD_KEY_09001d=zoom # Fn+Space
807 KEYBOARD_KEY_090011=prog1 # ThinkVantage button
808 KEYBOARD_KEY_090015=camera # Fn+F6 headset/camera VoIP key ??
809 KEYBOARD_KEY_090010=f20 # Microphone mute button; should be micmute
812 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*3000*:*
813 KEYBOARD_KEY_8b=switchvideomode # Fn+F7 video
814 KEYBOARD_KEY_96=wlan # Fn+F5 wireless
815 KEYBOARD_KEY_97=sleep # Fn+F4 suspend
816 KEYBOARD_KEY_98=suspend # Fn+F12 hibernate
817 KEYBOARD_KEY_b4=prog1 # Lenovo Care
819 # "Lenovo Care" Key of the 3000 N200
820 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn0769AP2:pvr3000N200:*
821 KEYBOARD_KEY_b4=prog1
824 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*IdeaPad*:*
825 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pnS10-*:*
826 KEYBOARD_KEY_81=rfkill # does nothing in BIOS
827 KEYBOARD_KEY_83=display_off # BIOS toggles screen state
828 KEYBOARD_KEY_b9=brightnessup # does nothing in BIOS
829 KEYBOARD_KEY_ba=brightnessdown # does nothing in BIOS
830 KEYBOARD_KEY_f1=camera # BIOS toggles camera power
831 KEYBOARD_KEY_f2=f21 # touchpad toggle (key alternately emits F2 and F3)
834 # Thinkpad X200_Tablet
835 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPad*X2*Tablet*:*
838 KEYBOARD_KEY_66=screenlock
839 KEYBOARD_KEY_67=cyclewindows # bezel circular arrow
840 KEYBOARD_KEY_68=setup # bezel setup / menu
841 KEYBOARD_KEY_6c=direction # rotate screen
844 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPad*X6*Tablet*:*
845 KEYBOARD_KEY_6c=direction # rotate
846 KEYBOARD_KEY_68=leftmeta # toolbox
847 KEYBOARD_KEY_6b=esc # escape
848 KEYBOARD_KEY_6d=right # right on d-pad
849 KEYBOARD_KEY_6e=left # left on d-pad
850 KEYBOARD_KEY_71=up # up on d-pad
851 KEYBOARD_KEY_6f=down # down on d-pad
852 KEYBOARD_KEY_69=enter # enter on d-pad
854 # ThinkPad X41 Tablet
855 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnIBM*:pn18666TU:*
856 KEYBOARD_KEY_6c=direction # rotate
857 KEYBOARD_KEY_68=leftmeta # toolbox
858 KEYBOARD_KEY_6b=esc # escape
859 KEYBOARD_KEY_69=enter # enter on d-pad
862 evdev:name:Ideapad extra buttons:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:*
863 KEYBOARD_KEY_0d=rfkill # airplane mode switch (toggle all wireless devices)
864 KEYBOARD_KEY_08=f20 # micmute
868 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*IdeaPad*Y550*:*
869 KEYBOARD_KEY_95=media
872 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*IdeaPad*U300s*:*
874 KEYBOARD_KEY_ce=f20 # micmute
876 evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO*:pn*IdeaPad*Z370*:*
877 KEYBOARD_KEY_a0=!mute
878 KEYBOARD_KEY_ae=!volumedown
879 KEYBOARD_KEY_b0=!volumeup
881 evdev:atkbd:dmi:*:svnLENOVO:*:pvrLenovoYoga300-11IBR:*
882 KEYBOARD_KEY_62=unknown # Touchpad on, also emitted by "Ideapad extra buttons", ignore
883 KEYBOARD_KEY_63=unknown # Touchpad off, also emitted by "Ideapad extra buttons", ignore
885 # Fix for volume keys on Lenovo Yoga S940
886 # For 10th gen it should be pn81Q8 instead of pn81Q7 but
887 # I don't have a device to test
888 # perhaps pn81Q* would work for both generations
889 evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO:pn81Q7*:pvrLenovoYogaS940:*
890 KEYBOARD_KEY_a0=!mute
891 KEYBOARD_KEY_ae=!volumedown
892 KEYBOARD_KEY_b0=!volumeup
895 evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO*:pn*20378*:*
896 KEYBOARD_KEY_f3=f21 # Fn+F6 (toggle touchpad)
899 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*Lenovo*V480*:*
902 # Lenovo ThinkCentre M800z/M820z/M920z AIO machines
903 # key_scancode 00 is KEY_MICMUTE
904 evdev:name:Microphone Mute Button:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:*
907 # enhanced USB keyboard
908 evdev:input:b0003v04B3p301B*
909 KEYBOARD_KEY_90001=prog1 # ThinkVantage
910 KEYBOARD_KEY_90002=screenlock
911 KEYBOARD_KEY_90003=file
912 KEYBOARD_KEY_90004=wordprocessor
913 KEYBOARD_KEY_90005=spreadsheet
914 KEYBOARD_KEY_90006=calc
915 KEYBOARD_KEY_90007=mail
916 KEYBOARD_KEY_90008=www
918 # Lenovo Ideapad D330-10IGM
919 evdev:name:SIPODEV Lenovo HID Device:dmi:*:svnLENOVO:*:pvrLenovoideapadD330-10IGM:*
920 KEYBOARD_KEY_70073=f21 # Fn+Supr (Touchpad toggle)
923 ###########################################################
925 ###########################################################
927 # 27MHz wireless keyboards, these all have a PID of 00?? and all send c10xx
928 # logitech custom consumer usage-page codes. The mappings below are the most
929 # common, but some mapping may differ, especially the Fn F1-F12 mappings
930 evdev:input:b0003v046Dp00*
931 KEYBOARD_KEY_c0183=media # HUT:config, kbd:Media/Music player button
932 KEYBOARD_KEY_c1001=chat # Messenger button
933 KEYBOARD_KEY_c1002=camera # Webcam button
934 KEYBOARD_KEY_c1003=audio # Music Browser button
935 KEYBOARD_KEY_c1004=video # Video Browser button
936 KEYBOARD_KEY_c1005=images # Image Browser button
937 KEYBOARD_KEY_c100a=documents # Document Browser button
938 KEYBOARD_KEY_c100b=rewind # Rewind button
939 KEYBOARD_KEY_c100c=fastforward # Fast Forward button
940 KEYBOARD_KEY_c100f=f14 # Track 1 button → f14 → XF86Launch5
941 KEYBOARD_KEY_c1010=f15 # Track 2 button → f15 → XF86Launch6
942 KEYBOARD_KEY_c1011=channeldown # Playlist back button
943 KEYBOARD_KEY_c1012=channelup # Playlist advance button
944 KEYBOARD_KEY_c1013=camera # Webcam button
945 KEYBOARD_KEY_c1014=coffee # Status button
946 KEYBOARD_KEY_c1015=record # Record symbol button
947 KEYBOARD_KEY_c1016=sound # Flame/CD burning → sound → XF86AudioPreset
948 KEYBOARD_KEY_c1017=ejectcd # Eject button
949 KEYBOARD_KEY_c1018=config # Remote-control ico
950 KEYBOARD_KEY_c1019=f14 # Preset 1 → f14 → XF86Launch5
951 KEYBOARD_KEY_c101a=f15 # Preset 2 → f15 → XF86Launch6
952 KEYBOARD_KEY_c101b=f16 # Preset 3 → f16 → XF86Launch7
953 KEYBOARD_KEY_c101c=cyclewindows # 2 overlapping windows icon
954 KEYBOARD_KEY_c101f=zoomout # zoom - button / - side of zoomrocker
955 KEYBOARD_KEY_c1020=zoomin # zoom + button / + side off zoom rocker
956 KEYBOARD_KEY_c1021=zoomreset # 100% symbol on kbd left side
957 KEYBOARD_KEY_c1023=close # [x] symbol on kbd left side
958 KEYBOARD_KEY_c1027=menu # Hamburger menu icon
959 KEYBOARD_KEY_c1028=angle # Rotate button
960 KEYBOARD_KEY_c1029=shuffle # Shuffle button
961 KEYBOARD_KEY_c102a=back # Back button
962 KEYBOARD_KEY_c102b=cyclewindows # Empty window icon
963 KEYBOARD_KEY_c102c=fn # Fn key
964 KEYBOARD_KEY_c102d=www # www text + magnifierglass icon
965 KEYBOARD_KEY_c1031=connect # Pickup phone button → connect → XF86Go
966 KEYBOARD_KEY_c1032=cancel # Hangup phone button → cancel → Cancel
967 KEYBOARD_KEY_c1041=help # Help text or icon (Fn + F1)
968 KEYBOARD_KEY_c1042=wordprocessor # Word icon (Fn + F2)
969 KEYBOARD_KEY_c1043=spreadsheet # Excel icon (Fn + F3)
970 KEYBOARD_KEY_c1044=presentation # Presentation icon (Fn + F4)
971 KEYBOARD_KEY_c1045=undo # Undo Icon (Fn + F5)
972 KEYBOARD_KEY_c1046=redo # Redo Icon (Fn + F6)
973 KEYBOARD_KEY_c1047=print # Printer Icon (Fn + F7)
974 KEYBOARD_KEY_c1048=save # Floppy Icon (Fn + F8)
975 KEYBOARD_KEY_c1049=prog1 # Smartkey A (Fn + F9) → XF86Launch1
976 KEYBOARD_KEY_c104a=prog2 # Smartkey B (Fn + F10) → XF86Launch2
977 KEYBOARD_KEY_c104b=prog3 # Smartkey C (Fn + F11) → XF86Launch3
978 KEYBOARD_KEY_c104c=prog4 # Smartkey D (Fn + F12) → XF86Launch4
980 # Cordless Access Keyboard (27 MHz, modelnumber Y-RH35)
981 evdev:input:b0003v046Dp0042*
982 KEYBOARD_KEY_c1041=new
983 KEYBOARD_KEY_c1042=reply
984 KEYBOARD_KEY_c1043=forward
985 KEYBOARD_KEY_c1044=send
986 KEYBOARD_KEY_c1045=previoussong
987 KEYBOARD_KEY_c1046=nextsong
988 KEYBOARD_KEY_c1047=playpause
989 KEYBOARD_KEY_c1048=stopcd
990 KEYBOARD_KEY_c1049=file
991 KEYBOARD_KEY_c104a=documents
992 KEYBOARD_KEY_c104b=images
993 KEYBOARD_KEY_c104c=audio
995 # "Cordless Rechargeable Desktop" keyboard (27 MHz, modelnumber Y-RK49)
996 evdev:input:b0003v046Dp0045*
997 KEYBOARD_KEY_c1041=new
998 KEYBOARD_KEY_c1042=reply
999 KEYBOARD_KEY_c1043=forward
1000 KEYBOARD_KEY_c1044=send
1001 KEYBOARD_KEY_c1049=file
1002 KEYBOARD_KEY_c104a=documents
1003 KEYBOARD_KEY_c104b=images
1004 KEYBOARD_KEY_c104c=audio
1006 # S510 keyboard (27 MHz, modelnumber Y-RAK73)
1007 evdev:input:b0003v046Dp0056*
1008 KEYBOARD_KEY_c1041=battery # Battery icon (Fn + F1)
1010 # MX3000 keyboard (27 MHz, modelnumber Y-RAM74)
1011 # We ignore the scroll up / down keypress events since these buttons also
1012 # generate scroll-wheel events and we do not want to generate duplicate events
1013 # Note if the "Special Button Function" in the HID++ features register gets
1014 # cleared then the scroll-wheel events for these buttons go away and then
1015 # tilting the scrollwheel left/right starts sending c1022 / c1024 events
1016 evdev:input:b0003v046Dp0057*
1017 KEYBOARD_KEY_c1041=battery # Battery icon (Fn + F1)
1019 #KEYBOARD_KEY_c101d=scrolldown # Button below scrollwheel (see note above)
1020 #KEYBOARD_KEY_c101e=scrollup # Button above scrollwheel (see note above)
1021 #KEYBOARD_KEY_c1022=scrollleft # Left click on scroll-wheel (see note above)
1022 #KEYBOARD_KEY_c1024=scrollright # Right click on scroll-wheel (see note above)
1024 # MX3200 keyboard (27 MHz, modelnumber Y-RAV80)
1025 evdev:input:b0003v046Dp005C*
1026 KEYBOARD_KEY_c1001=phone # VOIP button
1027 KEYBOARD_KEY_c1016=record # Record button
1028 KEYBOARD_KEY_c1041=wordprocessor # Word icon (Fn + F1)
1029 KEYBOARD_KEY_c1042=spreadsheet # Excel icon (Fn + F2)
1030 KEYBOARD_KEY_c1043=calendar # Calendar icon (Fn + F3)
1031 KEYBOARD_KEY_c1044=documents # My Documents icon (Fn + F4)
1032 KEYBOARD_KEY_c1045=prog1 # Smartkey A (Fn + F5) → XF86Launch1
1033 KEYBOARD_KEY_c1046=prog2 # Smartkey B (Fn + F6) → XF86Launch2
1034 KEYBOARD_KEY_c1047=prog3 # Smartkey C (Fn + F7) → XF86Launch3
1035 KEYBOARD_KEY_c1048=prog4 # Smartkey D (Fn + F8) → XF86Launch4
1037 # EX100 keyboard (27 MHz, modelnumber Y-RBH94)
1038 evdev:input:b0003v046Dp0065*
1039 KEYBOARD_KEY_c104b=battery # Battery icon (Fn + F11)
1040 KEYBOARD_KEY_c104c=ejectcd # Eject icon (Fn + F12)
1042 # S520 keyboard (27 MHz, modelnumber Y-RBA97)
1043 # Note this one uses non-standard codes for FN + F9 - Fn + F12?
1044 evdev:input:b0003v046Dp0066*
1045 KEYBOARD_KEY_c100e=prog4 # Smartkey D (Fn + F12) → XF86Launch4
1046 KEYBOARD_KEY_c1019=prog1 # Smartkey A (Fn + F9) → XF86Launch1
1047 KEYBOARD_KEY_c101a=prog2 # Smartkey B (Fn + F10) → XF86Launch2
1048 KEYBOARD_KEY_c101b=prog3 # Smartkey C (Fn + F11) → XF86Launch3
1049 KEYBOARD_KEY_c1041=wordprocessor # Word icon (Fn + F1)
1050 KEYBOARD_KEY_c1042=spreadsheet # Excel icon (Fn + F2)
1051 KEYBOARD_KEY_c1043=presentation # Presentation icon (Fn + F3)
1052 KEYBOARD_KEY_c1044=calendar # Calendar icon (Fn + F4)
1053 KEYBOARD_KEY_c1045=homepage # Home icon (Fn + F5)
1054 KEYBOARD_KEY_c1046=email # Letter icon (Fn + F6)
1055 KEYBOARD_KEY_c1047=search # Magnifying glass icon (Fn + F7)
1056 KEYBOARD_KEY_c1048=config # Window with gear icon (Fn + F8)
1057 KEYBOARD_KEY_c106f=battery # Battery icon
1059 # S510 remote control (27 MHz)
1060 evdev:input:b0003v046Dp00FE*
1061 KEYBOARD_KEY_c1018=media # Media button
1063 # MX5000 keyboard (HID proxy mode and bluetooth matches)
1064 evdev:input:b0003v046DpB305*
1065 evdev:input:b0005v046DpB305*
1066 KEYBOARD_KEY_c0183=media # HUT says config, kbd says Media
1067 KEYBOARD_KEY_c0230=zoomreset # HUT says fullscreen, kbd says 100%
1068 KEYBOARD_KEY_c1004=send # Send and receive / sync button
1069 KEYBOARD_KEY_c1006=coffee # Status (online/away) button
1070 KEYBOARD_KEY_c1007=camera # Webcam button
1071 KEYBOARD_KEY_c100c=kbd_lcd_menu1 # 1st button below the builtin LCD
1072 KEYBOARD_KEY_c100d=kbd_lcd_menu4 # 4th button below the builtin LCD
1073 KEYBOARD_KEY_c100e=kbd_lcd_menu2 # 2nd button below the builtin LCD
1074 KEYBOARD_KEY_c100f=kbd_lcd_menu3 # 3th button below the builtin LCD
1075 KEYBOARD_KEY_c1038=prog1 # Smartkey A → XF86Launch1
1076 KEYBOARD_KEY_c1039=prog2 # Smartkey B → XF86Launch2
1077 KEYBOARD_KEY_c103a=prog3 # Smartkey C → XF86Launch3
1078 KEYBOARD_KEY_c103b=prog4 # Smartkey D → XF86Launch4
1079 KEYBOARD_KEY_c1040=fn_esc # Fn mode on/off toggle
1081 # Dinovo Edge (HID proxy mode and bluetooth matches)
1082 evdev:input:b0003v046DpB309*
1083 evdev:input:b0005v046DpB309*
1084 KEYBOARD_KEY_c102c=fn # Fn key
1085 KEYBOARD_KEY_c1038=prog1 # Fn + F9 Smartkey A → XF86Launch1
1086 KEYBOARD_KEY_c1039=prog2 # Fn + F10 Smartkey B → XF86Launch2
1087 KEYBOARD_KEY_c103a=prog3 # Fn + F11 Smartkey C → XF86Launch3
1088 KEYBOARD_KEY_c103b=prog4 # Fn + F12 Smartkey D → XF86Launch4
1089 KEYBOARD_KEY_c1050=phone # Fn + F1 Phone button
1091 # MX5500 keyboard (HID proxy mode and bluetooth matches)
1092 evdev:input:b0003v046DpB30B*
1093 evdev:input:b0005v046DpB30B*
1094 KEYBOARD_KEY_c0183=media # HUT says consumer control configuration, kbd says Media Center
1095 KEYBOARD_KEY_c100e=images # Camera icon, "Photo Gallery"
1096 KEYBOARD_KEY_c100f=config # Window with gear icon
1097 KEYBOARD_KEY_c102c=fn # Fn key
1098 KEYBOARD_KEY_c1038=prog1 # Smartkey A → XF86Launch1
1099 KEYBOARD_KEY_c1039=prog2 # Smartkey B → XF86Launch2
1100 KEYBOARD_KEY_c103a=prog3 # Smartkey C → XF86Launch3
1101 KEYBOARD_KEY_c103b=prog4 # Smartkey D → XF86Launch4
1104 evdev:input:b0005v046DpB317*
1105 KEYBOARD_KEY_70047=brightnessdown
1106 KEYBOARD_KEY_70048=brightnessup
1109 evdev:input:b0003v046DpC308*
1110 KEYBOARD_KEY_90001=shop # Shopping
1111 KEYBOARD_KEY_90002=config # iTouch
1112 KEYBOARD_KEY_90003=finance # Finance
1113 KEYBOARD_KEY_90004=prog1 # My Sites
1114 KEYBOARD_KEY_90005=prog2 # Community
1115 KEYBOARD_KEY_c0183=media # Media
1117 # Cordless Desktop S510
1118 evdev:input:b0003v046DpC50C*
1119 KEYBOARD_KEY_d4=up # zoomin
1120 KEYBOARD_KEY_cc=down # zoomout
1123 evdev:input:b0003v046DpC317*
1124 KEYBOARD_KEY_9001c=scale # expo
1125 KEYBOARD_KEY_9001f=down # zoomout
1126 KEYBOARD_KEY_90020=up # zoomin
1127 KEYBOARD_KEY_9003d=prog1 # gadget
1128 KEYBOARD_KEY_90005=camera
1129 KEYBOARD_KEY_90018=media
1130 KEYBOARD_KEY_90041=wordprocessor
1131 KEYBOARD_KEY_90042=spreadsheet
1132 KEYBOARD_KEY_90043=calendar
1133 KEYBOARD_KEY_90044=prog2 # fn+f4 (program a)
1134 KEYBOARD_KEY_90045=prog3 # fn+f5 (program b)
1135 KEYBOARD_KEY_90046=prog4 # fn+f6 (program c)
1136 KEYBOARD_KEY_90048=messenger # fn+f8 (msn messenger)
1137 KEYBOARD_KEY_9002d=search # fn+f10 (search www)
1138 KEYBOARD_KEY_9004b=find # fn+f11 (search pc)
1139 KEYBOARD_KEY_9004c=ejectclosecd
1142 evdev:input:b0003v046DpC517*
1143 KEYBOARD_KEY_c101f=down # zoomout
1144 KEYBOARD_KEY_c1020=up # zoomin
1145 KEYBOARD_KEY_c1005=camera
1146 KEYBOARD_KEY_c0183=media
1147 KEYBOARD_KEY_c1041=wordprocessor
1148 KEYBOARD_KEY_c1042=spreadsheet
1149 KEYBOARD_KEY_c1043=calendar
1150 KEYBOARD_KEY_c1044=prog2 # fn+f4 (program a)
1151 KEYBOARD_KEY_c1045=prog3 # fn+f5 (program b)
1152 KEYBOARD_KEY_c1046=prog4 # fn+f6 (program c)
1153 KEYBOARD_KEY_c1048=messenger # fn+f8 (msn messenger)
1154 KEYBOARD_KEY_c104a=find # fn+f10 (search www)
1155 KEYBOARD_KEY_c104c=ejectclosecd
1158 evdev:input:b0003v046DpC529*
1159 KEYBOARD_KEY_0c01b6=camera
1160 KEYBOARD_KEY_0c0183=media
1161 KEYBOARD_KEY_0c0184=wordprocessor
1162 KEYBOARD_KEY_0c0186=spreadsheet
1163 KEYBOARD_KEY_0c018e=calendar
1164 KEYBOARD_KEY_0c0223=homepage
1165 KEYBOARD_KEY_0c01bc=messenger
1166 KEYBOARD_KEY_0c018a=mail
1167 KEYBOARD_KEY_0c0221=search
1168 KEYBOARD_KEY_0c00b8=ejectcd
1169 KEYBOARD_KEY_0c022d=up # zoomin
1170 KEYBOARD_KEY_0c022e=down # zoomout
1172 # Logitech Presenter R400
1173 evdev:input:b0003v046DpC52D*
1174 KEYBOARD_KEY_070029=presentation
1175 KEYBOARD_KEY_07003e=presentation
1176 KEYBOARD_KEY_070037=displaytoggle
1178 # Internet Navigator
1179 evdev:input:b0003v046DpC309*
1180 KEYBOARD_KEY_90001=chat # Messenger/SMS
1181 KEYBOARD_KEY_90002=camera # webcam
1182 KEYBOARD_KEY_90003=prog1 # iTouch
1183 KEYBOARD_KEY_90004=shop # Shopping
1184 KEYBOARD_KEY_c0201=new # New (F1)
1185 KEYBOARD_KEY_c0289=reply # Reply mail (F2)
1186 KEYBOARD_KEY_c028b=forwardmail # Forward mail (F3)
1187 KEYBOARD_KEY_c028c=send # Send (F4)
1188 KEYBOARD_KEY_c021a=undo # Undo (F5)
1189 KEYBOARD_KEY_c0279=redo # Redo (F6)
1190 KEYBOARD_KEY_c0208=print # Print (F7)
1191 KEYBOARD_KEY_c0207=save # Save (F8)
1192 KEYBOARD_KEY_c0194=file # My Computer (F9)
1193 KEYBOARD_KEY_c01a7=documents # My Documents (F10)
1194 KEYBOARD_KEY_c01b6=images # My Pictures (F11)
1195 KEYBOARD_KEY_c01b7=audio # My Music (F12)
1198 ###########################################################
1200 ###########################################################
1203 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMAXDATA:pnPro*7000*:*
1204 KEYBOARD_KEY_97=prog2
1205 KEYBOARD_KEY_9f=prog1
1206 KEYBOARD_KEY_a0=mute # Fn+F5
1208 KEYBOARD_KEY_ec=email
1209 KEYBOARD_KEY_ae=volumedown # Fn+Down
1210 KEYBOARD_KEY_b0=volumeup # Fn+Up
1211 KEYBOARD_KEY_df=suspend # Fn+F2
1212 KEYBOARD_KEY_f5=help
1214 ###########################################################
1216 ###########################################################
1219 evdev:atkbd:dmi:bvn*:bvr*:svnMEDION*:pnS3409*:*
1220 evdev:atkbd:dmi:bvn*:bvr*:svnMedion*:pnAkoya*:*
1221 evdev:atkbd:dmi:bvn*:bvr*:svnMedion*:pnP6669*:*
1222 KEYBOARD_KEY_a0=!mute
1223 KEYBOARD_KEY_ae=!volumedown
1224 KEYBOARD_KEY_b0=!volumeup
1226 KEYBOARD_KEY_df=sleep
1229 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMEDION*:pn*FID2060*:*
1230 KEYBOARD_KEY_6b=channeldown # Thottle Down
1231 KEYBOARD_KEY_6d=channelup # Thottle Up
1234 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMEDIONNB:pnA555*:*
1235 KEYBOARD_KEY_63=www # N button
1236 KEYBOARD_KEY_66=prog1 # link 1 button
1237 KEYBOARD_KEY_67=email # envelope button
1238 KEYBOARD_KEY_69=prog2 # link 2 button
1241 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMedion*:pnErazer*:*
1242 KEYBOARD_KEY_a0=!mute
1243 KEYBOARD_KEY_ae=!volumedown
1244 KEYBOARD_KEY_b0=!volumeup
1246 ###########################################################
1248 ###########################################################
1250 # Microsoft Natural Ergonomic Keyboard 4000
1251 evdev:input:b0003v045Ep00DB*
1252 KEYBOARD_KEY_c022d=up # zoomin
1253 KEYBOARD_KEY_c022e=down # zoomout
1255 # Microsoft (Razer produced) Reclusa keyboard
1256 evdev:input:b0003v1532p0200*
1257 KEYBOARD_KEY_c01c9=shuffle
1258 KEYBOARD_KEY_c01ca=up # zoomin
1259 KEYBOARD_KEY_c01cb=down # zoomout
1261 ###########################################################
1262 # MSI (aka "Micro Star")
1263 ###########################################################
1265 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*:*
1266 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*:*
1267 KEYBOARD_KEY_a0=mute # Fn+F9
1268 KEYBOARD_KEY_ae=volumedown # Fn+F7
1269 KEYBOARD_KEY_b0=volumeup # Fn+F8
1270 KEYBOARD_KEY_b2=www # e button
1271 KEYBOARD_KEY_c2=ejectcd
1272 KEYBOARD_KEY_df=sleep # Fn+F12
1273 KEYBOARD_KEY_e2=bluetooth # satellite dish2
1274 KEYBOARD_KEY_e4=f21 # Fn+F3 Touchpad disable
1275 KEYBOARD_KEY_ec=email # envelope button
1276 KEYBOARD_KEY_ee=camera # Fn+F6 camera disable
1277 KEYBOARD_KEY_f6=wlan # satellite dish1
1278 KEYBOARD_KEY_f7=brightnessdown # Fn+F4
1279 KEYBOARD_KEY_f8=brightnessup # Fn+F5
1280 KEYBOARD_KEY_f9=search
1282 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pnGE60*:*
1283 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pnGE70*:*
1284 KEYBOARD_KEY_c2=ejectcd
1286 # some MSI models generate ACPI/input events on the LNXVIDEO input devices,
1287 # plus some extra synthesized ones on atkbd as an echo of actually changing the
1288 # brightness; so ignore those atkbd ones, to avoid loops
1289 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*U-100*:*
1290 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*U100*:*
1291 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*N033:*
1292 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*VR420*:*
1293 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*PR200*:*
1294 KEYBOARD_KEY_f7=reserved
1295 KEYBOARD_KEY_f8=reserved
1297 # MSI Wind U90/U100 generates separate touchpad on/off keycodes so ignore touchpad toggle keycode
1298 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pnU90/U100:*
1299 KEYBOARD_KEY_e4=reserved
1301 # Keymaps MSI Prestige And MSI Modern FnKeys and Special keys
1302 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*Prestige*:*
1303 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*Modern*:*
1304 KEYBOARD_KEY_56=backslash # Secondary backslash key
1305 KEYBOARD_KEY_f1=f20 # Fn+F5 Micmute
1306 KEYBOARD_KEY_76=f21 # Fn+F4 Toggle touchpad, sends meta+ctrl+toggle
1307 KEYBOARD_KEY_91=prog1 # Fn+F7 Creation Center, sometime F7
1308 KEYBOARD_KEY_f2=prog2 # Fn+F12 Screen rotation
1309 KEYBOARD_KEY_8d=prog3 # Fn+A Change True Color selections
1310 KEYBOARD_KEY_8c=prog4 # Fn+Z Launch True Color
1311 KEYBOARD_KEY_f5=fn_esc # Fn+esc Toggle the behaviour of Fn keys
1312 KEYBOARD_KEY_97=unknown # Lid close
1313 KEYBOARD_KEY_98=unknown # Lid open
1315 evdev:name:MSI Laptop hotkeys:dmi:bvn*:bvr*:bd*:svn*:pnM[iI][cC][rR][oO]-S[tT][aA][rR]*:*
1316 KEYBOARD_KEY_0213=f22
1317 KEYBOARD_KEY_0214=f23
1319 ###########################################################
1321 ###########################################################
1324 evdev:input:b0003v15BAp003C*
1325 KEYBOARD_KEY_70066=sleep # Fn+F1
1326 KEYBOARD_KEY_700f6=wlan # Fn+F2
1327 KEYBOARD_KEY_700c7=f21 # Fn+F3 touchpad toggle
1328 KEYBOARD_KEY_7006f=brightnessdown # Fn+F7
1329 KEYBOARD_KEY_70070=brightnessup # Fn+F8
1330 KEYBOARD_KEY_7006e=switchvideomode # Fn+F9
1332 ###########################################################
1334 ###########################################################
1337 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnOLPC:pnXO:*
1338 # XO-1.75 and XO-1.4 (sp/ is the Security Processor)
1339 evdev:name:AT Translated Set 2 keyboard:phys:sp/serio*/input*:ev:120013:*
1340 KEYBOARD_LED_CAPSLOCK=0
1341 KEYBOARD_LED_NUMLOCK=0
1343 KEYBOARD_KEY_81=fn_esc
1344 KEYBOARD_KEY_f9=camera
1345 KEYBOARD_KEY_f8=sound # Fn+CAMERA = Mic
1346 KEYBOARD_KEY_43=brightnessdown
1347 KEYBOARD_KEY_44=brightnessup
1348 KEYBOARD_KEY_57=volumedown
1349 KEYBOARD_KEY_58=volumeup
1368 KEYBOARD_KEY_f0=f20 # micmute
1370 KEYBOARD_KEY_ee=chat
1371 KEYBOARD_KEY_e4=chat
1372 KEYBOARD_KEY_dd=menu # Frame
1373 KEYBOARD_KEY_da=prog1 # Fn+Frame
1374 KEYBOARD_KEY_d3=delete
1375 KEYBOARD_KEY_d2=insert
1376 KEYBOARD_KEY_c9=pageup
1377 KEYBOARD_KEY_d1=pagedown
1378 KEYBOARD_KEY_c7=home
1382 KEYBOARD_KEY_db=leftmeta # left grab
1383 KEYBOARD_KEY_dc=rightmeta # right grab
1384 KEYBOARD_KEY_85=rightmeta # Right grab releases on a different scancode
1385 KEYBOARD_KEY_d6=kbdillumtoggle # Fn+Space
1386 KEYBOARD_KEY_69=rotate_display
1387 KEYBOARD_KEY_65=btn_dpad_up
1388 KEYBOARD_KEY_66=btn_dpad_down
1389 KEYBOARD_KEY_67=btn_dpad_left
1390 KEYBOARD_KEY_68=btn_dpad_right
1391 KEYBOARD_KEY_e5=btn_north
1392 KEYBOARD_KEY_e6=btn_south
1393 KEYBOARD_KEY_e7=btn_west
1394 KEYBOARD_KEY_e8=btn_east
1396 ###########################################################
1398 ###########################################################
1400 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnONKYO*CORPORATION:pnONKYOPC:*
1401 KEYBOARD_KEY_a0=mute # Fn+D
1402 KEYBOARD_KEY_ae=volumedown # Fn+F
1403 KEYBOARD_KEY_b0=volumeup # Fn+G
1404 KEYBOARD_KEY_df=sleep # Fn+W
1405 KEYBOARD_KEY_e0=bluetooth # Fn+H
1406 KEYBOARD_KEY_e2=cyclewindows # Fn+Esc
1407 KEYBOARD_KEY_ee=battery # Fn+Q
1408 KEYBOARD_KEY_f0=media # Fn+R
1409 KEYBOARD_KEY_f5=switchvideomode # Fn+E
1410 KEYBOARD_KEY_f6=camera # Fn+T
1411 KEYBOARD_KEY_f7=f21 # Fn+Y (touchpad toggle)
1412 KEYBOARD_KEY_f8=brightnessup # Fn+S
1413 KEYBOARD_KEY_f9=brightnessdown # Fn+A
1414 KEYBOARD_KEY_fb=wlan # Fn+J
1416 ###########################################################
1418 ###########################################################
1421 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnOQO*Inc.*:pnOQO*Model*2*:*
1422 KEYBOARD_KEY_8e=wlan
1423 KEYBOARD_KEY_f0=switchvideomode
1424 KEYBOARD_KEY_f1=mute
1425 KEYBOARD_KEY_f2=volumedown
1426 KEYBOARD_KEY_f3=volumeup
1428 ###########################################################
1430 ###########################################################
1433 # The key code identifiers used below exactly match the text
1434 # labels on the keys/buttons (or standard icons on the buttons
1435 # that have no text labels), except as noted.
1436 evdev:input:b0003v05A4p9735*
1437 KEYBOARD_KEY_c0015=back
1438 KEYBOARD_KEY_c0012=forward
1439 KEYBOARD_KEY_c000c=stop
1440 KEYBOARD_KEY_c0018=refresh
1441 KEYBOARD_KEY_c00b9=search
1442 KEYBOARD_KEY_c0006=bookmarks # Button labeled "Favorites"
1443 KEYBOARD_KEY_c00a8=homepage # Button labeled "Web/Home"
1444 KEYBOARD_KEY_c0010=mute
1445 KEYBOARD_KEY_c0011=volumedown
1446 KEYBOARD_KEY_c0014=volumeup
1447 KEYBOARD_KEY_c000e=close
1448 KEYBOARD_KEY_c00a7=print
1449 KEYBOARD_KEY_c0013=documents # Button labeled "Stickies"
1450 KEYBOARD_KEY_c000d=find # Button labeled "Sherlock2"
1451 KEYBOARD_KEY_c000f=mail
1452 KEYBOARD_KEY_c000a=calc
1453 KEYBOARD_KEY_c000b=sleep
1454 KEYBOARD_KEY_c0007=previoussong # Button with standard |<< icon
1455 KEYBOARD_KEY_c0008=playpause # Button with standad >/|| icon
1456 KEYBOARD_KEY_c0009=nextsong # Button with standard >>| icon
1457 KEYBOARD_KEY_c00b2=stopcd # Button with standard square box icon
1458 KEYBOARD_KEY_c0016=prog1 # Key labeled "pf1"
1459 KEYBOARD_KEY_c00bb=prog2 # Key labeled "pf2"
1460 KEYBOARD_KEY_c00b8=prog3 # Key labeled "pf3"
1462 ###########################################################
1464 ###########################################################
1467 evdev:input:b0003v258Ap001E*
1468 KEYBOARD_KEY_700a5=brightnessdown
1469 KEYBOARD_KEY_700a6=brightnessup
1470 KEYBOARD_KEY_70066=sleep
1472 ###########################################################
1474 ###########################################################
1476 # Plantronics .Audio 626 DSP
1477 evdev:input:b0003v047FpC006*
1478 KEYBOARD_KEY_b002f=f20 # Microphone mute button; should be micmute
1480 ###########################################################
1482 ###########################################################
1484 # If you're using an us layout keyboard in one of the below models of
1485 # Purism Librem 13 consider copying this file to /etc/systemd/hwdb.d/
1486 # to enable the following rule acording to your model.
1488 # There's a bug in the keyboards firmware and the additional rule
1489 # will make your keyboard behave as expected.
1492 # - https://github.com/systemd/systemd/issues/15360
1493 # - https://github.com/systemd/systemd/pull/11516
1494 # - https://tracker.pureos.net/T888
1496 # # Purism Librem 13 V2
1497 # evdev:atkbd:dmi:bvn*:bvr*:bd*:svnPurism*:pn*Librem13v2*:*
1498 # KEYBOARD_KEY_56=backslash
1500 # # Purism Librem 13 V3
1501 # evdev:atkbd:dmi:bvn*:bvr*:bd*:svnPurism*:pn*Librem13v3*:*
1502 # KEYBOARD_KEY_56=backslash
1504 # # Purism Librem 13 V4
1505 # evdev:atkbd:dmi:bvn*:bvr*:bd*:svnPurism*:pn*Librem13v4*:*
1506 # KEYBOARD_KEY_56=backslash
1508 ###########################################################
1510 ###########################################################
1512 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn*:pn*:pvr*:rvnQuanta:rn30B7:rvr65.2B:*
1513 KEYBOARD_KEY_88=media # "quick play
1515 ###########################################################
1517 ###########################################################
1519 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*:*
1520 KEYBOARD_KEY_74=prog1 # User key
1522 KEYBOARD_KEY_78=mail
1523 KEYBOARD_KEY_82=!switchvideomode # Fn+F4 CRT/LCD (high keycode: "displaytoggle")
1524 KEYBOARD_KEY_83=!battery # Fn+F2
1525 KEYBOARD_KEY_84=!prog1 # Fn+F5 backlight on/off
1526 KEYBOARD_KEY_86=!wlan # Fn+F9
1527 KEYBOARD_KEY_88=!brightnessup # Fn+Up
1528 KEYBOARD_KEY_89=!brightnessdown # Fn+Down
1529 KEYBOARD_KEY_b1=!prog2 # Fn+F7 run Samsung Magic Doctor (keypressed event is generated twice)
1530 KEYBOARD_KEY_b3=!prog3 # Fn+F8 switch power mode (battery/dynamic/performance)
1531 KEYBOARD_KEY_b4=!wlan # Fn+F9 (X60P)
1532 KEYBOARD_KEY_c5=!prog3 # Fn+F8 switch power mode (battery/dynamic/performance)
1533 KEYBOARD_KEY_d5=!wlan # Fn+F12 wlan/airplane switch
1534 KEYBOARD_KEY_f7=!f22 # Fn+F10 Touchpad on
1535 KEYBOARD_KEY_f9=!f23 # Fn+F10 Touchpad off
1538 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*300E[457]*:*
1539 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*200E[45]*:*
1540 KEYBOARD_KEY_ce=! # Fn+F1 launch control setting
1542 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*356V[45]*:pvr*
1543 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*355V[45]*:pvr*
1544 KEYBOARD_KEY_ce=!prog1 # Fn+F1 launch control setting
1545 KEYBOARD_KEY_89=!brightnessdown # Fn+F2 brightness down
1546 KEYBOARD_KEY_88=!brightnessup # Fn+F3 brightness up
1547 KEYBOARD_KEY_82=!switchvideomode # Fn+F4 display toggle
1548 KEYBOARD_KEY_f7=!f22 # Fn+F5 touchpad on
1549 KEYBOARD_KEY_f9=!f23 # Fn+F5 touchpad off
1550 KEYBOARD_KEY_a0=!mute # Fn+F6 mute
1551 KEYBOARD_KEY_ae=!volumedown # Fn+F7 volume down
1552 KEYBOARD_KEY_b0=!volumeup # Fn+F8 volume up
1553 KEYBOARD_KEY_b3=!prog2 # Fn+F11 toggle fan/cool mode
1554 KEYBOARD_KEY_d5=!wlan # Fn+F12 toggle wifi
1557 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*530U*:*
1558 KEYBOARD_KEY_ce=!prog1 # Fn+F1 launch settings
1559 KEYBOARD_KEY_a8=! # Fn Lock - Function lock on
1560 KEYBOARD_KEY_a9=! # Fn Lock - Function lock off
1562 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*550P*:*
1563 KEYBOARD_KEY_ce=!prog1 # Fn+F1 launch settings
1564 KEYBOARD_KEY_a8=! # Fn Lock - Function lock on
1565 KEYBOARD_KEY_a9=! # Fn Lock - Function lock off
1568 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*350V*:*
1569 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*670Z*:*
1570 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700Z*:*
1571 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700G*:*
1572 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*900X[34]*:*
1573 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*940X3G*:*
1574 KEYBOARD_KEY_ce=!prog1 # Fn+F1 launch settings
1575 KEYBOARD_KEY_a0=!mute # Fn+F6 mute
1576 KEYBOARD_KEY_ae=!volumedown # Fn+F7
1577 KEYBOARD_KEY_b0=!volumeup # Fn+F8
1578 KEYBOARD_KEY_97=!kbdillumdown # Fn+F9 keyboard backlight down
1579 KEYBOARD_KEY_96=!kbdillumup # Fn+F10 keyboard backlight up
1580 KEYBOARD_KEY_b3=!prog3 # Fn+F11 fan/cooling mode changer
1582 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*900X3A*:*
1583 KEYBOARD_KEY_ce=! # Fn+F8 keyboard backlight up
1584 KEYBOARD_KEY_8d=! # Fn+F7 keyboard backlight down
1585 KEYBOARD_KEY_96=! # Fn+F1 performance mode (?)
1586 KEYBOARD_KEY_97=! # Fn+F12 Wi-Fi toggle
1587 KEYBOARD_KEY_d5=! # Fn+F6 battery life extender
1589 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*90X3A*:*
1590 KEYBOARD_KEY_ce=!prog1 # Fn+F1 launch settings
1591 KEYBOARD_KEY_8d=!prog3 # Fn+F6 performance mode
1592 KEYBOARD_KEY_97=!kbdillumdown # Fn+F7 keyboard backlight down
1593 KEYBOARD_KEY_96=!kbdillumup # Fn+F8 keyboard backlight up
1594 KEYBOARD_KEY_d5=!wlan # Fn+F12 Wi-Fi toggle
1597 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*7[34]0U3E*:*
1598 KEYBOARD_KEY_ce=!prog1 # Fn+F1 launch settings
1599 KEYBOARD_KEY_97=!kbdillumdown # Fn+F9 keyboard backlight down
1600 KEYBOARD_KEY_96=!kbdillumup # Fn+F10 keyboard backlight up
1601 KEYBOARD_KEY_b3=!prog3 # Fn+F11 fan/cooling mode changer
1602 KEYBOARD_KEY_d5=!wlan # Fn+F12 wlan/airplane switch
1605 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*[68][78]0Z*:*
1606 KEYBOARD_KEY_ce=!prog1 # Fn+F1 launch settings
1607 KEYBOARD_KEY_96=!kbdillumup # Fn+F10 keyboard backlight up
1608 KEYBOARD_KEY_97=!kbdillumdown # Fn+F9 keyboard backlight down
1611 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pnSQ1US:*
1612 KEYBOARD_KEY_d4=menu
1621 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*SX20S*:*
1622 KEYBOARD_KEY_74=mute
1623 KEYBOARD_KEY_75=mute
1624 KEYBOARD_KEY_77=f22 # Touchpad on
1625 KEYBOARD_KEY_79=f23 # Touchpad off
1627 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700T*:*
1628 KEYBOARD_KEY_ad=leftmeta
1630 ###########################################################
1632 ###########################################################
1634 # sony-laptop driver
1635 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*:*
1636 KEYBOARD_KEY_06=mute # Fn+F2
1637 KEYBOARD_KEY_07=volumedown # Fn+F3
1638 KEYBOARD_KEY_08=volumeup # Fn+F4
1639 KEYBOARD_KEY_09=brightnessdown # Fn+F5
1640 KEYBOARD_KEY_0a=brightnessup # Fn+F6
1641 KEYBOARD_KEY_0b=switchvideomode # Fn+F7
1642 KEYBOARD_KEY_0e=zoom # Fn+F10
1643 KEYBOARD_KEY_10=suspend # Fn+F12
1645 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-C1*:*
1646 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-K25*:*
1647 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-F[1-6]*:*
1648 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-FX*:*
1649 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-FRV*:*
1650 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-GR*:*
1651 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-TR*:*
1652 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-NV*:*
1653 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-Z*:*
1654 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*VGN-S360*:*
1655 KEYBOARD_KEY_06=battery
1656 KEYBOARD_KEY_07=mute
1658 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVGN-AR71*:*
1659 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVGN-FW*:*
1660 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVGN-Z21*:*
1661 KEYBOARD_KEY_00=brightnessdown # Fn+F5
1662 KEYBOARD_KEY_10=brightnessup # Fn+F6
1663 KEYBOARD_KEY_11=switchvideomode # Fn+F7
1664 KEYBOARD_KEY_12=down # zoomout
1665 KEYBOARD_KEY_14=up # zoomin
1666 KEYBOARD_KEY_15=suspend # Fn+F12
1667 KEYBOARD_KEY_17=prog1
1668 KEYBOARD_KEY_20=media
1670 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVGN-FW250*:*
1671 KEYBOARD_KEY_10=suspend # Fn+F12
1673 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVPC*:*
1674 KEYBOARD_KEY_05=f21 # Fn+F1 -> KEY_F21 (The actual touchpad toggle)
1675 KEYBOARD_KEY_0d=down # Fn+F9 zoomout
1676 KEYBOARD_KEY_0e=up # Fn+F10 zoomin
1678 ###########################################################
1680 ###########################################################
1682 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnSystem76*:pn*:*
1683 KEYBOARD_KEY_f7=f21 # Touchpad toggle
1684 KEYBOARD_KEY_f8=f21 # Touchpad toggle
1686 ###########################################################
1688 ###########################################################
1690 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnT-bao:pnTbookair:*
1691 KEYBOARD_KEY_76=f21 # Touchpad toggle
1693 ###########################################################
1695 ###########################################################
1698 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSATELLITE*A100:*
1699 KEYBOARD_KEY_a4=stopcd
1703 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*A110:*
1704 KEYBOARD_KEY_92=stop
1706 KEYBOARD_KEY_94=media
1707 KEYBOARD_KEY_9e=f22 # Touchpad on
1708 KEYBOARD_KEY_9f=f23 # Touchpad off
1709 KEYBOARD_KEY_b9=nextsong
1710 KEYBOARD_KEY_d9=brightnessup
1711 KEYBOARD_KEY_ee=screenlock
1712 KEYBOARD_KEY_f4=previoussong
1713 KEYBOARD_KEY_f7=playpause
1716 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*M30X:*
1717 KEYBOARD_KEY_ef=brightnessdown
1718 KEYBOARD_KEY_d9=brightnessup
1719 KEYBOARD_KEY_ee=screenlock
1720 KEYBOARD_KEY_93=media
1721 KEYBOARD_KEY_9e=f22 # touchpad enable
1722 KEYBOARD_KEY_9f=f23 # touchpad disable
1725 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*P75-A:*
1726 KEYBOARD_KEY_ef=brightnessdown
1727 KEYBOARD_KEY_ee=brightnessup
1728 KEYBOARD_KEY_a9=switchvideomode # switch display outputs
1729 KEYBOARD_KEY_d4=wlan # RF Switch Off
1732 evdev:name:Toshiba*input*device:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSATELLITEU940:*
1733 KEYBOARD_KEY_13c=brightnessdown
1734 KEYBOARD_KEY_13d=brightnessup
1735 KEYBOARD_KEY_13e=switchvideomode
1736 KEYBOARD_KEY_13f=f21 # Touchpad toggle
1738 # Satellite P75-A7200
1739 evdev:name:Toshiba*input*device:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*P75-A:*
1740 KEYBOARD_KEY_13c=brightnessdown
1741 KEYBOARD_KEY_13d=brightnessup
1742 KEYBOARD_KEY_13e=switchvideomode
1743 KEYBOARD_KEY_13f=f21 # Touchpad toggle
1744 KEYBOARD_KEY_9e=wlan
1746 ###########################################################
1748 ###########################################################
1750 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnVIA:pnK8N800:*
1751 KEYBOARD_KEY_81=prog1
1753 ###########################################################
1755 ###########################################################
1757 evdev:name:SIPODEV USB Composite Device:dmi:bvn*:bvr*:bd*:svnVIOS:pnLTH17:*
1758 KEYBOARD_KEY_70073=f21 # Touchpad toggle
1760 ###########################################################
1762 ###########################################################
1765 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnINET:pnP325J:*
1766 KEYBOARD_KEY_76=f21 # Touchpad toggle
1768 ###########################################################
1770 ###########################################################
1773 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnZepto:pnZnote:*
1774 KEYBOARD_KEY_93=switchvideomode # Fn+F3 Toggle Video Output
1775 KEYBOARD_KEY_95=brightnessdown # Fn+F4 Brightness Down
1776 KEYBOARD_KEY_91=brightnessup # Fn+F5 Brightness Up
1777 KEYBOARD_KEY_a5=f23 # Fn+F6 Disable Touchpad
1778 KEYBOARD_KEY_a6=f22 # Fn+F6 Enable Touchpad
1779 KEYBOARD_KEY_a7=bluetooth # Fn+F10 Enable Bluetooth
1780 KEYBOARD_KEY_a9=bluetooth # Fn+F10 Disable Bluetooth
1781 KEYBOARD_KEY_f1=wlan # RF Switch Off
1782 KEYBOARD_KEY_f2=wlan # RF Switch On
1783 KEYBOARD_KEY_f4=prog1 # P1 Button
1784 KEYBOARD_KEY_f3=prog2 # P2 Button
1785 KEYBOARD_KEY_a0=! # mute
1786 KEYBOARD_KEY_ae=! # volume down
1787 KEYBOARD_KEY_b0=! # volume up
1790 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnZepto:pnZnote*6615WD:*
1791 KEYBOARD_KEY_a0=! # mute
1792 KEYBOARD_KEY_ae=! # volume down
1793 KEYBOARD_KEY_b0=! # volume up
1795 ##########################################
1797 ##########################################
1799 # Ideazon Zboard Merc
1800 evdev:input:b0003v1038p0210*
1801 KEYBOARD_KEY_c0227=q
1802 KEYBOARD_KEY_c0223=w
1803 KEYBOARD_KEY_c0221=e
1804 KEYBOARD_KEY_c0224=a
1805 KEYBOARD_KEY_c0226=s
1806 KEYBOARD_KEY_c0225=d
1807 KEYBOARD_KEY_c0192=tab
1808 KEYBOARD_KEY_c018a=leftalt
1809 KEYBOARD_KEY_c022a=r
1810 KEYBOARD_KEY_c0183=f10
1811 KEYBOARD_KEY_70059=1
1812 KEYBOARD_KEY_7005a=2
1813 KEYBOARD_KEY_7005b=3
1814 KEYBOARD_KEY_7005c=4
1815 KEYBOARD_KEY_7005d=5
1816 KEYBOARD_KEY_7005e=6
1817 KEYBOARD_KEY_7005f=7
1818 KEYBOARD_KEY_70060=8
1819 KEYBOARD_KEY_70061=9
1820 KEYBOARD_KEY_70062=0
1821 KEYBOARD_KEY_70057=equal
1822 KEYBOARD_KEY_70077=capslock
1823 KEYBOARD_KEY_70054=leftshift
1824 KEYBOARD_KEY_70063=leftctrl
1825 KEYBOARD_KEY_7006b=t
1826 KEYBOARD_KEY_70067=f
1827 KEYBOARD_KEY_7006c=g
1828 KEYBOARD_KEY_7006d=v
1829 KEYBOARD_KEY_7006e=b
1830 KEYBOARD_KEY_70074=p
1831 KEYBOARD_KEY_7006f=c
1832 KEYBOARD_KEY_70055=space
1833 KEYBOARD_KEY_70076=f9
1834 KEYBOARD_KEY_70046=f11
1835 KEYBOARD_KEY_70079=f6
1837 # Ideazon Zboard Fang
1838 evdev:input:b0003v1038p0310*
1839 KEYBOARD_KEY_70059=1
1840 KEYBOARD_KEY_7005b=3
1841 KEYBOARD_KEY_70040=equal
1842 KEYBOARD_KEY_70042=l
1843 KEYBOARD_KEY_7002b=tab
1844 KEYBOARD_KEY_7005e=capslock
1845 KEYBOARD_KEY_700e2=leftalt
1846 KEYBOARD_KEY_700e1=leftshift
1847 KEYBOARD_KEY_700e0=leftctrl
1848 KEYBOARD_KEY_70038=z
1849 KEYBOARD_KEY_7003e=t
1850 KEYBOARD_KEY_70015=r
1851 KEYBOARD_KEY_70010=g
1852 KEYBOARD_KEY_70050=n
1853 KEYBOARD_KEY_70030=f9
1854 KEYBOARD_KEY_7002f=f11
1855 KEYBOARD_KEY_70046=f6
1857 ###########################################################
1859 ###########################################################
1861 # Common Volume Keys
1862 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*SIEMENS:pnAMILO*:*
1863 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFOXCONN:pnQBOOK:*
1864 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMTC:pn*:pvrA0:*
1865 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMio*Technology:pnN890:*
1866 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnPEGATRON*CORP.:pnSpring*Peak:*
1867 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA:pnSatellite*[uU][35]0[05]*:*
1868 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA:pnSATELLITE*[uU][35]0[05]*:*
1869 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA:pnSatellite*Pro*[uU]300*:*
1870 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA:pnEQUIUM [uU][35]0[05]*:*
1871 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnViooo*Corporation:pnPT17:*
1872 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHANNspree:pnSN10E100:*
1873 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGIGABYTE:pni1520M:*
1874 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnBenQ:pn*nScreen*:*
1875 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnBenQ:pnJoybook*Lite*:*
1876 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDIXONSP:pnDIXON*:*
1877 KEYBOARD_KEY_a0=! # mute
1878 KEYBOARD_KEY_ae=! # volume down
1879 KEYBOARD_KEY_b0=! # volume up
1881 ######################### FIXED LAYOUT DEVICES #############################
1882 # This section lists devices for which only one keyboard layout is possible
1883 # or useful such as devices which "type" expecting the user's keymap to match
1884 # a particular one. For example, barcode readers and OTP keys.
1886 # The layout must be an xkb compatible layout (defined with XKB_FIXED_LAYOUT),
1887 # with an accompanying variant (defined with XKB_FIXED_VARIANT) if necessary.
1889 # Yubico Yubico Yubikey II"
1890 evdev:input:b0003v1050p0010*
1891 # Yubico Yubikey NEO OTP+CCID
1892 evdev:input:b0003v1050p0111*
1893 # Yubico Yubikey NEO OTP+U2F+CCID
1894 evdev:input:b0003v1050p0116*
1895 # OKE Electron Company USB barcode reader
1896 evdev:input:b0003v05FEp1010*
1900 ######################### LACK OF MODIFIER LEDS ############################
1901 # This section lists keyboard which do not have their own LEDs for some
1902 # modifiers. Only Caps-Lock (KEYBOARD_LED_CAPSLOCK) and Num-Lock
1903 # (KEYBOARD_LED_CAPSLOCK) are currently handled and need their values set
1904 # to "0" to indicate the absence of LED.
1906 # Presence of a LED is implicit when the property is absent.
1909 evdev:input:b0003v046Dp4002*
1910 KEYBOARD_LED_NUMLOCK=0
1911 KEYBOARD_LED_CAPSLOCK=0
1913 # PFU Limited HHKB Professional JP
1914 evdev:input:b0003v04FEp000D*
1915 KEYBOARD_LED_NUMLOCK=0
1916 KEYBOARD_LED_CAPSLOCK=0
1918 # Lenovo ThinkPad T430s
1919 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT430s:*
1920 KEYBOARD_LED_CAPSLOCK=0
1922 # Lenovo ThinkPad T440s
1923 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT440s:*
1924 KEYBOARD_LED_CAPSLOCK=0
1926 # Lenovo ThinkPad T450s
1927 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT450s:*
1928 KEYBOARD_LED_CAPSLOCK=0
1930 # Lenovo ThinkPad T560s
1931 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT560s:*
1932 KEYBOARD_LED_CAPSLOCK=0
1933 KEYBOARD_LED_NUMLOCK=0
1935 # Lenovo ThinkPad X1 Carbon 3rd Gen
1936 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX1Carbon3rd:*
1937 KEYBOARD_LED_CAPSLOCK=0
1939 ######################### FIXED MODEL DEVICES #############################
1940 # This section lists devices which require special handling in their key
1941 # code to keysym mapping by setting the xkb model.
1942 # The model must be an xkb compatible model (defined with XKB_FIXED_MODEL).
1945 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnFalco:*
1946 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnPeppy:*
1947 XKB_FIXED_MODEL=chromebook