Android (AOSP) booting with kernel 5.10 - display rotation issue #3
Replies: 5 comments 4 replies
-
For reference, the commit with comments 4678078#commitcomment-49573872 |
Beta Was this translation helpful? Give feedback.
-
@robertosartori I looked into the issue and it appears the orientation property change might not be parsed by userspace because the panel already is partially added. What is strange is that all other panel drivers on mainline implementing customizable orientation also seem to do it the same way, so they should be hitting the same issue; I can attempt reaching the author (from Intel) who added those This appears to not concern Linux userspace too much however as the video output is still rotated properly. If on Android you can use
If this doesn't help, you could just try simply not rotating the panel in the OP5 DTS and instead ask around some Android (mainline/bringup/dev) channels about potentially doing this in DRM HWComposer directly somehow (as I believe this might be the intended approach). Also if you don't mind could you take a picture (or even screenshot) of the device in Android's about screen showing the kernel version? Would be nice to see some of the progress without clearing disk space to build all of AOSP :) |
Beta Was this translation helpful? Give feedback.
-
Thanks for the analysis.
Yes, this was the same conclusion I got. From the commits I saw, it was known that a lot of panel drivers are doing the same, but as you said it is not an issue on Linux apparently.
Merging this two points: https://www.youtube.com/watch?v=CyfeY3d1vQ4&t=2s I can share more updated photos/screenshots of course: https://imgur.com/a/ohU44S4
I quickly tried to use the panel-samsung-s6e3fa5 as module with no success and I'm not even sure about the order the modules were loaded, but as I said earlier, I did not use a lot of time for this. I'll go back to this issue and get back to you hopefully soon :) |
Beta Was this translation helpful? Give feedback.
-
Sorry for the delay. https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/ I'll keep you posted. |
Beta Was this translation helpful? Give feedback.
-
@robertosartori Here's something cool for the OnePlus 5 (cheeseburger): I've written an RMI4 F1A driver which should enable the capacitive touch buttons on Android (it may need a key layout file?) |
Beta Was this translation helpful? Give feedback.
-
Hi, I copy here a message I left on a commit, so it does not get lost:
Jami was able to replicate the stacktrace on postmarketOS, so we can continue the discussion here! :)
Beta Was this translation helpful? Give feedback.
All reactions