2
0

60-keyboard.hwdb 76 KB

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