From: Shengyao Xue Date: Thu, 19 Jul 2018 09:30:03 +0000 (+0800) Subject: Micmute Key support of ThinkCentre M820z and M920z (#9619) X-Git-Tag: v240~945 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3230e791bef41921bdb29f58bf3071bf9aa391a7;p=thirdparty%2Fsystemd.git Micmute Key support of ThinkCentre M820z and M920z (#9619) 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. --- diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb index 73f80a524ae..b608e7b0743 100644 --- a/hwdb/60-keyboard.hwdb +++ b/hwdb/60-keyboard.hwdb @@ -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