FYSETC / FYSETC-CTP40

This repo contains the infomations and drivers for FYSETC CTP40 display
10 stars 3 forks source link

Cannot rotate display (ctp40) in pi4 running octopi #6

Open chasrobertson opened 3 years ago

chasrobertson commented 3 years ago

Hi, I have installed all the drivers and the display is running in portrait mode, but when I try to run ctp40-rotate, I get the reply: This rotate utility only works with the Raspberry PI OS desktop version. You need to set a DISPLAY variable. Try: DISPLAY=:0.0 stp40-rotate . I presume that it should be DISPLAY=0:0 rather than what is shown on the screen. When I try this out I get an error :- Traceback (most recent call last): File "", line 3, in Import error: No Module named in screenlayout. Failed to set display orientation. Make sure you're running Raspberry Pi OS Desktop on a Pi 4.

Any ideas how I can get this to work, as Octopi is better in landscape mode, Regards Chas.Robertson.

E-Selcuk commented 3 years ago

I have the same problem. Any help would be appreciated.

chasrobertson commented 3 years ago

Not got a solution or any feedback. Running in portrait mode with no problems, pleased with the item, but would be great if we can get landscape mode to work.Sent from my Galaxy

-------- Original message --------
From: E-Selcuk @.>
Date: 27/08/2021 16:53 (GMT+00:00)
To: FYSETC/FYSETC-CTP40 @.>
Cc: Chas Robertson @.>, Chas Robertson @.>, Author @.***>
Subject: Re: [FYSETC/FYSETC-CTP40] Cannot rotate display (ctp40) in pi4 running octopi (#6)

"E-Selcuk" @.***> 08/27/2021 16:55 >>> I have the same problem. Any help would be appreciated.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/FYSETC/FYSETC-CTP40/issues/6#issuecomment-907301723

SergPanin commented 3 years ago

Dont rotate (OctoPi)

pi@raspberrypi:~ $ ctp40-rotate left This rotate utility only works with the Raspberry Pi OS desktop version. You need to set a DISPLAY variable. Try: DISPLAY=:0.0 ctp40-rotate

DISPLAY=:0.0 ctp40-rotate left This rotate utility only works with the Raspberry Pi OS desktop version. Rotating display Traceback (most recent call last): File "", line 3, in ImportError: No module named screenlayout Failed to set display orientation. Make sure you're running Raspberry Pi OS desktop on a Pi 4.

chasrobertson commented 3 years ago

Have tried with a fresh installation of raspberry pi with the same result! There appear to be problems with the latest version (32 bit) Sent from my Galaxy

-------- Original message --------
From: SergPanin @.>
Date: 05/09/2021 17:17 (GMT+00:00)
To: FYSETC/FYSETC-CTP40 @.>
Cc: Chas Robertson @.>, Chas Robertson @.>, Author @.***>
Subject: Re: [FYSETC/FYSETC-CTP40] Cannot rotate display (ctp40) in pi4 running octopi (#6)

"SergPanin" @.***> 09/05/2021 17:18 >>> Dont rotate (OctoPi)

@.***:~ $ ctp40-rotate left This rotate utility only works with the Raspberry Pi OS desktop version. You need to set a DISPLAY variable. Try: DISPLAY=:0.0 ctp40-rotate

DISPLAY=:0.0 ctp40-rotate left This rotate utility only works with the Raspberry Pi OS desktop version. Rotating display Traceback (most recent call last): File "", line 3, in ImportError: No module named screenlayout Failed to set display orientation. Make sure you're running Raspberry Pi OS desktop on a Pi 4.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/FYSETC/FYSETC-CTP40/issues/6#issuecomment-913183933