I can't install my 3.5 inch screen MPI3508

Get help for Volumio here!

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

I can't install my 3.5 inch screen MPI3508

Postby LavaGame » Sat Oct 26 2019 00:53

I tried to do this and I made but nothing change and
Attachments
Screenshot_2019-10-25-21-43-08-329_com.termux.png
Screenshot_2019-10-25-21-43-08-329_com.termux.png (194.29 KiB) Viewed 1110 times
Random avatar
LavaGame
Fresh off the boat
Fresh off the boat
 
Posts: 9
Joined: Sat Oct 19 2019 04:14

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


I can't install my 3.5 inch screen MPI3508

Postby gvolt » Sat Oct 26 2019 07:31

Remember Linux is case sensitive. In /usr/share as well as in /etc the folder has to be X11 (not x11)!

Your screenshot shows that you also have created a folder x11 below /etc which needs to X11. Please execute
Code: Select all
sudo mkdir /etc/X11/xorg.conf.d
and move 99-calibration.conf as follows
Code: Select all
sudo mv /etc/x11/xorg.conf.d/99-calibration.conf conf /etc/X11/xorg.conf.d/
You may also delete /etc/x11
Code: Select all
sudo rm -rf /etc/x11

Then revert the change you have applied to 99-calibration.conf and reboot.

If calibration is still bad, post the results of
Code: Select all
ls -al /usr/share/X11/xorg.conf.d/
and
Code: Select all
ls -al /etc/X11/xorg.conf.d/
Random avatar
gvolt
Objectivist
Objectivist
 
Posts: 214
Joined: Fri Mar 02 2018 16:47


I can't install my 3.5 inch screen MPI3508

Postby LavaGame » Sat Oct 26 2019 20:23

The calibration still the same thing
Attachments
Screenshot_2019-10-26-17-20-47-019_com.termux.png
Screenshot_2019-10-26-17-20-47-019_com.termux.png (200.1 KiB) Viewed 1074 times
Random avatar
LavaGame
Fresh off the boat
Fresh off the boat
 
Posts: 9
Joined: Sat Oct 19 2019 04:14


I can't install my 3.5 inch screen MPI3508

Postby gvolt » Sat Oct 26 2019 23:04

Ok, did you also test with "SwapAxes" set to "0" in 99-calibration.conf after you moved that file to /etc/X11/xorg.conf.d/?

Edit: I had another look at your video and I have the impression that the x and y axes are swapped. So, please test /boot/config.txt with "swapxy" set to 1 in the line beginning with "dtoverlay=ads7846":
Code: Select all
dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=1,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900


If that has no effect, too, copy 40-libinput.conf from /usr/share/X11/xorg.conf.d/ to /etc/X11/xorg.conf.d/
Code: Select all
sudo cp /usr/share/X11/xorg.conf.d/40-libinput.conf /etc/X11/xorg.conf.d/

Open /etc/X11/xorg.conf.d/40-libinput.conf
Code: Select all
sudo nano /etc/X11/xorg.conf.d/40-libinput.conf
and add the line
Code: Select all
Option "CalibrationMatrix" "1 0 0 0 1 0 0 0 1"
to the Section "InputClass" with the Identifier "libinput touchscreen catchall".

After that the section should look like this:
Code: Select all
Section "InputClass"
        Identifier "libinput touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
        Option "CalibrationMatrix" "1 0 0 0 1 0 0 0 1"
EndSection

Then save 40-libinput.conf and reboot.

The calibration matrix "1 0 0 0 1 0 0 0 1" means a touch rotation of 0°. You may also try other matrices to see if changes in 40-libinput.conf have any effect: "0 1 0 -1 0 1 0 0 1" should rotate touch by 90°, "-1 0 1 0 -1 1 0 0 1" by 180° and "0 -1 1 1 0 0 0 0 1" by 270°. Swapping x and y axes: " 0 1 0 1 0 0 0 0 1"; inverting x: "-1 0 1 0 1 1 0 0 1"; inverting y: "1 0 0 0 -1 1 0 0 1".

P.S. Did you create /usr/share/X11/xorg.conf.d/xorg.conf.d? It doesn't seem to exist by default. At least I don't have such a folder on my system.
Random avatar
gvolt
Objectivist
Objectivist
 
Posts: 214
Joined: Fri Mar 02 2018 16:47


I can't install my 3.5 inch screen MPI3508

Postby LavaGame » Wed Nov 06 2019 02:00

i tried to do this:
Code: Select all
sudo cp /usr/share/X11/xorg.conf.d/40-libinput.conf /etc/X11/xorg.conf.d/
but after do this the volumio don't start the gui. i tried to install: xinput-calibrator_0.7.5-1_armhf.deb with dpkg install comand but nothing, change the x and y continue inverted. sorry I haven't had much free time to made this function, and no i have /usr/share paste but i do it manually and all the archives i put here with de terminal.
Random avatar
LavaGame
Fresh off the boat
Fresh off the boat
 
