mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 23:51:28 +03:00
23c455b887
https://launchpad.net/bugs/374884 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
33 lines
1.5 KiB
Plaintext
33 lines
1.5 KiB
Plaintext
# Set model specific atkbd force_release quirk
|
|
#
|
|
# Several laptops have hotkeys which don't generate release events,
|
|
# which can cause problems with software key repeat.
|
|
# The atkbd driver has a quirk handler for generating synthetic
|
|
# release events, which can be configured via sysfs since 2.6.32.
|
|
# Simply add a file with a list of scancodes for your laptop model
|
|
# in /lib/udev/keymaps, and add a rule here.
|
|
# If the hotkeys also need a keymap assignment you can copy the
|
|
# scancodes from the keymap file, otherwise you can run
|
|
# /lib/udev/keymap -i /dev/input/eventX
|
|
# on a Linux vt to find out.
|
|
|
|
ACTION=="remove", GOTO="force_release_end"
|
|
SUBSYSTEM!="serio", GOTO="force_release_end"
|
|
KERNEL!="serio*", GOTO="force_release_end"
|
|
DRIVER!="atkbd", GOTO="force_release_end"
|
|
|
|
ENV{DMI_VENDOR}="$attr{[dmi/id]sys_vendor}"
|
|
|
|
|
|
ENV{DMI_VENDOR}=="[sS][aA][mM][sS][uU][nN][gG]*", ATTR{[dmi/id]product_name}=="*N130*|*N140*|*SR70S/SR71S*|*Q210/P210*", RUN+="keyboard-force-release.sh $devpath samsung-other"
|
|
|
|
ENV{DMI_VENDOR}=="Dell Inc.", ATTR{[dmi/id]product_name}=="Studio 1557|Studio 1558", RUN+="keyboard-force-release.sh $devpath common-volume-keys"
|
|
|
|
ENV{DMI_VENDOR}=="FUJITSU SIEMENS", ATTR{[dmi/id]product_name}=="AMILO Si 1848+u", RUN+="keyboard-force-release.sh $devpath common-volume-keys"
|
|
|
|
ENV{DMI_VENDOR}=="FOXCONN", ATTR{[dmi/id]product_name}=="QBOOK", RUN+="keyboard-force-release.sh $devpath common-volume-keys"
|
|
|
|
ENV{DMI_VENDOR}=="MTC", ATTR{[dmi/id]product_version}=="A0", RUN+="keyboard-force-release.sh $devpath common-volume-keys"
|
|
|
|
LABEL="force_release_end"
|