Any chance of the kernel drivers getting usptreamed?

I wonder, has anybody ever tried to usptream the uconsole kernel drivers? It seems like the kernel upgrades are causing distribution people some headaches that apparently could be avoided if the after the fact patching and adjusting of drivers weren’t needed. Getting the display driver integrated would probably be the most obvious win, followed by the USB hub. Then at least an external USB keyboard would work out of the box.

Slim to none. The axp228 driver is already mainlined. I’ve made changes to it though that wouldn’t be accepted. The panel driver most likely won’t be accepted because it’s a custom panel that’s not available for general sale. I’m going to speak in this way even if those changes were upstreamed you would still need to recompile the kernel with those drivers enabled then install that curdle into the image you want to use.

1 Like

I wonder, what changes were needed that can’t be upstreamed? If the entire USB stack worked out of the box, that would already be huge.

As for the panel, that’s a shame. I guess ClockworkPi could always try to sell the panel itself, but I realize they might simply not be interested.

The recompilation in itself doesn’t seem to be what causes many holdups. It seems to be mainly patches no longer applying well, which I assume could be reduced by having less to patch in. It would be nice to see more distributions support the device, hence why I’m interested in this topic.

I have all the drivers updated to compile on recent kernels and I have a bunch of distros I’ve made compatible. You can get links to all of it on my site.

2 Likes

It seems like many distributions want to run their custom patchsets. That seems to cause the most trouble, and there’s also the bus factor problem.

Anyway, I merely wanted to suggest that upstreaming what’s feasible might be a useful longterm idea, if only to spread the work a little bit of keeping it up-to-date with newer kernels.

Just another small example why this could be useful: Debian alert DSA-6528-1 (kernel) [LWN.net] This is from September. Your kernel seems to be currently older. Keeping up with such things is easier if the patchset is smaller (which I’m sure you’re aware).

i’m on kernel 7.1 currently and if i submitted them upstream then i have to maintain them. i already maintain some stuff that’s mainlined and i wouldn’t want to maintain the uconsole ones indefinitely.

so why won’t you do it?

Obviously anybody with kernel development experience - not me - could do it. (Or not, of course. No shade to @Rex for having better things to do. I just thought I might as well suggest it.)

Although this discussion has made me wonder, what does the kernel team do if somebody submits a driver but then just disappears? I’m really not familiar with how they operate.

if a driver goes unmaintained they will remove it

They will remove it and it will be harder for the maintainer to submit patches and get them accepted in the future.