How to permanently disable the touchscreen (Solved)

Booting, installing, newbie
Post Reply
Message
Author
Joey Bloggz
Posts: 3
Joined: Fri 02 Mar 2018, 20:26

How to permanently disable the touchscreen (Solved)

#1 Post by Joey Bloggz »

Greetings one and all

I am a complete noob at puppy but have successfully loaded slacko 64 onto a usb stick. The problem is that I would like to disable the touchscreen on my HP Pavilion touchsmart 11.6 as the problem is a hardware issue (and I don't like touchscreen anyway). Can anyone Please help?

(Please note that I am totally clueless, so I will not take offense if answers are designed for a 4 year old. Hey, I'd probably appreciate it, LOL. :? )
Last edited by Joey Bloggz on Sun 04 Mar 2018, 22:27, edited 2 times in total.

User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

#2 Post by perdido »

The procudure looks to involve blacklisting (disabling) the driver.

Run

Code: Select all

lsmod
in the console and cut&paste the results to this thread, that will be a list of loaded drivers.

Center mouse button for cut&paste from the console.

Maybe we can draw some help on this.

.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#3 Post by bigpup »

I do not have a touchscreen to check and see if any of this works.
But that never stopped me from giving some ideas from what I found on a Google search. :shock: :lol:

In a console type this:

Code: Select all

xinput --list

Press enter key.

This should provide a list of input devices that are loaded.

Find the one for touchscreen and it should have an id number. Use the id to disable touchscreen.
Example:

Code: Select all

ELAN Touchscreen id=12 [slave pointer (2)]
In a console type this for above example to disable.

Code: Select all

xinput set-prop 12 'Device Enabled' 0
Press enter key

If this works it may not stick after reboot or may do this:
But as soon as I touch the screen it enables again...
So this may make it permanent.

Look in /etc/X11/xorg.conf
.
Open this xorg.conf file in a text editor.
Example of above touchscreen:
>> Add Option "Ignore" "on" to the touchscreen section so it looks like this:

Code: Select all

Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "Ignore" "on"
EndSection
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

Joey Bloggz
Posts: 3
Joined: Fri 02 Mar 2018, 20:26

#4 Post by Joey Bloggz »

Thank you Perdido and Bigpup for your replies.
bigpup wrote:
So this may make it permanent.

Look in /etc/X11/xorg.conf
.
Open this xorg.conf file in a text editor.
Example of above touchscreen:
>> Add Option "Ignore" "on" to the touchscreen section so it looks like this:

Code: Select all

Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "Ignore" "on"
EndSection
I tried the above solution and it worked perfectly. My Slacko will be touchscreen-free on any computer I use it on.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#5 Post by bigpup »

Great to hear. :D

I cannot believe I found something with Google search that worked :lol: :shock: :shock:
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

Joey Bloggz
Posts: 3
Joined: Fri 02 Mar 2018, 20:26

How to permanently disable the touchscreen (Solved)

#6 Post by Joey Bloggz »

Amendment: Sorry bigpup, but there is an error in the solution that I have just notice. The location of the xorg.conf is incorrect.
bigpup wrote:
So this may make it permanent.

Look in /etc/X11/xorg.conf
.
Open this xorg.conf file in a text editor.
Example of above touchscreen:
>> Add Option "Ignore" "on" to the touchscreen section so it looks like this:

Code: Select all

Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "Ignore" "on"
EndSection
You should actually look in /usr/share/X11/xorg.conf.d/10-evdev.conf

You make the modifications to the 10-evdev.conf file with the code as described in your reply. Sorry I did not spot it earlier bigpup, however I would not have solved it if you did not point me in the right direction.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#7 Post by bigpup »


The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

Post Reply