From: Lee, Chun-Yi Date: Thu, 31 Mar 2011 10:01:05 +0000 (+0800) Subject: Add rule for Acer Aspire One ZG8 to use acer-aspire_5720 keymap X-Git-Tag: 174~205 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff4a035a8aaba6a7b5b85c4b348886d72c42e84c;p=systemd Add rule for Acer Aspire One ZG8 to use acer-aspire_5720 keymap Acer Aspire One ZG8's bluetooth HW key emit 0xD9 scancode, it must map to KEY_BLUETOOTH like Acer Aspire 5720. So, add rule for Acer Aspire One ZG8 use acer-aspire_5720 keymap. Tested on Acer Aspire One ZG8 netbook. Signed-off-by: Lee, Chun-Yi Signed-off-by: Martin Pitt --- diff --git a/extras/keymap/95-keymap.rules b/extras/keymap/95-keymap.rules index 0c3ae38d..44d50642 100644 --- a/extras/keymap/95-keymap.rules +++ b/extras/keymap/95-keymap.rules @@ -100,6 +100,7 @@ ENV{DMI_VENDOR}=="Acer*", ATTR{[dmi/id]product_name}=="Aspire 6920", RUN+="keyma ENV{DMI_VENDOR}=="Acer*", ATTR{[dmi/id]product_name}=="Aspire 5920G", RUN+="keymap $name acer-aspire_5920g" ENV{DMI_VENDOR}=="Acer*", ATTR{[dmi/id]product_name}=="Aspire 5720*", RUN+="keymap $name acer-aspire_5720" ENV{DMI_VENDOR}=="Acer*", ATTR{[dmi/id]product_name}=="Aspire 8930", RUN+="keymap $name acer-aspire_8930" +ENV{DMI_VENDOR}=="Acer*", ATTR{[dmi/id]product_serial}=="ZG8*", RUN+="keymap $name acer-aspire_5720" ENV{DMI_VENDOR}=="*BenQ*", ATTR{[dmi/id]product_name}=="*Joybook R22*", RUN+="keymap $name 0x6E wlan"