Last active
May 10, 2018 16:55
-
-
Save fghaas/3406be59095de212182f1803a503a64b to your computer and use it in GitHub Desktop.
Attempt to disable AlpsPS/2 ALPS DualPoint Stick as an input device (via udev)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/udev/rules.d/75-input.rules | |
# local udev rules for input devices | |
ACTION!="add|change", GOTO="input_end" | |
# ALPS DualPoint Stick: Ignore as input device | |
ENV{ID_BUS}=="i8042", ENV{NAME}=="AlpsPS/2 ALPS DualPoint Stick", ENV{ID_INPUT}="", ENV{ID_INPUT_MOUSE}="", ENV{ID_INPUT_POINTINGSTICK}="" | |
LABEL="input_end" |
The following udev rule worked for me. You can use wildcards in the device name. The rule is case sensitive, i.e., ATTRS{name} works but ATTRS{NAME} does not.
# ALPS DualPoint Stick: Ignore as input device
ATTRS{name}=="*DualPoint Stick", ENV{ID_INPUT}="", ENV{ID_INPUT_MOUSE}="", ENV{ID_INPUT_POINTINGSTICK}=""
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, thanks for the script! This technique also works with hwdb like so:
Afterwards run below to update the hwdb database and reload.