]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Micmute Key support of ThinkCentre M820z and M920z (#9619)
authorShengyao Xue <shengyao.xue@canonical.com>
Thu, 19 Jul 2018 09:30:03 +0000 (17:30 +0800)
committerLennart Poettering <lennart@poettering.net>
Thu, 19 Jul 2018 09:30:03 +0000 (11:30 +0200)
Micmute Key support of ThinkCentre M820z and M920z

There was a ThinkCentre M800z Micmute Key support entry.
But on new models M820z and M920z, the lines must change a bit,
the keyboard:name... must change to evdev:name.
Already tested on the M820z and M920z hardwares.

Per Poettering's comment in https://github.com/systemd/systemd/pull/9619,
We better combine M800z and M820/M920z entries and use the "evdev" prefix.

hwdb/60-keyboard.hwdb

index 73f80a524aeef71c47a4c2be8759f39e38a0de57..b608e7b074381f0d984f87ba36aa7d19d11766cd 100644 (file)
@@ -756,9 +756,9 @@ evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO*:pn*IdeaPad*Z370*:pvr*
 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*Lenovo*V480*:pvr*
  KEYBOARD_KEY_f1=f21
 
-# Lenovo Thinkcentre M800z AIO machine
+# Lenovo ThinkCentre M800z/M820z/M920z AIO machines
 # key_scancode 00 is KEY_MICMUTE
-keyboard:name:Microphone Mute Button:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*
+evdev:name:Microphone Mute Button:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*
  KEYBOARD_KEY_00=f20
 
 # enhanced USB keyboard