Skip to content

Instantly share code, notes, and snippets.

@rchdlps
Last active September 26, 2017 20:47
Show Gist options
  • Save rchdlps/e79e51695fad5d7950e2ecd7a5eee2f8 to your computer and use it in GitHub Desktop.
Save rchdlps/e79e51695fad5d7950e2ecd7a5eee2f8 to your computer and use it in GitHub Desktop.
Disable touchscreen in Linux Fedora 26
https://www.blackmoreops.com/2016/10/26/disable-touchscreen-linux/
lsmod | grep touch
modinfo hid_multitouch | head
modprobe -r hid_multitouch
Permanent Mode
vi /etc/modprobe.d/hid_multitouch.conf
# Use following syntax
# blacklist driver-name
blacklist hid_multitouch
blacklist usbhid
#!/bin/bash
# chkconfig: 2345 20 80
# description: Description comes here....
# Source function library.
. /etc/init.d/functions
modprobe -r hid_multitouch
exit 0
Option 2
http://karlcode.owtelse.com/blog/2017/01/09/disabling-usb-ports-on-linux/
$ echo '2-6' | sudo tee /sys/bus/usb/drivers/usb/unbind
$ sudo crontab -e
@reboot echo '1-1.6' > /sys/bus/usb/drivers/usb/unbind
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment