]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: add corrections for Olimex Teres-I to keyboard hwdb
authorDaniel Lublin <daniel@lublin.se>
Tue, 3 Mar 2020 14:59:43 +0000 (15:59 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 3 Mar 2020 17:00:23 +0000 (18:00 +0100)
The firmware of the Olimex Teres-I (a DIY laptop kit) seems to have wrong
scancodes.

Fixes #15003.

hwdb.d/60-keyboard.hwdb

index ccd67e2658198b36d5f854ee48c8be273398ec5e..fae0ecc0facda0728ca0c7a50fbbde0bb3fa7ed2 100644 (file)
@@ -1200,6 +1200,19 @@ evdev:name:MSI Laptop hotkeys:dmi:bvn*:bvr*:bd*:svn*:pnM[iI][cC][rR][oO]-S[tT][a
  KEYBOARD_KEY_0213=f22
  KEYBOARD_KEY_0214=f23
 
+###########################################################
+# Olimex
+###########################################################
+
+# Teres-I
+evdev:input:b0003v15BAp003C*
+ KEYBOARD_KEY_70066=sleep                               # Fn+F1
+ KEYBOARD_KEY_700f6=wlan                                # Fn+F2
+ KEYBOARD_KEY_700c7=f21                                 # Fn+F3 touchpad toggle
+ KEYBOARD_KEY_7006f=brightnessdown                      # Fn+F7
+ KEYBOARD_KEY_70070=brightnessup                        # Fn+F8
+ KEYBOARD_KEY_7006e=switchvideomode                     # Fn+F9
+
 ###########################################################
 # OLPC
 ###########################################################