Posts: 9
Joined: Sat Oct 19 2019 04:14


I can't install my 3.5 inch screen MPI3508

Postby gvolt » Wed Nov 06 2019 08:15

LavaGame wrote:
Code: Select all
sudo cp /usr/share/X11/xorg.conf.d/40-libinput.conf /etc/X11/xorg.conf.d/
but after do this the volumio don't start the gui.

With /etc/X11/xorg.conf.d/40-libinput.conf in place and when the UI did not start what is the result of
Code: Select all
systemctl status -l volumio-kiosk

Also please post the content of /etc/X11/xorg.conf.d/40-libinput.conf
Code: Select all
cat /etc/X11/xorg.conf.d/40-libinput.conf

LavaGame wrote:i tried to install: xinput-calibrator_0.7.5-1_armhf.deb with dpkg install comand but nothing, ....
Did the installation xinput-calibration fail or what (other) the error did occur?

LavaGame wrote:... change the x and y continue inverted..
Just to clarify: Did you change "swapxy" in /boot/config.txt in the line beginning with "dtoverlay=ads7846"?

LavaGame wrote:... and no i have /usr/share paste but i do it manually and all the archives i put here with de terminal.
Hm, assuming /usr/share/X11/xorg.conf.d/xorg.conf.d has been created accidentally you might remove it with:
Code: Select all
sudo rm -r /usr/share/X11/xorg.conf.d/xorg.conf.d


P.S. Instead of posting screenshots maybe you could try to copy the text of error messages or results of commands you executed in the terminal and paste it into your posts using code tags.
Random avatar
gvolt
Objectivist
Objectivist
 
Posts: 214
Joined: Fri Mar 02 2018 16:47


I can't install my 3.5 inch screen MPI3508

Postby LavaGame » Sat Nov 09 2019 18:44

[code] ___
/\_ \ __
__ __ ___\//\ \ __ __ ___ ___ /\_\ ___
/\ \/\ \ / __`\\ \ \ /\ \/\ \ /' __` __`\/\ \ / __`\
\ \ \_/ |/\ \L\ \\_\ \_\ \ \_\ \/\ \/\ \/\ \ \ \/\ \L\ \
\ \___/ \ \____//\____\\ \____/\ \_\ \_\ \_\ \_\ \____/
\/__/ \/___/ \/____/ \/___/ \/_/\/_/\/_/\/_/\/___/

Free Audiophile Linux Music Player - Version 2.0

C 2015 Michelangelo Guarise - Volumio Team - Volumio.org


Volumio Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
volumio@volumio:~$ systemctl status -l volumio-kiosk
● volumio-kiosk.service - Volumio Kiosk
Loaded: loaded (/lib/systemd/system/volumio-kiosk.service; disabled)
Active: inactive (dead)
volumio@volumio:~$ cat /etc/X11/xorg.conf.d/40-libinput.conf
Section "InputClass"
Identifier "libinput touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "CalibrationMatrix" "1 0 0 0 1 0 0 0 1"
EndSection
volumio@volumio:~$ sudo rm -r /usr/share/X11/xorg.conf.d/xorg.conf.d
rm: cannot remove '/usr/share/X11/xorg.conf.d/xorg.conf.d': No such file or directory
volumio@volumio:~$ [code] I have made all this things but the calibration didn't change and in this time the gui have started and didn't have any error message in the installation and I tried "swapaxes" with 0 and 1 and nothing change
Random avatar
LavaGame
Fresh off the boat
Fresh off the boat
 
Posts: 9
Joined: Sat Oct 19 2019 04:14


I can't install my 3.5 inch screen MPI3508

Postby gvolt » Sat Nov 09 2019 21:55

LavaGame wrote:rm: cannot remove '/usr/share/X11/xorg.conf.d/xorg.conf.d': No such file or directory
Sorry, my mistake. Command has to be
Code: Select all
sudo rm -r /etc/X11/xorg.conf.d/xorg.conf.d

LavaGame wrote:I have made all this things but the calibration didn't change and in this time the gui have started and didn't have any error message in the installation and I tried "swapaxes" with 0 and 1 and nothing change
With "swapaxes" do you mean "swapxy" from the dtoverlay in /boot/config.txt?

Since the GUi does start now please post the output of
Code: Select all
systemctl status -l volumio-kiosk
after the GUI is visible.

I suspect your display does not work with libinput but may need evdev. This would require installing xserver-xorg-input-evdev:
Code: Select all
sudo apt-get install -y xserver-xorg-input-evdev

After that in /etc/X11/xorg.conf.d/40-libinput.conf in section "InputClass" with the identifier "libinput touchscreen catchall" try changing the line regarding the driver to be used from "libinput" to "evdev" so that section looks like this:
Code: Select all
Section "InputClass"
        Identifier "libinput touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection
Reboot.
Random avatar
gvolt
Objectivist
Objectivist
 
Posts: 214
Joined: Fri Mar 02 2018 16:47

Previous

Return to Help

Who is online

Users browsing this forum: No registered users and 0 guests