New OOTS products from CafePress
New OOTS t-shirts, ornaments, mugs, bags, and more
Results 1 to 16 of 16
  1. - Top - End - #1
    Titan in the Playground
     
    Yora's Avatar

    Join Date
    Apr 2009
    Location
    Germany

    Default Disabling touchscreen in linux

    My computer has a broken touchscreen. There is no option to disable in BIOS, and of all the many input methods, this is the one that has no settings in the system settings.
    In the past, I solved this by editing the 10-evdev.conf file file, but since I upgraded from Fedora 32 to 35, this no longer has any effect. Even the "xinput disable #" command doesn't do anything anymore.

    Sometimes when I start the computer, it just registers inputs everywhere on the screen all the time and effectively bricks itself, but so far restarting the computer three or four times has randomly resulted in the screen behaving itself. But I am concerned that at some point the computer will actually brick itself permanently, so this really is not an acceptable situation.

    Anyone an idea why the typical methods to disable touchscreens in Linux no longer work after a recent update and what alternative methods might still do the job?

    (Also, what were the creators of an OS thinking to not have touchscreen settings in the GUI system settings?!)
    We are not standing on the shoulders of giants, but on very tall tower of other dwarves.

    Spriggan's Den Heroic Fantasy Roleplaying

  2. - Top - End - #2
    Barbarian in the Playground
    Join Date
    May 2004
    Location
    Dijon, France

    Default Re: Disabling touchscreen in linux

    When you run "ls -lh /dev/input/by-path" are you seeing your touchscreen?

  3. - Top - End - #3
    Titan in the Playground
     
    Yora's Avatar

    Join Date
    Apr 2009
    Location
    Germany

    Default Re: Disabling touchscreen in linux

    Nothing that actually says touchscreen.

    Code:
    total 0
    lrwxrwxrwx. 1 root root  9 Dec  2 13:18 acpi-SNY5001:00-event-joystick -> ../event9
    lrwxrwxrwx. 1 root root 10 Dec  2 13:18 acpi-SNY5001:00-event-mouse -> ../event10
    lrwxrwxrwx. 1 root root  9 Dec  2 13:18 acpi-SNY5001:00-mouse -> ../mouse3
    lrwxrwxrwx. 1 root root  9 Dec  2 13:18 pci-0000:00:1a.0-usb-0:1.1:1.0-event -> ../event5
    lrwxrwxrwx. 1 root root  9 Dec  2 13:18 pci-0000:00:1a.0-usb-0:1.1:1.0-event-mouse -> ../event6
    lrwxrwxrwx. 1 root root  9 Dec  2 13:18 pci-0000:00:1a.0-usb-0:1.1:1.0-mouse -> ../mouse2
    lrwxrwxrwx. 1 root root 10 Dec  2 13:18 pci-0000:00:1a.0-usb-0:1.3:1.0-event -> ../event15
    lrwxrwxrwx. 1 root root  9 Dec  2 13:18 platform-i8042-serio-0-event-kbd -> ../event3
    lrwxrwxrwx. 1 root root  9 Dec  2 13:18 platform-i8042-serio-1-event-mouse -> ../event4
    lrwxrwxrwx. 1 root root  9 Dec  2 13:18 platform-i8042-serio-1-mouse -> ../mouse0
    lrwxrwxrwx. 1 root root 10 Dec  2 13:18 platform-pcspkr-event-spkr -> ../event11
    Some of them might be.
    We are not standing on the shoulders of giants, but on very tall tower of other dwarves.

    Spriggan's Den Heroic Fantasy Roleplaying

  4. - Top - End - #4
    Barbarian in the Playground
    Join Date
    May 2004
    Location
    Dijon, France

    Default Re: Disabling touchscreen in linux

    Hmmm, how about the output from a simple xinput command?

    Edit:just found this, it may be of help (towards the end, the part pertaining to xorg.conf):
    https://itectec.com/unixlinux/linux-...on-the-laptop/
    Last edited by Maelstrom; 2021-12-02 at 02:17 PM.

  5. - Top - End - #5
    Firbolg in the Playground
     
    137beth's Avatar

    Join Date
    Aug 2009

    Default Re: Disabling touchscreen in linux

    I had a similar issue. Try running "xinput list" in the terminal and look for which device number says something like touchscreen. Then run "xinput disable [number]".

    That will only persist until you restart your computer. On Mint there's a GUI for commands to run automatically on startup: I don't know what the Fedora equivalent would be.

  6. - Top - End - #6
    Titan in the Playground
     
    Yora's Avatar

    Join Date
    Apr 2009
    Location
    Germany

    Default Re: Disabling touchscreen in linux

    As I said in the description of the problem, "xinput disable" no konger has any efect since the OS upgrade.
    We are not standing on the shoulders of giants, but on very tall tower of other dwarves.

    Spriggan's Den Heroic Fantasy Roleplaying

  7. - Top - End - #7
    Bugbear in the Playground
     
    Whoracle's Avatar

    Join Date
    Jul 2004
    Location
    Freiburg, germany
    Gender
    Male

    Default Re: Disabling touchscreen in linux

    One approach would be to blacklist the driver. So, what device is it, and what is the touchscreen?

    lsusb and/or lspci could help here - once we know what kind of touchscreen it is you can use lsmod and google to look for the module name, and then blacklist it via an entry in /etc/modprobe.d or something.
    Last edited by Whoracle; 2021-12-03 at 02:46 AM.

  8. - Top - End - #8
    Titan in the Playground
     
    Yora's Avatar

    Join Date
    Apr 2009
    Location
    Germany

    Default Re: Disabling touchscreen in linux

    Code:
    [martin@localhost ~]$ lsusb
    Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 005: ID 04f2:b3aa Chicony Electronics Co., Ltd Front Camera
    Bus 001 Device 004: ID 0489:e062 Foxconn / Hon Hai BCM43142A0
    Bus 001 Device 003: ID 03eb:8813 Atmel Corp. Atmel maXTouch Digitizer
    Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Code:
    [martin@localhost ~]$ lspci
    00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
    00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
    00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
    00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
    00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
    00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
    00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
    00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
    00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
    00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
    00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
    00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04)
    00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
    00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
    01:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 735M] (rev a1)
    07:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)
    08:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
    0e:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
    Bus 001 Device 003: ID 03eb:8813 Atmel Corp. Atmel maXTouch Digitizer looks like it could be a touchscreen, and a quick search brings up some results that seem to be related to touchscreens.
    We are not standing on the shoulders of giants, but on very tall tower of other dwarves.

    Spriggan's Den Heroic Fantasy Roleplaying

  9. - Top - End - #9
    Bugbear in the Playground
     
    Whoracle's Avatar

    Join Date
    Jul 2004
    Location
    Freiburg, germany
    Gender
    Male

    Default Re: Disabling touchscreen in linux

    output of sudo lsmod | grep atmel please - it seems the thing has it's own kernel module (good) but I can't find the exact name.

  10. - Top - End - #10
    Titan in the Playground
     
    Yora's Avatar

    Join Date
    Apr 2009
    Location
    Germany

    Default Re: Disabling touchscreen in linux

    That input does not output anything. Nothing happens at all.
    We are not standing on the shoulders of giants, but on very tall tower of other dwarves.

    Spriggan's Den Heroic Fantasy Roleplaying

  11. - Top - End - #11
    Bugbear in the Playground
     
    Whoracle's Avatar

    Join Date
    Jul 2004
    Location
    Freiburg, germany
    Gender
    Male

    Default Re: Disabling touchscreen in linux

    yeah, it seems support for atmel has moved into the kernel quite a while ago and that it just uses evdev as the driver. so blacklisting via evdev (or xorg.conf) should work. only it doesn't based on your description. I'll google around when I've got a bit of free time, I'm curious what happens here.

    Edit: Ther's no output because the grep didn't find anything. This is normal in this case.
    Last edited by Whoracle; 2021-12-03 at 08:08 AM.

  12. - Top - End - #12
    Titan in the Playground
     
    Yora's Avatar

    Join Date
    Apr 2009
    Location
    Germany

    Default Re: Disabling touchscreen in linux

    My 10-evdev.conf looks like this:
    Code:
    Section "InputClass"
            Identifier "evdev touchscreen catchall"
            MatchIsTouchscreen "off"
            MatchDevicePath "/dev/input/event*"
            Driver "libinput"
            Option "Ignore" "on"
    EndSection
    This should be correct. It even disables the driver in two different ways, I believe. But touch screen is definitely still on.
    We are not standing on the shoulders of giants, but on very tall tower of other dwarves.

    Spriggan's Den Heroic Fantasy Roleplaying

  13. - Top - End - #13
    Orc in the Playground
     
    SwashbucklerGuy

    Join Date
    Aug 2011

    Default Re: Disabling touchscreen in linux

    Any chance of just yanking the input cable for the touchscreen?
    Quote Originally Posted by crayzz
    That a given person is known for his sex appeal does not mean that he is only known for his sex appeal.
    Quote Originally Posted by jere7my
    For instance, I am also known for my humility.

  14. - Top - End - #14
    Titan in the Playground
     
    Yora's Avatar

    Join Date
    Apr 2009
    Location
    Germany

    Default Re: Disabling touchscreen in linux

    No, this is a notebook.
    We are not standing on the shoulders of giants, but on very tall tower of other dwarves.

    Spriggan's Den Heroic Fantasy Roleplaying

  15. - Top - End - #15
    Bugbear in the Playground
     
    Whoracle's Avatar

    Join Date
    Jul 2004
    Location
    Freiburg, germany
    Gender
    Male

    Default Re: Disabling touchscreen in linux

    just to cover all bases: install/run xev from a terminal and see if the touch device is actually the one we're looking at. should see some output that confirms this when a touch event is triggered.

    Not that I think you'r ein the wrong here, just making sure.

  16. - Top - End - #16
    Titan in the Playground
     
    Yora's Avatar

    Join Date
    Apr 2009
    Location
    Germany

    Default Re: Disabling touchscreen in linux

    Well, something's happening. Produces a lot of output, most of which looks something like this:

    Code:
    MotionNotify event, serial 39, synthetic NO, window 0x3000001,
        root 0x156, subw 0x0, time 20734657, (172,169), root:(835,513),
        state 0x0, is_hint 0, same_screen YES
    We are not standing on the shoulders of giants, but on very tall tower of other dwarves.

    Spriggan's Den Heroic Fantasy Roleplaying

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •