Hello, I have a touchscreen that is sensitive. I just loaded 37 yesterday and everything is up and running on my dual boot. However, sometimes the OS becomes uncontrollable and I can’t control the mouse behavior properly because the OS thinks I’m touching the screen. I tried all sort of things but nothing has worked. It only does this on occasion but I would like to disable the touch screen if it’s possible?
Here’s some output:
lsmod |grep touch
hid_multitouch 32768 0
sudo journalctl -k | grep touch
Dec 18 13:23:33 fedora kernel: hid-multitouch 0003:03EB:8417.0004: input,hiddev98,hidraw3: USB HID v1.11 Device [Atmel Atmel maXTouch Digitizer] on usb-0000:00:1a.0-1.3/input0
modinfo hid-multitouch | head
filename: /lib/modules/6.0.12-300.fc37.x86_64/kernel/drivers/hid/hid-multitouch.ko.xz
license: GPL
description: HID multitouch panels
author: Benjamin Tissoires benjamin.tissoires@gmail.com
author: Stephane Chatty chatty@enac.fr
alias: hid:bg0004vp*
alias: hid:bg0002vp*
alias: hid:b0003g0004v000018D1p00005030
alias: hid:bgv000018D1p00005028
alias: hid:b0003g0002v00001477p00001025
I see the associated hardware ID here: (The TOP one). That is, 0003:03EB:8417.000 listed below is the device ID for my touchscreen.
/sys/bus/hid/devices
$ ll
total 0
lrwxrwxrwx. 1 root root 0 Dec 19 08:46 0003:03EB:8417.0004 → …/…/…/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:03EB:8417.0004
lrwxrwxrwx. 1 root root 0 Dec 19 08:46 0003:03EB:8417.0005 → …/…/…/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.1/0003:03EB:8417.0005
lrwxrwxrwx. 1 root root 0 Dec 19 08:46 0003:046D:400A.0006 → …/…/…/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.2/0003:046D:C52B.0003/0003:046D:400A.0006
lrwxrwxrwx. 1 root root 0 Dec 19 08:46 0003:046D:C52B.0001 → …/…/…/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.0/0003:046D:C52B.0001
lrwxrwxrwx. 1 root root 0 Dec 19 08:46 0003:046D:C52B.0002 → …/…/…/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.1/0003:046D:C52B.0002
lrwxrwxrwx. 1 root root 0 Dec 19 08:46 0003:046D:C52B.0003 → …/…/…/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.2/0003:046D:C52B.0003
This is my Touchscreen> Atmel Atmel maXTouch Digitizer
What’s strange is if I run this > modprobe -r hid-multitouch I no longer see hid-multitouch when running lsmod |grep touch.
For example,
lsmod |grep touch
hid_multitouch 32768 0
modprobe -r hid_multitouch
[root@home hid-generic]# lsmod |grep touch
[root@home hid-generic]#
I tried the following today but these steps did not help.
went into these two files and set them to disable or off but that did not help.
/usr/share/X11/xorg.conf.d/10-evdev.conf with:
Section “InputClass”
Identifier “evdev touchscreen catchall”
MatchIsTouchscreen “off”
MatchDevicePath “/dev/input/event*”
driver “evdev”
Option “Ignore” “on”
EndSection
And /usr/share/X11/xorg.conf.d/40-libinput.conf with:
Section “InputClass”
Identifier “libinput touchscreen catchall”
MatchIsTouchscreen “off”
MatchDevicePath “/dev/input/event*”
driver “libinput”
Option “Ignore” “on”
EndSection
I managed to get it disabled ONCE when I ran this command.
echo “0018:06CB:19AC.0001” > /sys/bus/hid/drivers/hid-multitouch/unbind
I ran this from an SSH terminal as root. I confirmed my touchscreen was finally not responding (good). But after I rebooted it’s back to how it was. I’m not sure how I could of committed the change above?
This reddit post didn’t make sense. The person said to do the following which I didn’t understand?
Temporary solution:
- Find the touchscreen device ID linked to the hid-multitouch driver using this command:
ls /sys/bus/hid/drivers/hid-multitouch/
The actual device id is a combination of characters and numbers like this: 0018:06CB:19AC.0001
- You can unbind it from the driver under root user with:
sudo echo "0018:06CB:19AC.0001" > /sys/bus/hid/drivers/hid-multitouch/unbind
Make it permanent (Create a script file and make it run at every system startup):
- Create a script file called “startup.sh”:
nano touch startup.sh
-
Paste the working command inside the file.
-
Make the file executable:
sudo chmod +x startup.sh
- Run crontab with root privileges:
sudo crontab -e
- Add the following line:
@reboot /home/username/startup.sh
Then exit.
Also, now I cannot remove this file via root or any other method. This is the file it created above. And now If I run this command again it comes back with an issue.
echo “0018:06CB:19AC.0001” > /sys/bus/hid/drivers/hid-multitouch/unbind
bash: /sys/bus/hid/drivers/hid-multitouch/unbind: No such file or directory
rm unbind
rm: remove regular file ‘unbind’? y
rm: cannot remove ‘unbind’: Operation not permitted
I’m not sure if I messed something up but would appreciate any help getting me back on track. Thank you.
–w-------. 1 root root 4096 Dec 19 15:48 unbind
lsattr
lsattr: Permission denied While reading flags on ./uevent
lsattr: Permission denied While reading flags on ./bind
lsattr: Permission denied While reading flags on ./new_id
lsattr: Operation not supported While reading flags on ./0003:03EB:8417.0005
lsattr: Permission denied While reading flags on ./unbind