WIP: semc-anzu: patch kernel to add/fix additional framebuffer modes, use fbset to set them for graphics environments
Apologies for the omission.
If #1088 (closed) requires any additional changes in device-semc-anzu, it's probably a good idea to delay this pull request until said changes are done.
Also, is there any official route for hooking physical buttons on a device yet? On this device, event0 handles the power button and event1 handles Volume/Back/Home/Menu keys. Plasma Mobile seems to detect both as keyboards.
Merge request reports
Activity
Created by: ollieparanoid
There's also a kernel patch you could try out. But that might cause the wrong colors to appear in kwin. You might also need a X11 config file.
So I'm merging this not yet if you still want to experiment with it - just let me know when you think it is ready
By * postmarketOS Bot on 2018-01-06T23:11:57
Edited by Ghost UserInitial progress - I have managed to patch the Qualcomm framebuffer driver to add multiple missing framebuffer modes (BGR_888 and ABGR_8888, as well as many modes which weren't fully implemented in the code), however autodetection seems to be broken in both Weston and Xorg. As such, for the time being, I have to call both fbset (different modes for Weston and Xorg!) and pass a pixman_type to Weston.
TODO:
- Consult documentation and check if endianness differences aren't the issue for Weston's detection problems
- Test plasma-mobile
By Adrian Siekierka on 2018-01-07T12:43:08
Okay, this works with Weston, Xorg-based environments and KWin (plasma-mobile). All that needs to be tested now is osk-sdl, but I won't be able to do so for the next week or so.
There's another issue preventing Xorg and KWin from working out of the box, though: msm-fb-refresher doesn't seem to launch automatically on those!
EDIT: There's a couple of devices which share the same framebuffer logic (MDP40) and might benefit from this patch: sony-yuga, samsung-i9505, samsung-i747m, lg-mako, htc-ace - assuming they also suffer from xfce4/kwin issues.
By Adrian Siekierka on 2018-01-07T16:22:57
Edited by Ghost UserPlease do not merge this PR until I verify that the patch in https://github.com/postmarketOS/pmbootstrap/pull/1005 isn't an infinitely simpler way to accomplish the same thing.
By Adrian Siekierka on 2018-01-07T19:50:37