this post was submitted on 04 Aug 2024
13 points (93.3% liked)
Linux Phones
4991 readers
1 users here now
Community about running GNU/Linux on phones. Projects like Ubuntu Touch, Plasma Mobile, PostmarketOS, Mobian etc. Either on former Android phones or hardware like the PinePhone.
See also:
Related chats:
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'll correct by saying that it's with mainline linux that those cameras don't work. Ubuntu Touch uses libhybris to run Android drivers, meaning most supported phones' cameras work there...
Interesting, I didn't know that. Probably because PostmarketOS is based on Alpine (no glibc).
No, it's just that when you use a mainline kernel, you're just not reusing all the Android (often user-space) drivers that make cameras work on Android and due to that stuff, starting from drivers for the SoC camera interface to the camera sensor have to be re-implemented. Whether you are on glibc (e.g., on Debian/Mobian) or musl/Alpine does not really matter.
Also, Camera APIs and the whole "desktop Linux" camera stack (think of things like debayering, white-balance) is nowhere near as developed as what Android has (and that, IUC, Ubuntu Touch can reuse on Halium by plumbing things together).
Chevy thanx for your answer. Regards