AnsweredAssumed Answered

two output and setting touch screen resolution ratio

Question asked by andy yao on Aug 22, 2016
Latest reply on Aug 26, 2016 by igorpadykov

settting up ro.sf.hwrotation=9 rotating screen,when only use HDMI output(only one screen)

 

video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off

08-16 11:31:30.110 508-530/system_process I/DisplayManagerService: Display device added: DisplayDeviceInfo{"Built-in Screen": 1080 x 1920, 60.000004 fps, density 160, 213.0 x 213.0 dpi, touch INTERNAL, rotation 0, type BUILT_IN, FLAG_DEFAULT_DISPLAY, FLAG_ROTATES_WITH_CONTENT, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}

Touch screen to work normally

 

 

two screen output mode:

video=mxcfb1:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb0:dev=lcd,1024x768,if=RGB24,bpp=32 video=mxcfb2:off video=mxcfb3:off

08-16 11:46:14.030 510-534/system_process I/DisplayManagerService: Display device added: DisplayDeviceInfo{"Built-in Screen": 768 x 1024, 60.000004 fps, density 160, 159.568 x 159.895 dpi, touch INTERNAL, rotation 0, type BUILT_IN, FLAG_DEFAULT_DISPLAY, FLAG_ROTATES_WITH_CONTENT, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}
08-16 11:46:14.030 510-534/system_process I/DisplayManagerService: Display device added: DisplayDeviceInfo{"HDMI screen":
1920 x 1080, 60.000004 fps, density 320, 320.0 x 320.0 dpi, touch EXTERNAL, rotation 0, type HDMI, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS, FLAG_PRESENTATION}

HDMI screen no rotate,so the touch screen resolution ratio is error. I want to know how to solve?

Outcomes