|
I was able to get screen rotation working in linux, but not in android. I think the problem is that RandR is not supported by the default drivers, but since hardware acceleration isn't working yet in linux anyway, you can just rotate the framebuffer device:
/etc/X11/xorg.conf
- Section "Device"
- Identifier "default"
- Driver "fbdev"
- Option "Rotate" "UD"
- EndSection
Copy code
This rotates by 180 degrees, but replace 'UD' with 'CCW' or 'CW' if you want to rotate it by 90 or 270.
I tested this with OrangePi One using loboris' image OrangePI-PC_Ubuntu_Vivid_Mate.img. I'm afraid I can't help with android. |
|