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