Fix brightness keys on MSI Wind U-100
The MSI Wind 100 generates ACPI/input events on the LNXVIDEO input device. On top of that, the video module/BIOS synthesize some extra event on atkbd as an echo of actually changing the brightness. Ignore the wrong and useless atkbd ones, to avoid event loops. Many thanks to Hans de Goede for tracking this down! https://launchpad.net/bugs/415023
This commit is contained in:
parent
fc47e0b567
commit
d7e2d38c1f
|
@ -98,6 +98,11 @@ ENV{DMI_VENDOR}=="MEDIONNB", ATTR{[dmi/id]product_name}=="A555*", RUN+="keymap $
|
|||
|
||||
ENV{DMI_VENDOR}=="MICRO-STAR*", RUN+="keymap $name micro-star"
|
||||
|
||||
# some MSI models generate ACPI/input events on the LNXVIDEO input devices,
|
||||
# plus some extra synthesized ones on atkbd as an echo of actually changing the
|
||||
# brightness; so ignore those atkbd ones, to avoid loops
|
||||
ENV{DMI_VENDOR}=="MICRO-STAR*", ATTR{[dmi/id]product_name}=="*U-100*|*U100*|*N033", RUN+="keymap $name 0xF7 reserved 0xF8 reserved"
|
||||
|
||||
ENV{DMI_VENDOR}=="INVENTEC", ATTR{[dmi/id]product_name}=="SYMPHONY 6.0/7.0", RUN+="keymap $name inventec-symphony_6.0_7.0"
|
||||
|
||||
ENV{DMI_VENDOR}=="MAXDATA", ATTR{[dmi/id]product_name}=="Pro 7000*", RUN+="keymap $name maxdata-pro_7000"
|
||||
|
|
Loading…
Reference in New Issue