Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Pi Touch 1 doesn't rotate
#1
Hello.

I have installed Moode 9.2.0 on a Raspberry Pi 5 but I cannot rotate the Pi Touch 1. When I set the rotation to 180 degrees and reboot, I get a completely black screen. However, if I set the rotation to 0 degrees, the screen works correctly.

I am using a 7' touch 1 screen connected to a raspberry pi 5 using the DSI 1 port.

Could anybody please help me to rotate it?


Thanks!
Reply
#2
Set rotation to 180, reboot and then post the contents of config.txt and cmdline.txt

Code:
cat /boot/firmware/config.txt
cat /boot/firmware/cmdline.txt
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
Hello Tim.

I attach the information as you requested:


Code:
cat /boot/firmware/config.txt
#########################################
# This file is managed by moOde
#########################################

# Device filters
[cm4]
otg_mode=1
[pi4]
hdmi_force_hotplug:0=1
hdmi_force_hotplug:1=1
hdmi_enable_4kp60=0
[all]
dtoverlay=vc4-kms-v3d
max_framebuffers=2
#display_auto_detect=1
disable_fw_kms_setup=1
arm_64bit=1

# General settings
arm_boost=0
disable_splash=1
disable_overscan=1
hdmi_drive=2
hdmi_blanking=1
hdmi_force_edid_audio=1
hdmi_force_hotplug=1
hdmi_group=0
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=audio=on

# Do not alter this section
# Integrated adapters
#dtoverlay=disable-bt
#dtoverlay=disable-wifi
# Audio overlays
dtoverlay=iqaudio-dacplus
#dtoverlay=force_eeprom_read=0
# PCI Express
#dtparam=pciex1
#dtparam=pciex1_gen=3
# Pi Touch1
dtoverlay=vc4-kms-dsi-7inch,invx,invy
# Fan speed
dtparam=fan_temp0=50000,fan_temp0_hyst=5000,fan_temp0_speed=75


Code:
cat /boot/firmware/cmdline.txt
console=serial0,115200 console=tty1 root=PARTUUID=6ababc1d-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=ES video=DSI-1:800x480@60,rotate=180

Thank you!
Reply
#4
That looks ok and matches the requirements in the documentation for the Touch1
https://www.raspberrypi.com/documentatio...-a-desktop

Its not obvious to me why its not working on your end.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
(12-26-2024, 03:54 PM)burns1 Wrote: Hello Tim.

I attach the information as you requested:


Code:
cat /boot/firmware/config.txt
#########################################
# This file is managed by moOde
#########################################

# Device filters
[cm4]
otg_mode=1
[pi4]
hdmi_force_hotplug:0=1
hdmi_force_hotplug:1=1
hdmi_enable_4kp60=0
[all]
dtoverlay=vc4-kms-v3d
max_framebuffers=2
#display_auto_detect=1
disable_fw_kms_setup=1
arm_64bit=1

# General settings
arm_boost=0
disable_splash=1
disable_overscan=1
hdmi_drive=2
hdmi_blanking=1
hdmi_force_edid_audio=1
hdmi_force_hotplug=1
hdmi_group=0
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=audio=on

# Do not alter this section
# Integrated adapters
#dtoverlay=disable-bt
#dtoverlay=disable-wifi
# Audio overlays
dtoverlay=iqaudio-dacplus
#dtoverlay=force_eeprom_read=0
# PCI Express
#dtparam=pciex1
#dtparam=pciex1_gen=3
# Pi Touch1
dtoverlay=vc4-kms-dsi-7inch,invx,invy
# Fan speed
dtparam=fan_temp0=50000,fan_temp0_hyst=5000,fan_temp0_speed=75


Code:
cat /boot/firmware/cmdline.txt
console=serial0,115200 console=tty1 root=PARTUUID=6ababc1d-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=ES video=DSI-1:800x480@60,rotate=180

Thank you!

FYI

I have an original Touch (aka Touch 1) built into a case with a Pi3B+ running moOde 9.2.0. Has been working fine as the local display.

This evening I changed the Rotate setting to 180 and rebooted. It took a long time for the screen to start displaying the moOde webUI upside down but it's working fine in this mode too. The contents of the two /boot/firmware files are identical to what you posted.

Like Tim, I don't know why the rotation isn't working as expected at your end.

Regards,
Kent
Reply
#6
Hi.

I did some tests with raspberry pi 5. If I change the port to DSI 2, the screen doesn't rotate but X and Y coordinates are inverted.

Same configuration applied on a raspberry pi 4 with the same touch screen and moOde 9.2.0, works properly.


Thank you for your support.
Reply
#7
On the Pi5 does it work correctly when plugged into DSI-1 port?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#8
(12-27-2024, 12:25 PM)Tim Curtis Wrote: On the Pi5 does it work correctly when plugged into DSI-1 port?

No, it doesn't work Sad . On the Pi5 when I plug into DSI-1 port and I set the rotation to 180 degrees, I get a completely black screen.



Thanks!
Reply
#9
(12-27-2024, 01:11 PM)burns1 Wrote:
(12-27-2024, 12:25 PM)Tim Curtis Wrote: On the Pi5 does it work correctly when plugged into DSI-1 port?

No, it doesn't work Sad . On the Pi5 when I plug into DSI-1 port and I set the rotation to 180 degrees, I get a completely black screen.

Thanks!

Right, this was in your OP.

Your best bet at this point would prolly be to post an issue in the Raspberry Pi Forums because moode is just following the official documentation to update config.txt and cmdline.txt with the specified settings for the Touch1.

I reread the docs and there is no mention of any Pi5 specific settings for the Touch1.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#10
Ok. I will do it.

Many thanks for your support!
Reply


Forum Jump: