]> git.ipfire.org Git - thirdparty/systemd.git/blob - hwdb.d/60-keyboard.hwdb
udev-builtin-blkid: add support for --hint offsets
[thirdparty/systemd.git] / hwdb.d / 60-keyboard.hwdb
1 # This file is part of systemd.
2 #
3 # This file contains 3 types of metadata to apply to keyboards and
4 # keyboard-like input devices:
5 # - Key mapping
6 # - Hard-coded layouts
7 # - Absence of modifier LEDs
8 #
9 # The matching process is the same for the different types of metadata.
10 #
11 # ########################### MATCHING #######################################
12 #
13 # The lookup keys are composed in:
14 # 60-evdev.rules
15 #
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
19 # ABI.
20 #
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.
30 #
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
35 #
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
41 #
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
50
51 # ######################### KEY MAPPING ######################################
52 #
53 # Keyboard mapping of scan codes to key codes, and
54 # scan codes to add to the AT keyboard's 'force-release' list.
55 #
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.
62 #
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.
67 #
68 # To debug key presses and access scan code mapping data of
69 # an input device use the commonly available tool: evtest(1).
70
71 # A device with a fixed keyboard layout that must not be changed by
72 # the desktop environment may specify that layout as:
73 # XKB_FIXED_LAYOUT=us
74 # XKB_FIXED_VARIANT=
75 # Examples of such devices: the Yubikey or other key-code generating
76 # devices.
77
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.
83
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):
87 # systemd-hwdb update
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*"
92 #
93 # If your changes are generally applicable, preferably send them as a pull
94 # request to
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.
99
100 ##########################################
101 # Acer
102 ##########################################
103
104 # common keys
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
113 KEYBOARD_KEY_b2=www
114 KEYBOARD_KEY_b3=euro
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
131 KEYBOARD_KEY_f8=fn
132 KEYBOARD_KEY_f9=prog1 # Launch NTI shadow
133
134 # Acer kernel driver
135 evdev:name:Acer WMI hotkeys:dmi:bvn*:bvr*:bd*:svn*:pnAcer*:*
136 KEYBOARD_KEY_82=f21 # Touchpad toggle
137
138 # Aspire models
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
143
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
147
148 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*5920G:*
149 KEYBOARD_KEY_8a=media
150 KEYBOARD_KEY_a6=setup
151
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
157 KEYBOARD_KEY_9e=back
158
159 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*7750G:*
160 KEYBOARD_KEY_e0=!pageup
161
162 # Predator PH 315-52
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
166
167 # Travelmate C300
168 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*C3[01]0*:*
169 KEYBOARD_KEY_67=f24 # FIXME: rotate screen
170 KEYBOARD_KEY_68=up
171 KEYBOARD_KEY_69=down
172 KEYBOARD_KEY_6b=fn
173 KEYBOARD_KEY_6c=screenlock # FIXME: lock tablet device/buttons
174
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
180
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
191
192 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAOA*:*
193 KEYBOARD_KEY_a9=!switchvideomode # Fn+F5
194
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
199
200 ###########################################################
201 # Alienware
202 ###########################################################
203
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
211
212 # Alienware M17xR3 laptops
213 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAlienware*:pnM17xR3:*
214 KEYBOARD_KEY_89=ejectcd
215
216 ###########################################################
217 # Asus
218 ###########################################################
219
220 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnASUS:pn*:*
221 KEYBOARD_KEY_ed=volumeup
222 KEYBOARD_KEY_ee=volumedown
223 KEYBOARD_KEY_ef=mute
224
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
229
230 # USB keyboard in Asus FX503VD
231 evdev:input:b0003v0B05p1869*
232 KEYBOARD_KEY_ff31007c=f20 # Remap micmute to f20
233
234 ###########################################################
235 # BenQ
236 ###########################################################
237
238 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn*BenQ*:pn*Joybook*R22*:*
239 KEYBOARD_KEY_6e=wlan
240
241 ###########################################################
242 # Clevo
243 ###########################################################
244
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
250
251 ###########################################################
252 # Compal
253 ###########################################################
254
255 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnCOMPAL:pnHEL80I:*
256 KEYBOARD_KEY_84=wlan
257
258 ###########################################################
259 # COMPAQ
260 ###########################################################
261
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
268
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
275
276 ###########################################################
277 # Cube
278 ###########################################################
279
280 evdev:name:gpio-keys:phys:gpio-keys/input0:ev:3:dmi:bvn*:bvr*:bd*:svncube:pni1-TF:*
281 KEYBOARD_KEY_0=leftmeta
282 KEYBOARD_KEY_1=power
283
284 ###########################################################
285 # Dell
286 ###########################################################
287
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
318
319 #
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:*
324 KEYBOARD_KEY_84=wlan
325
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
332
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
338
339 # Dell Inspiron 537*
340 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron537*:*
341 KEYBOARD_KEY_88=!wlan # Fn-PrtScr rfkill
342
343 # Latitude XT2
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
349
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
354
355 # Dell Touchpad
356 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*:*
357 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnPrecision*:*
358 KEYBOARD_KEY_88=! # wireless switch
359 KEYBOARD_KEY_9e=!f21
360
361 # Dell Latitude E7*
362 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*E7*:*
363 KEYBOARD_KEY_88=unknown # Fn-PrtScr rfkill - handled in HW
364
365 # Dell XPS
366 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnXPS*:*
367 KEYBOARD_KEY_8c=!unknown
368
369 # Dell XPS L702x
370 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDellInc.:pnDellSystemXPSL702X:*
371 KEYBOARD_KEY_84=prog1
372 KEYBOARD_KEY_85=prog2
373
374 # Dell XPS12 9Q33
375 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnXPS12-9Q33*:*
376 KEYBOARD_KEY_88=wlan
377 KEYBOARD_KEY_65=direction # Screen Rotate
378
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
384
385 # Dell Latitude privacy microphone mute
386 evdev:name:Dell Privacy Driver:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*:sku0A3E:*
387 KEYBOARD_KEY_12001=f20 # Mic mute toggle, should be micmute
388
389 ###########################################################
390 # Everex
391 ###########################################################
392
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
399 KEYBOARD_KEY_b2=www
400 KEYBOARD_KEY_ec=mail
401
402 ##########################################
403 # Fujitsu
404 ##########################################
405
406 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pnAMILO*M*:*
407 KEYBOARD_KEY_97=prog2
408 KEYBOARD_KEY_9f=prog1
409
410 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pnAmilo*Li*1718:*
411 KEYBOARD_KEY_d6=wlan
412
413 # Amilo Li 2732
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
418
419 # Amilo Pa 2548
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
424
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
431
432 # Amilo Pro v3205
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
436
437 # Amilo Si 1520
438 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*Amilo*Si*1520*:*
439 KEYBOARD_KEY_e1=wlan
440 KEYBOARD_KEY_f3=wlan
441 KEYBOARD_KEY_ee=brightnessdown
442 KEYBOARD_KEY_e0=brightnessup
443 KEYBOARD_KEY_e2=bluetooth
444 KEYBOARD_KEY_f7=video
445
446 # Esprimo Mobile V5
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
452
453 # Esprimo Mobile V6
454 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*ESPRIMO*Mobile*V6*:*
455 KEYBOARD_KEY_ce=brightnessup
456 KEYBOARD_KEY_ef=brightnessdown
457
458 ###########################################################
459 # GIGABYTE
460 ###########################################################
461
462 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGIGABYTE:pnU2442:*
463 KEYBOARD_KEY_a0=! # mute
464
465 ###########################################################
466 # Gemini
467 ###########################################################
468
469 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGeminiDevices:pnNC14V1006:*
470 KEYBOARD_KEY_9c=enter
471
472 ###########################################################
473 # Genius
474 ###########################################################
475
476 # Slimstar 320
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
492
493 ###########################################################
494 # Hewlett Packard
495 ###########################################################
496
497 evdev:name:Intel HID events:dmi:bvn*:bvr*:bd*:svnHP*:pn*:*
498 KEYBOARD_KEY_8=unknown # Use hp-wireless instead
499
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
507 KEYBOARD_KEY_8e=dvd
508 KEYBOARD_KEY_b1=help
509 KEYBOARD_KEY_b3=unknown # FIXME: Auto brightness
510 KEYBOARD_KEY_d7=wlan
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
514
515 # Tablet
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
519 KEYBOARD_KEY_84=tab
520 KEYBOARD_KEY_85=esc
521 KEYBOARD_KEY_86=pageup
522 KEYBOARD_KEY_87=pagedown
523
524 # Pavilion
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
530
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
536
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
542
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
547
548 # Spectre x360 13
549 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPSpectrex360Convertible13*:*
550 # ENVY x360 13
551 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPENVYx360Convertible13*:*
552 KEYBOARD_KEY_82=f20 # Microphone mute button, should be micmute
553
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
562
563 evdev:name:Intel HID events:dmi:bvn*:bvr*:svnHP*:pnHPElitex21013G3:*
564 KEYBOARD_KEY_08=unknown # rfkill is also reported by HP Wireless hotkeys
565
566 # Elitebook
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")
572
573 # Presario
574 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*Presario*CQ*:*
575 KEYBOARD_KEY_d8=f21
576 KEYBOARD_KEY_d9=f21
577
578 # 2510p 2530p
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
584
585 # 2570p
586 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*2570p*:*
587 KEYBOARD_KEY_f8=wlan # Wireless HW switch button
588
589 # TX2
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)
594
595 # Presario 2100
596 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnPresario*2100*:*
597 KEYBOARD_KEY_f0=help
598 KEYBOARD_KEY_f1=screenlock
599 KEYBOARD_KEY_f3=search
600
601 # Elitebook 8440p
602 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*EliteBook*8440p:*
603 KEYBOARD_KEY_88=www
604 KEYBOARD_KEY_a0=mute
605 KEYBOARD_KEY_ae=volumedown
606 KEYBOARD_KEY_b0=volumeup
607 KEYBOARD_KEY_ec=mail
608
609 # Elitebook 8460p
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
614
615 # HDX9494nr
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
620
621 # HP EliteBook 725 G2
622 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHPLicrice:*
623 # HP EliteBook
624 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHPEliteBook*:*
625 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPEliteBook*:*
626 # HP ProBook 440 G2
627 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP440G2:*
628 # several HP ProBooks 4xx
629 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*ProBook4*:*
630 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHP*ProBook*4*:*
631 # HP ZBook
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
635
636 # HP ZBook Studio G5
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
642
643 # HP ZBook 15 G2
644 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHPZBook15G2:*
645 KEYBOARD_KEY_f8=wlan # Wireless HW switch button
646
647 # HP ProBook 11 G1
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
652
653 # HP ZBook Studio G4
654 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP:pnHPZBookStudioG4:*
655 KEYBOARD_KEY_f8=wlan # Wireless HW switch button
656
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
661
662 # HP EliteBook Folio G1
663 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP:pnHPEliteBookFolioG1:*
664 KEYBOARD_KEY_64=calendar
665 KEYBOARD_KEY_81=micmute
666
667 # HP ProBook 650
668 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*ProBook*650*:*
669 KEYBOARD_KEY_f8=wlan # Wireless HW switch button
670
671 # HP ProBook 6555b
672 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard:pnHPProBook6555b:*
673 KEYBOARD_KEY_b2=www # Earth
674
675 # HP ProBook 440 G3
676 evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHP*ProBook*440*G3*:*
677 # HP ProBook 640 G2
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
681
682 # HP ProBook 645 G4
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
686
687 # HP Stream 7
688 # The ACPI tables contains a gpio-keys entry for a non connected GPIO
689 # causing spurious events, map this to unknown to disable it
690 # older kernels use "ev:23" newer kernels "ev:3"
691 evdev:name:gpio-keys:phys:gpio-keys/input0:ev:3:dmi:*:svnHewlett-Packard:pnHPStream7Tablet:*
692 evdev:name:gpio-keys:phys:gpio-keys/input0:ev:23:dmi:*:svnHewlett-Packard:pnHPStream7Tablet:*
693 KEYBOARD_KEY_0=unknown
694
695 ##########################################################
696 # Huawei
697 ##########################################################
698
699 # Huawei WMI hotkeys driver
700 evdev:name:Huawei WMI hotkeys:dmi:bvn*:bvr*:bd*:svnHUAWEI:*
701 KEYBOARD_KEY_287=f20 # Microphone mute button, should be micmute
702
703 # Huawei MACH-WX9
704 evdev:atkbd:dmi:bvn*:bvr*:svnHUAWEI*:pnMACH-WX9:*
705 KEYBOARD_KEY_f7=unknown
706 KEYBOARD_KEY_f8=fn
707
708 evdev:name:Huawei WMI hotkeys:dmi:bvn*:bvr*:bd*:svnHUAWEI*:pnMACH-WX9:*
709 KEYBOARD_KEY_281=unknown # Brightness Down, also emitted by acpi-video, ignore
710 KEYBOARD_KEY_282=unknown # Brightness Up, also emitted by acpi-video, ignore
711
712 ###########################################################
713 # IBM
714 ###########################################################
715
716 # thinkpad_acpi driver
717 evdev:name:ThinkPad Extra Buttons:dmi:bvn*:bvr*:bd*:svnIBM*:pn*:*
718 KEYBOARD_KEY_01=battery # Fn+F2
719 KEYBOARD_KEY_02=screenlock # Fn+F3
720 KEYBOARD_KEY_03=sleep # Fn+F4
721 KEYBOARD_KEY_04=wlan # Fn+F5
722 KEYBOARD_KEY_06=switchvideomode # Fn+F7
723 KEYBOARD_KEY_07=zoom # Fn+F8 screen expand
724 KEYBOARD_KEY_08=f24 # Fn+F9 undock
725 KEYBOARD_KEY_0b=suspend # Fn+F12
726 KEYBOARD_KEY_0f=brightnessup # Fn+Home
727 KEYBOARD_KEY_10=brightnessdown # Fn+End
728 KEYBOARD_KEY_11=kbdillumtoggle # Fn+PgUp - ThinkLight
729 KEYBOARD_KEY_13=zoom # Fn+Space
730 KEYBOARD_KEY_14=volumeup
731 KEYBOARD_KEY_15=volumedown
732 KEYBOARD_KEY_16=mute
733 KEYBOARD_KEY_17=prog1 # ThinkPad/ThinkVantage button (high keycode: "vendor")
734
735 # IBM Thinkpad USB Keyboard Trackpoint
736 evdev:input:b0003v04B3p301[89]*
737 KEYBOARD_KEY_900f0=screenlock
738 KEYBOARD_KEY_900f1=wlan
739 KEYBOARD_KEY_900f2=switchvideomode
740 KEYBOARD_KEY_900f3=suspend
741 KEYBOARD_KEY_900f4=brightnessup
742 KEYBOARD_KEY_900f5=brightnessdown
743 KEYBOARD_KEY_900f8=zoom
744
745 ###########################################################
746 # Inventec
747 ###########################################################
748
749 # Symphony
750 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnINVENTEC:pnSYMPHONY*6.0/7.0:*
751 KEYBOARD_KEY_f3=prog2
752 KEYBOARD_KEY_f4=prog1
753
754 ###########################################################
755 # Lenovo
756 ###########################################################
757
758 # thinkpad_acpi driver
759 evdev:name:ThinkPad Extra Buttons:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:*
760 KEYBOARD_KEY_01=screenlock
761 KEYBOARD_KEY_02=battery
762 KEYBOARD_KEY_03=sleep
763 KEYBOARD_KEY_04=wlan
764 KEYBOARD_KEY_06=switchvideomode
765 KEYBOARD_KEY_07=f21
766 KEYBOARD_KEY_08=f24
767 KEYBOARD_KEY_0b=suspend
768 KEYBOARD_KEY_0f=brightnessup
769 KEYBOARD_KEY_10=brightnessdown
770 KEYBOARD_KEY_11=kbdillumtoggle
771 KEYBOARD_KEY_13=zoom
772 KEYBOARD_KEY_14=volumeup
773 KEYBOARD_KEY_15=volumedown
774 KEYBOARD_KEY_16=mute
775 KEYBOARD_KEY_17=prog1
776 KEYBOARD_KEY_1a=f20 # Microphone mute button; should be micmute
777 KEYBOARD_KEY_45=bookmarks
778
779 # ThinkPad Keyboard with TrackPoint
780 evdev:input:b0003v17EFp6009*
781 KEYBOARD_KEY_090012=screenlock # Fn+F2
782 KEYBOARD_KEY_090013=battery # Fn+F3
783 KEYBOARD_KEY_090014=wlan # Fn+F5
784 KEYBOARD_KEY_090016=switchvideomode # Fn+F7
785 KEYBOARD_KEY_090017=f21 # Fn+F8 touchpad toggle
786 KEYBOARD_KEY_090019=suspend # Fn+F12
787 KEYBOARD_KEY_09001a=brightnessup # Fn+Home
788 KEYBOARD_KEY_09001b=brightnessdown # Fn+End
789 KEYBOARD_KEY_09001d=zoom # Fn+Space
790 KEYBOARD_KEY_090011=prog1 # ThinkVantage button
791 KEYBOARD_KEY_090015=camera # Fn+F6 headset/camera VoIP key ??
792 KEYBOARD_KEY_090010=f20 # Microphone mute button; should be micmute
793
794 # Lenovo 3000
795 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*3000*:*
796 KEYBOARD_KEY_8b=switchvideomode # Fn+F7 video
797 KEYBOARD_KEY_96=wlan # Fn+F5 wireless
798 KEYBOARD_KEY_97=sleep # Fn+F4 suspend
799 KEYBOARD_KEY_98=suspend # Fn+F12 hibernate
800 KEYBOARD_KEY_b4=prog1 # Lenovo Care
801
802 # "Lenovo Care" Key of the 3000 N200
803 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn0769AP2:pvr3000N200:*
804 KEYBOARD_KEY_b4=prog1
805
806 # lenovo-ideapad
807 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*IdeaPad*:*
808 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pnS10-*:*
809 KEYBOARD_KEY_81=rfkill # does nothing in BIOS
810 KEYBOARD_KEY_83=display_off # BIOS toggles screen state
811 KEYBOARD_KEY_b9=brightnessup # does nothing in BIOS
812 KEYBOARD_KEY_ba=brightnessdown # does nothing in BIOS
813 KEYBOARD_KEY_f1=camera # BIOS toggles camera power
814 KEYBOARD_KEY_f2=f21 # touchpad toggle (key alternately emits F2 and F3)
815 KEYBOARD_KEY_f3=f21
816
817 # Thinkpad X200_Tablet
818 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPad*X2*Tablet*:*
819 KEYBOARD_KEY_5d=menu
820 KEYBOARD_KEY_63=fn
821 KEYBOARD_KEY_66=screenlock
822 KEYBOARD_KEY_67=cyclewindows # bezel circular arrow
823 KEYBOARD_KEY_68=setup # bezel setup / menu
824 KEYBOARD_KEY_6c=direction # rotate screen
825
826 # ThinkPad X6 Tablet
827 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPad*X6*Tablet*:*
828 KEYBOARD_KEY_6c=direction # rotate
829 KEYBOARD_KEY_68=leftmeta # toolbox
830 KEYBOARD_KEY_6b=esc # escape
831 KEYBOARD_KEY_6d=right # right on d-pad
832 KEYBOARD_KEY_6e=left # left on d-pad
833 KEYBOARD_KEY_71=up # up on d-pad
834 KEYBOARD_KEY_6f=down # down on d-pad
835 KEYBOARD_KEY_69=enter # enter on d-pad
836
837 # ThinkPad X41 Tablet
838 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnIBM*:pn18666TU:*
839 KEYBOARD_KEY_6c=direction # rotate
840 KEYBOARD_KEY_68=leftmeta # toolbox
841 KEYBOARD_KEY_6b=esc # escape
842 KEYBOARD_KEY_69=enter # enter on d-pad
843
844 # IdeaPad
845 evdev:name:Ideapad extra buttons:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:*
846 KEYBOARD_KEY_0d=rfkill # airplane mode switch (toggle all wireless devices)
847 KEYBOARD_KEY_08=f20 # micmute
848 KEYBOARD_KEY_42=f23
849 KEYBOARD_KEY_43=f22
850
851 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*IdeaPad*Y550*:*
852 KEYBOARD_KEY_95=media
853 KEYBOARD_KEY_a3=play
854
855 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*IdeaPad*U300s*:*
856 KEYBOARD_KEY_f1=f21
857 KEYBOARD_KEY_ce=f20 # micmute
858
859 evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO*:pn*IdeaPad*Z370*:*
860 KEYBOARD_KEY_a0=!mute
861 KEYBOARD_KEY_ae=!volumedown
862 KEYBOARD_KEY_b0=!volumeup
863
864 # Fix for volume keys on Lenovo Yoga S940
865 # For 10th gen it should be pn81Q8 instead of pn81Q7 but
866 # I don't have a device to test
867 # perhaps pn81Q* would work for both generations
868 evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO:pn81Q7*:pvrLenovoYogaS940:*
869 KEYBOARD_KEY_a0=!mute
870 KEYBOARD_KEY_ae=!volumedown
871 KEYBOARD_KEY_b0=!volumeup
872
873 # Lenovo Y50-70
874 evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO*:pn*20378*:*
875 KEYBOARD_KEY_f3=f21 # Fn+F6 (toggle touchpad)
876
877 # V480
878 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*Lenovo*V480*:*
879 KEYBOARD_KEY_f1=f21
880
881 # Lenovo ThinkCentre M800z/M820z/M920z AIO machines
882 # key_scancode 00 is KEY_MICMUTE
883 evdev:name:Microphone Mute Button:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:*
884 KEYBOARD_KEY_00=f20
885
886 # enhanced USB keyboard
887 evdev:input:b0003v04B3p301B*
888 KEYBOARD_KEY_90001=prog1 # ThinkVantage
889 KEYBOARD_KEY_90002=screenlock
890 KEYBOARD_KEY_90003=file
891 KEYBOARD_KEY_90004=wordprocessor
892 KEYBOARD_KEY_90005=spreadsheet
893 KEYBOARD_KEY_90006=calc
894 KEYBOARD_KEY_90007=mail
895 KEYBOARD_KEY_90008=www
896
897
898 ###########################################################
899 # Logitech
900 ###########################################################
901
902 # 27MHz wireless keyboards, these all have a PID of 00?? and all send c10xx
903 # logitech custom consumer usage-page codes. The mappings below are the most
904 # common, but some mapping may differ, especially the Fn F1-F12 mappings
905 evdev:input:b0003v046Dp00*
906 KEYBOARD_KEY_c0183=media # HUT:config, kbd:Media/Music player button
907 KEYBOARD_KEY_c1001=chat # Messenger button
908 KEYBOARD_KEY_c1002=camera # Webcam button
909 KEYBOARD_KEY_c1003=audio # Music Browser button
910 KEYBOARD_KEY_c1004=video # Video Browser button
911 KEYBOARD_KEY_c1005=images # Image Browser button
912 KEYBOARD_KEY_c100a=documents # Document Browser button
913 KEYBOARD_KEY_c100b=rewind # Rewind button
914 KEYBOARD_KEY_c100c=fastforward # Fast Forward button
915 KEYBOARD_KEY_c100f=f14 # Track 1 button → f14 → XF86Launch5
916 KEYBOARD_KEY_c1010=f15 # Track 2 button → f15 → XF86Launch6
917 KEYBOARD_KEY_c1011=channeldown # Playlist back button
918 KEYBOARD_KEY_c1012=channelup # Playlist advance button
919 KEYBOARD_KEY_c1013=camera # Webcam button
920 KEYBOARD_KEY_c1014=coffee # Status button
921 KEYBOARD_KEY_c1015=record # Record symbol button
922 KEYBOARD_KEY_c1016=sound # Flame/CD burning → sound → XF86AudioPreset
923 KEYBOARD_KEY_c1017=ejectcd # Eject button
924 KEYBOARD_KEY_c1018=config # Remote-control ico
925 KEYBOARD_KEY_c1019=f14 # Preset 1 → f14 → XF86Launch5
926 KEYBOARD_KEY_c101a=f15 # Preset 2 → f15 → XF86Launch6
927 KEYBOARD_KEY_c101b=f16 # Preset 3 → f16 → XF86Launch7
928 KEYBOARD_KEY_c101c=cyclewindows # 2 overlapping windows icon
929 KEYBOARD_KEY_c101f=zoomout # zoom - button / - side of zoomrocker
930 KEYBOARD_KEY_c1020=zoomin # zoom + button / + side off zoom rocker
931 KEYBOARD_KEY_c1021=zoomreset # 100% symbol on kbd left side
932 KEYBOARD_KEY_c1023=close # [x] symbol on kbd left side
933 KEYBOARD_KEY_c1027=menu # Hamburger menu icon
934 KEYBOARD_KEY_c1028=angle # Rotate button
935 KEYBOARD_KEY_c1029=shuffle # Shuffle button
936 KEYBOARD_KEY_c102a=back # Back button
937 KEYBOARD_KEY_c102b=cyclewindows # Empty window icon
938 KEYBOARD_KEY_c102c=fn # Fn key
939 KEYBOARD_KEY_c102d=www # www text + magnifierglass icon
940 KEYBOARD_KEY_c1031=connect # Pickup phone button → connect → XF86Go
941 KEYBOARD_KEY_c1032=cancel # Hangup phone button → cancel → Cancel
942 KEYBOARD_KEY_c1041=help # Help text or icon (Fn + F1)
943 KEYBOARD_KEY_c1042=wordprocessor # Word icon (Fn + F2)
944 KEYBOARD_KEY_c1043=spreadsheet # Excel icon (Fn + F3)
945 KEYBOARD_KEY_c1044=presentation # Presentation icon (Fn + F4)
946 KEYBOARD_KEY_c1045=undo # Undo Icon (Fn + F5)
947 KEYBOARD_KEY_c1046=redo # Redo Icon (Fn + F6)
948 KEYBOARD_KEY_c1047=print # Printer Icon (Fn + F7)
949 KEYBOARD_KEY_c1048=save # Floppy Icon (Fn + F8)
950 KEYBOARD_KEY_c1049=prog1 # Smartkey A (Fn + F9) → XF86Launch1
951 KEYBOARD_KEY_c104a=prog2 # Smartkey B (Fn + F10) → XF86Launch2
952 KEYBOARD_KEY_c104b=prog3 # Smartkey C (Fn + F11) → XF86Launch3
953 KEYBOARD_KEY_c104c=prog4 # Smartkey D (Fn + F12) → XF86Launch4
954
955 # Cordless Access Keyboard (27 MHz, modelnumber Y-RH35)
956 evdev:input:b0003v046Dp0042*
957 KEYBOARD_KEY_c1041=new
958 KEYBOARD_KEY_c1042=reply
959 KEYBOARD_KEY_c1043=forward
960 KEYBOARD_KEY_c1044=send
961 KEYBOARD_KEY_c1045=previoussong
962 KEYBOARD_KEY_c1046=nextsong
963 KEYBOARD_KEY_c1047=playpause
964 KEYBOARD_KEY_c1048=stopcd
965 KEYBOARD_KEY_c1049=file
966 KEYBOARD_KEY_c104a=documents
967 KEYBOARD_KEY_c104b=images
968 KEYBOARD_KEY_c104c=audio
969
970 # "Cordless Rechargeable Desktop" keyboard (27 MHz, modelnumber Y-RK49)
971 evdev:input:b0003v046Dp0045*
972 KEYBOARD_KEY_c1041=new
973 KEYBOARD_KEY_c1042=reply
974 KEYBOARD_KEY_c1043=forward
975 KEYBOARD_KEY_c1044=send
976 KEYBOARD_KEY_c1049=file
977 KEYBOARD_KEY_c104a=documents
978 KEYBOARD_KEY_c104b=images
979 KEYBOARD_KEY_c104c=audio
980
981 # S510 keyboard (27 MHz, modelnumber Y-RAK73)
982 evdev:input:b0003v046Dp0056*
983 KEYBOARD_KEY_c1041=battery # Battery icon (Fn + F1)
984
985 # MX3000 keyboard (27 MHz, modelnumber Y-RAM74)
986 # We ignore the scroll up / down keypress events since these buttons also
987 # generate scroll-wheel events and we do not want to generate duplicate events
988 # Note if the "Special Button Function" in the HID++ features register gets
989 # cleared then the scroll-wheel events for these buttons go away and then
990 # tilting the scrollwheel left/right starts sending c1022 / c1024 events
991 evdev:input:b0003v046Dp0057*
992 KEYBOARD_KEY_c1041=battery # Battery icon (Fn + F1)
993
994 #KEYBOARD_KEY_c101d=scrolldown # Button below scrollwheel (see note above)
995 #KEYBOARD_KEY_c101e=scrollup # Button above scrollwheel (see note above)
996 #KEYBOARD_KEY_c1022=scrollleft # Left click on scroll-wheel (see note above)
997 #KEYBOARD_KEY_c1024=scrollright # Right click on scroll-wheel (see note above)
998
999 # MX3200 keyboard (27 MHz, modelnumber Y-RAV80)
1000 evdev:input:b0003v046Dp005C*
1001 KEYBOARD_KEY_c1001=phone # VOIP button
1002 KEYBOARD_KEY_c1016=record # Record button
1003 KEYBOARD_KEY_c1041=wordprocessor # Word icon (Fn + F1)
1004 KEYBOARD_KEY_c1042=spreadsheet # Excel icon (Fn + F2)
1005 KEYBOARD_KEY_c1043=calendar # Calendar icon (Fn + F3)
1006 KEYBOARD_KEY_c1044=documents # My Documents icon (Fn + F4)
1007 KEYBOARD_KEY_c1045=prog1 # Smartkey A (Fn + F5) → XF86Launch1
1008 KEYBOARD_KEY_c1046=prog2 # Smartkey B (Fn + F6) → XF86Launch2
1009 KEYBOARD_KEY_c1047=prog3 # Smartkey C (Fn + F7) → XF86Launch3
1010 KEYBOARD_KEY_c1048=prog4 # Smartkey D (Fn + F8) → XF86Launch4
1011
1012 # EX100 keyboard (27 MHz, modelnumber Y-RBH94)
1013 evdev:input:b0003v046Dp0065*
1014 KEYBOARD_KEY_c104b=battery # Battery icon (Fn + F11)
1015 KEYBOARD_KEY_c104c=ejectcd # Eject icon (Fn + F12)
1016
1017 # S520 keyboard (27 MHz, modelnumber Y-RBA97)
1018 # Note this one uses non-standard codes for FN + F9 - Fn + F12?
1019 evdev:input:b0003v046Dp0066*
1020 KEYBOARD_KEY_c100e=prog4 # Smartkey D (Fn + F12) → XF86Launch4
1021 KEYBOARD_KEY_c1019=prog1 # Smartkey A (Fn + F9) → XF86Launch1
1022 KEYBOARD_KEY_c101a=prog2 # Smartkey B (Fn + F10) → XF86Launch2
1023 KEYBOARD_KEY_c101b=prog3 # Smartkey C (Fn + F11) → XF86Launch3
1024 KEYBOARD_KEY_c1041=wordprocessor # Word icon (Fn + F1)
1025 KEYBOARD_KEY_c1042=spreadsheet # Excel icon (Fn + F2)
1026 KEYBOARD_KEY_c1043=presentation # Presentation icon (Fn + F3)
1027 KEYBOARD_KEY_c1044=calendar # Calendar icon (Fn + F4)
1028 KEYBOARD_KEY_c1045=homepage # Home icon (Fn + F5)
1029 KEYBOARD_KEY_c1046=email # Letter icon (Fn + F6)
1030 KEYBOARD_KEY_c1047=search # Magnifying glass icon (Fn + F7)
1031 KEYBOARD_KEY_c1048=config # Window with gear icon (Fn + F8)
1032 KEYBOARD_KEY_c106f=battery # Battery icon
1033
1034 # S510 remote control (27 MHz)
1035 evdev:input:b0003v046Dp00FE*
1036 KEYBOARD_KEY_c1018=media # Media button
1037
1038 # MX5000 keyboard (HID proxy mode and bluetooth matches)
1039 evdev:input:b0003v046DpB305*
1040 evdev:input:b0005v046DpB305*
1041 KEYBOARD_KEY_c0183=media # HUT says config, kbd says Media
1042 KEYBOARD_KEY_c0230=zoomreset # HUT says fullscreen, kbd says 100%
1043 KEYBOARD_KEY_c1004=send # Send and receive / sync button
1044 KEYBOARD_KEY_c1006=coffee # Status (online/away) button
1045 KEYBOARD_KEY_c1007=camera # Webcam button
1046 KEYBOARD_KEY_c100c=kbd_lcd_menu1 # 1st button below the builtin LCD
1047 KEYBOARD_KEY_c100d=kbd_lcd_menu4 # 4th button below the builtin LCD
1048 KEYBOARD_KEY_c100e=kbd_lcd_menu2 # 2nd button below the builtin LCD
1049 KEYBOARD_KEY_c100f=kbd_lcd_menu3 # 3th button below the builtin LCD
1050 KEYBOARD_KEY_c1038=prog1 # Smartkey A → XF86Launch1
1051 KEYBOARD_KEY_c1039=prog2 # Smartkey B → XF86Launch2
1052 KEYBOARD_KEY_c103a=prog3 # Smartkey C → XF86Launch3
1053 KEYBOARD_KEY_c103b=prog4 # Smartkey D → XF86Launch4
1054 KEYBOARD_KEY_c1040=fn_esc # Fn mode on/off toggle
1055
1056 # Dinovo Edge (HID proxy mode and bluetooth matches)
1057 evdev:input:b0003v046DpB309*
1058 evdev:input:b0005v046DpB309*
1059 KEYBOARD_KEY_c102c=fn # Fn key
1060 KEYBOARD_KEY_c1038=prog1 # Fn + F9 Smartkey A → XF86Launch1
1061 KEYBOARD_KEY_c1039=prog2 # Fn + F10 Smartkey B → XF86Launch2
1062 KEYBOARD_KEY_c103a=prog3 # Fn + F11 Smartkey C → XF86Launch3
1063 KEYBOARD_KEY_c103b=prog4 # Fn + F12 Smartkey D → XF86Launch4
1064 KEYBOARD_KEY_c1050=phone # Fn + F1 Phone button
1065
1066 # MX5500 keyboard (HID proxy mode and bluetooth matches)
1067 evdev:input:b0003v046DpB30B*
1068 evdev:input:b0005v046DpB30B*
1069 KEYBOARD_KEY_c0183=media # HUT says consumer control configuration, kbd says Media Center
1070 KEYBOARD_KEY_c100e=images # Camera icon, "Photo Gallery"
1071 KEYBOARD_KEY_c100f=config # Window with gear icon
1072 KEYBOARD_KEY_c102c=fn # Fn key
1073 KEYBOARD_KEY_c1038=prog1 # Smartkey A → XF86Launch1
1074 KEYBOARD_KEY_c1039=prog2 # Smartkey B → XF86Launch2
1075 KEYBOARD_KEY_c103a=prog3 # Smartkey C → XF86Launch3
1076 KEYBOARD_KEY_c103b=prog4 # Smartkey D → XF86Launch4
1077
1078 # Logitech K811
1079 evdev:input:b0005v046DpB317*
1080 KEYBOARD_KEY_70047=brightnessdown
1081 KEYBOARD_KEY_70048=brightnessup
1082
1083 # iTouch
1084 evdev:input:b0003v046DpC308*
1085 KEYBOARD_KEY_90001=shop # Shopping
1086 KEYBOARD_KEY_90002=config # iTouch
1087 KEYBOARD_KEY_90003=finance # Finance
1088 KEYBOARD_KEY_90004=prog1 # My Sites
1089 KEYBOARD_KEY_90005=prog2 # Community
1090 KEYBOARD_KEY_c0183=media # Media
1091
1092 # Cordless Desktop S510
1093 evdev:input:b0003v046DpC50C*
1094 KEYBOARD_KEY_d4=up # zoomin
1095 KEYBOARD_KEY_cc=down # zoomout
1096
1097 # Wave cordless
1098 evdev:input:b0003v046DpC317*
1099 KEYBOARD_KEY_9001c=scale # expo
1100 KEYBOARD_KEY_9001f=down # zoomout
1101 KEYBOARD_KEY_90020=up # zoomin
1102 KEYBOARD_KEY_9003d=prog1 # gadget
1103 KEYBOARD_KEY_90005=camera
1104 KEYBOARD_KEY_90018=media
1105 KEYBOARD_KEY_90041=wordprocessor
1106 KEYBOARD_KEY_90042=spreadsheet
1107 KEYBOARD_KEY_90043=calendar
1108 KEYBOARD_KEY_90044=prog2 # fn+f4 (program a)
1109 KEYBOARD_KEY_90045=prog3 # fn+f5 (program b)
1110 KEYBOARD_KEY_90046=prog4 # fn+f6 (program c)
1111 KEYBOARD_KEY_90048=messenger # fn+f8 (msn messenger)
1112 KEYBOARD_KEY_9002d=search # fn+f10 (search www)
1113 KEYBOARD_KEY_9004b=find # fn+f11 (search pc)
1114 KEYBOARD_KEY_9004c=ejectclosecd
1115
1116 # Wave cordless
1117 evdev:input:b0003v046DpC517*
1118 KEYBOARD_KEY_c101f=down # zoomout
1119 KEYBOARD_KEY_c1020=up # zoomin
1120 KEYBOARD_KEY_c1005=camera
1121 KEYBOARD_KEY_c0183=media
1122 KEYBOARD_KEY_c1041=wordprocessor
1123 KEYBOARD_KEY_c1042=spreadsheet
1124 KEYBOARD_KEY_c1043=calendar
1125 KEYBOARD_KEY_c1044=prog2 # fn+f4 (program a)
1126 KEYBOARD_KEY_c1045=prog3 # fn+f5 (program b)
1127 KEYBOARD_KEY_c1046=prog4 # fn+f6 (program c)
1128 KEYBOARD_KEY_c1048=messenger # fn+f8 (msn messenger)
1129 KEYBOARD_KEY_c104a=find # fn+f10 (search www)
1130 KEYBOARD_KEY_c104c=ejectclosecd
1131
1132 # Cordless Wave Pro
1133 evdev:input:b0003v046DpC529*
1134 KEYBOARD_KEY_0c01b6=camera
1135 KEYBOARD_KEY_0c0183=media
1136 KEYBOARD_KEY_0c0184=wordprocessor
1137 KEYBOARD_KEY_0c0186=spreadsheet
1138 KEYBOARD_KEY_0c018e=calendar
1139 KEYBOARD_KEY_0c0223=homepage
1140 KEYBOARD_KEY_0c01bc=messenger
1141 KEYBOARD_KEY_0c018a=mail
1142 KEYBOARD_KEY_0c0221=search
1143 KEYBOARD_KEY_0c00b8=ejectcd
1144 KEYBOARD_KEY_0c022d=up # zoomin
1145 KEYBOARD_KEY_0c022e=down # zoomout
1146
1147 # Logitech Presenter R400
1148 evdev:input:b0003v046DpC52D*
1149 KEYBOARD_KEY_070029=presentation
1150 KEYBOARD_KEY_07003e=presentation
1151 KEYBOARD_KEY_070037=displaytoggle
1152
1153 # Internet Navigator
1154 evdev:input:b0003v046DpC309*
1155 KEYBOARD_KEY_90001=chat # Messenger/SMS
1156 KEYBOARD_KEY_90002=camera # webcam
1157 KEYBOARD_KEY_90003=prog1 # iTouch
1158 KEYBOARD_KEY_90004=shop # Shopping
1159 KEYBOARD_KEY_c0201=new # New (F1)
1160 KEYBOARD_KEY_c0289=reply # Reply mail (F2)
1161 KEYBOARD_KEY_c028b=forwardmail # Forward mail (F3)
1162 KEYBOARD_KEY_c028c=send # Send (F4)
1163 KEYBOARD_KEY_c021a=undo # Undo (F5)
1164 KEYBOARD_KEY_c0279=redo # Redo (F6)
1165 KEYBOARD_KEY_c0208=print # Print (F7)
1166 KEYBOARD_KEY_c0207=save # Save (F8)
1167 KEYBOARD_KEY_c0194=file # My Computer (F9)
1168 KEYBOARD_KEY_c01a7=documents # My Documents (F10)
1169 KEYBOARD_KEY_c01b6=images # My Pictures (F11)
1170 KEYBOARD_KEY_c01b7=audio # My Music (F12)
1171
1172
1173 ###########################################################
1174 # Maxdata
1175 ###########################################################
1176
1177 # Pro 7000
1178 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMAXDATA:pnPro*7000*:*
1179 KEYBOARD_KEY_97=prog2
1180 KEYBOARD_KEY_9f=prog1
1181 KEYBOARD_KEY_a0=mute # Fn+F5
1182 KEYBOARD_KEY_82=www
1183 KEYBOARD_KEY_ec=email
1184 KEYBOARD_KEY_ae=volumedown # Fn+Down
1185 KEYBOARD_KEY_b0=volumeup # Fn+Up
1186 KEYBOARD_KEY_df=suspend # Fn+F2
1187 KEYBOARD_KEY_f5=help
1188
1189 ###########################################################
1190 # Medion
1191 ###########################################################
1192
1193 # Akoya
1194 evdev:atkbd:dmi:bvn*:bvr*:svnMEDION*:pnS3409*:*
1195 evdev:atkbd:dmi:bvn*:bvr*:svnMedion*:pnAkoya*:*
1196 evdev:atkbd:dmi:bvn*:bvr*:svnMedion*:pnP6669*:*
1197 KEYBOARD_KEY_a0=!mute
1198 KEYBOARD_KEY_ae=!volumedown
1199 KEYBOARD_KEY_b0=!volumeup
1200 KEYBOARD_KEY_19=!p
1201 KEYBOARD_KEY_df=sleep
1202
1203 # FID2060
1204 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMEDION*:pn*FID2060*:*
1205 KEYBOARD_KEY_6b=channeldown # Thottle Down
1206 KEYBOARD_KEY_6d=channelup # Thottle Up
1207
1208 # NB-A555
1209 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMEDIONNB:pnA555*:*
1210 KEYBOARD_KEY_63=www # N button
1211 KEYBOARD_KEY_66=prog1 # link 1 button
1212 KEYBOARD_KEY_67=email # envelope button
1213 KEYBOARD_KEY_69=prog2 # link 2 button
1214
1215 # Erazer
1216 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMedion*:pnErazer*:*
1217 KEYBOARD_KEY_a0=!mute
1218 KEYBOARD_KEY_ae=!volumedown
1219 KEYBOARD_KEY_b0=!volumeup
1220
1221 ###########################################################
1222 # Microsoft
1223 ###########################################################
1224
1225 # Microsoft Natural Ergonomic Keyboard 4000
1226 evdev:input:b0003v045Ep00DB*
1227 KEYBOARD_KEY_c022d=up # zoomin
1228 KEYBOARD_KEY_c022e=down # zoomout
1229
1230 # Microsoft (Razer produced) Reclusa keyboard
1231 evdev:input:b0003v1532p0200*
1232 KEYBOARD_KEY_c01c9=shuffle
1233 KEYBOARD_KEY_c01ca=up # zoomin
1234 KEYBOARD_KEY_c01cb=down # zoomout
1235
1236 ###########################################################
1237 # Micro Star
1238 ###########################################################
1239
1240 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*:*
1241 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*:*
1242 KEYBOARD_KEY_a0=mute # Fn+F9
1243 KEYBOARD_KEY_ae=volumedown # Fn+F7
1244 KEYBOARD_KEY_b0=volumeup # Fn+F8
1245 KEYBOARD_KEY_b2=www # e button
1246 KEYBOARD_KEY_c2=ejectcd
1247 KEYBOARD_KEY_df=sleep # Fn+F12
1248 KEYBOARD_KEY_e2=bluetooth # satellite dish2
1249 KEYBOARD_KEY_e4=f21 # Fn+F3 Touchpad disable
1250 KEYBOARD_KEY_ec=email # envelope button
1251 KEYBOARD_KEY_ee=camera # Fn+F6 camera disable
1252 KEYBOARD_KEY_f6=wlan # satellite dish1
1253 KEYBOARD_KEY_f7=brightnessdown # Fn+F4
1254 KEYBOARD_KEY_f8=brightnessup # Fn+F5
1255 KEYBOARD_KEY_f9=search
1256
1257 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pnGE60*:*
1258 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pnGE70*:*
1259 KEYBOARD_KEY_c2=ejectcd
1260
1261 # some MSI models generate ACPI/input events on the LNXVIDEO input devices,
1262 # plus some extra synthesized ones on atkbd as an echo of actually changing the
1263 # brightness; so ignore those atkbd ones, to avoid loops
1264 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*U-100*:*
1265 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*U100*:*
1266 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*N033:*
1267 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*VR420*:*
1268 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*PR200*:*
1269 KEYBOARD_KEY_f7=reserved
1270 KEYBOARD_KEY_f8=reserved
1271
1272 # MSI Wind U90/U100 generates separate touchpad on/off keycodes so ignore touchpad toggle keycode
1273 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pnU90/U100:*
1274 KEYBOARD_KEY_e4=reserved
1275
1276 # MSI Prestige15 A10SC specific keycodes. Needed for microphone and screen rotation
1277 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*A10SC*:*
1278 KEYBOARD_KEY_f1=f20
1279 KEYBOARD_KEY_f2=f21
1280
1281 # MSI Modern series
1282 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-StarInternational*:pnModern*:*
1283 KEYBOARD_KEY_f1=f20 # Fn+F5 micmute
1284 KEYBOARD_KEY_76=f21 # Fn+F4 touchpad, becomes meta+ctrl+toggle
1285 KEYBOARD_KEY_91=prog1 # Fn+F7 Creation Center, sometime F7
1286 KEYBOARD_KEY_f2=prog2 # Fn+F12 screen rotation
1287 KEYBOARD_KEY_97=unknown # lid close
1288 KEYBOARD_KEY_98=unknown # lid open
1289 #Fn+PrntScr sends meta+shif+s
1290
1291 ###########################################################
1292 # MSI
1293 ###########################################################
1294
1295 evdev:name:MSI Laptop hotkeys:dmi:bvn*:bvr*:bd*:svn*:pnM[iI][cC][rR][oO]-S[tT][aA][rR]*:*
1296 KEYBOARD_KEY_0213=f22
1297 KEYBOARD_KEY_0214=f23
1298
1299 ###########################################################
1300 # Olimex
1301 ###########################################################
1302
1303 # Teres-I
1304 evdev:input:b0003v15BAp003C*
1305 KEYBOARD_KEY_70066=sleep # Fn+F1
1306 KEYBOARD_KEY_700f6=wlan # Fn+F2
1307 KEYBOARD_KEY_700c7=f21 # Fn+F3 touchpad toggle
1308 KEYBOARD_KEY_7006f=brightnessdown # Fn+F7
1309 KEYBOARD_KEY_70070=brightnessup # Fn+F8
1310 KEYBOARD_KEY_7006e=switchvideomode # Fn+F9
1311
1312 ###########################################################
1313 # OLPC
1314 ###########################################################
1315
1316 # XO-1 and XO-1.5
1317 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnOLPC:pnXO:*
1318 # XO-1.75 and XO-1.4 (sp/ is the Security Processor)
1319 evdev:name:AT Translated Set 2 keyboard:phys:sp/serio*/input*:ev:120013:*
1320 KEYBOARD_LED_CAPSLOCK=0
1321 KEYBOARD_LED_NUMLOCK=0
1322 KEYBOARD_KEY_59=fn
1323 KEYBOARD_KEY_81=fn_esc
1324 KEYBOARD_KEY_f9=camera
1325 KEYBOARD_KEY_f8=sound # Fn+CAMERA = Mic
1326 KEYBOARD_KEY_43=brightnessdown
1327 KEYBOARD_KEY_44=brightnessup
1328 KEYBOARD_KEY_57=volumedown
1329 KEYBOARD_KEY_58=volumeup
1330 KEYBOARD_KEY_bb=f1
1331 KEYBOARD_KEY_bc=f2
1332 KEYBOARD_KEY_bd=f3
1333 KEYBOARD_KEY_be=f4
1334 KEYBOARD_KEY_bf=f5
1335 KEYBOARD_KEY_c0=f6
1336 KEYBOARD_KEY_c1=f7
1337 KEYBOARD_KEY_c2=f8
1338 KEYBOARD_KEY_c3=f9
1339 KEYBOARD_KEY_c4=f10
1340 KEYBOARD_KEY_d8=f12
1341 KEYBOARD_KEY_f7=f13
1342 KEYBOARD_KEY_f6=f14
1343 KEYBOARD_KEY_f5=f15
1344 KEYBOARD_KEY_f4=f16
1345 KEYBOARD_KEY_f3=f17
1346 KEYBOARD_KEY_f2=f18
1347 KEYBOARD_KEY_f1=f19
1348 KEYBOARD_KEY_f0=f20 # micmute
1349 KEYBOARD_KEY_ef=f21
1350 KEYBOARD_KEY_ee=chat
1351 KEYBOARD_KEY_e4=chat
1352 KEYBOARD_KEY_dd=menu # Frame
1353 KEYBOARD_KEY_da=prog1 # Fn+Frame
1354 KEYBOARD_KEY_d3=delete
1355 KEYBOARD_KEY_d2=insert
1356 KEYBOARD_KEY_c9=pageup
1357 KEYBOARD_KEY_d1=pagedown
1358 KEYBOARD_KEY_c7=home
1359 KEYBOARD_KEY_cf=end
1360 KEYBOARD_KEY_73=hp
1361 KEYBOARD_KEY_7e=hp
1362 KEYBOARD_KEY_db=leftmeta # left grab
1363 KEYBOARD_KEY_dc=rightmeta # right grab
1364 KEYBOARD_KEY_85=rightmeta # Right grab releases on a different scancode
1365 KEYBOARD_KEY_d6=kbdillumtoggle # Fn+Space
1366 KEYBOARD_KEY_69=rotate_display
1367 KEYBOARD_KEY_65=btn_dpad_up
1368 KEYBOARD_KEY_66=btn_dpad_down
1369 KEYBOARD_KEY_67=btn_dpad_left
1370 KEYBOARD_KEY_68=btn_dpad_right
1371 KEYBOARD_KEY_e5=btn_north
1372 KEYBOARD_KEY_e6=btn_south
1373 KEYBOARD_KEY_e7=btn_west
1374 KEYBOARD_KEY_e8=btn_east
1375
1376 ###########################################################
1377 # Onkyo
1378 ###########################################################
1379
1380 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnONKYO*CORPORATION:pnONKYOPC:*
1381 KEYBOARD_KEY_a0=mute # Fn+D
1382 KEYBOARD_KEY_ae=volumedown # Fn+F
1383 KEYBOARD_KEY_b0=volumeup # Fn+G
1384 KEYBOARD_KEY_df=sleep # Fn+W
1385 KEYBOARD_KEY_e0=bluetooth # Fn+H
1386 KEYBOARD_KEY_e2=cyclewindows # Fn+Esc
1387 KEYBOARD_KEY_ee=battery # Fn+Q
1388 KEYBOARD_KEY_f0=media # Fn+R
1389 KEYBOARD_KEY_f5=switchvideomode # Fn+E
1390 KEYBOARD_KEY_f6=camera # Fn+T
1391 KEYBOARD_KEY_f7=f21 # Fn+Y (touchpad toggle)
1392 KEYBOARD_KEY_f8=brightnessup # Fn+S
1393 KEYBOARD_KEY_f9=brightnessdown # Fn+A
1394 KEYBOARD_KEY_fb=wlan # Fn+J
1395
1396 ###########################################################
1397 # OQO
1398 ###########################################################
1399
1400 # Model 2
1401 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnOQO*Inc.*:pnOQO*Model*2*:*
1402 KEYBOARD_KEY_8e=wlan
1403 KEYBOARD_KEY_f0=switchvideomode
1404 KEYBOARD_KEY_f1=mute
1405 KEYBOARD_KEY_f2=volumedown
1406 KEYBOARD_KEY_f3=volumeup
1407
1408 ###########################################################
1409 # Ortek
1410 ###########################################################
1411
1412 # Adesso AKB-805MAC
1413 # The key code identifiers used below exactly match the text
1414 # labels on the keys/buttons (or standard icons on the buttons
1415 # that have no text labels), except as noted.
1416 evdev:input:b0003v05A4p9735*
1417 KEYBOARD_KEY_c0015=back
1418 KEYBOARD_KEY_c0012=forward
1419 KEYBOARD_KEY_c000c=stop
1420 KEYBOARD_KEY_c0018=refresh
1421 KEYBOARD_KEY_c00b9=search
1422 KEYBOARD_KEY_c0006=bookmarks # Button labeled "Favorites"
1423 KEYBOARD_KEY_c00a8=homepage # Button labeled "Web/Home"
1424 KEYBOARD_KEY_c0010=mute
1425 KEYBOARD_KEY_c0011=volumedown
1426 KEYBOARD_KEY_c0014=volumeup
1427 KEYBOARD_KEY_c000e=close
1428 KEYBOARD_KEY_c00a7=print
1429 KEYBOARD_KEY_c0013=documents # Button labeled "Stickies"
1430 KEYBOARD_KEY_c000d=find # Button labeled "Sherlock2"
1431 KEYBOARD_KEY_c000f=mail
1432 KEYBOARD_KEY_c000a=calc
1433 KEYBOARD_KEY_c000b=sleep
1434 KEYBOARD_KEY_c0007=previoussong # Button with standard |<< icon
1435 KEYBOARD_KEY_c0008=playpause # Button with standad >/|| icon
1436 KEYBOARD_KEY_c0009=nextsong # Button with standard >>| icon
1437 KEYBOARD_KEY_c00b2=stopcd # Button with standard square box icon
1438 KEYBOARD_KEY_c0016=prog1 # Key labeled "pf1"
1439 KEYBOARD_KEY_c00bb=prog2 # Key labeled "pf2"
1440 KEYBOARD_KEY_c00b8=prog3 # Key labeled "pf3"
1441
1442 ###########################################################
1443 # Pine64
1444 ###########################################################
1445
1446 # Pinebook Pro
1447 evdev:input:b0003v258Ap001E*
1448 KEYBOARD_KEY_700a5=brightnessdown
1449 KEYBOARD_KEY_700a6=brightnessup
1450 KEYBOARD_KEY_70066=sleep
1451
1452 ###########################################################
1453 # Plantronics
1454 ###########################################################
1455
1456 # Plantronics .Audio 626 DSP
1457 evdev:input:b0003v047FpC006*
1458 KEYBOARD_KEY_b002f=f20 # Microphone mute button; should be micmute
1459
1460 ###########################################################
1461 # Purism
1462 ###########################################################
1463
1464 # Purism Librem 13 V2
1465 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnPurism*:pn*Librem13v2*:*
1466 KEYBOARD_KEY_56=backslash
1467
1468 # Purism Librem 13 V3
1469 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnPurism*:pn*Librem13v3*:*
1470 KEYBOARD_KEY_56=backslash
1471
1472 # Purism Librem 13 V4
1473 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnPurism*:pn*Librem13v4*:*
1474 KEYBOARD_KEY_56=backslash
1475
1476 ###########################################################
1477 # Quanta
1478 ###########################################################
1479
1480 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn*:pn*:pvr*:rvnQuanta:rn30B7:rvr65.2B:*
1481 KEYBOARD_KEY_88=media # "quick play
1482
1483 ###########################################################
1484 # Samsung
1485 ###########################################################
1486
1487 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*:*
1488 KEYBOARD_KEY_74=prog1 # User key
1489 KEYBOARD_KEY_75=www
1490 KEYBOARD_KEY_78=mail
1491 KEYBOARD_KEY_82=!switchvideomode # Fn+F4 CRT/LCD (high keycode: "displaytoggle")
1492 KEYBOARD_KEY_83=!battery # Fn+F2
1493 KEYBOARD_KEY_84=!prog1 # Fn+F5 backlight on/off
1494 KEYBOARD_KEY_86=!wlan # Fn+F9
1495 KEYBOARD_KEY_88=!brightnessup # Fn+Up
1496 KEYBOARD_KEY_89=!brightnessdown # Fn+Down
1497 KEYBOARD_KEY_b1=!prog2 # Fn+F7 run Samsung Magic Doctor (keypressed event is generated twice)
1498 KEYBOARD_KEY_b3=!prog3 # Fn+F8 switch power mode (battery/dynamic/performance)
1499 KEYBOARD_KEY_b4=!wlan # Fn+F9 (X60P)
1500 KEYBOARD_KEY_c5=!prog3 # Fn+F8 switch power mode (battery/dynamic/performance)
1501 KEYBOARD_KEY_d5=!wlan # Fn+F12 wlan/airplane switch
1502 KEYBOARD_KEY_f7=!f22 # Fn+F10 Touchpad on
1503 KEYBOARD_KEY_f9=!f23 # Fn+F10 Touchpad off
1504
1505 # Series 3
1506 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*300E[457]*:*
1507 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*200E[45]*:*
1508 KEYBOARD_KEY_ce=! # Fn+F1 launch control setting
1509
1510 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*356V[45]*:pvr*
1511 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*355V[45]*:pvr*
1512 KEYBOARD_KEY_ce=!prog1 # Fn+F1 launch control setting
1513 KEYBOARD_KEY_89=!brightnessdown # Fn+F2 brightness down
1514 KEYBOARD_KEY_88=!brightnessup # Fn+F3 brightness up
1515 KEYBOARD_KEY_82=!switchvideomode # Fn+F4 display toggle
1516 KEYBOARD_KEY_f7=!f22 # Fn+F5 touchpad on
1517 KEYBOARD_KEY_f9=!f23 # Fn+F5 touchpad off
1518 KEYBOARD_KEY_a0=!mute # Fn+F6 mute
1519 KEYBOARD_KEY_ae=!volumedown # Fn+F7 volume down
1520 KEYBOARD_KEY_b0=!volumeup # Fn+F8 volume up
1521 KEYBOARD_KEY_b3=!prog2 # Fn+F11 toggle fan/cool mode
1522 KEYBOARD_KEY_d5=!wlan # Fn+F12 toggle wifi
1523
1524 # Series 5
1525 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*530U*:*
1526 KEYBOARD_KEY_ce=!prog1 # Fn+F1 launch settings
1527 KEYBOARD_KEY_a8=! # Fn Lock - Function lock on
1528 KEYBOARD_KEY_a9=! # Fn Lock - Function lock off
1529
1530 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*550P*:*
1531 KEYBOARD_KEY_ce=!prog1 # Fn+F1 launch settings
1532 KEYBOARD_KEY_a8=! # Fn Lock - Function lock on
1533 KEYBOARD_KEY_a9=! # Fn Lock - Function lock off
1534
1535 # Series 7 / 9
1536 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*350V*:*
1537 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*670Z*:*
1538 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700Z*:*
1539 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700G*:*
1540 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*900X[34]*:*
1541 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*940X3G*:*
1542 KEYBOARD_KEY_ce=!prog1 # Fn+F1 launch settings
1543 KEYBOARD_KEY_a0=!mute # Fn+F6 mute
1544 KEYBOARD_KEY_ae=!volumedown # Fn+F7
1545 KEYBOARD_KEY_b0=!volumeup # Fn+F8
1546 KEYBOARD_KEY_97=!kbdillumdown # Fn+F9 keyboard backlight down
1547 KEYBOARD_KEY_96=!kbdillumup # Fn+F10 keyboard backlight up
1548 KEYBOARD_KEY_b3=!prog3 # Fn+F11 fan/cooling mode changer
1549
1550 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*900X[34][AB]*:*
1551 KEYBOARD_KEY_ce=! # Fn+F8 keyboard backlight up
1552 KEYBOARD_KEY_8d=! # Fn+F7 keyboard backlight down
1553 KEYBOARD_KEY_96=! # Fn+F1 performance mode (?)
1554 KEYBOARD_KEY_97=! # Fn+F12 Wi-Fi toggle
1555 KEYBOARD_KEY_d5=! # Fn+F6 battery life extender
1556
1557 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*90X3A*:*
1558 KEYBOARD_KEY_ce=!prog1 # Fn+F1 launch settings
1559 KEYBOARD_KEY_8d=!prog3 # Fn+F6 performance mode
1560 KEYBOARD_KEY_97=!kbdillumdown # Fn+F7 keyboard backlight down
1561 KEYBOARD_KEY_96=!kbdillumup # Fn+F8 keyboard backlight up
1562 KEYBOARD_KEY_d5=!wlan # Fn+F12 Wi-Fi toggle
1563
1564 # Series 7 Ultra
1565 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*7[34]0U3E*:*
1566 KEYBOARD_KEY_ce=!prog1 # Fn+F1 launch settings
1567 KEYBOARD_KEY_97=!kbdillumdown # Fn+F9 keyboard backlight down
1568 KEYBOARD_KEY_96=!kbdillumup # Fn+F10 keyboard backlight up
1569 KEYBOARD_KEY_b3=!prog3 # Fn+F11 fan/cooling mode changer
1570 KEYBOARD_KEY_d5=!wlan # Fn+F12 wlan/airplane switch
1571
1572 # ATIV Book 6 / 8
1573 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*[68][78]0Z*:*
1574 KEYBOARD_KEY_ce=!prog1 # Fn+F1 launch settings
1575 KEYBOARD_KEY_96=!kbdillumup # Fn+F10 keyboard backlight up
1576 KEYBOARD_KEY_97=!kbdillumdown # Fn+F9 keyboard backlight down
1577
1578 # SQ1US
1579 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pnSQ1US:*
1580 KEYBOARD_KEY_d4=menu
1581 KEYBOARD_KEY_d8=f1
1582 KEYBOARD_KEY_d9=f10
1583 KEYBOARD_KEY_d6=f3
1584 KEYBOARD_KEY_d7=f9
1585 KEYBOARD_KEY_e4=f5
1586 KEYBOARD_KEY_ee=f11
1587
1588 # SX20S
1589 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*SX20S*:*
1590 KEYBOARD_KEY_74=mute
1591 KEYBOARD_KEY_75=mute
1592 KEYBOARD_KEY_77=f22 # Touchpad on
1593 KEYBOARD_KEY_79=f23 # Touchpad off
1594
1595 evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700T*:*
1596 KEYBOARD_KEY_ad=leftmeta
1597
1598 ###########################################################
1599 # SONY
1600 ###########################################################
1601
1602 # sony-laptop driver
1603 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*:*
1604 KEYBOARD_KEY_06=mute # Fn+F2
1605 KEYBOARD_KEY_07=volumedown # Fn+F3
1606 KEYBOARD_KEY_08=volumeup # Fn+F4
1607 KEYBOARD_KEY_09=brightnessdown # Fn+F5
1608 KEYBOARD_KEY_0a=brightnessup # Fn+F6
1609 KEYBOARD_KEY_0b=switchvideomode # Fn+F7
1610 KEYBOARD_KEY_0e=zoom # Fn+F10
1611 KEYBOARD_KEY_10=suspend # Fn+F12
1612
1613 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-C1*:*
1614 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-K25*:*
1615 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-F[1-6]*:*
1616 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-FX*:*
1617 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-FRV*:*
1618 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-GR*:*
1619 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-TR*:*
1620 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-NV*:*
1621 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-Z*:*
1622 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*VGN-S360*:*
1623 KEYBOARD_KEY_06=battery
1624 KEYBOARD_KEY_07=mute
1625
1626 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVGN-AR71*:*
1627 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVGN-FW*:*
1628 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVGN-Z21*:*
1629 KEYBOARD_KEY_00=brightnessdown # Fn+F5
1630 KEYBOARD_KEY_10=brightnessup # Fn+F6
1631 KEYBOARD_KEY_11=switchvideomode # Fn+F7
1632 KEYBOARD_KEY_12=down # zoomout
1633 KEYBOARD_KEY_14=up # zoomin
1634 KEYBOARD_KEY_15=suspend # Fn+F12
1635 KEYBOARD_KEY_17=prog1
1636 KEYBOARD_KEY_20=media
1637
1638 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVGN-FW250*:*
1639 KEYBOARD_KEY_10=suspend # Fn+F12
1640
1641 evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVPC*:*
1642 KEYBOARD_KEY_05=f21 # Fn+F1 -> KEY_F21 (The actual touchpad toggle)
1643 KEYBOARD_KEY_0d=down # Fn+F9 zoomout
1644 KEYBOARD_KEY_0e=up # Fn+F10 zoomin
1645
1646 ###########################################################
1647 # System76
1648 ###########################################################
1649
1650 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnSystem76*:pn*:*
1651 KEYBOARD_KEY_f7=f21 # Touchpad toggle
1652 KEYBOARD_KEY_f8=f21 # Touchpad toggle
1653
1654 ###########################################################
1655 # T-bao
1656 ###########################################################
1657
1658 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnT-bao:pnTbookair:*
1659 KEYBOARD_KEY_76=f21 # Touchpad toggle
1660
1661 ###########################################################
1662 # Toshiba
1663 ###########################################################
1664
1665 # Satellite A100
1666 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSATELLITE*A100:*
1667 KEYBOARD_KEY_a4=stopcd
1668 KEYBOARD_KEY_b2=www
1669
1670 # Satellite A110
1671 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*A110:*
1672 KEYBOARD_KEY_92=stop
1673 KEYBOARD_KEY_93=www
1674 KEYBOARD_KEY_94=media
1675 KEYBOARD_KEY_9e=f22 # Touchpad on
1676 KEYBOARD_KEY_9f=f23 # Touchpad off
1677 KEYBOARD_KEY_b9=nextsong
1678 KEYBOARD_KEY_d9=brightnessup
1679 KEYBOARD_KEY_ee=screenlock
1680 KEYBOARD_KEY_f4=previoussong
1681 KEYBOARD_KEY_f7=playpause
1682
1683 # Satellite M30X
1684 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*M30X:*
1685 KEYBOARD_KEY_ef=brightnessdown
1686 KEYBOARD_KEY_d9=brightnessup
1687 KEYBOARD_KEY_ee=screenlock
1688 KEYBOARD_KEY_93=media
1689 KEYBOARD_KEY_9e=f22 # touchpad enable
1690 KEYBOARD_KEY_9f=f23 # touchpad disable
1691
1692 # Satellite P75-A
1693 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*P75-A:*
1694 KEYBOARD_KEY_ef=brightnessdown
1695 KEYBOARD_KEY_ee=brightnessup
1696 KEYBOARD_KEY_a9=switchvideomode # switch display outputs
1697 KEYBOARD_KEY_d4=wlan # RF Switch Off
1698
1699 # Satellite U940
1700 evdev:name:Toshiba*input*device:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSATELLITEU940:*
1701 KEYBOARD_KEY_13c=brightnessdown
1702 KEYBOARD_KEY_13d=brightnessup
1703 KEYBOARD_KEY_13e=switchvideomode
1704 KEYBOARD_KEY_13f=f21 # Touchpad toggle
1705
1706 # Satellite P75-A7200
1707 evdev:name:Toshiba*input*device:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*P75-A:*
1708 KEYBOARD_KEY_13c=brightnessdown
1709 KEYBOARD_KEY_13d=brightnessup
1710 KEYBOARD_KEY_13e=switchvideomode
1711 KEYBOARD_KEY_13f=f21 # Touchpad toggle
1712 KEYBOARD_KEY_9e=wlan
1713
1714 ###########################################################
1715 # VIA
1716 ###########################################################
1717
1718 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnVIA:pnK8N800:*
1719 KEYBOARD_KEY_81=prog1
1720
1721 ###########################################################
1722 # VIOS
1723 ###########################################################
1724
1725 evdev:name:SIPODEV USB Composite Device:dmi:bvn*:bvr*:bd*:svnVIOS:pnLTH17:*
1726 KEYBOARD_KEY_70073=f21 # Touchpad toggle
1727
1728 ###########################################################
1729 # WeiHeng
1730 ###########################################################
1731
1732 # P325J
1733 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnINET:pnP325J:*
1734 KEYBOARD_KEY_76=f21 # Touchpad toggle
1735
1736 ###########################################################
1737 # Zepto
1738 ###########################################################
1739
1740 # Znote
1741 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnZepto:pnZnote:*
1742 KEYBOARD_KEY_93=switchvideomode # Fn+F3 Toggle Video Output
1743 KEYBOARD_KEY_95=brightnessdown # Fn+F4 Brightness Down
1744 KEYBOARD_KEY_91=brightnessup # Fn+F5 Brightness Up
1745 KEYBOARD_KEY_a5=f23 # Fn+F6 Disable Touchpad
1746 KEYBOARD_KEY_a6=f22 # Fn+F6 Enable Touchpad
1747 KEYBOARD_KEY_a7=bluetooth # Fn+F10 Enable Bluetooth
1748 KEYBOARD_KEY_a9=bluetooth # Fn+F10 Disable Bluetooth
1749 KEYBOARD_KEY_f1=wlan # RF Switch Off
1750 KEYBOARD_KEY_f2=wlan # RF Switch On
1751 KEYBOARD_KEY_f4=prog1 # P1 Button
1752 KEYBOARD_KEY_f3=prog2 # P2 Button
1753 KEYBOARD_KEY_a0=! # mute
1754 KEYBOARD_KEY_ae=! # volume down
1755 KEYBOARD_KEY_b0=! # volume up
1756
1757 # Znote 6615WD
1758 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnZepto:pnZnote*6615WD:*
1759 KEYBOARD_KEY_a0=! # mute
1760 KEYBOARD_KEY_ae=! # volume down
1761 KEYBOARD_KEY_b0=! # volume up
1762
1763 ##########################################
1764 # Ideazon
1765 ##########################################
1766
1767 # Ideazon Zboard Merc
1768 evdev:input:b0003v1038p0210*
1769 KEYBOARD_KEY_c0227=q
1770 KEYBOARD_KEY_c0223=w
1771 KEYBOARD_KEY_c0221=e
1772 KEYBOARD_KEY_c0224=a
1773 KEYBOARD_KEY_c0226=s
1774 KEYBOARD_KEY_c0225=d
1775 KEYBOARD_KEY_c0192=tab
1776 KEYBOARD_KEY_c018a=leftalt
1777 KEYBOARD_KEY_c022a=r
1778 KEYBOARD_KEY_c0183=f10
1779 KEYBOARD_KEY_70059=1
1780 KEYBOARD_KEY_7005a=2
1781 KEYBOARD_KEY_7005b=3
1782 KEYBOARD_KEY_7005c=4
1783 KEYBOARD_KEY_7005d=5
1784 KEYBOARD_KEY_7005e=6
1785 KEYBOARD_KEY_7005f=7
1786 KEYBOARD_KEY_70060=8
1787 KEYBOARD_KEY_70061=9
1788 KEYBOARD_KEY_70062=0
1789 KEYBOARD_KEY_70057=equal
1790 KEYBOARD_KEY_70077=capslock
1791 KEYBOARD_KEY_70054=leftshift
1792 KEYBOARD_KEY_70063=leftctrl
1793 KEYBOARD_KEY_7006b=t
1794 KEYBOARD_KEY_70067=f
1795 KEYBOARD_KEY_7006c=g
1796 KEYBOARD_KEY_7006d=v
1797 KEYBOARD_KEY_7006e=b
1798 KEYBOARD_KEY_70074=p
1799 KEYBOARD_KEY_7006f=c
1800 KEYBOARD_KEY_70055=space
1801 KEYBOARD_KEY_70076=f9
1802 KEYBOARD_KEY_70046=f11
1803 KEYBOARD_KEY_70079=f6
1804
1805 # Ideazon Zboard Fang
1806 evdev:input:b0003v1038p0310*
1807 KEYBOARD_KEY_70059=1
1808 KEYBOARD_KEY_7005b=3
1809 KEYBOARD_KEY_70040=equal
1810 KEYBOARD_KEY_70042=l
1811 KEYBOARD_KEY_7002b=tab
1812 KEYBOARD_KEY_7005e=capslock
1813 KEYBOARD_KEY_700e2=leftalt
1814 KEYBOARD_KEY_700e1=leftshift
1815 KEYBOARD_KEY_700e0=leftctrl
1816 KEYBOARD_KEY_70038=z
1817 KEYBOARD_KEY_7003e=t
1818 KEYBOARD_KEY_70015=r
1819 KEYBOARD_KEY_70010=g
1820 KEYBOARD_KEY_70050=n
1821 KEYBOARD_KEY_70030=f9
1822 KEYBOARD_KEY_7002f=f11
1823 KEYBOARD_KEY_70046=f6
1824
1825 ###########################################################
1826 # Other
1827 ###########################################################
1828
1829 # Common Volume Keys
1830 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*SIEMENS:pnAMILO*:*
1831 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFOXCONN:pnQBOOK:*
1832 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMTC:pn*:pvrA0:*
1833 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMio*Technology:pnN890:*
1834 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnPEGATRON*CORP.:pnSpring*Peak:*
1835 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA:pnSatellite*[uU][35]0[05]*:*
1836 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA:pnSATELLITE*[uU][35]0[05]*:*
1837 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA:pnSatellite*Pro*[uU]300*:*
1838 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA:pnEQUIUM [uU][35]0[05]*:*
1839 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnViooo*Corporation:pnPT17:*
1840 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHANNspree:pnSN10E100:*
1841 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGIGABYTE:pni1520M:*
1842 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnBenQ:pn*nScreen*:*
1843 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnBenQ:pnJoybook*Lite*:*
1844 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDIXONSP:pnDIXON*:*
1845 KEYBOARD_KEY_a0=! # mute
1846 KEYBOARD_KEY_ae=! # volume down
1847 KEYBOARD_KEY_b0=! # volume up
1848
1849 ######################### FIXED LAYOUT DEVICES #############################
1850 # This section lists devices for which only one keyboard layout is possible
1851 # or useful such as devices which "type" expecting the user's keymap to match
1852 # a particular one. For example, barcode readers and OTP keys.
1853 #
1854 # The layout must be an xkb compatible layout (defined with XKB_FIXED_LAYOUT),
1855 # with an accompanying variant (defined with XKB_FIXED_VARIANT) if necessary.
1856
1857 # Yubico Yubico Yubikey II"
1858 evdev:input:b0003v1050p0010*
1859 # Yubico Yubikey NEO OTP+CCID
1860 evdev:input:b0003v1050p0111*
1861 # Yubico Yubikey NEO OTP+U2F+CCID
1862 evdev:input:b0003v1050p0116*
1863 # OKE Electron Company USB barcode reader
1864 evdev:input:b0003v05FEp1010*
1865 XKB_FIXED_LAYOUT=us
1866 XKB_FIXED_VARIANT=
1867
1868 ######################### LACK OF MODIFIER LEDS ############################
1869 # This section lists keyboard which do not have their own LEDs for some
1870 # modifiers. Only Caps-Lock (KEYBOARD_LED_CAPSLOCK) and Num-Lock
1871 # (KEYBOARD_LED_CAPSLOCK) are currently handled and need their values set
1872 # to "0" to indicate the absence of LED.
1873 #
1874 # Presence of a LED is implicit when the property is absent.
1875
1876 # Logitech K750
1877 evdev:input:b0003v046Dp4002*
1878 KEYBOARD_LED_NUMLOCK=0
1879 KEYBOARD_LED_CAPSLOCK=0
1880
1881 # PFU Limited HHKB Professional JP
1882 evdev:input:b0003v04FEp000D*
1883 KEYBOARD_LED_NUMLOCK=0
1884 KEYBOARD_LED_CAPSLOCK=0
1885
1886 # Lenovo ThinkPad T430s
1887 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT430s:*
1888 KEYBOARD_LED_CAPSLOCK=0
1889
1890 # Lenovo ThinkPad T440s
1891 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT440s:*
1892 KEYBOARD_LED_CAPSLOCK=0
1893
1894 # Lenovo ThinkPad T450s
1895 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT450s:*
1896 KEYBOARD_LED_CAPSLOCK=0
1897
1898 # Lenovo ThinkPad T560s
1899 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT560s:*
1900 KEYBOARD_LED_CAPSLOCK=0
1901 KEYBOARD_LED_NUMLOCK=0
1902
1903 # Lenovo ThinkPad X1 Carbon 3rd Gen
1904 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX1Carbon3rd:*
1905 KEYBOARD_LED_CAPSLOCK=0
1906
1907 ######################### FIXED MODEL DEVICES #############################
1908 # This section lists devices which require special handling in their key
1909 # code to keysym mapping by setting the xkb model.
1910 # The model must be an xkb compatible model (defined with XKB_FIXED_MODEL).
1911
1912 # Chromebooks
1913 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnFalco:*
1914 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnPeppy:*
1915 XKB_FIXED_MODEL=chromebook