M1 Android rotate to portrait mode not working correctly

Post Reply
pinballguy7
Posts: 1
Joined: Sun Mar 19, 2023 2:07 am
languages_spoken: english
ODROIDs: oDroid M1
Has thanked: 0
Been thanked: 0
Contact:

M1 Android rotate to portrait mode not working correctly

Post by pinballguy7 »

I have a new M1 with Android installed from the factory. It is attached to a 42" vertical touchscreen, I set the screen orientation under odroid settings to 270 to have the display look correct. I installed the Amazon Music app and when it starts, it only fills the top portion of the screen as if the app thinks it is in landscape mode. See attached pic. When I click the circle at the bottom right corner, the screen flickers then goes back to what you see. I tried setting the screen to automatically rotate the display but that had no effect. Is there a different setting to try?

Also, the HMI touch screen is flipped upside-down. When I connect a PC to this display, everything works as expected so I know the touchscreen is not installed upside down. Is there a setting somewhere to 'flip' the touch driver?
Attachments
IMG_20230318_114819300.jpg
IMG_20230318_114819300.jpg (493.11 KiB) Viewed 94 times

User avatar
joerg
Posts: 1801
Joined: Tue Apr 01, 2014 2:14 am
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2, N1, N2, C4
Location: Germany
Has thanked: 165 times
Been thanked: 361 times
Contact:

Re: M1 Android rotate to portrait mode not working correctly

Post by joerg »

Have you tried how it is looking with adb shell settings put system user_rotation 3?
Before set in Odroid Settings back to 0°.

User avatar
codewalker
Posts: 1804
Joined: Mon Feb 25, 2013 11:03 am
languages_spoken: english
ODROIDs: all
Has thanked: 71 times
Been thanked: 154 times
Contact:

Re: M1 Android rotate to portrait mode not working correctly

Post by codewalker »

We support screen rotation and touch orientation for VU8M
https://wiki.odroid.com/odroid-m1/appli ... splay_vu8m

If screen and touch have same orientation, just set rotation in Odroid Settings.

But I guess that your screen is landscape and touch is portrait as default.

You can rotate screen as portrait

Code: Select all

$ adb remount
# busybox vi /vendor/default.prop
...
ro.surface_flinger.primary_display_orientation=ORIENTATION_270
...

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 2 guests