chiark / gitweb /
sd-login: let's not needlessly yell at users
[elogind.git] / hwdb / 60-keyboard.hwdb
1 # This file is part of systemd.
2 #
3 # Keyboard mapping of scan codes to key codes, and
4 # scan codes to add to the AT keyboard's 'force-release' list.
5 #
6 # The lookup keys are composed in:
7 #   60-keyboard.rules
8 #
9 # Note: The format of the "keyboard:" prefix match key is a
10 # contract between the rules file and the hardware data, it might
11 # change in later revisions to support more or better matches, it
12 # is not necessarily expected to be a stable ABI.
13 #
14 # Supported hardware matches are:
15 #  - USB keyboards identified by the usb kernel modalias:
16 #      keyboard:usb:vXXXXpYYYY*
17 #    XXXX is the 4-digit hex uppercase vendor, and YYYY
18 #    the 4-digit hex uppercase product.
19 #
20 #  - AT keyboard DMI data matches:
21 #      keyboard:dmi:bvn*:bvr*:bd*:svn<vendor>:pn<product>:pvr*
22 #    <vendor> and <product> are the firmware-provided strings
23 #    exported by the kernel DMI modalias.
24 #
25 #  - Platform driver device name and DMI data match:
26 #      keyboard:name:<input device name>:dmi:bvn*:bvr*:bd*:svn<vendor>:pn*
27 #    <input device name> is the name device specified by the
28 #    driver, <vendor> is the firmware-provided string exported
29 #    by the kernel DMI modalias.
30 #
31 # Scan codes are specified as:
32 #   KEYBOARD_KEY_<hex scan code>=<key code identifier>
33 # The scan code should be expressed in hex lowercase. The key codes
34 # are retrieved and normalized from the kernel input API header.
35 #
36 # An '!' as the first character of the key identifier string
37 # will add the scan code to the AT keyboard's list of scan codes
38 # where the driver will synthesize a release event and not expect
39 # it to be generated by the hardware.
40 #
41 # To debug key presses and access scan code mapping data of
42 # an input device use the commonly available tool: evtest(1).
43 #
44 # To update this file, create a new file
45 #   /etc/udev/hwdb.d/70-keyboad.hwdb
46 # and add your rules there. To load the new rules execute (as root):
47 #   udevadm hwdb --update
48 #   udevadm trigger /dev/input/eventXX
49 # where /dev/input/eventXX is the keyboard in question. If in
50 # doubt, simply use /dev/input/event* to reload all input rules.
51 #
52 # If your changes are generally applicable, open a bug report on
53 #   http://bugs.freedesktop.org/enter_bug.cgi?product=systemd
54 # and include your new rules, a description of the device, and the
55 # output of
56 #   udevadm info /dev/input/eventXX
57 # (or /dev/input/event*).
58
59 ##########################################
60 # Acer
61 ##########################################
62
63 # common keys
64 keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pn*
65 keyboard:dmi:bvn*:bvr*:bd*:svnGateway*:pnA0A1*:pvr*
66 keyboard:dmi:bvn*:bvr*:bd*:svneMachines:pneMachines*E725:pvr*
67  KEYBOARD_KEY_a5=help                                   # Fn+F1
68  KEYBOARD_KEY_a6=setup                                  # Fn+F2 Acer eSettings
69  KEYBOARD_KEY_a7=battery                                # Fn+F3 Power Management
70  KEYBOARD_KEY_a9=switchvideomode                        # Fn+F5
71  KEYBOARD_KEY_b2=www
72  KEYBOARD_KEY_b3=euro
73  KEYBOARD_KEY_b4=dollar
74  KEYBOARD_KEY_ce=brightnessup                           # Fn+Right
75  KEYBOARD_KEY_d4=bluetooth                              # (toggle) off-to-on
76  KEYBOARD_KEY_d5=wlan                                   # (toggle) on-to-off
77  KEYBOARD_KEY_d6=wlan                                   # (toggle) off-to-on
78  KEYBOARD_KEY_d7=bluetooth                              # (toggle) on-to-off
79  KEYBOARD_KEY_d8=bluetooth                              # (toggle) off-to-on
80  KEYBOARD_KEY_d9=brightnessup                           # Fn+Right
81  KEYBOARD_KEY_ee=brightnessup                           # Fn+Right
82  KEYBOARD_KEY_ef=brightnessdown                         # Fn+Left
83  KEYBOARD_KEY_f1=f22                                    # Fn+F7 Touchpad toggle (off-to-on)
84  KEYBOARD_KEY_f2=f23                                    # Fn+F7 Touchpad toggle (on-to-off)
85  KEYBOARD_KEY_f3=prog2                                  # "P2" programmable button
86  KEYBOARD_KEY_f4=prog1                                  # "P1" programmable button
87  KEYBOARD_KEY_f5=presentation
88  KEYBOARD_KEY_f8=fn
89  KEYBOARD_KEY_f9=prog1                                  # Launch NTI shadow
90
91 # Acer platform kernel driver
92 keyboard:name:Acer WMI hotkeys:dmi:bvn*:bvr*:bd*:svn*:pnAcer*:pvr*
93  KEYBOARD_KEY_82=f21                                    # Touchpad toggle
94
95 # Aspire models
96 keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*:pvr*
97  KEYBOARD_KEY_84=bluetooth                              # sent when bluetooth module missing, and key pressed
98  KEYBOARD_KEY_d9=bluetooth                              # Bluetooth off
99  KEYBOARD_KEY_92=media                                  # Acer arcade
100
101 keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*5720*:pvr*
102 keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnZG8*:pvr*
103  KEYBOARD_KEY_f4=prog3                                  # e-key
104
105 keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*5920G:*
106  KEYBOARD_KEY_8a=media
107  KEYBOARD_KEY_a6=setup
108
109 keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*6920:*
110 keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*8930:*
111  KEYBOARD_KEY_ca=prog3                                  # key 'HOLD' on CineDash Media Console
112  KEYBOARD_KEY_83=rewind
113  KEYBOARD_KEY_89=fastforward
114  KEYBOARD_KEY_9e=back
115
116 # Travelmate C300
117 keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*C3[01]0*:pvr*
118  KEYBOARD_KEY_67=f24                                    # FIXME: rotate screen
119  KEYBOARD_KEY_68=up
120  KEYBOARD_KEY_69=down
121  KEYBOARD_KEY_6b=fn
122  KEYBOARD_KEY_6c=screenlock                             # FIXME: lock tablet device/buttons
123
124 # on some models this isn't brightnessup
125 keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pn*5210*:pvr*
126 keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pn*5220*:pvr*
127 keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pn*5610*:pvr*
128 keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pn*5620*:pvr*
129 keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pn*5720*:pvr*
130 keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*4720*:pvr*
131 keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*6593:*
132 keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*1640:*
133  KEYBOARD_KEY_ee=screenlock
134
135 keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnAOA*:pvr*
136  KEYBOARD_KEY_a9=!switchvideomode                       # Fn+F5
137
138 ###########################################################
139 # Alienware
140 ###########################################################
141
142 keyboard:dmi:bvn*:bvr*:bd*:svnAlienware*:pn*
143  KEYBOARD_KEY_8a=ejectcd
144
145 ###########################################################
146 # Asus
147 ###########################################################
148
149 keyboard:dmi:bvn*:bvr*:bd*:svnASUS:pn*
150  KEYBOARD_KEY_ed=volumeup
151  KEYBOARD_KEY_ee=volumedown
152  KEYBOARD_KEY_ef=mute
153
154 keyboard:name:Asus WMI hotkeys:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:pvr*
155 keyboard:name:Eee PC WMI hotkeys:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:pvr*
156 keyboard:name:Asus Laptop extra buttons:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:pvr*
157  KEYBOARD_KEY_6b=f21                                    # Touchpad Toggle
158
159 ###########################################################
160 # BenQ
161 ###########################################################
162
163 keyboard:dmi:bvn*:bvr*:bd*:svn*BenQ*:pn*Joybook*R22*:pvr*
164  KEYBOARD_KEY_6e=wlan
165
166 ###########################################################
167 # Compal
168 ###########################################################
169
170 keyboard:dmi:bvn*:bvr*:bd*:svnCOMPAL:pnHEL80I:*
171  KEYBOARD_KEY_84=wlan
172
173 ###########################################################
174 # COMPAQ
175 ###########################################################
176
177 keyboard:dmi:bvn*:bvr*:bd*:svnCompaq*:pn*E500*:pvr*
178 keyboard:dmi:bvn*:bvr*:bd*:svnCompaq*:pn*Evo*N*:pvr*
179  KEYBOARD_KEY_a3=www                                    # I key
180  KEYBOARD_KEY_9a=search
181  KEYBOARD_KEY_9e=email
182  KEYBOARD_KEY_9f=homepage
183
184 keyboard:usb:v049Fp0051d*dc*dsc*dp*ic*isc*ip*in01*
185  KEYBOARD_KEY_0c0011=presentation
186  KEYBOARD_KEY_0c0012=addressbook
187  KEYBOARD_KEY_0c0013=info
188  KEYBOARD_KEY_0c0014=prog1
189  KEYBOARD_KEY_0c0015=messenger
190
191 ###########################################################
192 # Dell
193 ###########################################################
194
195 keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pn*
196  KEYBOARD_KEY_81=playpause                              # Play/Pause
197  KEYBOARD_KEY_82=stopcd                                 # Stop
198  KEYBOARD_KEY_83=previoussong                           # Previous song
199  KEYBOARD_KEY_84=nextsong                               # Next song
200  KEYBOARD_KEY_85=brightnessdown                         # Fn+Down Brightness Down
201  KEYBOARD_KEY_86=brightnessup                           # Fn+Up Brightness Up
202  KEYBOARD_KEY_87=battery                                # Fn+F3 battery icon
203  KEYBOARD_KEY_88=unknown                                # Fn+F2 Turn On/Off Wireless - handled in hardware
204  KEYBOARD_KEY_89=ejectclosecd                           # Fn+F10 Eject CD
205  KEYBOARD_KEY_8a=suspend                                # Fn+F1 hibernate
206  KEYBOARD_KEY_8b=switchvideomode                        # Fn+F8 CRT/LCD (high keycode: "displaytoggle")
207  KEYBOARD_KEY_8c=unknown                                # Fn+Right Auto Brightness
208  KEYBOARD_KEY_8F=switchvideomode                        # Fn+F7 aspect ratio
209  KEYBOARD_KEY_90=previoussong                           # Front panel previous song
210  KEYBOARD_KEY_91=prog1                                  # Wi-Fi Catcher (Dell-specific)
211  KEYBOARD_KEY_92=media                                  # MediaDirect button (house icon)
212  KEYBOARD_KEY_93=unknown                                # FIXME Fn+Left Auto Brightness
213  KEYBOARD_KEY_95=camera                                 # Shutter button - Takes a picture if optional camera available
214  KEYBOARD_KEY_97=email                                  # Tablet email button
215  KEYBOARD_KEY_98=f21                                    # FIXME: Tablet screen rotation
216  KEYBOARD_KEY_99=nextsong                               # Front panel next song
217  KEYBOARD_KEY_9a=setup                                  # Tablet tools button
218  KEYBOARD_KEY_9b=switchvideomode                        # Display toggle button
219  KEYBOARD_KEY_9e=f21                                    # Touchpad toggle
220  KEYBOARD_KEY_a2=playpause                              # Front panel play/pause
221  KEYBOARD_KEY_a4=stopcd                                 # Front panel stop
222  KEYBOARD_KEY_ed=media                                  # MediaDirect button
223  KEYBOARD_KEY_d8=screenlock                             # FIXME: Tablet lock button
224  KEYBOARD_KEY_d9=f21                                    # Touchpad toggle
225
226 #
227 keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*910:pvr*
228 keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*101[012]:pvr*
229 keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*1110:pvr*
230 keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*1210:pvr*
231  KEYBOARD_KEY_84=wlan
232
233 # Latitude XT2
234 keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*XT2:pvr*
235  KEYBOARD_KEY_9b=up                                     # tablet rocker up
236  KEYBOARD_KEY_9e=enter                                  # tablet rocker press
237  KEYBOARD_KEY_9f=back                                   # tablet back
238  KEYBOARD_KEY_a3=down                                   # tablet rocker down
239
240 keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pnStudio*155[78]:pvr*
241  KEYBOARD_KEY_a0=!                                      # mute
242  KEYBOARD_KEY_ae=!                                      # volume down
243  KEYBOARD_KEY_b0=!                                      # volume up
244
245 # Dell Touchpad
246 keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*:pvr*
247 keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pnPrecision*:pvr*
248  KEYBOARD_KEY_9e=!f21
249
250 # Dell XPS
251 keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pnXPS*:pvr*
252  KEYBOARD_KEY_8c=!unknown
253
254 # Dell XPS12 9Q33
255 keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pnXPS12-9Q33*:pvr*
256  KEYBOARD_KEY_88=wlan
257  KEYBOARD_KEY_65=switchvideomode                        # Screen Rotate
258
259 # Dell Latitude microphone mute
260 keyboard:name:Dell WMI hotkeys:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*
261  KEYBOARD_KEY_150=f20                                   # Mic mute toggle, should be micmute
262
263 ###########################################################
264 # Everex
265 ###########################################################
266
267 keyboard:dmi:bvn*:bvr*:bd*:svnEverex:pnXT5000*:pvr*
268  KEYBOARD_KEY_5c=media
269  KEYBOARD_KEY_65=f21                                    # Fn+F5 Touchpad toggle
270  KEYBOARD_KEY_67=prog3                                  # Fan speed control button
271  KEYBOARD_KEY_6f=brightnessup
272  KEYBOARD_KEY_7f=brightnessdown
273  KEYBOARD_KEY_b2=www
274  KEYBOARD_KEY_ec=mail
275
276 ##########################################
277 # Fujitsu
278 ##########################################
279
280 keyboard:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pnAMILO*M*:pvr*
281  KEYBOARD_KEY_97=prog2
282  KEYBOARD_KEY_9f=prog1
283
284 keyboard:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pnAmilo*Li*1718:*
285  KEYBOARD_KEY_d6=wlan
286
287 # Amilo Li 2732
288 keyboard:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pnAMILO*Li*2732:*
289  KEYBOARD_KEY_d9=brightnessdown                         # Fn+F8 brightness down
290  KEYBOARD_KEY_ef=brightnessup                           # Fn+F9 brightness up
291  KEYBOARD_KEY_a9=switchvideomode                        # Fn+F10 Cycle between available video outputs
292
293 # Amilo Pa 2548
294 keyboard:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*AMILO*Pa*2548*:pvr*
295  KEYBOARD_KEY_e0=volumedown
296  KEYBOARD_KEY_e1=volumeup
297  KEYBOARD_KEY_e5=prog1
298
299 # Amilo Pro Edition V3505
300 keyboard:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*AMILO*Pro*Edition*V3505*:pvr*
301  KEYBOARD_KEY_a5=help                                   # Fn+F1
302  KEYBOARD_KEY_a9=switchvideomode                        # Fn+F3
303  KEYBOARD_KEY_d9=brightnessdown                         # Fn+F8
304  KEYBOARD_KEY_e0=brightnessup                           # Fn+F9
305
306 # Amilo Pro v3205
307 keyboard:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*AMILO*Pro*V3205*:pvr*
308  KEYBOARD_KEY_f4=f21                                    # FIXME: silent-mode decrease CPU/GPU clock
309  KEYBOARD_KEY_f7=switchvideomode                        # Fn+F3
310
311 # Amilo Si 1520
312 keyboard:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*Amilo*Si*1520*:pvr*
313  KEYBOARD_KEY_e1=wlan
314  KEYBOARD_KEY_f3=wlan
315  KEYBOARD_KEY_ee=brightnessdown
316  KEYBOARD_KEY_e0=brightnessup
317  KEYBOARD_KEY_e2=bluetooth
318  KEYBOARD_KEY_f7=video
319
320 # Esprimo Mobile V5
321 keyboard:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*ESPRIMO*Mobile*V5*:pvr*
322  KEYBOARD_KEY_a9=switchvideomode
323  KEYBOARD_KEY_d9=brightnessdown
324  KEYBOARD_KEY_df=sleep
325  KEYBOARD_KEY_ef=brightnessup
326
327 # Esprimo Mobile V6
328 keyboard:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*ESPRIMO*Mobile*V6*:pvr*
329  KEYBOARD_KEY_ce=brightnessup
330  KEYBOARD_KEY_ef=brightnessdown
331
332 ###########################################################
333 # GIGABYTE
334 ###########################################################
335
336 keyboard:dmi:bvn*:bvr*:bd*:svnGIGABYTE:pnU2442:*
337  KEYBOARD_KEY_a0=!                                      # mute
338
339 ###########################################################
340 # Genius
341 ###########################################################
342
343 # Slimstar 320
344 keyboard:usb:v0458p0708d*dc*dsc*dp*ic*isc*ip*in01*
345  KEYBOARD_KEY_0900f0=scrollup
346  KEYBOARD_KEY_0900f1=scrolldown
347  KEYBOARD_KEY_0900f3=back
348  KEYBOARD_KEY_0900f2=forward
349  KEYBOARD_KEY_0900f5=wordprocessor
350  KEYBOARD_KEY_0900f6=spreadsheet
351  KEYBOARD_KEY_0900f4=presentation
352  KEYBOARD_KEY_0c0223=www
353  KEYBOARD_KEY_0900f7=chat
354  KEYBOARD_KEY_0900fb=prog1
355  KEYBOARD_KEY_0900f8=close
356  KEYBOARD_KEY_0900f9=graphicseditor
357  KEYBOARD_KEY_0900fd=scale
358  KEYBOARD_KEY_0900fc=screenlock
359
360 ###########################################################
361 # Hewlett Packard
362 ###########################################################
363
364 keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*:pvr*
365  KEYBOARD_KEY_81=fn_esc
366  KEYBOARD_KEY_89=battery                                # Fn+F8
367  KEYBOARD_KEY_8a=screenlock                             # Fn+F6
368  KEYBOARD_KEY_8b=camera
369  KEYBOARD_KEY_8c=media                                  # music
370  KEYBOARD_KEY_8e=dvd
371  KEYBOARD_KEY_b1=help
372  KEYBOARD_KEY_b3=unknown                                # FIXME: Auto brightness
373  KEYBOARD_KEY_d7=wlan
374  KEYBOARD_KEY_92=brightnessdown                         # Fn+F7 (Fn+F9 on 6730b)
375  KEYBOARD_KEY_97=brightnessup                           # Fn+F8 (Fn+F10 on 6730b)
376  KEYBOARD_KEY_ee=switchvideomode                        # Fn+F4
377
378 # Tablet
379 keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*[tT][aA][bB][lL][eE][tT]*:pvr*
380  KEYBOARD_KEY_82=prog2                                  # Funny Key
381  KEYBOARD_KEY_83=prog1                                  # Q
382  KEYBOARD_KEY_84=tab
383  KEYBOARD_KEY_85=esc
384  KEYBOARD_KEY_86=pageup
385  KEYBOARD_KEY_87=pagedown
386
387 # Pavilion
388 keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*[pP][aA][vV][iI][lL][iI][oO][nN]*:pvr*
389  KEYBOARD_KEY_88=media                                  # FIXME: quick play
390  KEYBOARD_KEY_b7=print
391  KEYBOARD_KEY_d8=!f23                                   # touchpad off
392  KEYBOARD_KEY_d9=!f22                                   # touchpad on
393
394 keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*Pavilion*dv7*Notebook*PC:pvr*
395  KEYBOARD_KEY_b7=print
396  KEYBOARD_KEY_c2=media                                  # FIXME: quick play
397  KEYBOARD_KEY_c6=break
398  KEYBOARD_KEY_94=reserved
399
400 # Elitebook
401 keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*Compaq*:pvr*
402 keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*EliteBook*:pvr*
403 keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*2230s*:pvr*
404  KEYBOARD_KEY_88=presentation
405  KEYBOARD_KEY_d9=help                                   # I key (high keycode: "info")
406
407 # Presario
408 keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*Presario*CQ*:pvr*
409  KEYBOARD_KEY_d8=f21
410  KEYBOARD_KEY_d9=f21
411
412 # 2510p 2530p
413 keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*2510p*:pvr*
414 keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*2530p*:pvr*
415 keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*G60*Notebook*PC:pvr*
416  KEYBOARD_KEY_d8=!f23                                   # touchpad off
417  KEYBOARD_KEY_d9=!f22                                   # touchpad on
418
419 # 2570p
420 keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*2570p*:pvr*
421  KEYBOARD_KEY_f8=wlan                                   # Wireless HW switch button
422
423 # TX2
424 keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*[tT][xX]2*:pvr*
425  KEYBOARD_KEY_c2=media
426  KEYBOARD_KEY_d8=!f23                                   # Toggle touchpad button on tx2 (OFF)
427  KEYBOARD_KEY_d9=!f22                                   # Toggle touchpad button on tx2 (ON)
428
429 # Presario 2100
430 keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnPresario*2100*:pvr*
431  KEYBOARD_KEY_f0=help
432  KEYBOARD_KEY_f1=screenlock
433  KEYBOARD_KEY_f3=search
434
435 # Elitebook 8440p
436 keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*EliteBook*8440p:pvr*
437  KEYBOARD_KEY_88=www
438  KEYBOARD_KEY_a0=mute
439  KEYBOARD_KEY_ae=volumedown
440  KEYBOARD_KEY_b0=volumeup
441  KEYBOARD_KEY_ec=mail
442
443 # Elitebook 8460p
444 keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*EliteBook*8460p:pvr*
445  KEYBOARD_KEY_f8=wlan                                   # Wireless HW switch button
446  KEYBOARD_KEY_b3=prog1                                  # Fn+F11 - Ambient Light Sensor button
447  KEYBOARD_KEY_b1=prog2                                  # Fn+ESC - System information button
448
449 # HDX9494nr
450 keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHDX9494NR:pvr*
451  KEYBOARD_KEY_b2=www                                    # Fn+F3
452  KEYBOARD_KEY_d8=!f23                                   # touchpad off
453  KEYBOARD_KEY_d9=!f22                                   # touchpad on
454
455 # Chromebook 14
456 # Top row keys (between ESC and power button)
457 keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnFalco:pvr*
458  KEYBOARD_KEY_3b=back
459  KEYBOARD_KEY_3c=forward
460  KEYBOARD_KEY_3d=refresh
461  KEYBOARD_KEY_3f=switchvideomode
462  KEYBOARD_KEY_40=brightnessdown
463  KEYBOARD_KEY_41=brightnessup
464  KEYBOARD_KEY_42=mute
465  KEYBOARD_KEY_43=volumedown
466  KEYBOARD_KEY_44=volumeup
467  KEYBOARD_KEY_db=search # Same position as caps lock key on most keyboards
468 # KEYBOARD_KEY_3e=fullscreen, no defined key sym
469
470
471 ###########################################################
472 # IBM
473 ###########################################################
474
475 # thinkpad_acpi driver
476 keyboard:name:ThinkPad Extra Buttons:dmi:bvn*:bvr*:bd*:svnIBM*:pn*:pvr*
477  KEYBOARD_KEY_01=battery                                # Fn+F2
478  KEYBOARD_KEY_02=screenlock                             # Fn+F3
479  KEYBOARD_KEY_03=sleep                                  # Fn+F4
480  KEYBOARD_KEY_04=wlan                                   # Fn+F5
481  KEYBOARD_KEY_06=switchvideomode                        # Fn+F7
482  KEYBOARD_KEY_07=zoom                                   # Fn+F8 screen expand
483  KEYBOARD_KEY_08=f24                                    # Fn+F9 undock
484  KEYBOARD_KEY_0b=suspend                                # Fn+F12
485  KEYBOARD_KEY_0f=brightnessup                           # Fn+Home
486  KEYBOARD_KEY_10=brightnessdown                         # Fn+End
487  KEYBOARD_KEY_11=kbdillumtoggle                         # Fn+PgUp - ThinkLight
488  KEYBOARD_KEY_13=zoom                                   # Fn+Space
489  KEYBOARD_KEY_14=volumeup
490  KEYBOARD_KEY_15=volumedown
491  KEYBOARD_KEY_16=mute
492  KEYBOARD_KEY_17=prog1                                  # ThinkPad/ThinkVantage button (high keycode: "vendor")
493
494 # IBM Thinkpad USB Keyboard Trackpoint
495 keyboard:usb:v04B3p301[89]*
496  KEYBOARD_KEY_900f0=screenlock
497  KEYBOARD_KEY_900f1=wlan
498  KEYBOARD_KEY_900f2=switchvideomode
499  KEYBOARD_KEY_900f3=suspend
500  KEYBOARD_KEY_900f4=brightnessup
501  KEYBOARD_KEY_900f5=brightnessdown
502  KEYBOARD_KEY_900f8=zoom
503
504 ###########################################################
505 # Inventec
506 ###########################################################
507
508 # Symphony
509 keyboard:dmi:bvn*:bvr*:bd*:svnINVENTEC:pnSYMPHONY*6.0/7.0:pvr*
510  KEYBOARD_KEY_f3=prog2
511  KEYBOARD_KEY_f4=prog1
512
513 ###########################################################
514 # Lenovo
515 ###########################################################
516
517 # thinkpad_acpi driver
518 keyboard:name:ThinkPad Extra Buttons:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*
519  KEYBOARD_KEY_01=screenlock
520  KEYBOARD_KEY_02=battery
521  KEYBOARD_KEY_03=sleep
522  KEYBOARD_KEY_04=wlan
523  KEYBOARD_KEY_06=switchvideomode
524  KEYBOARD_KEY_07=f21
525  KEYBOARD_KEY_08=f24
526  KEYBOARD_KEY_0b=suspend
527  KEYBOARD_KEY_0f=brightnessup
528  KEYBOARD_KEY_10=brightnessdown
529  KEYBOARD_KEY_11=kbdillumtoggle
530  KEYBOARD_KEY_13=zoom
531  KEYBOARD_KEY_14=volumeup
532  KEYBOARD_KEY_15=volumedown
533  KEYBOARD_KEY_16=mute
534  KEYBOARD_KEY_17=prog1
535  KEYBOARD_KEY_1a=f20                                    # Microphone mute button; should be micmute
536
537 # ThinkPad Keyboard with TrackPoint
538 keyboard:usb:v17EFp6009*
539  KEYBOARD_KEY_090012=screenlock                         # Fn+F2
540  KEYBOARD_KEY_090013=battery                            # Fn+F3
541  KEYBOARD_KEY_090014=wlan                               # Fn+F5
542  KEYBOARD_KEY_090016=switchvideomode                    # Fn+F7
543  KEYBOARD_KEY_090017=f21                                # Fn+F8  touchpad toggle
544  KEYBOARD_KEY_090019=suspend                            # Fn+F12
545  KEYBOARD_KEY_09001a=brightnessup                       # Fn+Home
546  KEYBOARD_KEY_09001b=brightnessdown                     # Fn+End
547  KEYBOARD_KEY_09001d=zoom                               # Fn+Space
548  KEYBOARD_KEY_090011=prog1                              # ThinkVantage button
549  KEYBOARD_KEY_090015=camera                             # Fn+F6 headset/camera VoIP key  ??
550  KEYBOARD_KEY_090010=f20                                # Microphone mute button; should be micmute
551
552 # Lenovo 3000
553 keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*3000*:pvr*
554  KEYBOARD_KEY_8b=switchvideomode                        # Fn+F7 video
555  KEYBOARD_KEY_96=wlan                                   # Fn+F5 wireless
556  KEYBOARD_KEY_97=sleep                                  # Fn+F4 suspend
557  KEYBOARD_KEY_98=suspend                                # Fn+F12 hibernate
558  KEYBOARD_KEY_b4=prog1                                  # Lenovo Care
559
560 # lenovo-ideapad
561 keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*IdeaPad*:pvr*
562 keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pnS10-*:pvr*
563  KEYBOARD_KEY_81=rfkill                                 # does nothing in BIOS
564  KEYBOARD_KEY_83=display_off                            # BIOS toggles screen state
565  KEYBOARD_KEY_b9=brightnessup                           # does nothing in BIOS
566  KEYBOARD_KEY_ba=brightnessdown                         # does nothing in BIOS
567  KEYBOARD_KEY_f1=camera                                 # BIOS toggles camera power
568  KEYBOARD_KEY_f2=f21                                    # touchpad toggle (key alternately emits F2 and F3)
569  KEYBOARD_KEY_f3=f21
570
571 # Thinkpad X200_Tablet
572 keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pnThinkPad*X2*Tablet*:pvr*
573 keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPad*X2*Tablet*
574  KEYBOARD_KEY_5d=menu
575  KEYBOARD_KEY_63=fn
576  KEYBOARD_KEY_66=screenlock
577  KEYBOARD_KEY_67=cyclewindows                           # bezel circular arrow
578  KEYBOARD_KEY_68=setup                                  # bezel setup / menu
579  KEYBOARD_KEY_6c=direction                              # rotate screen
580
581 # ThinkPad X6 Tablet
582 keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pnThinkPad*X6*:pvr*
583  KEYBOARD_KEY_6c=f21                                    # rotate
584  KEYBOARD_KEY_68=screenlock                             # screenlock
585  KEYBOARD_KEY_6b=esc                                    # escape
586  KEYBOARD_KEY_6d=right                                  # right on d-pad
587  KEYBOARD_KEY_6e=left                                   # left on d-pad
588  KEYBOARD_KEY_71=up                                     # up on d-pad
589  KEYBOARD_KEY_6f=down                                   # down on d-pad
590  KEYBOARD_KEY_69=enter                                  # enter on d-pad
591
592 # IdeaPad
593 keyboard:name:Ideapad extra buttons:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*
594  KEYBOARD_KEY_42=f23
595  KEYBOARD_KEY_43=f22
596
597 keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*IdeaPad*Y550*:pvr*
598  KEYBOARD_KEY_95=media
599  KEYBOARD_KEY_a3=play
600
601 keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*IdeaPad*U300s*:pvr*
602  KEYBOARD_KEY_f1=f21
603  KEYBOARD_KEY_ce=f20                                    # micmute
604
605 keyboard:dmi:bvn*:bvr*:svnLENOVO*:pn*IdeaPad*Z370*:pvr*
606  KEYBOARD_KEY_a0=!mute
607  KEYBOARD_KEY_ae=!volumedown
608  KEYBOARD_KEY_b0=!volumeup
609
610 # V480
611 keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*Lenovo*V480*:pvr*
612  KEYBOARD_KEY_f1=f21
613
614 # enhanced USB keyboard
615 keyboard:usb:v04B3p301B*
616  KEYBOARD_KEY_90001=prog1 # ThinkVantage
617  KEYBOARD_KEY_90002=screenlock
618  KEYBOARD_KEY_90003=file
619  KEYBOARD_KEY_90004=wordprocessor
620  KEYBOARD_KEY_90005=spreadsheet
621  KEYBOARD_KEY_90006=calc
622  KEYBOARD_KEY_90007=mail
623  KEYBOARD_KEY_90008=www
624
625
626 ###########################################################
627 # Logitech
628 ###########################################################
629
630 # iTouch
631 keyboard:usb:v046DpC308*
632  KEYBOARD_KEY_90001=shop                                # Shopping
633  KEYBOARD_KEY_90002=config                              # iTouch
634  KEYBOARD_KEY_90003=finance                             # Finance
635  KEYBOARD_KEY_90004=prog1                               # My Sites
636  KEYBOARD_KEY_90005=prog2                               # Community
637  KEYBOARD_KEY_C0183=media                               # Media
638
639 # Cordless Desktop S510
640 keyboard:usb:v046DpC50C*
641  KEYBOARD_KEY_d4=zoomin
642  KEYBOARD_KEY_cc=zoomout
643
644 # Wave cordless
645 keyboard:usb:v046DpC317*
646  KEYBOARD_KEY_9001c=scale                               # expo
647  KEYBOARD_KEY_9001f=zoomout
648  KEYBOARD_KEY_90020=zoomin
649  KEYBOARD_KEY_9003d=prog1                               # gadget
650  KEYBOARD_KEY_90005=camera
651  KEYBOARD_KEY_90018=media
652  KEYBOARD_KEY_90041=wordprocessor
653  KEYBOARD_KEY_90042=spreadsheet
654  KEYBOARD_KEY_90043=calendar
655  KEYBOARD_KEY_90044=prog2                               # fn+f4 (program a)
656  KEYBOARD_KEY_90045=prog3                               # fn+f5 (program b)
657  KEYBOARD_KEY_90046=prog4                               # fn+f6 (program c)
658  KEYBOARD_KEY_90048=messenger                           # fn+f8 (msn messenger)
659  KEYBOARD_KEY_9002d=search                              # fn+f10 (search www)
660  KEYBOARD_KEY_9004b=find                                # fn+f11 (search pc)
661  KEYBOARD_KEY_9004c=ejectclosecd
662
663 # Wave cordless
664 keyboard:usb:v046DpC517*
665  KEYBOARD_KEY_c101f=zoomout
666  KEYBOARD_KEY_c1020=zoomin
667  KEYBOARD_KEY_c1005=camera
668  KEYBOARD_KEY_c0183=media
669  KEYBOARD_KEY_c1041=wordprocessor
670  KEYBOARD_KEY_c1042=spreadsheet
671  KEYBOARD_KEY_c1043=calendar
672  KEYBOARD_KEY_c1044=prog2                               # fn+f4 (program a)
673  KEYBOARD_KEY_c1045=prog3                               # fn+f5 (program b)
674  KEYBOARD_KEY_c1046=prog4                               # fn+f6 (program c)
675  KEYBOARD_KEY_c1048=messenger                           # fn+f8 (msn messenger)
676  KEYBOARD_KEY_c104a=find                                # fn+f10 (search www)
677  KEYBOARD_KEY_c104c=ejectclosecd
678
679 # Cordless Wave Pro
680 keyboard:usb:v046DpC52[9B]*
681  KEYBOARD_KEY_0c01b6=camera
682  KEYBOARD_KEY_0c0183=media
683  KEYBOARD_KEY_0c0184=wordprocessor
684  KEYBOARD_KEY_0c0186=spreadsheet
685  KEYBOARD_KEY_0c018e=calendar
686  KEYBOARD_KEY_0c0223=homepage
687  KEYBOARD_KEY_0c01bc=messenger
688  KEYBOARD_KEY_0c018a=mail
689  KEYBOARD_KEY_0c0221=search
690  KEYBOARD_KEY_0c00b8=ejectcd
691  KEYBOARD_KEY_0c022d=zoomin
692  KEYBOARD_KEY_0c022e=zoomout
693
694 # Logitech Presenter R400
695 keyboard:usb:v046DpC52Dd*dc*dsc*dp*ic*isc*ip*in00*
696  KEYBOARD_KEY_070029=presentation
697  KEYBOARD_KEY_07003e=presentation
698  KEYBOARD_KEY_070037=displaytoggle
699
700 # Internet Navigator
701 keyboard:usb:v046DpC309*
702   KEYBOARD_KEY_90001=chat         # Messenger/SMS
703   KEYBOARD_KEY_90002=camera       # webcam
704   KEYBOARD_KEY_90003=prog1        # iTouch
705   KEYBOARD_KEY_90004=shop         # Shopping
706   KEYBOARD_KEY_C0201=new          # New (F1)
707   KEYBOARD_KEY_C0289=reply        # Reply mail (F2)
708   KEYBOARD_KEY_C028B=forwardmail  # Forward mail (F3)
709   KEYBOARD_KEY_C028C=send         # Send (F4)
710   KEYBOARD_KEY_C021A=undo         # Undo (F5).
711   KEYBOARD_KEY_C0279=redo         # Redo (F6).
712   KEYBOARD_KEY_C0208=print        # Print (F7)
713   KEYBOARD_KEY_C0207=save         # Save (F8)
714   KEYBOARD_KEY_C0194=file         # My Computer (F9)
715   KEYBOARD_KEY_C01A7=documents    # My Documents (F10)
716   KEYBOARD_KEY_C01B6=images       # My Pictures (F11) ??
717   KEYBOARD_KEY_C01B7=sound        # My Music (F12) ??
718
719
720 ###########################################################
721 # Maxdata
722 ###########################################################
723
724 # Pro 7000
725 keyboard:dmi:bvn*:bvr*:bd*:svnMAXDATA:pnPro*7000*:pvr*
726  KEYBOARD_KEY_97=prog2
727  KEYBOARD_KEY_9f=prog1
728  KEYBOARD_KEY_a0=mute                                   # Fn+F5
729  KEYBOARD_KEY_82=www
730  KEYBOARD_KEY_ec=email
731  KEYBOARD_KEY_ae=volumedown                             # Fn+Down
732  KEYBOARD_KEY_b0=volumeup                               # Fn+Up
733  KEYBOARD_KEY_df=suspend                                # Fn+F2
734  KEYBOARD_KEY_f5=help
735
736 ###########################################################
737 # Medion
738 ###########################################################
739
740 # FID2060
741 keyboard:dmi:bvn*:bvr*:bd*:svnMEDION*:pn*FID2060*:pvr*
742  KEYBOARD_KEY_6b=channeldown                            # Thottle Down
743  KEYBOARD_KEY_6d=channelup                              # Thottle Up
744
745 # NB-A555
746 keyboard:dmi:bvn*:bvr*:bd*:svnMEDIONNB:pnA555*:pvr*
747  KEYBOARD_KEY_63=www                                    # N button
748  KEYBOARD_KEY_66=prog1                                  # link 1 button
749  KEYBOARD_KEY_67=email                                  # envelope button
750  KEYBOARD_KEY_69=prog2                                  # link 2 button
751
752 ###########################################################
753 # Microsoft
754 ###########################################################
755
756 # Microsoft Natural Ergonomic Keyboard 4000
757 keyboard:usb:v045Ep00DB*
758  KEYBOARD_KEY_c022d=zoomin
759  KEYBOARD_KEY_c022e=zoomout
760
761 ###########################################################
762 # Micro Star
763 ###########################################################
764
765 keyboard:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*
766 keyboard:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*
767  KEYBOARD_KEY_a0=mute                                   # Fn+F9
768  KEYBOARD_KEY_ae=volumedown                             # Fn+F7
769  KEYBOARD_KEY_b0=volumeup                               # Fn+F8
770  KEYBOARD_KEY_b2=www                                    # e button
771  KEYBOARD_KEY_df=sleep                                  # Fn+F12
772  KEYBOARD_KEY_e2=bluetooth                              # satellite dish2
773  KEYBOARD_KEY_e4=f21                                    # Fn+F3 Touchpad disable
774  KEYBOARD_KEY_ec=email                                  # envelope button
775  KEYBOARD_KEY_ee=camera                                 # Fn+F6 camera disable
776  KEYBOARD_KEY_f6=wlan                                   # satellite dish1
777  KEYBOARD_KEY_f7=brightnessdown                         # Fn+F4
778  KEYBOARD_KEY_f8=brightnessup                           # Fn+F5
779  KEYBOARD_KEY_f9=search
780
781 #
782 keyboard:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pnGE60*:pvr*
783 keyboard:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pnGE70*:pvr*
784 keyboard:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*:pvr*
785  KEYBOARD_KEY_c2=ejectcd
786
787 #
788 keyboard:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*U-100*:pvr*
789 keyboard:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*U100*:pvr*
790 keyboard:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*N033:*
791  KEYBOARD_KEY_f7=reserved
792  KEYBOARD_KEY_f8=reserved
793
794 #
795 keyboard:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pnU90/U100:*
796  KEYBOARD_KEY_e4=reserved
797
798 ###########################################################
799 # MSI
800 ###########################################################
801
802 keyboard:name:MSI Laptop hotkeys:dmi:bvn*:bvr*:bd*:svn*:pnM[iI][cC][rR][oO]-S[tT][aA][rR]*:pvr*
803  KEYBOARD_KEY_0213=f22
804  KEYBOARD_KEY_0214=f23
805
806 ###########################################################
807 # OLPC
808 ###########################################################
809
810 # XO
811 keyboard:dmi:bvn*:bvr*:bd*:svnOLPC:pnXO:*
812  KEYBOARD_KEY_59=fn
813  KEYBOARD_KEY_81=fn_esc
814  KEYBOARD_KEY_f9=camera
815  KEYBOARD_KEY_f8=sound                                  # Fn+CAMERA = Mic
816  KEYBOARD_KEY_43=brightnessdown
817  KEYBOARD_KEY_44=brightnessup
818  KEYBOARD_KEY_57=volumedown
819  KEYBOARD_KEY_58=volumeup
820  KEYBOARD_KEY_bb=f1
821  KEYBOARD_KEY_bc=f2
822  KEYBOARD_KEY_bd=f3
823  KEYBOARD_KEY_be=f4
824  KEYBOARD_KEY_bf=f5
825  KEYBOARD_KEY_c0=f6
826  KEYBOARD_KEY_c1=f7
827  KEYBOARD_KEY_c2=f8
828  KEYBOARD_KEY_c3=f9
829  KEYBOARD_KEY_c4=f10
830  KEYBOARD_KEY_c7=f11
831  KEYBOARD_KEY_d8=f12
832  KEYBOARD_KEY_f7=f13
833  KEYBOARD_KEY_f6=f14
834  KEYBOARD_KEY_f5=f15
835  KEYBOARD_KEY_f4=f16
836  KEYBOARD_KEY_f3=f17
837  KEYBOARD_KEY_f2=f18
838  KEYBOARD_KEY_f1=f19
839  KEYBOARD_KEY_f0=f20                                    # micmute
840  KEYBOARD_KEY_ef=f21
841  KEYBOARD_KEY_ee=chat
842  KEYBOARD_KEY_e4=chat
843  KEYBOARD_KEY_dd=menu                                   # Frame
844  KEYBOARD_KEY_da=prog1                                  # Fn+Frame
845  KEYBOARD_KEY_d3=delete
846  KEYBOARD_KEY_d2=insert
847  KEYBOARD_KEY_c9=pageup
848  KEYBOARD_KEY_d1=pagedown
849  KEYBOARD_KEY_c7=home
850  KEYBOARD_KEY_cF=end
851  KEYBOARD_KEY_73=hp
852  KEYBOARD_KEY_7e=hp
853  KEYBOARD_KEY_db=leftmeta                               # left grab
854  KEYBOARD_KEY_dc=rightmeta                              # right grab
855  KEYBOARD_KEY_85=rightmeta                              # Right grab releases on a different scancode
856  KEYBOARD_KEY_d6=kbdillumtoggle                         # Fn+Space
857  KEYBOARD_KEY_69=switchvideomode                        # Brightness key
858  KEYBOARD_KEY_65=kp8                                    # up
859  KEYBOARD_KEY_66=kp2                                    # down
860  KEYBOARD_KEY_67=kp4                                    # left
861  KEYBOARD_KEY_68=kp6                                    # right
862  KEYBOARD_KEY_e5=kp9                                    # pgup
863  KEYBOARD_KEY_e6=kp3                                    # pgdn
864  KEYBOARD_KEY_e7=kp7                                    # home
865  KEYBOARD_KEY_e8=kp1                                    # end
866
867 ###########################################################
868 # Onkyo
869 ###########################################################
870
871 keyboard:dmi:bvn*:bvr*:bd*:svnONKYO*CORPORATION:pnONKYOPC:*
872  KEYBOARD_KEY_a0=mute                                   # Fn+D
873  KEYBOARD_KEY_ae=volumedown                             # Fn+F
874  KEYBOARD_KEY_b0=volumeup                               # Fn+G
875  KEYBOARD_KEY_df=sleep                                  # Fn+W
876  KEYBOARD_KEY_e0=bluetooth                              # Fn+H
877  KEYBOARD_KEY_e2=cyclewindows                           # Fn+Esc
878  KEYBOARD_KEY_ee=battery                                # Fn+Q
879  KEYBOARD_KEY_f0=media                                  # Fn+R
880  KEYBOARD_KEY_f5=switchvideomode                        # Fn+E
881  KEYBOARD_KEY_f6=camera                                 # Fn+T
882  KEYBOARD_KEY_f7=f21                                    # Fn+Y (touchpad toggle)
883  KEYBOARD_KEY_f8=brightnessup                           # Fn+S
884  KEYBOARD_KEY_f9=brightnessdown                         # Fn+A
885  KEYBOARD_KEY_fb=wlan                                   # Fn+J
886
887 ###########################################################
888 # OQO
889 ###########################################################
890
891 # Model 2
892 keyboard:dmi:bvn*:bvr*:bd*:svnOQO*Inc.*:pnOQO*Model*2*:pvr*
893  KEYBOARD_KEY_8e=wlan
894  KEYBOARD_KEY_f0=switchvideomode
895  KEYBOARD_KEY_f1=mute
896  KEYBOARD_KEY_f2=volumedown
897  KEYBOARD_KEY_f3=volumeup
898
899 ###########################################################
900 # Plantronics
901 ###########################################################
902
903 # Plantronics .Audio 626 DSP
904 keyboard:usb:v047FpC006*
905  KEYBOARD_KEY_b002f=f20                                # Microphone mute button; should be micmute
906
907 ###########################################################
908 # Quanta
909 ###########################################################
910
911 keyboard:dmi:bvn*:bvr*:bd*:svn*:pn*:pvr*:rvnQuanta:rn30B7:rvr65.2B:*
912  KEYBOARD_KEY_88=media                                  # "quick play
913
914 ###########################################################
915 # Samsung
916 ###########################################################
917
918 keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*
919  KEYBOARD_KEY_74=prog1                                  # User key
920  KEYBOARD_KEY_75=www
921  KEYBOARD_KEY_78=mail
922  KEYBOARD_KEY_82=!switchvideomode                       # Fn+F4 CRT/LCD (high keycode: "displaytoggle")
923  KEYBOARD_KEY_83=!battery                               # Fn+F2
924  KEYBOARD_KEY_84=!prog1                                 # Fn+F5 backlight on/off
925  KEYBOARD_KEY_86=!wlan                                  # Fn+F9
926  KEYBOARD_KEY_88=!brightnessup                          # Fn+Up
927  KEYBOARD_KEY_89=!brightnessdown                        # Fn+Down
928  KEYBOARD_KEY_b1=!prog2                                 # Fn+F7 run Samsung Magic Doctor (keypressed event is generated twice)
929  KEYBOARD_KEY_b3=!prog3                                 # Fn+F8 switch power mode (battery/dynamic/performance)
930  KEYBOARD_KEY_b4=!wlan                                  # Fn+F9 (X60P)
931  KEYBOARD_KEY_c5=!prog3                                 # Fn+F8 switch power mode (battery/dynamic/performance)
932  KEYBOARD_KEY_d5=!wlan                                  # Fn+F12 wlan/airplane switch
933  KEYBOARD_KEY_f7=!f22                                   # Fn+F10 Touchpad on
934  KEYBOARD_KEY_f9=!f23                                   # Fn+F10 Touchpad off
935
936 # Series 3
937 keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*300E[457]*:pvr*
938 keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*200E[45]*:pvr*
939  KEYBOARD_KEY_ce=!                                      # Fn+F1  launch control setting
940
941 # Series 5
942 keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*530U*:pvr*
943  KEYBOARD_KEY_ce=!prog1                                 # Fn+F1 launch settings
944  KEYBOARD_KEY_a8=!                                      # Fn Lock - Function lock on
945  KEYBOARD_KEY_a9=!                                      # Fn Lock - Function lock off
946
947 keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*550P*:pvr*
948  KEYBOARD_KEY_ce=!prog1                                 # Fn+F1 launch settings
949  KEYBOARD_KEY_a8=!                                      # Fn Lock - Function lock on
950  KEYBOARD_KEY_a9=!                                      # Fn Lock - Function lock off
951
952 # Series 7 / 9
953 keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700Z*:pvr*
954 keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700G*:pvr*
955 keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*900X[34]*:pvr*
956 keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*940X3G*:pvr*
957  KEYBOARD_KEY_ce=!prog1                                 # Fn+F1 launch settings
958  KEYBOARD_KEY_a0=!mute                                  # Fn+F6 mute
959  KEYBOARD_KEY_ae=!volumedown                            # Fn+F7
960  KEYBOARD_KEY_b0=!volumeup                              # Fn+F8
961  KEYBOARD_KEY_97=!kbdillumdown                          # Fn+F9 keyboard backlight down
962  KEYBOARD_KEY_96=!kbdillumup                            # Fn+F10 keyboard backlight up
963  KEYBOARD_KEY_b3=!prog3                                 # Fn+F11 fan/cooling mode changer
964
965 keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*900X[34][AB]*:pvr*
966  KEYBOARD_KEY_ce=!                                      # Fn+F8 keyboard backlight up
967  KEYBOARD_KEY_8d=!                                      # Fn+F7 keyboard backlight down
968  KEYBOARD_KEY_96=!                                      # Fn+F1 performance mode (?)
969  KEYBOARD_KEY_97=!                                      # Fn+F12 Wi-Fi toggle
970  KEYBOARD_KEY_d5=!                                      # Fn+F6 battery life extender
971
972 keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*90X3A*:pvr*
973  KEYBOARD_KEY_ce=!prog1                                 # Fn+F1 launch settings
974  KEYBOARD_KEY_8d=!prog3                                 # Fn+F6 performance mode
975  KEYBOARD_KEY_97=!kbdillumdown                          # Fn+F7 keyboard backlight down
976  KEYBOARD_KEY_96=!kbdillumup                            # Fn+F8 keyboard backlight up
977  KEYBOARD_KEY_d5=!wlan                                  # Fn+F12 Wi-Fi toggle
978
979 # Series 7 Ultra
980 keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*7[34]0U3E*:pvr*
981  KEYBOARD_KEY_ce=!prog1                                 # Fn+F1 launch settings
982  KEYBOARD_KEY_97=!kbdillumdown                          # Fn+F9 keyboard backlight down
983  KEYBOARD_KEY_96=!kbdillumup                            # Fn+F10 keyboard backlight up
984  KEYBOARD_KEY_b3=!prog3                                 # Fn+F11 fan/cooling mode changer
985  KEYBOARD_KEY_d5=!wlan                                  # Fn+F12 wlan/airplane switch
986
987 # SQ1US
988 keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pnSQ1US:pvr*
989  KEYBOARD_KEY_d4=menu
990  KEYBOARD_KEY_d8=f1
991  KEYBOARD_KEY_d9=f10
992  KEYBOARD_KEY_d6=f3
993  KEYBOARD_KEY_d7=f9
994  KEYBOARD_KEY_e4=f5
995  KEYBOARD_KEY_ee=f11
996
997 # SX20S
998 keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*SX20S*:pvr*
999  KEYBOARD_KEY_74=mute
1000  KEYBOARD_KEY_75=mute
1001  KEYBOARD_KEY_77=f22                                    # Touchpad on
1002  KEYBOARD_KEY_79=f23                                    # Touchpad off
1003
1004 keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700T*:pvr*
1005  KEYBOARD_KEY_ad=leftmeta
1006
1007 ###########################################################
1008 # SONY
1009 ###########################################################
1010
1011 # sony-laptop driver
1012 keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*
1013  KEYBOARD_KEY_06=mute                                   # Fn+F2
1014  KEYBOARD_KEY_07=volumedown                             # Fn+F3
1015  KEYBOARD_KEY_08=volumeup                               # Fn+F4
1016  KEYBOARD_KEY_09=brightnessdown                         # Fn+F5
1017  KEYBOARD_KEY_0a=brightnessup                           # Fn+F6
1018  KEYBOARD_KEY_0b=switchvideomode                        # Fn+F7
1019  KEYBOARD_KEY_0e=zoom                                   # Fn+F10
1020  KEYBOARD_KEY_10=suspend                                # Fn+F12
1021
1022 keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-C1*:pvr*
1023 keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-K25*:pvr*
1024 keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-F[1-6]*:pvr*
1025 keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-FX*:pvr*
1026 keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-FRV*:pvr*
1027 keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-GR*:pvr*
1028 keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-TR*:pvr*
1029 keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-NV*:pvr*
1030 keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-Z*:pvr*
1031 keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*VGN-S360*:pvr*
1032  KEYBOARD_KEY_06=battery
1033  KEYBOARD_KEY_07=mute
1034
1035 keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVGN-AR71*:pvr*
1036 keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVGN-FW*:pvr*
1037 keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVGN-Z21*:pvr*
1038  KEYBOARD_KEY_00=brightnessdown                         # Fn+F5
1039  KEYBOARD_KEY_10=brightnessup                           # Fn+F6
1040  KEYBOARD_KEY_11=switchvideomode                        # Fn+F7
1041  KEYBOARD_KEY_12=zoomout
1042  KEYBOARD_KEY_14=zoomin
1043  KEYBOARD_KEY_15=suspend                                # Fn+F12
1044  KEYBOARD_KEY_17=prog1
1045  KEYBOARD_KEY_20=media
1046
1047 keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVGN-FW250*:pvr*
1048  KEYBOARD_KEY_10=suspend                                # Fn+F12
1049
1050 keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVPC*:pvr*
1051  KEYBOARD_KEY_05=f21                                    # Fn+F1 -> KEY_F21 (The actual touchpad toggle)
1052  KEYBOARD_KEY_0d=zoomout                                # Fn+F9
1053  KEYBOARD_KEY_0e=zoomin                                 # Fn+F10
1054
1055 ###########################################################
1056 # Toshiba
1057 ###########################################################
1058
1059 # Satellite A100
1060 keyboard:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSATELLITE*A100:pvr*
1061  KEYBOARD_KEY_a4=stopcd
1062  KEYBOARD_KEY_b2=www
1063
1064 # Satellite A110
1065 keyboard:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*A110:pvr*
1066  KEYBOARD_KEY_92=stop
1067  KEYBOARD_KEY_93=www
1068  KEYBOARD_KEY_94=media
1069  KEYBOARD_KEY_9e=f22                                    # Touchpad on
1070  KEYBOARD_KEY_9f=f23                                    # Touchpad off
1071  KEYBOARD_KEY_b9=nextsong
1072  KEYBOARD_KEY_d9=brightnessup
1073  KEYBOARD_KEY_ee=screenlock
1074  KEYBOARD_KEY_f4=previoussong
1075  KEYBOARD_KEY_f7=playpause
1076
1077 # Satellite M30X
1078 keyboard:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*M30X:pvr*
1079  KEYBOARD_KEY_ef=brightnessdown
1080  KEYBOARD_KEY_d9=brightnessup
1081  KEYBOARD_KEY_ee=screenlock
1082  KEYBOARD_KEY_93=media
1083  KEYBOARD_KEY_9e=f22                                    # touchpad enable
1084  KEYBOARD_KEY_9f=f23                                    # touchpad disable
1085
1086 # Satellite P75-A
1087 keyboard:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*P75-A:pvr*
1088  KEYBOARD_KEY_ef=brightnessdown
1089  KEYBOARD_KEY_ee=brightnessup
1090  KEYBOARD_KEY_a9=switchvideomode                        # switch display outputs
1091  KEYBOARD_KEY_d4=wlan                                   # RF Switch Off
1092
1093 # Satellite U940
1094 keyboard:name:Toshiba*input*device:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSATELLITEU940:pvr*
1095  KEYBOARD_KEY_13c=brightnessdown
1096  KEYBOARD_KEY_13d=brightnessup
1097  KEYBOARD_KEY_13e=switchvideomode
1098  KEYBOARD_KEY_13f=f21                                   # Touchpad toggle
1099
1100 # Satellite P75-A7200
1101 keyboard:name:Toshiba*input*device:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*P75-A:pvr*
1102  KEYBOARD_KEY_13c=brightnessdown
1103  KEYBOARD_KEY_13d=brightnessup
1104  KEYBOARD_KEY_13e=switchvideomode
1105  KEYBOARD_KEY_13f=f21                                   # Touchpad toggle
1106  KEYBOARD_KEY_9e=wlan
1107
1108 ###########################################################
1109 # VIA
1110 ###########################################################
1111
1112 keyboard:dmi:bvn*:bvr*:bd*:svnVIA:pnK8N800:pvr*
1113  KEYBOARD_KEY_81=prog1
1114
1115 ###########################################################
1116 # Zepto
1117 ###########################################################
1118
1119 # Znote
1120 keyboard:dmi:bvn*:bvr*:bd*:svnZepto:pnZnote:*
1121  KEYBOARD_KEY_93=switchvideomode                        # Fn+F3 Toggle Video Output
1122  KEYBOARD_KEY_95=brightnessdown                         # Fn+F4 Brightness Down
1123  KEYBOARD_KEY_91=brightnessup                           # Fn+F5 Brightness Up
1124  KEYBOARD_KEY_a5=f23                                    # Fn+F6 Disable Touchpad
1125  KEYBOARD_KEY_a6=f22                                    # Fn+F6 Enable Touchpad
1126  KEYBOARD_KEY_a7=bluetooth                              # Fn+F10 Enable Bluetooth
1127  KEYBOARD_KEY_a9=bluetooth                              # Fn+F10 Disable Bluetooth
1128  KEYBOARD_KEY_f1=wlan                                   # RF Switch Off
1129  KEYBOARD_KEY_f2=wlan                                   # RF Switch On
1130  KEYBOARD_KEY_f4=prog1                                  # P1 Button
1131  KEYBOARD_KEY_f3=prog2                                  # P2 Button
1132  KEYBOARD_KEY_a0=!                                      # mute
1133  KEYBOARD_KEY_ae=!                                      # volume down
1134  KEYBOARD_KEY_b0=!                                      # volume up
1135
1136 # Znote 6615WD
1137 keyboard:dmi:bvn*:bvr*:bd*:svnZepto:pnZnote*6615WD:*
1138  KEYBOARD_KEY_a0=!                                      # mute
1139  KEYBOARD_KEY_ae=!                                      # volume down
1140  KEYBOARD_KEY_b0=!                                      # volume up
1141
1142 ###########################################################
1143 # Other
1144 ###########################################################
1145
1146 # Common Volume Keys
1147 keyboard:dmi:bvn*:bvr*:bd*:svnFUJITSU*SIEMENS:pnAMILO*:pvr*
1148 keyboard:dmi:bvn*:bvr*:bd*:svnFOXCONN:pnQBOOK:*
1149 keyboard:dmi:bvn*:bvr*:bd*:svnMTC:pn*:pvrA0:*
1150 keyboard:dmi:bvn*:bvr*:bd*:svnMio*Technology:pnN890:*
1151 keyboard:dmi:bvn*:bvr*:bd*:svnPEGATRON*CORP.:pnSpring*Peak:*
1152 keyboard:dmi:bvn*:bvr*:bd*:svnTOSHIBA:pnSatellite*[uU][35]0[05]*:pvr*
1153 keyboard:dmi:bvn*:bvr*:bd*:svnTOSHIBA:pnSATELLITE*[uU][35]0[05]*:pvr*
1154 keyboard:dmi:bvn*:bvr*:bd*:svnTOSHIBA:pnSatellite*Pro*[uU]300*:pvr*
1155 keyboard:dmi:bvn*:bvr*:bd*:svnTOSHIBA:pnEQUIUM [uU][35]0[05]*:pvr*
1156 keyboard:dmi:bvn*:bvr*:bd*:svnViooo*Corporation:pnPT17:*
1157 keyboard:dmi:bvn*:bvr*:bd*:svnHANNspree:pnSN10E100:*
1158 keyboard:dmi:bvn*:bvr*:bd*:svnGIGABYTE:pni1520M:*
1159 keyboard:dmi:bvn*:bvr*:bd*:svnBenQ:pn*nScreen*:pvr*
1160 keyboard:dmi:bvn*:bvr*:bd*:svnBenQ:pnJoybook*Lite*:pvr*
1161 keyboard:dmi:bvn*:bvr*:bd*:svnDIXONSP:pnDIXON*:pvr*
1162  KEYBOARD_KEY_a0=!                                      # mute
1163  KEYBOARD_KEY_ae=!                                      # volume down
1164  KEYBOARD_KEY_b0=!                                      # volume up