3 ms·
It doesn't achieve the same thing. Linux on DeX had full driver support because it was running on top of Android. postmarketOS has to play catch up.
by kick 7y ago
It doesn't achieve the same thing. Linux on DeX had full driver support because it was running on top of Android. postmarketOS has to play catch up.
- MuffinFlavored 7y agodriver support for what hardware on the device specifically? Is it not open-source? aka can it not be backported?
- kick 7y agoLinux on DeX didn't have to worry about drivers at all, because it was running in a container on an Android system. Like how your USB mouse will work on an operating system that only has PS/2 support in a virtual machine.
- bri3d 7y agoAndroid's driver APIs and userland implementation are nonstandard. They have their own libc (bionic) and their own linker. Vendors supply binary blobs for many drivers (RIL, graphics, etc.). These drivers need a series of compatibility shims to work with "normal Linux," on both sides of the driver API. The Kernel <-> Driver interface needs to be backported to Android's non-mainline HAL, usually using Halium. The driver <-> userspace API needs to be implemented, for example by xf86-video-hwcomposer or libhybris-libwayland-egl. Finally, the blob needs a libc shim to work with normal libc (libhybris itself). https://wiki.postmarketos.org/wiki/Hybris https://wiki.postmarketos.org/wiki/Hybris
- MartijnBraam 7y agoI like to point out that most devices don't use hybris on postmarketOS
- MuffinFlavored 7y agoand instead have native support?