r/linux • u/jdrch • Nov 20 '19
Kernel Google outlines plans for mainline Linux kernel support in Android
https://arstechnica.com/gadgets/2019/11/google-outlines-plans-for-mainline-linux-kernel-support-in-android/
1.0k
Upvotes
View all comments
Show parent comment
3
u/SanityInAnarchy Nov 21 '19
That's true, and that's also probably why ChromeOS has a way better update story than Android. (Google basically delivers the entire OS and everything else, so they support the devices for 5+ years.)
I wonder why that hasn't worked on mobile. I guess nvidia could never get away with forcing you to run an nvidia-only kernel, because a desktop can have components from a bunch of different manufacturers who all have to get along in the same kernel?
But there's some other differences: Weird, gimmicky, vendor-specific hardware tends to be plugged into PCs via USB, and there's apparently just standard ways of talking to USB devices from userland now. So I was surprised to learn that all this RGB madness is supported by some random Github projects, but at least one of those seems to be entirely userland. Printer drivers live in CUPS in userland. Google's Titan keys don't really have specific drivers, Chrome just talks to them directly.
The kernel may have no stable API/ABI internally, but its userland API is stable, so I guess Linux accidentally solved this problem specifically for USB gadgets on the desktop.
All that said, I've seen some absurdly old Windows drivers run on modern Windows. Heck, that ABI is probably the reason a lot of early Linux wifi support was done by running Windows drivers on Linux via NDISWrapper.