iMX8MP Android11 display rotation

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

iMX8MP Android11 display rotation

746件の閲覧回数
zb2020
Contributor II

I'm trying to rotate the display in Android 11.0.0_2.6.0. I'm using the i.MX8MP-EVK devkit with the MX8_DSI_OLED1 (Raydium RM67199) display.

I found a patch for Android 10 that enables display rotation, and after applying it, the layout rotates to landscape, but the image appears stretched. Additionally, the mouse and touchscreen drivers do not rotate to match the display orientation.

What is the proper way to rotate the display in Android 11 on the i.MX8MP platform? Is there an official patch available for the i.MX8MP?

ラベル(2)
0 件の賞賛
返信
3 返答(返信)

712件の閲覧回数
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

It should be already integrated in Android 11. FYI https://community.nxp.com/t5/i-MX-Processors/Android-11-iMX8mp-display-rotation/td-p/1557459.

Regards

0 件の賞賛
返信

707件の閲覧回数
zb2020
Contributor II

Hi,

The display rotation is not implemented in Android 11.0.0_2.6.0. I applied the patches from this post, but images and text in landscape mode appear stretched. 

Regards

0 件の賞賛
返信

663件の閲覧回数
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi @zb2020,

These are the commands for rotating the screen, could you test them?

setprop persist.demo.rotationlock true
setprop persist.demo.remoterotation portrait

Regards

0 件の賞賛
返信