Waveshare 3.5inch LCD RPI (B) rev2.0 on RPI3B+ for Volumio

I did everything you asked :slight_smile:
I reboot after touch /boot/resize-volumio-datapart
re-installed touchscreen plug in
watched the journal and saw many things but no errors.
re-installed chromium but got the message that chromium was already latest version so that is ok.

maybe to start all over again with a fresh image…

Yes, I would recommend that, too. It’s probably easier and faster than trying on a system which might be borked somehow by the previous attempts to get the screen working.

in the Xorg.0.log I saw:

Fatal server error:
[ 42.416] (EE) no screens found(EE)
w
*

Will restart tomorrow.
Thanks for all your help, at least I get some data at the screen :slight_smile:

Please post or PM me the complete Xorg log.

Xorg.0.log.zip (2.0 KB)

no problem.

Problem is probably in “/usr/share/X11/xorg.conf.d/99-fbturbo.conf”. Please post the output of

cat /usr/share/X11/xorg.conf.d/99-fbturbo.conf

P.S. Did you run the script “ws-35b-v2.sh” on your fresh Volumio?

Yes, I did run your script after installing the touch screen plugin.

volumio@volumio:~$ cat /usr/share/X11/xorg.conf.d/99-fbturbo.conf

This is a minimal sample config file, which can be copied to

/etc/X11/xorg.conf in order to make the Xorg server pick up

and load xf86-video-fbturbo driver installed in the system.

When troubleshooting, check /var/log/Xorg.0.log for the debugging

output and error messages.

#The driver is made by Waveshare&Spotpear

Run “man fbturbo” to get additional information about the extra

configuration options for tuning the driver.

Section “Device”
Identifier “Allwinner A10/A13 FBDEV”
Driver “fbturbo”
Option “fbdev” “/dev/fb1”

    Option          "SwapbuffersWait" "true"

EndSection

I did not write the script. Don’t use it. It doesn’t fit your screen…

In “/usr/share/X11/xorg.conf.d/99-fbturbo.conf” “/dev/fb1” has to be changed to “/dev/fb0”, so the file looks like

# This is a minimal sample config file, which can be copied to
# /etc/X11/xorg.conf in order to make the Xorg server pick up
# and load xf86-video-fbturbo driver installed in the system.
#
# When troubleshooting, check /var/log/Xorg.0.log for the debugging
# output and error messages.
#
# Run "man fbturbo" to get additional information about the extra
# configuration options for tuning the driver.

Section "Device"
        Identifier      "Allwinner A10/A13 FBDEV"
        Driver          "fbturbo"
        Option          "fbdev" "/dev/fb0"

        Option          "SwapbuffersWait" "true"
EndSection

Then restart the plugin.

Yezzzzxx!

No it’s need to be calibrated.
And I have to recatch what I have done in the past hour​:rofl::rofl::rofl::rofl:

:+1:

many many thanks, I learned a lot in the past hour.
I almost had thrown the touchscreen in a far away corner :slight_smile:

Display saved :slight_smile:

Yes, display saved.

Got some data from Waveshare site to calibrate, changed calibration file and bingo.
Working perfect now.

Whish you a good night and weekend!!

Ad.

2 Likes

Hi friends…
i’m change my display whit MPI3508 HDMI (fo aliexpress). I can see on screen all UI but i have not the touch…
Can help me?
Thank you

Please show the results of

cat /boot/config.txt

and

cat /boot/config.txt

volumio@volumio:~$ cat /boot/config.txt

initramfs volumio.initrd

#GPU_MEM=32

max_usb_current=1

dtparam=audio=on

audio_pwm_mode=2

dtparam=i2c_arm=on

disable_splash=1

hdmi_force_hotplug=1

include userconfig.txt

This is userconfig.txt

config_hdmi_boost=7

hdmi_drive=2

hdmi_group=2

hdmi_mode=87

hdmi_cvt 480 320 60 6 0 0 0

Add the following lines to “/boot/userconfig.txt”:

dtparam=spi=on
dtoverlay=ads7846
dtparam=cs=1
dtparam=penirq=25
dtparam=penirq_pull=2
dtparam=speed=50000
dtparam=swapxy=0
dtparam=pmax=255
dtparam=xohms=150
dtparam=xmin=200
dtparam=xmax=3900
dtparam=ymin=200
dtparam=ymax=3900

Reboot.

don’t run…

It’s a good idea if i install ws-35b-v2.sh???

What does that mean: Is the screen not working at all, i.e. not even displaying something? Or is (just) touch still not working?

I suppose: No, I would think, the overlay from there does not suit the MPI3508.

Please show the results of

ls -al /usr/share/X11/xorg.conf.d

and

ls -al /etc/X11/xorg.conf.d

I can see the buttons, info track etc etc… (in very bed resolution) only touch don’t work!

volumio@volumio:~$ ls -al /usr/share/X11/xorg.conf.d

total 32

drwxr-xr-x 2 root root 4096 May 20 19:43 .

drwxr-xr-x 1 root root 4096 May 20 19:43

-rw-r–r-- 1 root root 1350 Nov 11 2016 10-quirks.conf

-rw-r–r-- 1 root root 788 Sep 30 2016 40-libinput.conf

-rw-r–r-- 1 root root 2747 Oct 28 2016 70-wacom.conf

-rw-r–r-- 1 root root 607 Dec 7 2016 99-fbturbo.conf

volumio@volumio:~$ ls -al /etc/X11/xorg.conf.d

total 20

drwxr-xr-x 2 root root 4096 May 30 17:59 .

drwxr-xr-x 1 root root 4096 May 20 19:45

-rw-r–r-- 1 root root 316 May 30 17:59 95-touch_display-plugin.conf