DietPI / Waveshare Touchscreen: Need to click any button TWICE to make it work ?

Post Reply
att2
Posts: 31
Joined: Tue Jan 17, 2017 10:56 pm
languages_spoken: english
ODROIDs: Odroid c2
Location: Graz, Austria, Europe
Has thanked: 2 times
Been thanked: 4 times
Contact:

DietPI / Waveshare Touchscreen: Need to click any button TWICE to make it work ?

Unread post by att2 » Fri Jan 17, 2020 12:25 am

Hello,
I am running DietPI , latest version , on a Odroid c2 :
root@DietPi:/DietPi# uname -a
Linux DietPi 3.16.57+ #1 SMP PREEMPT Sun Aug 19 15:27:56 CEST 2018 aarch64 GNU/Linux
root@DietPi:/DietPi# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.11 (stretch)
Release: 9.11
Codename: stretch
The touchscreen from Waveshare, 10.1" , makes me some troubles. It works, but I have to click TWICE on any button so as to click on the button.
At the first click, only the mouse cursor is being moved to the button. Only at the second click, the actual button click function is executed.

This DOES NOT happen on a Ubuntu 18.04.3 LTS image on the same Odroid C2. In Ubuntu, everything works fine.

Can you give me any clue of just what to do to get the touch screen to work properly ?

att2
Posts: 31
Joined: Tue Jan 17, 2017 10:56 pm
languages_spoken: english
ODROIDs: Odroid c2
Location: Graz, Austria, Europe
Has thanked: 2 times
Been thanked: 4 times
Contact:

Re: DietPI / Waveshare Touchscreen: Need to click any button TWICE to make it work ?

Unread post by att2 » Fri Jan 17, 2020 12:37 am

And this is the output from xinput :

$ xinput list

⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ waveshare HDMI/VGA/AV RTD2660H Viedo Board id=6 [slave pointer (2)]
⎜ ↳ PixArt HP USB Optical Mouse id=7 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Logitech USB Keyboard id=8 [slave keyboard (3)]
↳ Logitech USB Keyboard id=9 [slave keyboard (3)]
↳ cec_input id=10 [slave keyboard (3)]
↳ vt-input id=11 [slave keyboard (3)]


$ xinput list-props 'waveshare HDMI/VGA/AV RTD2660H Viedo Board'

Device 'waveshare HDMI/VGA/AV RTD2660H Viedo Board':
Device Enabled (115): 1
Coordinate Transformation Matrix (116): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Calibration Matrix (247): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Calibration Matrix Default (248): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (249): 0
libinput Natural Scrolling Enabled Default (250): 0
libinput Send Events Modes Available (251): 1, 0
libinput Send Events Mode Enabled (252): 0, 0
libinput Send Events Mode Enabled Default (253): 0, 0
libinput Left Handed Enabled (254): 0
libinput Left Handed Enabled Default (255): 0
libinput Scroll Methods Available (256): 0, 0, 1
libinput Scroll Method Enabled (257): 0, 0, 0
libinput Scroll Method Enabled Default (258): 0, 0, 0
libinput Button Scrolling Button (259): 0
libinput Button Scrolling Button Default (260): 0
Device Node (261): "/dev/input/event2"
Device Product ID (262): 1155, 22288
libinput Drag Lock Buttons (263): <no items>
libinput Horizontal Scroll Enabled (264): 1

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 1 guest