Hello,
I have a problem with the rotation of the screen.
material: Pi3b
Screen: Waveshare 3.5" TFT screen
picoreplayer: 8.1.0 standard
installation tutorial: w w w . pughx2 . com / picore3 . html
I had no issues installing piCore and was putting the Pi one way.
I moved my config and I need to flip the display 180°.
I tested via the webserver in the Tweaks (check yes, backup, reboot) but it doesn't change.
I also tested by modifying the config.txt (/mnt/mmcblk0p1). it doesn't change anything either.
Can you help me?
(thank you google translate because I speak french)
Results 1 to 9 of 9
Thread: Rotate Display
-
2022-01-16, 03:36 #1
- Join Date
- Jan 2022
- Posts
- 4
[Solved] Rotate Display
Last edited by tazoube; 2022-03-07 at 07:41. Reason: Solved
-
2022-01-16, 04:54 #2
The rotate setting only works with the official rpi 7" screen.
Try adding SDL_VIDEO_FBCON_ROTATION variable to your jivelite.sh script with the rotation type.
For example one of
Code:export SDL_VIDEO_FBCON_ROTATION=UD or export SDL_VIDEO_FBCON_ROTATION=CW or export SDL_VIDEO_FBCON_ROTATION=CCW Valid values are: o not set - Not rotating, no shadow. o "NONE" - Not rotating, but still using shadow. o "CW" - Rotating screen clockwise. o "UD" - Rotating screen upside down. o "CCW" - Rotating screen counter clockwise.
Ralphy
1-Touch, 5-Classics, 3-Booms, 2-UE Radio
Squeezebox client builds donations always appreciated.
-
2022-01-16, 09:39 #3
- Join Date
- Feb 2015
- Location
- Canada
- Posts
- 58
If the config has options for "flip horizontal" and "flip vertical" try turning both on. I found I had to do this for my screen on Squeezeamp, since rotate 180 had no effect.
-
2022-01-17, 04:56 #4
- Join Date
- Jan 2022
- Posts
- 4
Thank for help.
it work.
on the other hand, the touch works in reverse. the visual button at the top left corresponds to the location at the bottom right.
How can I modify this?
-
2022-01-17, 06:36 #5Ralphy
1-Touch, 5-Classics, 3-Booms, 2-UE Radio
Squeezebox client builds donations always appreciated.
-
2022-01-26, 11:37 #6
- Join Date
- Sep 2020
- Posts
- 47
This might be a dumb question. Has anyone figured out a vertical skin and rotation? Is it possible to rotate the official 7" screen 90 instead of 180 degrees? I tried looking this up and couldn't find anything.
-
2022-01-30, 06:28 #7
- Join Date
- Jan 2022
- Posts
- 4
Hello,
Sorry for the late reply but I didn't know how to look first.
thanks for the help.
It worked to change the orientation of the touchscreen. But the buttons are still not in their place.
I searched a bit by modifying: linear module -> linear module xyswap: KO
linear rot module 1: KO
linear rot 3 module: KO
module linear rot 1 xyswap: KO
can you help me?
-
2022-03-02, 04:52 #8
- Join Date
- Mar 2022
- Posts
- 1
Guess i've figured it out...
1. Add export SDL_VIDEO_FBCON_ROTATION=UD to jivelite.sh (see post #2)
2. If you've followed post #5: Remove any changes you#ve made in "/usr/local/etc/ts.conf" and "/opt/.filetool.lst" and do a "pcp bu" afterwards
3. Follow the steps in the tutorial to re-calibrate the touchscreen with one small change:
3a. Now we use "ts_calibrate -r 2" to rotate screen 180° -> sudo TSLIB_FBDEVICE=/dev/fb1 TSLIB_TSDEVICE=/dev/input/event0 /usr/local/bin/ts_calibrate -r 2
3b. [Optional] Check calibration: sudo TSLIB_FBDEVICE=/dev/fb1 TSLIB_TSDEVICE=/dev/input/event0 /usr/local/bin/ts_test -r 2
3c. Follow tutorial to the endLast edited by Rudi Rastelli; 2022-03-03 at 00:45.
-
2022-03-07, 07:40 #9
- Join Date
- Jan 2022
- Posts
- 4
thank you very much, it works