Help: Waveshare 5" Touchscreen

Guides to let you easily discover and enjoy Volumio

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.

Help: Waveshare 5" Touchscreen

Postby heyo12 » Wed Jan 01 2020 19:05

I am somewhat of a novice with all of this, but I have a Waveshare 5" screen that I cannot seem to get the touchscreen to work since recent Volumio update (currently running 2.692). I have followed and attempted the directions from several (all?) of the other threads, but ultimately end up with it not working. I have the following added to the
Code: Select all
/boot/userconfig.txt


Code: Select all
hdmi_group=2
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900
framebuffer_width=800
framebuffer_height=480
dtparam=spi=on


And added file
Code: Select all
sudo nano /etc/X11/xorg.conf.d/99-calibration.conf
that has,

Code: Select all
Section "InputClass"
Identifier "calibration"
MatchProduct "ADS7846 Touchscreen"
Option "Calibration" "208 3905 288 3910"
Option "SwapAxes" "0"


The screen display works fine, and the web interface works. The hardware includes a HifiBerry MiniAmp and a Mausberry Circuits switch (both installed, and work without issue).
Random avatar
heyo12
Fresh off the boat
Fresh off the boat
 
Posts: 4
Joined: Wed Jan 01 2020 18:50

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.


Help: Waveshare 5" Touchscreen

Postby gvolt » Wed Jan 01 2020 22:04

What specific waveshare touchscreen model do you have and how is it connected?

Is the touch functionality not working at all or "just" acting weirdly?
Random avatar
gvolt
Objectivist
Objectivist
 
Posts: 258
Joined: Fri Mar 02 2018 16:47


Help: Waveshare 5" Touchscreen

Postby heyo12 » Thu Jan 02 2020 20:31

I have this 5": https://www.amazon.com/gp/product/B01HPV7D38/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1, connected with GPIO ribbon to an expansion board and HDMI.

The touch functionality isn't working at all anymore.
Random avatar
heyo12
Fresh off the boat
Fresh off the boat
 
Posts: 4
Joined: Wed Jan 01 2020 18:50


Help: Waveshare 5" Touchscreen

Postby gvolt » Thu Jan 02 2020 23:52

PMed you.
Random avatar
gvolt
Objectivist
Objectivist
 
Posts: 258
Joined: Fri Mar 02 2018 16:47


Help: Waveshare 5" Touchscreen

Postby heyo12 » Sun Jan 12 2020 18:07

gvolt,

Thanks for the DM - I'm too new to the forum respond with DMs, but I tried what you suggested and still no touchscreen functionality :x
Random avatar
heyo12
Fresh off the boat
Fresh off the boat
 
Posts: 4
Joined: Wed Jan 01 2020 18:50


Help: Waveshare 5" Touchscreen

Postby gvolt » Sun Jan 12 2020 21:55

Ok, please post the results of
Code: Select all
ls -al /usr/share/X11/xorg.conf.d
Code: Select all
ls -al /etc/X11/xorg.conf.d/
Code: Select all
ls -al /dev/input
Code: Select all
cat /boot/config.txt
and
Code: Select all
cat /boot/userconfig.txt

Do you get some output when you execute
Code: Select all
sudo cat /dev/input/event*
and then touching the screen?
Random avatar
gvolt
Objectivist
Objectivist
 
Posts: 258
Joined: Fri Mar 02 2018 16:47


Help: Waveshare 5" Touchscreen

Postby heyo12 » Wed Jan 15 2020 15:22

DM'd you with results.
Random avatar
heyo12
Fresh off the boat
Fresh off the boat
 
Posts: 4
Joined: Wed Jan 01 2020 18:50


Return to Guides

Who is online

Users browsing this forum: No registered users and 1 guest