• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
17# contract between the rules file and the hardware data, it might
18# change in later revisions to support more or better matches, it
19# is not necessarily expected to be a stable 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
52# ######################### KEY MAPPING ######################################
53#
54# Keyboard mapping of scan codes to key codes, and
55# scan codes to add to the AT keyboard's 'force-release' list.
56#
57# Scan codes are specified as:
58#   KEYBOARD_KEY_<hex scan code>=<key code identifier>
59# The scan code should be expressed in hex lowercase. The key codes
60# are retrieved and normalized from the kernel input API header.
61# Keycodes are either KEY_* defines in lowercase with the key_ prefix
62# optionally removed or BTN_ defines in lowercase with btn_ preserved.
63#
64# An '!' as the first character of the key identifier string
65# will add the scan code to the AT keyboard's list of scan codes
66# where the driver will synthesize a release event and not expect
67# it to be generated by the hardware.
68#
69# To debug key presses and access scan code mapping data of
70# an input device use the commonly available tool: evtest(1).
71
72# A device with a fixed keyboard layout that must not be changed by
73# the desktop environment may specify that layout as:
74#   XKB_FIXED_LAYOUT="us"
75#   XKB_FIXED_VARIANT=""
76# Examples of such devices: the Yubikey or other key-code generating
77# devices.
78#
79# To update this file, create a new file
80#   /etc/udev/hwdb.d/70-keyboard.hwdb
81# and add your rules there. To load the new rules execute (as root):
82#   systemd-hwdb update
83#   udevadm trigger /dev/input/eventXX
84# where /dev/input/eventXX is the keyboard in question. If in
85# doubt, simply reload all input rules
86#   udevadm trigger --verbose --sysname-match="event*"
87#
88# If your changes are generally applicable, preferably send them as a pull
89# request to
90#   https://github.com/systemd/systemd
91# or create a bug report on https://github.com/systemd/systemd/issues and
92# include your new rules, a description of the device, and the output of
93#   udevadm info /dev/input/eventXX.
94
95##########################################
96# Acer
97##########################################
98
99# common keys
100evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn*
101evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGateway*:pnA0A1*:pvr*
102evdev:atkbd:dmi:bvn*:bvr*:bd*:svneMachines:pneMachines*E725:pvr*
103 KEYBOARD_KEY_86=wlan                                   # Fn+F3 or Fn+Q for comunication key
104 KEYBOARD_KEY_a5=help                                   # Fn+F1
105 KEYBOARD_KEY_a6=setup                                  # Fn+F2 Acer eSettings
106 KEYBOARD_KEY_a7=battery                                # Fn+F3 Power Management
107 KEYBOARD_KEY_a9=switchvideomode                        # Fn+F5
108 KEYBOARD_KEY_b2=www
109 KEYBOARD_KEY_b3=euro
110 KEYBOARD_KEY_b4=dollar
111 KEYBOARD_KEY_ce=brightnessup                           # Fn+Right
112 KEYBOARD_KEY_d4=bluetooth                              # (toggle) off-to-on
113 KEYBOARD_KEY_d5=wlan                                   # (toggle) on-to-off
114 KEYBOARD_KEY_d6=wlan                                   # (toggle) off-to-on
115 KEYBOARD_KEY_d7=bluetooth                              # (toggle) on-to-off
116 KEYBOARD_KEY_d8=bluetooth                              # (toggle) off-to-on
117 KEYBOARD_KEY_d9=brightnessup                           # Fn+Right
118 KEYBOARD_KEY_ee=brightnessup                           # Fn+Right
119 KEYBOARD_KEY_ef=brightnessdown                         # Fn+Left
120 KEYBOARD_KEY_f1=f22                                    # Fn+F7 Touchpad toggle (off-to-on)
121 KEYBOARD_KEY_f2=f23                                    # Fn+F7 Touchpad toggle (on-to-off)
122 KEYBOARD_KEY_f3=prog2                                  # "P2" programmable button
123 KEYBOARD_KEY_f4=prog1                                  # "P1" programmable button
124 KEYBOARD_KEY_f5=presentation
125 KEYBOARD_KEY_f6=power                                  # Power button
126 KEYBOARD_KEY_f8=fn
127 KEYBOARD_KEY_f9=prog1                                  # Launch NTI shadow
128
129# Acer kernel driver
130evdev:name:Acer WMI hotkeys:dmi:bvn*:bvr*:bd*:svn*:pnAcer*:pvr*
131 KEYBOARD_KEY_82=f21                                    # Touchpad toggle
132
133# Aspire models
134evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*:pvr*
135 KEYBOARD_KEY_84=bluetooth                              # sent when bluetooth module missing, and key pressed
136 KEYBOARD_KEY_d9=bluetooth                              # Bluetooth off
137 KEYBOARD_KEY_92=media                                  # Acer arcade
138
139evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*5720*:pvr*
140evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnZG8*:pvr*
141 KEYBOARD_KEY_f4=prog3                                  # e-key
142
143evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*5920G:*
144 KEYBOARD_KEY_8a=media
145 KEYBOARD_KEY_a6=setup
146
147evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*6920:*
148evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*8930:*
149 KEYBOARD_KEY_ca=prog3                                  # key 'HOLD' on CineDash Media Console
150 KEYBOARD_KEY_83=rewind
151 KEYBOARD_KEY_89=fastforward
152 KEYBOARD_KEY_9e=back
153
154evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*7750G:pvr*
155 KEYBOARD_KEY_e0=!pageup
156
157# Travelmate C300
158evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*C3[01]0*:pvr*
159 KEYBOARD_KEY_67=f24                                    # FIXME: rotate screen
160 KEYBOARD_KEY_68=up
161 KEYBOARD_KEY_69=down
162 KEYBOARD_KEY_6b=fn
163 KEYBOARD_KEY_6c=screenlock                             # FIXME: lock tablet device/buttons
164
165# Travelmate P648-G2-MG, P648-G3-M and P645-S
166evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*P648-G2-MG*:pvr*
167evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*P648-G3-M*:pvr*
168evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*P645-S*:pvr*
169 KEYBOARD_KEY_8a=f20                                    # Microphone mute button; should be micmute
170
171# on some models this isn't brightnessup
172evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn*5210*:pvr*
173evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn*5220*:pvr*
174evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn*5610*:pvr*
175evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn*5620*:pvr*
176evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn*5720*:pvr*
177evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*4720*:pvr*
178evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*6593:*
179evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*1640:*
180 KEYBOARD_KEY_ee=screenlock
181
182evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAOA*:pvr*
183 KEYBOARD_KEY_a9=!switchvideomode                       # Fn+F5
184
185# Packard Bell and Gateway models
186evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGateway*:pn*
187evdev:atkbd:dmi:bvn*:bvr*:bd*:svnPackard*Bell*:pn*
188 KEYBOARD_KEY_86=wlan                                   # Fn+F3 or Fn+Q for comunication key
189
190###########################################################
191# Alienware
192###########################################################
193
194evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAlienware*:pn*
195 KEYBOARD_KEY_81=f21                                    # Touchpad toggle
196 KEYBOARD_KEY_8a=ejectcd
197
198# Alienware/Dell reserves these keys; safe to apply on all their devices
199evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAlienware*:pn*:pvr*
200 KEYBOARD_KEY_bf=!prog1                                 #graphics amplifier, cable plug-in event
201 KEYBOARD_KEY_c1=!prog2                                 #graphics amplifier, undock-button event
202 KEYBOARD_KEY_c2=!power                                 #graphics amplifier, surprise undock event
203
204###########################################################
205# Asus
206###########################################################
207
208evdev:atkbd:dmi:bvn*:bvr*:bd*:svnASUS:pn*
209 KEYBOARD_KEY_ed=volumeup
210 KEYBOARD_KEY_ee=volumedown
211 KEYBOARD_KEY_ef=mute
212
213evdev:name:Asus WMI hotkeys:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:pvr*
214evdev:name:Eee PC WMI hotkeys:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:pvr*
215evdev:name:Asus Laptop extra buttons:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:pvr*
216 KEYBOARD_KEY_6b=f21                                    # Touchpad Toggle
217
218# USB keyboard in Asus FX503VD
219evdev:input:b0003v0B05p1869*
220 KEYBOARD_KEY_ff31007c=f20                              # Remap micmute to f20
221
222###########################################################
223# BenQ
224###########################################################
225
226evdev:atkbd:dmi:bvn*:bvr*:bd*:svn*BenQ*:pn*Joybook*R22*:pvr*
227 KEYBOARD_KEY_6e=wlan
228
229###########################################################
230# Clevo
231###########################################################
232
233evdev:atkbd:dmi:bvn*:bvr*:bd*:svnNotebook:pnW65_67SZ:pvr*
234 KEYBOARD_KEY_a0=!mute
235 KEYBOARD_KEY_a2=!playpause
236 KEYBOARD_KEY_ae=!volumedown
237 KEYBOARD_KEY_b0=!volumeup
238
239###########################################################
240# Compal
241###########################################################
242
243evdev:atkbd:dmi:bvn*:bvr*:bd*:svnCOMPAL:pnHEL80I:*
244 KEYBOARD_KEY_84=wlan
245
246###########################################################
247# COMPAQ
248###########################################################
249
250evdev:atkbd:dmi:bvn*:bvr*:bd*:svnCompaq*:pn*E500*:pvr*
251evdev:atkbd:dmi:bvn*:bvr*:bd*:svnCompaq*:pn*Evo*N*:pvr*
252 KEYBOARD_KEY_a3=www                                    # I key
253 KEYBOARD_KEY_9a=search
254 KEYBOARD_KEY_9e=email
255 KEYBOARD_KEY_9f=homepage
256
257evdev:input:b0003v049Fp0051*
258 KEYBOARD_KEY_0c0011=presentation
259 KEYBOARD_KEY_0c0012=addressbook
260 KEYBOARD_KEY_0c0013=info
261 KEYBOARD_KEY_0c0014=prog1
262 KEYBOARD_KEY_0c0015=messenger
263
264###########################################################
265# Cube
266###########################################################
267
268evdev:name:gpio-keys:phys:gpio-keys/input0:ev:3:dmi:bvn*:bvr*:bd*:svncube:pni1-TF:*
269 KEYBOARD_KEY_0=leftmeta
270 KEYBOARD_KEY_1=power
271
272###########################################################
273# Dell
274###########################################################
275
276evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pn*
277 KEYBOARD_KEY_81=playpause                              # Play/Pause
278 KEYBOARD_KEY_82=stopcd                                 # Stop
279 KEYBOARD_KEY_83=previoussong                           # Previous song
280 KEYBOARD_KEY_84=nextsong                               # Next song
281 KEYBOARD_KEY_85=brightnessdown                         # Fn+Down Brightness Down
282 KEYBOARD_KEY_86=brightnessup                           # Fn+Up Brightness Up
283 KEYBOARD_KEY_87=battery                                # Fn+F3 battery icon
284 KEYBOARD_KEY_88=unknown                                # Fn+F2 Turn On/Off Wireless - handled in hardware
285 KEYBOARD_KEY_89=ejectclosecd                           # Fn+F10 Eject CD
286 KEYBOARD_KEY_8a=suspend                                # Fn+F1 hibernate
287 KEYBOARD_KEY_8b=switchvideomode                        # Fn+F8 CRT/LCD (high keycode: "displaytoggle")
288 KEYBOARD_KEY_8c=unknown                                # Fn+Right Auto Brightness
289 KEYBOARD_KEY_8f=switchvideomode                        # Fn+F7 aspect ratio
290 KEYBOARD_KEY_90=previoussong                           # Front panel previous song
291 KEYBOARD_KEY_91=prog1                                  # Wi-Fi Catcher (Dell-specific)
292 KEYBOARD_KEY_92=media                                  # MediaDirect button (house icon)
293 KEYBOARD_KEY_93=unknown                                # FIXME Fn+Left Auto Brightness
294 KEYBOARD_KEY_95=camera                                 # Shutter button - Takes a picture if optional camera available
295 KEYBOARD_KEY_97=email                                  # Tablet email button
296 KEYBOARD_KEY_98=f21                                    # FIXME: Tablet screen rotation
297 KEYBOARD_KEY_99=nextsong                               # Front panel next song
298 KEYBOARD_KEY_9a=setup                                  # Tablet tools button
299 KEYBOARD_KEY_9b=switchvideomode                        # Display toggle button
300 KEYBOARD_KEY_9e=f21                                    # Touchpad toggle
301 KEYBOARD_KEY_a2=playpause                              # Front panel play/pause
302 KEYBOARD_KEY_a4=stopcd                                 # Front panel stop
303 KEYBOARD_KEY_ed=media                                  # MediaDirect button
304 KEYBOARD_KEY_d8=screenlock                             # FIXME: Tablet lock button
305 KEYBOARD_KEY_d9=f21                                    # Touchpad toggle
306
307#
308evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*910:pvr*
309evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*101[012]:pvr*
310evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*1110:pvr*
311evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*1210:pvr*
312 KEYBOARD_KEY_84=wlan
313
314# Dell Inspiron 1520 and Latitude 2110
315evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*1520:pvr*
316evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*2110:pvr*
317 KEYBOARD_KEY_85=unknown  # Brightness Down, also emitted by acpi-video, ignore
318 KEYBOARD_KEY_86=unknown  # Brightness Up, also emitted by acpi-video, ignore
319
320# Dell Inspiron 537*
321evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron537*:pvr*
322 KEYBOARD_KEY_88=!wlan                                  # Fn-PrtScr rfkill
323
324# Latitude XT2
325evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*XT2:pvr*
326 KEYBOARD_KEY_9b=up                                     # tablet rocker up
327 KEYBOARD_KEY_9e=enter                                  # tablet rocker press
328 KEYBOARD_KEY_9f=back                                   # tablet back
329 KEYBOARD_KEY_a3=down                                   # tablet rocker down
330
331evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnStudio*155[78]:pvr*
332 KEYBOARD_KEY_a0=!                                      # mute
333 KEYBOARD_KEY_ae=!                                      # volume down
334 KEYBOARD_KEY_b0=!                                      # volume up
335
336# Dell Touchpad
337evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*:pvr*
338evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnPrecision*:pvr*
339 KEYBOARD_KEY_88=!                                      # wireless switch
340 KEYBOARD_KEY_9e=!f21
341
342# Dell Latitude E7*
343evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*E7*:pvr*
344 KEYBOARD_KEY_88=unknown                                # Fn-PrtScr rfkill - handled in HW
345
346# Dell XPS
347evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnXPS*:pvr*
348 KEYBOARD_KEY_8c=!unknown
349
350# Dell XPS L702x
351evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDellInc.:pnDellSystemXPSL702X:pvr*
352 KEYBOARD_KEY_84=prog1
353 KEYBOARD_KEY_85=prog2
354
355# Dell XPS12 9Q33
356evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnXPS12-9Q33*:pvr*
357 KEYBOARD_KEY_88=wlan
358 KEYBOARD_KEY_65=direction                              # Screen Rotate
359
360# Dell Latitude microphone mute
361evdev:name:Dell WMI hotkeys:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*
362# Dell Precision microphone mute
363evdev:name:Dell WMI hotkeys:dmi:bvn*:bvr*:bd*:svnDell*:pnPrecision*
364 KEYBOARD_KEY_100150=f20                                   # Mic mute toggle, should be micmute
365
366###########################################################
367# Everex
368###########################################################
369
370evdev:atkbd:dmi:bvn*:bvr*:bd*:svnEverex:pnXT5000*:pvr*
371 KEYBOARD_KEY_5c=media
372 KEYBOARD_KEY_65=f21                                    # Fn+F5 Touchpad toggle
373 KEYBOARD_KEY_67=prog3                                  # Fan speed control button
374 KEYBOARD_KEY_6f=brightnessup
375 KEYBOARD_KEY_7f=brightnessdown
376 KEYBOARD_KEY_b2=www
377 KEYBOARD_KEY_ec=mail
378
379##########################################
380# Fujitsu
381##########################################
382
383evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pnAMILO*M*:pvr*
384 KEYBOARD_KEY_97=prog2
385 KEYBOARD_KEY_9f=prog1
386
387evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pnAmilo*Li*1718:*
388 KEYBOARD_KEY_d6=wlan
389
390# Amilo Li 2732
391evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pnAMILO*Li*2732:*
392 KEYBOARD_KEY_d9=brightnessdown                         # Fn+F8 brightness down
393 KEYBOARD_KEY_ef=brightnessup                           # Fn+F9 brightness up
394 KEYBOARD_KEY_a9=switchvideomode                        # Fn+F10 Cycle between available video outputs
395
396# Amilo Pa 2548
397evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*AMILO*Pa*2548*:pvr*
398 KEYBOARD_KEY_e0=volumedown
399 KEYBOARD_KEY_e1=volumeup
400 KEYBOARD_KEY_e5=prog1
401
402# Amilo Pro Edition V3505
403evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*AMILO*Pro*Edition*V3505*:pvr*
404 KEYBOARD_KEY_a5=help                                   # Fn+F1
405 KEYBOARD_KEY_a9=switchvideomode                        # Fn+F3
406 KEYBOARD_KEY_d9=brightnessdown                         # Fn+F8
407 KEYBOARD_KEY_e0=brightnessup                           # Fn+F9
408
409# Amilo Pro v3205
410evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*AMILO*Pro*V3205*:pvr*
411 KEYBOARD_KEY_f4=f21                                    # FIXME: silent-mode decrease CPU/GPU clock
412 KEYBOARD_KEY_f7=switchvideomode                        # Fn+F3
413
414# Amilo Si 1520
415evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*Amilo*Si*1520*:pvr*
416 KEYBOARD_KEY_e1=wlan
417 KEYBOARD_KEY_f3=wlan
418 KEYBOARD_KEY_ee=brightnessdown
419 KEYBOARD_KEY_e0=brightnessup
420 KEYBOARD_KEY_e2=bluetooth
421 KEYBOARD_KEY_f7=video
422
423# Esprimo Mobile V5
424evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*ESPRIMO*Mobile*V5*:pvr*
425 KEYBOARD_KEY_a9=switchvideomode
426 KEYBOARD_KEY_d9=brightnessdown
427 KEYBOARD_KEY_df=sleep
428 KEYBOARD_KEY_ef=brightnessup
429
430# Esprimo Mobile V6
431evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*ESPRIMO*Mobile*V6*:pvr*
432 KEYBOARD_KEY_ce=brightnessup
433 KEYBOARD_KEY_ef=brightnessdown
434
435###########################################################
436# GIGABYTE
437###########################################################
438
439evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGIGABYTE:pnU2442:*
440 KEYBOARD_KEY_a0=!                                      # mute
441
442###########################################################
443# Gemini
444###########################################################
445
446evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGeminiDevices:pnNC14V1006:*
447 KEYBOARD_KEY_9c=enter
448
449###########################################################
450# Genius
451###########################################################
452
453# Slimstar 320
454evdev:input:b0003v0458p0708*
455 KEYBOARD_KEY_0900f0=scrollup
456 KEYBOARD_KEY_0900f1=scrolldown
457 KEYBOARD_KEY_0900f3=back
458 KEYBOARD_KEY_0900f2=forward
459 KEYBOARD_KEY_0900f5=wordprocessor
460 KEYBOARD_KEY_0900f6=spreadsheet
461 KEYBOARD_KEY_0900f4=presentation
462 KEYBOARD_KEY_0c0223=www
463 KEYBOARD_KEY_0900f7=chat
464 KEYBOARD_KEY_0900fb=prog1
465 KEYBOARD_KEY_0900f8=close
466 KEYBOARD_KEY_0900f9=graphicseditor
467 KEYBOARD_KEY_0900fd=scale
468 KEYBOARD_KEY_0900fc=screenlock
469
470###########################################################
471# Hewlett Packard
472###########################################################
473
474evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*:pvr*
475evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pn*:pvr*
476 KEYBOARD_KEY_81=fn_esc
477 KEYBOARD_KEY_89=battery                                # Fn+F8
478 KEYBOARD_KEY_8a=screenlock                             # Fn+F6
479 KEYBOARD_KEY_8b=camera
480 KEYBOARD_KEY_8c=media                                  # music
481 KEYBOARD_KEY_8e=dvd
482 KEYBOARD_KEY_b1=help
483 KEYBOARD_KEY_b3=unknown                                # FIXME: Auto brightness
484 KEYBOARD_KEY_d7=wlan
485 KEYBOARD_KEY_92=brightnessdown                         # Fn+F7 (Fn+F9 on 6730b)
486 KEYBOARD_KEY_97=brightnessup                           # Fn+F8 (Fn+F10 on 6730b)
487 KEYBOARD_KEY_ee=switchvideomode                        # Fn+F4
488
489# Tablet
490evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*[tT][aA][bB][lL][eE][tT]*:pvr*
491 KEYBOARD_KEY_82=prog2                                  # Funny Key
492 KEYBOARD_KEY_83=prog1                                  # Q
493 KEYBOARD_KEY_84=tab
494 KEYBOARD_KEY_85=esc
495 KEYBOARD_KEY_86=pageup
496 KEYBOARD_KEY_87=pagedown
497
498# Pavilion
499evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*[pP][aA][vV][iI][lL][iI][oO][nN]*:pvr*
500 KEYBOARD_KEY_88=media                                  # FIXME: quick play
501 KEYBOARD_KEY_b7=print
502 KEYBOARD_KEY_d8=!f23                                   # touchpad off
503 KEYBOARD_KEY_d9=!f22                                   # touchpad on
504
505evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*Pavilion*dv7*Notebook*PC:pvr*
506 KEYBOARD_KEY_b7=print
507 KEYBOARD_KEY_c2=media                                  # FIXME: quick play
508 KEYBOARD_KEY_c6=break
509 KEYBOARD_KEY_94=reserved
510
511
512# Pavilion 13 x360 (Tablet mode and SYSRQ key)
513evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*[pP][aA][vV][iI][lL][iI][oO][nN]*13*x360*:pvr*
514 KEYBOARD_KEY_d9=unknown
515 KEYBOARD_KEY_d7=!f22                                   # touchpad on
516 KEYBOARD_KEY_d2=sysrq                                  # Fn+Print = SYSRQ
517
518
519# Pavilion and Spectre x360 13 (Prevents random airplane mode activation)
520evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*[sS][pP][eE][cC][tT][rR][eE]*x360*13*:pvr*
521evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pn*[sS][pP][eE][cC][tT][rR][eE]*x360Convertible*:pvr*
522evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*[pP][aA][vV][iI][lL][iI][oO][nN]*13*x360*:pvr*
523 KEYBOARD_KEY_d7=unknown
524
525# Elitebook
526evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*Compaq*:pvr*
527evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*EliteBook*:pvr*
528evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*2230s*:pvr*
529 KEYBOARD_KEY_88=presentation
530 KEYBOARD_KEY_d9=help                                   # I key (high keycode: "info")
531
532# Presario
533evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*Presario*CQ*:pvr*
534 KEYBOARD_KEY_d8=f21
535 KEYBOARD_KEY_d9=f21
536
537# 2510p 2530p
538evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*2510p*:pvr*
539evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*2530p*:pvr*
540evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*G60*Notebook*PC:pvr*
541 KEYBOARD_KEY_d8=!f23                                   # touchpad off
542 KEYBOARD_KEY_d9=!f22                                   # touchpad on
543
544# 2570p
545evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*2570p*:pvr*
546 KEYBOARD_KEY_f8=wlan                                   # Wireless HW switch button
547
548# TX2
549evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*[tT][xX]2*:pvr*
550 KEYBOARD_KEY_c2=media
551 KEYBOARD_KEY_d8=!f23                                   # Toggle touchpad button on tx2 (OFF)
552 KEYBOARD_KEY_d9=!f22                                   # Toggle touchpad button on tx2 (ON)
553
554# Presario 2100
555evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnPresario*2100*:pvr*
556 KEYBOARD_KEY_f0=help
557 KEYBOARD_KEY_f1=screenlock
558 KEYBOARD_KEY_f3=search
559
560# Elitebook 8440p
561evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*EliteBook*8440p:pvr*
562 KEYBOARD_KEY_88=www
563 KEYBOARD_KEY_a0=mute
564 KEYBOARD_KEY_ae=volumedown
565 KEYBOARD_KEY_b0=volumeup
566 KEYBOARD_KEY_ec=mail
567
568# Elitebook 8460p
569evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*EliteBook*8460p:pvr*
570 KEYBOARD_KEY_f8=wlan                                   # Wireless HW switch button
571 KEYBOARD_KEY_b3=prog1                                  # Fn+F11 - Ambient Light Sensor button
572 KEYBOARD_KEY_b1=prog2                                  # Fn+ESC - System information button
573
574# HDX9494nr
575evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHDX9494NR:pvr*
576 KEYBOARD_KEY_b2=www                                    # Fn+F3
577 KEYBOARD_KEY_d8=!f23                                   # touchpad off
578 KEYBOARD_KEY_d9=!f22                                   # touchpad on
579
580# Chromebook 14
581# Top row keys (between ESC and power button)
582evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnFalco:pvr*
583 KEYBOARD_KEY_3b=back
584 KEYBOARD_KEY_3c=forward
585 KEYBOARD_KEY_3d=refresh
586 KEYBOARD_KEY_3f=switchvideomode
587 KEYBOARD_KEY_40=brightnessdown
588 KEYBOARD_KEY_41=brightnessup
589 KEYBOARD_KEY_42=mute
590 KEYBOARD_KEY_43=volumedown
591 KEYBOARD_KEY_44=volumeup
592 KEYBOARD_KEY_db=search # Same position as caps lock key on most keyboards
593 # KEYBOARD_KEY_3e=fullscreen, no defined key sym
594
595# HP EliteBook 725 G2
596evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHPLicrice:pvr*
597# HP ProBook 440 G2
598evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP440G2:pvr*
599# several HP ProBooks 4xx
600evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*ProBook4*:pvr*
601evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHP*ProBook*4*:pvr*
602# HP ZBook
603evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHPZBook*:pvr*
604evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPZBook*:pvr*
605 KEYBOARD_KEY_81=f20                                    # Fn+F8; Microphone mute button, should be micmute
606
607# HP ZBook 15 G2
608evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHPZBook15G2:pvr*
609 KEYBOARD_KEY_f8=wlan                                   # Wireless HW switch button
610
611# HP ProBook 11 G1
612evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHPProBook11G1:pvr*
613 KEYBOARD_KEY_81=f20                                    # Fn+F8; Microphone mute button, should be micmute
614 KEYBOARD_KEY_d8=f21                                    # touchpad toggle
615 KEYBOARD_KEY_d9=f21                                    # touchpad toggle
616
617# HP ZBook Studio G4
618evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP:pnHPZBookStudioG4:pvr*
619 KEYBOARD_KEY_f8=wlan                                   # Wireless HW switch button
620
621# HP Folio 1040g2
622evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHPEliteBookFolio1040G2:pvr*
623 KEYBOARD_KEY_81=f20                                    # Fn+F8; Microphone mute button, should be micmute
624 KEYBOARD_KEY_d8=!f23                                   # touchpad off
625 KEYBOARD_KEY_d9=!f22                                   # touchpad on
626
627# HP ProBook 650
628evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*ProBook*650*:pvr*
629 KEYBOARD_KEY_f8=wlan                                   # Wireless HW switch button
630
631# HP ProBook 6555b
632evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard:pnHPProBook6555b:*
633 KEYBOARD_KEY_b2=www                                    # Earth
634
635# HP ProBook 440 G3
636evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHP*ProBook*440*G3*
637# HP ProBook 640 G2
638evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHP*ProBook*640*G2*
639 KEYBOARD_KEY_85=unknown                                # lid close; also reported via special evdev
640 KEYBOARD_KEY_f8=unknown                                # rf kill; also reported via special evdev
641
642# HP ProBook 645 G4
643evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHP*ProBook*645*G4*
644 KEYBOARD_KEY_73=slash                                  # Slash key
645 KEYBOARD_KEY_f8=wlan                                   # Wireless HW switch button
646
647# HP Stream 7
648# The ACPI tables contains a gpio-keys entry for a non connected GPIO
649# causing spurious events, map this to unknown to disable it
650# older kernels use "ev:23" newer kernels "ev:3"
651evdev:name:gpio-keys:phys:gpio-keys/input0:ev:3:dmi:*:svnHewlett-Packard:pnHPStream7Tablet:*
652evdev:name:gpio-keys:phys:gpio-keys/input0:ev:23:dmi:*:svnHewlett-Packard:pnHPStream7Tablet:*
653 KEYBOARD_KEY_0=unknown
654
655##########################################################
656# Huawei
657##########################################################
658
659# Huawei WMI hotkeys driver
660evdev:name:Huawei WMI hotkeys:dmi:bvn*:bvr*:bd*:svnHUAWEI*
661 KEYBOARD_KEY_287=f20                                   # Microphone mute button, should be micmute
662
663# Huawei MACH-WX9
664evdev:atkbd:dmi:bvn*:bvr*:svnHUAWEI*:pnMACH-WX9:pvr*
665 KEYBOARD_KEY_f7=unknown
666 KEYBOARD_KEY_f8=fn
667
668evdev:name:Huawei WMI hotkeys:dmi:bvn*:bvr*:bd*:svnHUAWEI*:pnMACH-WX9:pvr*
669 KEYBOARD_KEY_281=unknown                               # Brightness Down, also emitted by acpi-video, ignore
670 KEYBOARD_KEY_282=unknown                               # Brightness Up, also emitted by acpi-video, ignore
671
672###########################################################
673# IBM
674###########################################################
675
676# thinkpad_acpi driver
677evdev:name:ThinkPad Extra Buttons:dmi:bvn*:bvr*:bd*:svnIBM*:pn*:pvr*
678 KEYBOARD_KEY_01=battery                                # Fn+F2
679 KEYBOARD_KEY_02=screenlock                             # Fn+F3
680 KEYBOARD_KEY_03=sleep                                  # Fn+F4
681 KEYBOARD_KEY_04=wlan                                   # Fn+F5
682 KEYBOARD_KEY_06=switchvideomode                        # Fn+F7
683 KEYBOARD_KEY_07=zoom                                   # Fn+F8 screen expand
684 KEYBOARD_KEY_08=f24                                    # Fn+F9 undock
685 KEYBOARD_KEY_0b=suspend                                # Fn+F12
686 KEYBOARD_KEY_0f=brightnessup                           # Fn+Home
687 KEYBOARD_KEY_10=brightnessdown                         # Fn+End
688 KEYBOARD_KEY_11=kbdillumtoggle                         # Fn+PgUp - ThinkLight
689 KEYBOARD_KEY_13=zoom                                   # Fn+Space
690 KEYBOARD_KEY_14=volumeup
691 KEYBOARD_KEY_15=volumedown
692 KEYBOARD_KEY_16=mute
693 KEYBOARD_KEY_17=prog1                                  # ThinkPad/ThinkVantage button (high keycode: "vendor")
694
695# IBM Thinkpad USB Keyboard Trackpoint
696evdev:input:b0003v04B3p301[89]*
697 KEYBOARD_KEY_900f0=screenlock
698 KEYBOARD_KEY_900f1=wlan
699 KEYBOARD_KEY_900f2=switchvideomode
700 KEYBOARD_KEY_900f3=suspend
701 KEYBOARD_KEY_900f4=brightnessup
702 KEYBOARD_KEY_900f5=brightnessdown
703 KEYBOARD_KEY_900f8=zoom
704
705###########################################################
706# Inventec
707###########################################################
708
709# Symphony
710evdev:atkbd:dmi:bvn*:bvr*:bd*:svnINVENTEC:pnSYMPHONY*6.0/7.0:pvr*
711 KEYBOARD_KEY_f3=prog2
712 KEYBOARD_KEY_f4=prog1
713
714###########################################################
715# Lenovo
716###########################################################
717
718# thinkpad_acpi driver
719evdev:name:ThinkPad Extra Buttons:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*
720 KEYBOARD_KEY_01=screenlock
721 KEYBOARD_KEY_02=battery
722 KEYBOARD_KEY_03=sleep
723 KEYBOARD_KEY_04=wlan
724 KEYBOARD_KEY_06=switchvideomode
725 KEYBOARD_KEY_07=f21
726 KEYBOARD_KEY_08=f24
727 KEYBOARD_KEY_0b=suspend
728 KEYBOARD_KEY_0f=brightnessup
729 KEYBOARD_KEY_10=brightnessdown
730 KEYBOARD_KEY_11=kbdillumtoggle
731 KEYBOARD_KEY_13=zoom
732 KEYBOARD_KEY_14=volumeup
733 KEYBOARD_KEY_15=volumedown
734 KEYBOARD_KEY_16=mute
735 KEYBOARD_KEY_17=prog1
736 KEYBOARD_KEY_1a=f20                                    # Microphone mute button; should be micmute
737 KEYBOARD_KEY_45=bookmarks
738
739# ThinkPad Keyboard with TrackPoint
740evdev:input:b0003v17EFp6009*
741 KEYBOARD_KEY_090012=screenlock                         # Fn+F2
742 KEYBOARD_KEY_090013=battery                            # Fn+F3
743 KEYBOARD_KEY_090014=wlan                               # Fn+F5
744 KEYBOARD_KEY_090016=switchvideomode                    # Fn+F7
745 KEYBOARD_KEY_090017=f21                                # Fn+F8  touchpad toggle
746 KEYBOARD_KEY_090019=suspend                            # Fn+F12
747 KEYBOARD_KEY_09001a=brightnessup                       # Fn+Home
748 KEYBOARD_KEY_09001b=brightnessdown                     # Fn+End
749 KEYBOARD_KEY_09001d=zoom                               # Fn+Space
750 KEYBOARD_KEY_090011=prog1                              # ThinkVantage button
751 KEYBOARD_KEY_090015=camera                             # Fn+F6 headset/camera VoIP key  ??
752 KEYBOARD_KEY_090010=f20                                # Microphone mute button; should be micmute
753
754# Lenovo 3000
755evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*3000*:pvr*
756 KEYBOARD_KEY_8b=switchvideomode                        # Fn+F7 video
757 KEYBOARD_KEY_96=wlan                                   # Fn+F5 wireless
758 KEYBOARD_KEY_97=sleep                                  # Fn+F4 suspend
759 KEYBOARD_KEY_98=suspend                                # Fn+F12 hibernate
760 KEYBOARD_KEY_b4=prog1                                  # Lenovo Care
761
762# "Lenovo Care" Key of the 3000 N200
763evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn0769AP2:pvr3000N200:*
764 KEYBOARD_KEY_b4=prog1
765
766# lenovo-ideapad
767evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*IdeaPad*:pvr*
768evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pnS10-*:pvr*
769 KEYBOARD_KEY_81=rfkill                                 # does nothing in BIOS
770 KEYBOARD_KEY_83=display_off                            # BIOS toggles screen state
771 KEYBOARD_KEY_b9=brightnessup                           # does nothing in BIOS
772 KEYBOARD_KEY_ba=brightnessdown                         # does nothing in BIOS
773 KEYBOARD_KEY_f1=camera                                 # BIOS toggles camera power
774 KEYBOARD_KEY_f2=f21                                    # touchpad toggle (key alternately emits F2 and F3)
775 KEYBOARD_KEY_f3=f21
776
777# Thinkpad X200_Tablet
778evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPad*X2*Tablet*
779 KEYBOARD_KEY_5d=menu
780 KEYBOARD_KEY_63=fn
781 KEYBOARD_KEY_66=screenlock
782 KEYBOARD_KEY_67=cyclewindows                           # bezel circular arrow
783 KEYBOARD_KEY_68=setup                                  # bezel setup / menu
784 KEYBOARD_KEY_6c=direction                              # rotate screen
785
786# ThinkPad X6 Tablet
787evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPad*X6*Tablet*
788 KEYBOARD_KEY_6c=direction                              # rotate
789 KEYBOARD_KEY_68=leftmeta                               # toolbox
790 KEYBOARD_KEY_6b=esc                                    # escape
791 KEYBOARD_KEY_6d=right                                  # right on d-pad
792 KEYBOARD_KEY_6e=left                                   # left on d-pad
793 KEYBOARD_KEY_71=up                                     # up on d-pad
794 KEYBOARD_KEY_6f=down                                   # down on d-pad
795 KEYBOARD_KEY_69=enter                                  # enter on d-pad
796
797# ThinkPad X41 Tablet
798evdev:atkbd:dmi:bvn*:bvr*:bd*:svnIBM*:pn18666TU:pvr*
799 KEYBOARD_KEY_6c=direction                              # rotate
800 KEYBOARD_KEY_68=leftmeta                               # toolbox
801 KEYBOARD_KEY_6b=esc                                    # escape
802 KEYBOARD_KEY_69=enter                                  # enter on d-pad
803
804# IdeaPad
805evdev:name:Ideapad extra buttons:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*
806 KEYBOARD_KEY_0d=rfkill                                 # airplane mode switch (toggle all wireless devices)
807 KEYBOARD_KEY_08=f20                                    # micmute
808 KEYBOARD_KEY_42=f23
809 KEYBOARD_KEY_43=f22
810
811evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*IdeaPad*Y550*:pvr*
812 KEYBOARD_KEY_95=media
813 KEYBOARD_KEY_a3=play
814
815evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*IdeaPad*U300s*:pvr*
816 KEYBOARD_KEY_f1=f21
817 KEYBOARD_KEY_ce=f20                                    # micmute
818
819evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO*:pn*IdeaPad*Z370*:pvr*
820 KEYBOARD_KEY_a0=!mute
821 KEYBOARD_KEY_ae=!volumedown
822 KEYBOARD_KEY_b0=!volumeup
823
824# Lenovo Y50-70
825evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO*:pn*20378*:pvr*
826 KEYBOARD_KEY_f3=f21      # Fn+F6 (toggle touchpad)
827
828# V480
829evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*Lenovo*V480*:pvr*
830 KEYBOARD_KEY_f1=f21
831
832# Lenovo ThinkCentre M800z/M820z/M920z AIO machines
833# key_scancode 00 is KEY_MICMUTE
834evdev:name:Microphone Mute Button:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*
835 KEYBOARD_KEY_00=f20
836
837# enhanced USB keyboard
838evdev:input:b0003v04B3p301B*
839 KEYBOARD_KEY_90001=prog1 # ThinkVantage
840 KEYBOARD_KEY_90002=screenlock
841 KEYBOARD_KEY_90003=file
842 KEYBOARD_KEY_90004=wordprocessor
843 KEYBOARD_KEY_90005=spreadsheet
844 KEYBOARD_KEY_90006=calc
845 KEYBOARD_KEY_90007=mail
846 KEYBOARD_KEY_90008=www
847
848
849###########################################################
850# Logitech
851###########################################################
852
853# 27MHz wireless keyboards, these all have a PID of 00?? and all send c10xx
854# logitech custom consumer usage-page codes. The mappings below are the most
855# common, but some mapping may differ, especially the Fn F1-F12 mappings
856evdev:input:b0003v046Dp00*
857 KEYBOARD_KEY_c0183=media           # HUT:config, kbd:Media/Music player button
858 KEYBOARD_KEY_c1001=chat            # Messenger button
859 KEYBOARD_KEY_c1002=camera          # Webcam button
860 KEYBOARD_KEY_c1003=audio           # Music Browser button
861 KEYBOARD_KEY_c1004=video           # Video Browser button
862 KEYBOARD_KEY_c1005=images          # Image Browser button
863 KEYBOARD_KEY_c100a=documents       # Document Browser button
864 KEYBOARD_KEY_c100b=rewind          # Rewind button
865 KEYBOARD_KEY_c100c=fastforward     # Fast Forward button
866 KEYBOARD_KEY_c100f=f14             # Track 1 button → f14 → XF86Launch5
867 KEYBOARD_KEY_c1010=f15             # Track 2 button → f15 → XF86Launch6
868 KEYBOARD_KEY_c1011=channeldown     # Playlist back button
869 KEYBOARD_KEY_c1012=channelup       # Playlist advance button
870 KEYBOARD_KEY_c1013=camera          # Webcam button
871 KEYBOARD_KEY_c1014=coffee          # Status button
872 KEYBOARD_KEY_c1015=record          # Record symbol button
873 KEYBOARD_KEY_c1016=sound           # Flame/CD burning → sound → XF86AudioPreset
874 KEYBOARD_KEY_c1017=ejectcd         # Eject button
875 KEYBOARD_KEY_c1018=config          # Remote-control ico
876 KEYBOARD_KEY_c1019=f14             # Preset 1 → f14 → XF86Launch5
877 KEYBOARD_KEY_c101a=f15             # Preset 2 → f15 → XF86Launch6
878 KEYBOARD_KEY_c101b=f16             # Preset 3 → f16 → XF86Launch7
879 KEYBOARD_KEY_c101c=cyclewindows    # 2 overlapping windows icon
880 KEYBOARD_KEY_c101f=zoomout         # zoom - button / - side of zoomrocker
881 KEYBOARD_KEY_c1020=zoomin          # zoom + button / + side off zoom rocker
882 KEYBOARD_KEY_c1021=zoomreset       # 100% symbol on kbd left side
883 KEYBOARD_KEY_c1023=close           # [x] symbol on kbd left side
884 KEYBOARD_KEY_c1027=menu            # Hamburger menu icon
885 KEYBOARD_KEY_c1028=angle           # Rotate button
886 KEYBOARD_KEY_c1029=shuffle         # Shuffle button
887 KEYBOARD_KEY_c102a=back            # Back button
888 KEYBOARD_KEY_c102b=cyclewindows    # Empty window icon
889 KEYBOARD_KEY_c102d=www             # www text + magnifierglass icon
890 KEYBOARD_KEY_c1031=connect         # Pickup phone button → connect → XF86Go
891 KEYBOARD_KEY_c1032=cancel          # Hangup phone button → cancel → Cancel
892 KEYBOARD_KEY_c1041=help            # Help text or icon (Fn + F1)
893 KEYBOARD_KEY_c1042=wordprocessor   # Word icon (Fn + F2)
894 KEYBOARD_KEY_c1043=spreadsheet     # Excel icon (Fn + F3)
895 KEYBOARD_KEY_c1044=presentation    # Presentation icon (Fn + F4)
896 KEYBOARD_KEY_c1045=undo            # Undo Icon (Fn + F5)
897 KEYBOARD_KEY_c1046=redo            # Redo Icon (Fn + F6)
898 KEYBOARD_KEY_c1047=print           # Printer Icon (Fn + F7)
899 KEYBOARD_KEY_c1048=save            # Floppy Icon (Fn + F8)
900 KEYBOARD_KEY_c1049=prog1           # Smartkey A (Fn + F9)  → XF86Launch1
901 KEYBOARD_KEY_c104a=prog2           # Smartkey B (Fn + F10) → XF86Launch2
902 KEYBOARD_KEY_c104b=prog3           # Smartkey C (Fn + F11) → XF86Launch3
903 KEYBOARD_KEY_c104c=prog4           # Smartkey D (Fn + F12) → XF86Launch4
904
905# Cordless Access Keyboard (27 MHz, modelnumber Y-RH35)
906evdev:input:b0003v046Dp0042*
907 KEYBOARD_KEY_c1041=new
908 KEYBOARD_KEY_c1042=reply
909 KEYBOARD_KEY_c1043=forward
910 KEYBOARD_KEY_c1044=send
911 KEYBOARD_KEY_c1045=previoussong
912 KEYBOARD_KEY_c1046=nextsong
913 KEYBOARD_KEY_c1047=playpause
914 KEYBOARD_KEY_c1048=stopcd
915 KEYBOARD_KEY_c1049=file
916 KEYBOARD_KEY_c104a=documents
917 KEYBOARD_KEY_c104b=images
918 KEYBOARD_KEY_c104c=audio
919
920# "Cordless Rechargeable Desktop" keyboard (27 MHz, modelnumber Y-RK49)
921evdev:input:b0003v046Dp0045*
922 KEYBOARD_KEY_c1041=new
923 KEYBOARD_KEY_c1042=reply
924 KEYBOARD_KEY_c1043=forward
925 KEYBOARD_KEY_c1044=send
926 KEYBOARD_KEY_c1049=file
927 KEYBOARD_KEY_c104a=documents
928 KEYBOARD_KEY_c104b=images
929 KEYBOARD_KEY_c104c=audio
930
931# S510 keyboard (27 MHz, modelnumber Y-RAK73)
932evdev:input:b0003v046Dp0056*
933 KEYBOARD_KEY_c1041=battery      # Battery icon (Fn + F1)
934
935# MX3000 keyboard (27 MHz, modelnumber Y-RAM74)
936# We ignore the scroll up / down keypress events since these buttons also
937# generate scroll-wheel events and we do not want to generate duplicate events
938# Note if the "Special Button Function" in the HID++ features register gets
939# cleared then the scroll-wheel events for these buttons go away and then
940# tilting the scrollwheel left/right starts sending c1022 / c1024 events
941evdev:input:b0003v046Dp0057*
942 KEYBOARD_KEY_c1041=battery      # Battery icon (Fn + F1)
943
944#KEYBOARD_KEY_c101d=scrolldown   # Button below scrollwheel (see note above)
945#KEYBOARD_KEY_c101e=scrollup     # Button above scrollwheel (see note above)
946#KEYBOARD_KEY_c1022=scrollleft   # Left click on scroll-wheel (see note above)
947#KEYBOARD_KEY_c1024=scrollright  # Right click on scroll-wheel (see note above)
948
949# MX3200 keyboard (27 MHz, modelnumber Y-RAV80)
950evdev:input:b0003v046Dp005C*
951 KEYBOARD_KEY_c1001=phone           # VOIP button
952 KEYBOARD_KEY_c1016=record          # Record button
953 KEYBOARD_KEY_c1041=wordprocessor   # Word icon (Fn + F1)
954 KEYBOARD_KEY_c1042=spreadsheet     # Excel icon (Fn + F2)
955 KEYBOARD_KEY_c1043=calendar        # Calendar icon (Fn + F3)
956 KEYBOARD_KEY_c1044=documents       # My Documents icon (Fn + F4)
957 KEYBOARD_KEY_c1045=prog1           # Smartkey A (Fn + F5) → XF86Launch1
958 KEYBOARD_KEY_c1046=prog2           # Smartkey B (Fn + F6) → XF86Launch2
959 KEYBOARD_KEY_c1047=prog3           # Smartkey C (Fn + F7) → XF86Launch3
960 KEYBOARD_KEY_c1048=prog4           # Smartkey D (Fn + F8) → XF86Launch4
961
962# EX100 keyboard (27 MHz, modelnumber Y-RBH94)
963evdev:input:b0003v046Dp0065*
964 KEYBOARD_KEY_c104b=battery         # Battery icon (Fn + F11)
965 KEYBOARD_KEY_c104c=ejectcd         # Eject icon (Fn + F12)
966
967# S520 keyboard (27 MHz, modelnumber Y-RBA97)
968# Note this one uses non-standard codes for FN + F9 - Fn + F12?
969evdev:input:b0003v046Dp0066*
970 KEYBOARD_KEY_c100e=prog4           # Smartkey D (Fn + F12) → XF86Launch4
971 KEYBOARD_KEY_c1019=prog1           # Smartkey A (Fn + F9)  → XF86Launch1
972 KEYBOARD_KEY_c101a=prog2           # Smartkey B (Fn + F10) → XF86Launch2
973 KEYBOARD_KEY_c101b=prog3           # Smartkey C (Fn + F11) → XF86Launch3
974 KEYBOARD_KEY_c1041=wordprocessor   # Word icon (Fn + F1)
975 KEYBOARD_KEY_c1042=spreadsheet     # Excel icon (Fn + F2)
976 KEYBOARD_KEY_c1043=presentation    # Presentation icon (Fn + F3)
977 KEYBOARD_KEY_c1044=calendar        # Calendar icon (Fn + F4)
978 KEYBOARD_KEY_c1045=homepage        # Home icon (Fn + F5)
979 KEYBOARD_KEY_c1046=email           # Letter icon (Fn + F6)
980 KEYBOARD_KEY_c1047=search          # Magnifying glass icon (Fn + F7)
981 KEYBOARD_KEY_c1048=config          # Window with gear icon (Fn + F8)
982 KEYBOARD_KEY_c106f=battery         # Battery icon
983
984# S510 remote control (27 MHz)
985evdev:input:b0003v046Dp00FE*
986 KEYBOARD_KEY_c1018=media           # Media button
987
988# MX5000 keyboard (HID proxy mode and bluetooth matches)
989# The 4 buttons below the LCD send codes 0xc100c - 0xc100f. They only send
990# these codes when the LCD is displaying text send to it. These codes are
991# directly consumed by recent versions of lcdproc when it is driving the LCD,
992# so these codes should not be mapped
993evdev:input:b0003v046DpB305*
994evdev:input:b0005v046DpB305*
995 KEYBOARD_KEY_c0230=zoomreset	# HUT says fullscreen, kbd says 100%
996 KEYBOARD_KEY_c1004=send	# Send and receive / sync button
997 KEYBOARD_KEY_c1006=coffee	# Status (online/away) button
998 KEYBOARD_KEY_c1007=camera	# Webcam button
999 KEYBOARD_KEY_c1038=prog1	# Smartkey A → XF86Launch1
1000 KEYBOARD_KEY_c1039=prog2	# Smartkey B → XF86Launch2
1001 KEYBOARD_KEY_c103a=prog3	# Smartkey C → XF86Launch3
1002 KEYBOARD_KEY_c103b=prog4	# Smartkey D → XF86Launch4
1003
1004# MX5500 keyboard (HID proxy mode and bluetooth matches)
1005evdev:input:b0003v046DpB30B*
1006evdev:input:b0005v046DpB30B*
1007 KEYBOARD_KEY_c0183=media	# HUT says consumer control configuration, kbd says Media Center
1008 KEYBOARD_KEY_c100e=images      # Camera icon, "Photo Gallery"
1009 KEYBOARD_KEY_c100f=config      # Window with gear icon
1010 KEYBOARD_KEY_c1038=prog1	# Smartkey A → XF86Launch1
1011 KEYBOARD_KEY_c1039=prog2	# Smartkey B → XF86Launch2
1012 KEYBOARD_KEY_c103a=prog3	# Smartkey C → XF86Launch3
1013 KEYBOARD_KEY_c103b=prog4	# Smartkey D → XF86Launch4
1014
1015# iTouch
1016evdev:input:b0003v046DpC308*
1017 KEYBOARD_KEY_90001=shop                                # Shopping
1018 KEYBOARD_KEY_90002=config                              # iTouch
1019 KEYBOARD_KEY_90003=finance                             # Finance
1020 KEYBOARD_KEY_90004=prog1                               # My Sites
1021 KEYBOARD_KEY_90005=prog2                               # Community
1022 KEYBOARD_KEY_c0183=media                               # Media
1023
1024# Cordless Desktop S510
1025evdev:input:b0003v046DpC50C*
1026 KEYBOARD_KEY_d4=up                                     # zoomin
1027 KEYBOARD_KEY_cc=down                                   # zoomout
1028
1029# Wave cordless
1030evdev:input:b0003v046DpC317*
1031 KEYBOARD_KEY_9001c=scale                               # expo
1032 KEYBOARD_KEY_9001f=down                                # zoomout
1033 KEYBOARD_KEY_90020=up                                  # zoomin
1034 KEYBOARD_KEY_9003d=prog1                               # gadget
1035 KEYBOARD_KEY_90005=camera
1036 KEYBOARD_KEY_90018=media
1037 KEYBOARD_KEY_90041=wordprocessor
1038 KEYBOARD_KEY_90042=spreadsheet
1039 KEYBOARD_KEY_90043=calendar
1040 KEYBOARD_KEY_90044=prog2                               # fn+f4 (program a)
1041 KEYBOARD_KEY_90045=prog3                               # fn+f5 (program b)
1042 KEYBOARD_KEY_90046=prog4                               # fn+f6 (program c)
1043 KEYBOARD_KEY_90048=messenger                           # fn+f8 (msn messenger)
1044 KEYBOARD_KEY_9002d=search                              # fn+f10 (search www)
1045 KEYBOARD_KEY_9004b=find                                # fn+f11 (search pc)
1046 KEYBOARD_KEY_9004c=ejectclosecd
1047
1048# Wave cordless
1049evdev:input:b0003v046DpC517*
1050 KEYBOARD_KEY_c101f=down                                # zoomout
1051 KEYBOARD_KEY_c1020=up                                  # zoomin
1052 KEYBOARD_KEY_c1005=camera
1053 KEYBOARD_KEY_c0183=media
1054 KEYBOARD_KEY_c1041=wordprocessor
1055 KEYBOARD_KEY_c1042=spreadsheet
1056 KEYBOARD_KEY_c1043=calendar
1057 KEYBOARD_KEY_c1044=prog2                               # fn+f4 (program a)
1058 KEYBOARD_KEY_c1045=prog3                               # fn+f5 (program b)
1059 KEYBOARD_KEY_c1046=prog4                               # fn+f6 (program c)
1060 KEYBOARD_KEY_c1048=messenger                           # fn+f8 (msn messenger)
1061 KEYBOARD_KEY_c104a=find                                # fn+f10 (search www)
1062 KEYBOARD_KEY_c104c=ejectclosecd
1063
1064# Cordless Wave Pro
1065evdev:input:b0003v046DpC529*
1066 KEYBOARD_KEY_0c01b6=camera
1067 KEYBOARD_KEY_0c0183=media
1068 KEYBOARD_KEY_0c0184=wordprocessor
1069 KEYBOARD_KEY_0c0186=spreadsheet
1070 KEYBOARD_KEY_0c018e=calendar
1071 KEYBOARD_KEY_0c0223=homepage
1072 KEYBOARD_KEY_0c01bc=messenger
1073 KEYBOARD_KEY_0c018a=mail
1074 KEYBOARD_KEY_0c0221=search
1075 KEYBOARD_KEY_0c00b8=ejectcd
1076 KEYBOARD_KEY_0c022d=up                                 # zoomin
1077 KEYBOARD_KEY_0c022e=down                               # zoomout
1078
1079# Logitech Presenter R400
1080evdev:input:b0003v046DpC52D*
1081 KEYBOARD_KEY_070029=presentation
1082 KEYBOARD_KEY_07003e=presentation
1083 KEYBOARD_KEY_070037=displaytoggle
1084
1085# Internet Navigator
1086evdev:input:b0003v046DpC309*
1087 KEYBOARD_KEY_90001=chat         # Messenger/SMS
1088 KEYBOARD_KEY_90002=camera       # webcam
1089 KEYBOARD_KEY_90003=prog1        # iTouch
1090 KEYBOARD_KEY_90004=shop         # Shopping
1091 KEYBOARD_KEY_c0201=new          # New (F1)
1092 KEYBOARD_KEY_c0289=reply        # Reply mail (F2)
1093 KEYBOARD_KEY_c028b=forwardmail  # Forward mail (F3)
1094 KEYBOARD_KEY_c028c=send         # Send (F4)
1095 KEYBOARD_KEY_c021a=undo         # Undo (F5)
1096 KEYBOARD_KEY_c0279=redo         # Redo (F6)
1097 KEYBOARD_KEY_c0208=print        # Print (F7)
1098 KEYBOARD_KEY_c0207=save         # Save (F8)
1099 KEYBOARD_KEY_c0194=file         # My Computer (F9)
1100 KEYBOARD_KEY_c01a7=documents    # My Documents (F10)
1101 KEYBOARD_KEY_c01b6=images       # My Pictures (F11)
1102 KEYBOARD_KEY_c01b7=audio        # My Music (F12)
1103
1104
1105###########################################################
1106# Maxdata
1107###########################################################
1108
1109# Pro 7000
1110evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMAXDATA:pnPro*7000*:pvr*
1111 KEYBOARD_KEY_97=prog2
1112 KEYBOARD_KEY_9f=prog1
1113 KEYBOARD_KEY_a0=mute                                   # Fn+F5
1114 KEYBOARD_KEY_82=www
1115 KEYBOARD_KEY_ec=email
1116 KEYBOARD_KEY_ae=volumedown                             # Fn+Down
1117 KEYBOARD_KEY_b0=volumeup                               # Fn+Up
1118 KEYBOARD_KEY_df=suspend                                # Fn+F2
1119 KEYBOARD_KEY_f5=help
1120
1121###########################################################
1122# Medion
1123###########################################################
1124
1125# Akoya
1126evdev:atkbd:dmi:bvn*:bvr*:svnMEDION*:pnS3409*:pvr*
1127evdev:atkbd:dmi:bvn*:bvr*:svnMedion*:pnAkoya*:pvr*
1128 KEYBOARD_KEY_a0=!mute
1129 KEYBOARD_KEY_ae=!volumedown
1130 KEYBOARD_KEY_b0=!volumeup
1131 KEYBOARD_KEY_19=!p
1132 KEYBOARD_KEY_df=sleep
1133
1134# FID2060
1135evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMEDION*:pn*FID2060*:pvr*
1136 KEYBOARD_KEY_6b=channeldown                            # Thottle Down
1137 KEYBOARD_KEY_6d=channelup                              # Thottle Up
1138
1139# NB-A555
1140evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMEDIONNB:pnA555*:pvr*
1141 KEYBOARD_KEY_63=www                                    # N button
1142 KEYBOARD_KEY_66=prog1                                  # link 1 button
1143 KEYBOARD_KEY_67=email                                  # envelope button
1144 KEYBOARD_KEY_69=prog2                                  # link 2 button
1145
1146# Erazer
1147evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMedion*:pnErazer*:pvr*
1148 KEYBOARD_KEY_a0=!mute
1149 KEYBOARD_KEY_ae=!volumedown
1150 KEYBOARD_KEY_b0=!volumeup
1151
1152###########################################################
1153# Microsoft
1154###########################################################
1155
1156# Microsoft Natural Ergonomic Keyboard 4000
1157evdev:input:b0003v045Ep00DB*
1158 KEYBOARD_KEY_c022d=up                                  # zoomin
1159 KEYBOARD_KEY_c022e=down                                # zoomout
1160
1161# Microsoft (Razer produced) Reclusa keyboard
1162evdev:input:b0003v1532p0200*
1163 KEYBOARD_KEY_c01c9=shuffle
1164 KEYBOARD_KEY_c01ca=up                                  # zoomin
1165 KEYBOARD_KEY_c01cb=down                                # zoomout
1166
1167###########################################################
1168# Micro Star
1169###########################################################
1170
1171evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*
1172evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*
1173 KEYBOARD_KEY_a0=mute                                   # Fn+F9
1174 KEYBOARD_KEY_ae=volumedown                             # Fn+F7
1175 KEYBOARD_KEY_b0=volumeup                               # Fn+F8
1176 KEYBOARD_KEY_b2=www                                    # e button
1177 KEYBOARD_KEY_df=sleep                                  # Fn+F12
1178 KEYBOARD_KEY_e2=bluetooth                              # satellite dish2
1179 KEYBOARD_KEY_e4=f21                                    # Fn+F3 Touchpad disable
1180 KEYBOARD_KEY_ec=email                                  # envelope button
1181 KEYBOARD_KEY_ee=camera                                 # Fn+F6 camera disable
1182 KEYBOARD_KEY_f6=wlan                                   # satellite dish1
1183 KEYBOARD_KEY_f7=brightnessdown                         # Fn+F4
1184 KEYBOARD_KEY_f8=brightnessup                           # Fn+F5
1185 KEYBOARD_KEY_f9=search
1186
1187#
1188evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pnGE60*:pvr*
1189evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pnGE70*:pvr*
1190evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*:pvr*
1191 KEYBOARD_KEY_c2=ejectcd
1192
1193# some MSI models generate ACPI/input events on the LNXVIDEO input devices,
1194# plus some extra synthesized ones on atkbd as an echo of actually changing the
1195# brightness; so ignore those atkbd ones, to avoid loops
1196evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*U-100*:pvr*
1197evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*U100*:pvr*
1198evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*N033:*
1199evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*VR420*:pvr*
1200evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*PR200*:pvr*
1201 KEYBOARD_KEY_f7=reserved
1202 KEYBOARD_KEY_f8=reserved
1203
1204# MSI Wind U90/U100 generates separate touchpad on/off keycodes so ignore touchpad toggle keycode
1205evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pnU90/U100:*
1206 KEYBOARD_KEY_e4=reserved
1207
1208###########################################################
1209# MSI
1210###########################################################
1211
1212evdev:name:MSI Laptop hotkeys:dmi:bvn*:bvr*:bd*:svn*:pnM[iI][cC][rR][oO]-S[tT][aA][rR]*:pvr*
1213 KEYBOARD_KEY_0213=f22
1214 KEYBOARD_KEY_0214=f23
1215
1216###########################################################
1217# OLPC
1218###########################################################
1219
1220# XO-1 and XO-1.5
1221evdev:atkbd:dmi:bvn*:bvr*:bd*:svnOLPC:pnXO:*
1222# XO-1.75 and XO-1.4 (sp/ is the Security Processor)
1223evdev:name:AT Translated Set 2 keyboard:phys:sp/serio*/input*:ev:120013:*
1224 KEYBOARD_LED_CAPSLOCK=0
1225 KEYBOARD_LED_NUMLOCK=0
1226 KEYBOARD_KEY_59=fn
1227 KEYBOARD_KEY_81=fn_esc
1228 KEYBOARD_KEY_f9=camera
1229 KEYBOARD_KEY_f8=sound                                  # Fn+CAMERA = Mic
1230 KEYBOARD_KEY_43=brightnessdown
1231 KEYBOARD_KEY_44=brightnessup
1232 KEYBOARD_KEY_57=volumedown
1233 KEYBOARD_KEY_58=volumeup
1234 KEYBOARD_KEY_bb=f1
1235 KEYBOARD_KEY_bc=f2
1236 KEYBOARD_KEY_bd=f3
1237 KEYBOARD_KEY_be=f4
1238 KEYBOARD_KEY_bf=f5
1239 KEYBOARD_KEY_c0=f6
1240 KEYBOARD_KEY_c1=f7
1241 KEYBOARD_KEY_c2=f8
1242 KEYBOARD_KEY_c3=f9
1243 KEYBOARD_KEY_c4=f10
1244 KEYBOARD_KEY_d8=f12
1245 KEYBOARD_KEY_f7=f13
1246 KEYBOARD_KEY_f6=f14
1247 KEYBOARD_KEY_f5=f15
1248 KEYBOARD_KEY_f4=f16
1249 KEYBOARD_KEY_f3=f17
1250 KEYBOARD_KEY_f2=f18
1251 KEYBOARD_KEY_f1=f19
1252 KEYBOARD_KEY_f0=f20                                    # micmute
1253 KEYBOARD_KEY_ef=f21
1254 KEYBOARD_KEY_ee=chat
1255 KEYBOARD_KEY_e4=chat
1256 KEYBOARD_KEY_dd=menu                                   # Frame
1257 KEYBOARD_KEY_da=prog1                                  # Fn+Frame
1258 KEYBOARD_KEY_d3=delete
1259 KEYBOARD_KEY_d2=insert
1260 KEYBOARD_KEY_c9=pageup
1261 KEYBOARD_KEY_d1=pagedown
1262 KEYBOARD_KEY_c7=home
1263 KEYBOARD_KEY_cf=end
1264 KEYBOARD_KEY_73=hp
1265 KEYBOARD_KEY_7e=hp
1266 KEYBOARD_KEY_db=leftmeta                               # left grab
1267 KEYBOARD_KEY_dc=rightmeta                              # right grab
1268 KEYBOARD_KEY_85=rightmeta                              # Right grab releases on a different scancode
1269 KEYBOARD_KEY_d6=kbdillumtoggle                         # Fn+Space
1270 KEYBOARD_KEY_69=rotate_display
1271 KEYBOARD_KEY_65=btn_dpad_up
1272 KEYBOARD_KEY_66=btn_dpad_down
1273 KEYBOARD_KEY_67=btn_dpad_left
1274 KEYBOARD_KEY_68=btn_dpad_right
1275 KEYBOARD_KEY_e5=btn_north
1276 KEYBOARD_KEY_e6=btn_south
1277 KEYBOARD_KEY_e7=btn_west
1278 KEYBOARD_KEY_e8=btn_east
1279
1280###########################################################
1281# Onkyo
1282###########################################################
1283
1284evdev:atkbd:dmi:bvn*:bvr*:bd*:svnONKYO*CORPORATION:pnONKYOPC:*
1285 KEYBOARD_KEY_a0=mute                                   # Fn+D
1286 KEYBOARD_KEY_ae=volumedown                             # Fn+F
1287 KEYBOARD_KEY_b0=volumeup                               # Fn+G
1288 KEYBOARD_KEY_df=sleep                                  # Fn+W
1289 KEYBOARD_KEY_e0=bluetooth                              # Fn+H
1290 KEYBOARD_KEY_e2=cyclewindows                           # Fn+Esc
1291 KEYBOARD_KEY_ee=battery                                # Fn+Q
1292 KEYBOARD_KEY_f0=media                                  # Fn+R
1293 KEYBOARD_KEY_f5=switchvideomode                        # Fn+E
1294 KEYBOARD_KEY_f6=camera                                 # Fn+T
1295 KEYBOARD_KEY_f7=f21                                    # Fn+Y (touchpad toggle)
1296 KEYBOARD_KEY_f8=brightnessup                           # Fn+S
1297 KEYBOARD_KEY_f9=brightnessdown                         # Fn+A
1298 KEYBOARD_KEY_fb=wlan                                   # Fn+J
1299
1300###########################################################
1301# OQO
1302###########################################################
1303
1304# Model 2
1305evdev:atkbd:dmi:bvn*:bvr*:bd*:svnOQO*Inc.*:pnOQO*Model*2*:pvr*
1306 KEYBOARD_KEY_8e=wlan
1307 KEYBOARD_KEY_f0=switchvideomode
1308 KEYBOARD_KEY_f1=mute
1309 KEYBOARD_KEY_f2=volumedown
1310 KEYBOARD_KEY_f3=volumeup
1311
1312###########################################################
1313# Plantronics
1314###########################################################
1315
1316# Plantronics .Audio 626 DSP
1317evdev:input:b0003v047FpC006*
1318 KEYBOARD_KEY_b002f=f20                                # Microphone mute button; should be micmute
1319
1320###########################################################
1321# Purism
1322###########################################################
1323
1324# Purism Librem 13 V2
1325evdev:atkbd:dmi:bvn*:bvr*:bd*:svnPurism*:pn*Librem13v2*:pvr*
1326 KEYBOARD_KEY_56=backslash
1327
1328# Purism Librem 13 V3
1329evdev:atkbd:dmi:bvn*:bvr*:bd*:svnPurism*:pn*Librem13v3*:pvr*
1330 KEYBOARD_KEY_56=backslash
1331
1332# Purism Librem 13 V4
1333evdev:atkbd:dmi:bvn*:bvr*:bd*:svnPurism*:pn*Librem13v4*:pvr*
1334 KEYBOARD_KEY_56=backslash
1335
1336###########################################################
1337# Quanta
1338###########################################################
1339
1340evdev:atkbd:dmi:bvn*:bvr*:bd*:svn*:pn*:pvr*:rvnQuanta:rn30B7:rvr65.2B:*
1341 KEYBOARD_KEY_88=media                                  # "quick play
1342
1343###########################################################
1344# Samsung
1345###########################################################
1346
1347evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*
1348 KEYBOARD_KEY_74=prog1                                  # User key
1349 KEYBOARD_KEY_75=www
1350 KEYBOARD_KEY_78=mail
1351 KEYBOARD_KEY_82=!switchvideomode                       # Fn+F4 CRT/LCD (high keycode: "displaytoggle")
1352 KEYBOARD_KEY_83=!battery                               # Fn+F2
1353 KEYBOARD_KEY_84=!prog1                                 # Fn+F5 backlight on/off
1354 KEYBOARD_KEY_86=!wlan                                  # Fn+F9
1355 KEYBOARD_KEY_88=!brightnessup                          # Fn+Up
1356 KEYBOARD_KEY_89=!brightnessdown                        # Fn+Down
1357 KEYBOARD_KEY_b1=!prog2                                 # Fn+F7 run Samsung Magic Doctor (keypressed event is generated twice)
1358 KEYBOARD_KEY_b3=!prog3                                 # Fn+F8 switch power mode (battery/dynamic/performance)
1359 KEYBOARD_KEY_b4=!wlan                                  # Fn+F9 (X60P)
1360 KEYBOARD_KEY_c5=!prog3                                 # Fn+F8 switch power mode (battery/dynamic/performance)
1361 KEYBOARD_KEY_d5=!wlan                                  # Fn+F12 wlan/airplane switch
1362 KEYBOARD_KEY_f7=!f22                                   # Fn+F10 Touchpad on
1363 KEYBOARD_KEY_f9=!f23                                   # Fn+F10 Touchpad off
1364
1365# Series 3
1366evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*300E[457]*:pvr*
1367evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*200E[45]*:pvr*
1368 KEYBOARD_KEY_ce=!                                      # Fn+F1  launch control setting
1369
1370# Series 5
1371evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*530U*:pvr*
1372 KEYBOARD_KEY_ce=!prog1                                 # Fn+F1 launch settings
1373 KEYBOARD_KEY_a8=!                                      # Fn Lock - Function lock on
1374 KEYBOARD_KEY_a9=!                                      # Fn Lock - Function lock off
1375
1376evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*550P*:pvr*
1377 KEYBOARD_KEY_ce=!prog1                                 # Fn+F1 launch settings
1378 KEYBOARD_KEY_a8=!                                      # Fn Lock - Function lock on
1379 KEYBOARD_KEY_a9=!                                      # Fn Lock - Function lock off
1380
1381# Series 7 / 9
1382evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*350V*:pvr*
1383evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*670Z*:pvr*
1384evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700Z*:pvr*
1385evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700G*:pvr*
1386evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*900X[34]*:pvr*
1387evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*940X3G*:pvr*
1388 KEYBOARD_KEY_ce=!prog1                                 # Fn+F1 launch settings
1389 KEYBOARD_KEY_a0=!mute                                  # Fn+F6 mute
1390 KEYBOARD_KEY_ae=!volumedown                            # Fn+F7
1391 KEYBOARD_KEY_b0=!volumeup                              # Fn+F8
1392 KEYBOARD_KEY_97=!kbdillumdown                          # Fn+F9 keyboard backlight down
1393 KEYBOARD_KEY_96=!kbdillumup                            # Fn+F10 keyboard backlight up
1394 KEYBOARD_KEY_b3=!prog3                                 # Fn+F11 fan/cooling mode changer
1395
1396evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*900X[34][AB]*:pvr*
1397 KEYBOARD_KEY_ce=!                                      # Fn+F8 keyboard backlight up
1398 KEYBOARD_KEY_8d=!                                      # Fn+F7 keyboard backlight down
1399 KEYBOARD_KEY_96=!                                      # Fn+F1 performance mode (?)
1400 KEYBOARD_KEY_97=!                                      # Fn+F12 Wi-Fi toggle
1401 KEYBOARD_KEY_d5=!                                      # Fn+F6 battery life extender
1402
1403evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*90X3A*:pvr*
1404 KEYBOARD_KEY_ce=!prog1                                 # Fn+F1 launch settings
1405 KEYBOARD_KEY_8d=!prog3                                 # Fn+F6 performance mode
1406 KEYBOARD_KEY_97=!kbdillumdown                          # Fn+F7 keyboard backlight down
1407 KEYBOARD_KEY_96=!kbdillumup                            # Fn+F8 keyboard backlight up
1408 KEYBOARD_KEY_d5=!wlan                                  # Fn+F12 Wi-Fi toggle
1409
1410# Series 7 Ultra
1411evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*7[34]0U3E*:pvr*
1412 KEYBOARD_KEY_ce=!prog1                                 # Fn+F1 launch settings
1413 KEYBOARD_KEY_97=!kbdillumdown                          # Fn+F9 keyboard backlight down
1414 KEYBOARD_KEY_96=!kbdillumup                            # Fn+F10 keyboard backlight up
1415 KEYBOARD_KEY_b3=!prog3                                 # Fn+F11 fan/cooling mode changer
1416 KEYBOARD_KEY_d5=!wlan                                  # Fn+F12 wlan/airplane switch
1417
1418# ATIV Book 6 / 8
1419evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*[68][78]0Z*:pvr*
1420 KEYBOARD_KEY_ce=!prog1                                 # Fn+F1 launch settings
1421 KEYBOARD_KEY_96=!kbdillumup                            # Fn+F10 keyboard backlight up
1422 KEYBOARD_KEY_97=!kbdillumdown                          # Fn+F9 keyboard backlight down
1423
1424# SQ1US
1425evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pnSQ1US:pvr*
1426 KEYBOARD_KEY_d4=menu
1427 KEYBOARD_KEY_d8=f1
1428 KEYBOARD_KEY_d9=f10
1429 KEYBOARD_KEY_d6=f3
1430 KEYBOARD_KEY_d7=f9
1431 KEYBOARD_KEY_e4=f5
1432 KEYBOARD_KEY_ee=f11
1433
1434# SX20S
1435evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*SX20S*:pvr*
1436 KEYBOARD_KEY_74=mute
1437 KEYBOARD_KEY_75=mute
1438 KEYBOARD_KEY_77=f22                                    # Touchpad on
1439 KEYBOARD_KEY_79=f23                                    # Touchpad off
1440
1441evdev:atkbd:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700T*:pvr*
1442 KEYBOARD_KEY_ad=leftmeta
1443
1444###########################################################
1445# SONY
1446###########################################################
1447
1448# sony-laptop driver
1449evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*
1450 KEYBOARD_KEY_06=mute                                   # Fn+F2
1451 KEYBOARD_KEY_07=volumedown                             # Fn+F3
1452 KEYBOARD_KEY_08=volumeup                               # Fn+F4
1453 KEYBOARD_KEY_09=brightnessdown                         # Fn+F5
1454 KEYBOARD_KEY_0a=brightnessup                           # Fn+F6
1455 KEYBOARD_KEY_0b=switchvideomode                        # Fn+F7
1456 KEYBOARD_KEY_0e=zoom                                   # Fn+F10
1457 KEYBOARD_KEY_10=suspend                                # Fn+F12
1458
1459evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-C1*:pvr*
1460evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-K25*:pvr*
1461evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-F[1-6]*:pvr*
1462evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-FX*:pvr*
1463evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-FRV*:pvr*
1464evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-GR*:pvr*
1465evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-TR*:pvr*
1466evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-NV*:pvr*
1467evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-Z*:pvr*
1468evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*VGN-S360*:pvr*
1469 KEYBOARD_KEY_06=battery
1470 KEYBOARD_KEY_07=mute
1471
1472evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVGN-AR71*:pvr*
1473evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVGN-FW*:pvr*
1474evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVGN-Z21*:pvr*
1475 KEYBOARD_KEY_00=brightnessdown                         # Fn+F5
1476 KEYBOARD_KEY_10=brightnessup                           # Fn+F6
1477 KEYBOARD_KEY_11=switchvideomode                        # Fn+F7
1478 KEYBOARD_KEY_12=down                                   # zoomout
1479 KEYBOARD_KEY_14=up                                     # zoomin
1480 KEYBOARD_KEY_15=suspend                                # Fn+F12
1481 KEYBOARD_KEY_17=prog1
1482 KEYBOARD_KEY_20=media
1483
1484evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVGN-FW250*:pvr*
1485 KEYBOARD_KEY_10=suspend                                # Fn+F12
1486
1487evdev:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVPC*:pvr*
1488 KEYBOARD_KEY_05=f21                                    # Fn+F1 -> KEY_F21 (The actual touchpad toggle)
1489 KEYBOARD_KEY_0d=down                                   # Fn+F9 zoomout
1490 KEYBOARD_KEY_0e=up                                     # Fn+F10 zoomin
1491
1492###########################################################
1493# System76
1494###########################################################
1495
1496evdev:atkbd:dmi:bvn*:bvr*:bd*:svnSystem76*:pn*
1497 KEYBOARD_KEY_f7=f21                                    # Touchpad toggle
1498 KEYBOARD_KEY_f8=f21                                    # Touchpad toggle
1499
1500###########################################################
1501# T-bao
1502###########################################################
1503
1504evdev:atkbd:dmi:bvn*:bvr*:bd*:svnT-bao:pnTbookair:pvr*
1505 KEYBOARD_KEY_76=f21                                    # Touchpad toggle
1506
1507###########################################################
1508# Toshiba
1509###########################################################
1510
1511# Satellite A100
1512evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSATELLITE*A100:pvr*
1513 KEYBOARD_KEY_a4=stopcd
1514 KEYBOARD_KEY_b2=www
1515
1516# Satellite A110
1517evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*A110:pvr*
1518 KEYBOARD_KEY_92=stop
1519 KEYBOARD_KEY_93=www
1520 KEYBOARD_KEY_94=media
1521 KEYBOARD_KEY_9e=f22                                    # Touchpad on
1522 KEYBOARD_KEY_9f=f23                                    # Touchpad off
1523 KEYBOARD_KEY_b9=nextsong
1524 KEYBOARD_KEY_d9=brightnessup
1525 KEYBOARD_KEY_ee=screenlock
1526 KEYBOARD_KEY_f4=previoussong
1527 KEYBOARD_KEY_f7=playpause
1528
1529# Satellite M30X
1530evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*M30X:pvr*
1531 KEYBOARD_KEY_ef=brightnessdown
1532 KEYBOARD_KEY_d9=brightnessup
1533 KEYBOARD_KEY_ee=screenlock
1534 KEYBOARD_KEY_93=media
1535 KEYBOARD_KEY_9e=f22                                    # touchpad enable
1536 KEYBOARD_KEY_9f=f23                                    # touchpad disable
1537
1538# Satellite P75-A
1539evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*P75-A:pvr*
1540 KEYBOARD_KEY_ef=brightnessdown
1541 KEYBOARD_KEY_ee=brightnessup
1542 KEYBOARD_KEY_a9=switchvideomode                        # switch display outputs
1543 KEYBOARD_KEY_d4=wlan                                   # RF Switch Off
1544
1545# Satellite U940
1546evdev:name:Toshiba*input*device:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSATELLITEU940:pvr*
1547 KEYBOARD_KEY_13c=brightnessdown
1548 KEYBOARD_KEY_13d=brightnessup
1549 KEYBOARD_KEY_13e=switchvideomode
1550 KEYBOARD_KEY_13f=f21                                   # Touchpad toggle
1551
1552# Satellite P75-A7200
1553evdev:name:Toshiba*input*device:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*P75-A:pvr*
1554 KEYBOARD_KEY_13c=brightnessdown
1555 KEYBOARD_KEY_13d=brightnessup
1556 KEYBOARD_KEY_13e=switchvideomode
1557 KEYBOARD_KEY_13f=f21                                   # Touchpad toggle
1558 KEYBOARD_KEY_9e=wlan
1559
1560###########################################################
1561# VIA
1562###########################################################
1563
1564evdev:atkbd:dmi:bvn*:bvr*:bd*:svnVIA:pnK8N800:pvr*
1565 KEYBOARD_KEY_81=prog1
1566
1567###########################################################
1568# VIOS
1569###########################################################
1570
1571evdev:name:SIPODEV USB Composite Device:dmi:bvn*:bvr*:bd*:svnVIOS:pnLTH17:pvr*
1572 KEYBOARD_KEY_70073=f21                                 # Touchpad toggle
1573
1574###########################################################
1575# Zepto
1576###########################################################
1577
1578# Znote
1579evdev:atkbd:dmi:bvn*:bvr*:bd*:svnZepto:pnZnote:*
1580 KEYBOARD_KEY_93=switchvideomode                        # Fn+F3 Toggle Video Output
1581 KEYBOARD_KEY_95=brightnessdown                         # Fn+F4 Brightness Down
1582 KEYBOARD_KEY_91=brightnessup                           # Fn+F5 Brightness Up
1583 KEYBOARD_KEY_a5=f23                                    # Fn+F6 Disable Touchpad
1584 KEYBOARD_KEY_a6=f22                                    # Fn+F6 Enable Touchpad
1585 KEYBOARD_KEY_a7=bluetooth                              # Fn+F10 Enable Bluetooth
1586 KEYBOARD_KEY_a9=bluetooth                              # Fn+F10 Disable Bluetooth
1587 KEYBOARD_KEY_f1=wlan                                   # RF Switch Off
1588 KEYBOARD_KEY_f2=wlan                                   # RF Switch On
1589 KEYBOARD_KEY_f4=prog1                                  # P1 Button
1590 KEYBOARD_KEY_f3=prog2                                  # P2 Button
1591 KEYBOARD_KEY_a0=!                                      # mute
1592 KEYBOARD_KEY_ae=!                                      # volume down
1593 KEYBOARD_KEY_b0=!                                      # volume up
1594
1595# Znote 6615WD
1596evdev:atkbd:dmi:bvn*:bvr*:bd*:svnZepto:pnZnote*6615WD:*
1597 KEYBOARD_KEY_a0=!                                      # mute
1598 KEYBOARD_KEY_ae=!                                      # volume down
1599 KEYBOARD_KEY_b0=!                                      # volume up
1600
1601##########################################
1602# Ideazon
1603##########################################
1604
1605# Ideazon Zboard Merc
1606evdev:input:b0003v1038p0210*
1607 KEYBOARD_KEY_c0227=q
1608 KEYBOARD_KEY_c0223=w
1609 KEYBOARD_KEY_c0221=e
1610 KEYBOARD_KEY_c0224=a
1611 KEYBOARD_KEY_c0226=s
1612 KEYBOARD_KEY_c0225=d
1613 KEYBOARD_KEY_c0192=tab
1614 KEYBOARD_KEY_c018a=leftalt
1615 KEYBOARD_KEY_c022a=r
1616 KEYBOARD_KEY_c0183=f10
1617 KEYBOARD_KEY_70059=1
1618 KEYBOARD_KEY_7005a=2
1619 KEYBOARD_KEY_7005b=3
1620 KEYBOARD_KEY_7005c=4
1621 KEYBOARD_KEY_7005d=5
1622 KEYBOARD_KEY_7005e=6
1623 KEYBOARD_KEY_7005f=7
1624 KEYBOARD_KEY_70060=8
1625 KEYBOARD_KEY_70061=9
1626 KEYBOARD_KEY_70062=0
1627 KEYBOARD_KEY_70057=equal
1628 KEYBOARD_KEY_70077=capslock
1629 KEYBOARD_KEY_70054=leftshift
1630 KEYBOARD_KEY_70063=leftctrl
1631 KEYBOARD_KEY_7006b=t
1632 KEYBOARD_KEY_70067=f
1633 KEYBOARD_KEY_7006c=g
1634 KEYBOARD_KEY_7006d=v
1635 KEYBOARD_KEY_7006e=b
1636 KEYBOARD_KEY_70074=p
1637 KEYBOARD_KEY_7006f=c
1638 KEYBOARD_KEY_70055=space
1639 KEYBOARD_KEY_70076=f9
1640 KEYBOARD_KEY_70046=f11
1641 KEYBOARD_KEY_70079=f6
1642
1643# Ideazon Zboard Fang
1644evdev:input:b0003v1038p0310*
1645 KEYBOARD_KEY_70059=1
1646 KEYBOARD_KEY_7005b=3
1647 KEYBOARD_KEY_70040=equal
1648 KEYBOARD_KEY_70042=l
1649 KEYBOARD_KEY_7002b=tab
1650 KEYBOARD_KEY_7005e=capslock
1651 KEYBOARD_KEY_700e2=leftalt
1652 KEYBOARD_KEY_700e1=leftshift
1653 KEYBOARD_KEY_700e0=leftctrl
1654 KEYBOARD_KEY_70038=z
1655 KEYBOARD_KEY_7003e=t
1656 KEYBOARD_KEY_70015=r
1657 KEYBOARD_KEY_70010=g
1658 KEYBOARD_KEY_70050=n
1659 KEYBOARD_KEY_70030=f9
1660 KEYBOARD_KEY_7002f=f11
1661 KEYBOARD_KEY_70046=f6
1662
1663###########################################################
1664# Other
1665###########################################################
1666
1667# Common Volume Keys
1668evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFUJITSU*SIEMENS:pnAMILO*:pvr*
1669evdev:atkbd:dmi:bvn*:bvr*:bd*:svnFOXCONN:pnQBOOK:*
1670evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMTC:pn*:pvrA0:*
1671evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMio*Technology:pnN890:*
1672evdev:atkbd:dmi:bvn*:bvr*:bd*:svnPEGATRON*CORP.:pnSpring*Peak:*
1673evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA:pnSatellite*[uU][35]0[05]*:pvr*
1674evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA:pnSATELLITE*[uU][35]0[05]*:pvr*
1675evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA:pnSatellite*Pro*[uU]300*:pvr*
1676evdev:atkbd:dmi:bvn*:bvr*:bd*:svnTOSHIBA:pnEQUIUM [uU][35]0[05]*:pvr*
1677evdev:atkbd:dmi:bvn*:bvr*:bd*:svnViooo*Corporation:pnPT17:*
1678evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHANNspree:pnSN10E100:*
1679evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGIGABYTE:pni1520M:*
1680evdev:atkbd:dmi:bvn*:bvr*:bd*:svnBenQ:pn*nScreen*:pvr*
1681evdev:atkbd:dmi:bvn*:bvr*:bd*:svnBenQ:pnJoybook*Lite*:pvr*
1682evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDIXONSP:pnDIXON*:pvr*
1683 KEYBOARD_KEY_a0=!                                      # mute
1684 KEYBOARD_KEY_ae=!                                      # volume down
1685 KEYBOARD_KEY_b0=!                                      # volume up
1686
1687######################### FIXED LAYOUT DEVICES #############################
1688# This section lists devices for which only one keyboard layout is possible
1689# or useful such as devices which "type" expecting the user's keymap to match
1690# a particular one. For example, barcode readers and OTP keys.
1691#
1692# The layout must be an xkb compatible layout (defined with XKB_FIXED_LAYOUT),
1693# with an accompanying variant (defined with XKB_FIXED_VARIANT) if necessary.
1694
1695# Yubico Yubico Yubikey II"
1696evdev:input:b0003v1050p0010*
1697# Yubico Yubikey NEO OTP+CCID
1698evdev:input:b0003v1050p0111*
1699# Yubico Yubikey NEO OTP+U2F+CCID
1700evdev:input:b0003v1050p0116*
1701# OKE Electron Company USB barcode reader
1702evdev:input:b0003v05FEp1010*
1703 XKB_FIXED_LAYOUT="us"
1704 XKB_FIXED_VARIANT=""
1705
1706######################### LACK OF MODIFIER LEDS ############################
1707# This section lists keyboard which do not have their own LEDs for some
1708# modifiers. Only Caps-Lock (KEYBOARD_LED_CAPSLOCK) and Num-Lock
1709# (KEYBOARD_LED_CAPSLOCK) are currently handled and need their values set
1710# to "0" to indicate the absence of LED.
1711#
1712# Presence of a LED is implicit when the property is absent.
1713
1714# Logitech K750
1715evdev:input:b0003v046Dp4002*
1716 KEYBOARD_LED_NUMLOCK=0
1717 KEYBOARD_LED_CAPSLOCK=0
1718
1719# PFU Limited HHKB Professional JP
1720evdev:input:b0003v04FEp000D*
1721 KEYBOARD_LED_NUMLOCK=0
1722 KEYBOARD_LED_CAPSLOCK=0
1723
1724# Lenovo ThinkPad T430s
1725evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT430s
1726 KEYBOARD_LED_CAPSLOCK=0
1727
1728# Lenovo ThinkPad T440s
1729evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT440s
1730 KEYBOARD_LED_CAPSLOCK=0
1731
1732# Lenovo ThinkPad T450s
1733evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT450s
1734 KEYBOARD_LED_CAPSLOCK=0
1735
1736# Lenovo ThinkPad T560s
1737evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT560s
1738 KEYBOARD_LED_CAPSLOCK=0
1739 KEYBOARD_LED_NUMLOCK=0
1740
1741# Lenovo ThinkPad X1 Carbon 3rd Gen
1742evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX1Carbon3rd
1743 KEYBOARD_LED_CAPSLOCK=0
1744