Page 1 of 1

Screen rotation doesn't rotate touchscreen

Posted: Thu Nov 28, 2019 10:20 pm
by kirill
I'm using RK3399 + Android + HD702 touchscreen. I would like to change the orientation from default portrait to landscape. I need to do this on kernel level to have Android logo in landscape orientation during boot process too.

I've been following this tutorial: https://tinkerboarding.co.uk/forum/thread-574.html
It adds:

Code: Select all

ro.sf.hwrotation=90
to

Code: Select all

/system/build.prop
file.

After reboot the orientation of the screen is correct - landscape. However, the orientation of touchscreen still remains to be portrait. Therefore, there out of sync between what's displayed and controls using touch (90 degrees rotation mismatch).

I think, something should be changed in touch screen driver but I don't know what exactly and where.

Could you please let me know?

Thanks a lot in advance.

Re: Screen rotation doesn't rotate touchscreen

Posted: Fri Nov 29, 2019 3:27 am
by v8dave
You need to modify the build to do this. It is detailed here where to do this.

viewtopic.php?f=63&t=2107

Re: Screen rotation doesn't rotate touchscreen

Posted: Fri Nov 29, 2019 6:58 am
by kirill
Thanks a lot! This is exactly what I was looking for.