chiark / gitweb /
keymap: Add Toshiba Satellite U500
[elogind.git] / extras / keymap / 95-keyboard-force-release.rules
1 # Set model specific atkbd force_release quirk
2 #
3 # Several laptops have hotkeys which don't generate release events,
4 # which can cause problems with software key repeat.
5 # The atkbd driver has a quirk handler for generating synthetic
6 # release events, which can be configured via sysfs since 2.6.32.
7 # Simply add a file with a list of scancodes for your laptop model
8 # in /lib/udev/keymaps, and add a rule here.
9 # If the hotkeys also need a keymap assignment you can copy the
10 # scancodes from the keymap file, otherwise you can run
11 # /lib/udev/keymap -i /dev/input/eventX
12 # on a Linux vt to find out.
13
14 ACTION=="remove", GOTO="force_release_end"
15 SUBSYSTEM!="serio", GOTO="force_release_end"
16 KERNEL!="serio*", GOTO="force_release_end"
17 DRIVER!="atkbd", GOTO="force_release_end"
18
19 ENV{DMI_VENDOR}="$attr{[dmi/id]sys_vendor}"
20
21
22 ENV{DMI_VENDOR}=="[sS][aA][mM][sS][uU][nN][gG]*", RUN+="keyboard-force-release.sh $devpath samsung-other"
23
24 ENV{DMI_VENDOR}=="Dell Inc.", ATTR{[dmi/id]product_name}=="Studio 1557|Studio 1558", RUN+="keyboard-force-release.sh $devpath common-volume-keys"
25
26 ENV{DMI_VENDOR}=="FUJITSU SIEMENS", ATTR{[dmi/id]product_name}=="AMILO Si 1848+u", RUN+="keyboard-force-release.sh $devpath common-volume-keys"
27
28 ENV{DMI_VENDOR}=="FOXCONN", ATTR{[dmi/id]product_name}=="QBOOK", RUN+="keyboard-force-release.sh $devpath common-volume-keys"
29
30 ENV{DMI_VENDOR}=="MTC", ATTR{[dmi/id]product_version}=="A0", RUN+="keyboard-force-release.sh $devpath common-volume-keys"
31
32 ENV{DMI_VENDOR}=="PEGATRON CORP.", ATTR{[dmi/id]product_name}=="Spring Peak", RUN+="keyboard-force-release.sh $devpath common-volume-keys"
33
34 ENV{DMI_VENDOR}=="TOSHIBA", ATTR{[dmi/id]product_name}=="Satellite U300|Satellite Pro U300|Satellite U305|SATELLITE U500", RUN+="keyboard-force-release.sh $devpath common-volume-keys"
35
36 ENV{DMI_VENDOR}=="Viooo Corporation", ATTR{[dmi/id]product_name}=="PT17", RUN+="keyboard-force-release.sh $devpath common-volume-keys"
37
38 LABEL="force_release_end"