[clug] Disable a built-in USB device?

Carlo Hamalainen carlo at carlo-hamalainen.net
Wed Sep 25 09:03:55 CEST 2013

On 25/09/13 04:10, Ian Munsie wrote:
> xinput --set-prop 'The name you identified from xinput --list' 'Device
> Enabled' 0

This works:

xinput --set-prop 'eGalax Inc. eGalaxTouch EXC7903-66v03_T1' 'Device
Enabled' 0

> /etc/X11/xorg.conf.d/disable-touchscreen.conf:
> Section "InputClass"
>         Identifier      "Annoying Touch Screen"
>         MatchProduct    "The name you identified from xinput --list"
>         Option          "DeviceEnabled" "0"
> EndSection
> Restart X and you should be done.

That didn't work until I noticed the following lines in /var/log/Xorg.0.log:

[    11.792] (**) eGalax Inc. eGalaxTouch EXC7903-66v03_T1: Applying
InputClass "Annoying Touch Screen"
[    11.792] (II) No input driver specified, ignoring this device.
[    11.792] (II) This device may have been added with another device file.

So I did some Googling and found the driver:

Section "InputClass"
    Identifier      "Annoying Touch Screen"
    Driver          "egalax"
    MatchProduct    "eGalax Inc. eGalaxTouch EXC7903-66v03_T1"

    Option          "DeviceEnabled" "0"

This works.


Carlo Hamalainen

More information about the linux mailing list