Hello, Greg. On Wed, Feb 26, 2025 at 11:09:57 +0100, Greg Kroah-Hartman wrote: > On Tue, Feb 25, 2025 at 04:15:38PM +0000, Alan Mackenzie wrote: > > On Mon, Feb 24, 2025 at 21:08:50 +0100, Jiri Slaby wrote: [ .... ] > > > I didn't read the thread, but are you looking e.g. for kmscon? > > No, I wasn't. I was looking for a drm replacement for the drivers/tty/vt > > code inside the kernel. I may have misunderstood Greg when he referred > > to a replacement which uses drm. > No, this is what I was referring to. Also maybe we should be asking on > the drm list? The developers there were working to get rid of CONFIG_VT > so I know they have plans for what they see replacing it. Which list would that be? There are over 100 occurrences of "DRM" in the file MAINTAINERS. I am also interested in this. There is a very great deal of functionality in drivers/tty/vt. It will be quite a task to replace it. > > kmscon doesn't seem to be a suitable replacement for the Linux console. > > According to Wikipedia, it stopped being maintained ~10 years ago. Also, > > it is a user level program, not a kernel level program, so will only become > > active later in the boot process than the current console, which is not > > a good thing. It might well steal key sequences from application > > programs, the way X and X window managers do, but maybe it doesn't. On > > Gentoo, kmscon is "masked", i.e. strongly recommended not to be > > installed, and installable only after taking special measures. > Yes, it will be "after" the boot console, but that should be it. What would the boot console be? Some console needs to be in place early enough to be able to display "Kernel panic - unable to mount the root partition". > It shouldn't be stealing any keys away from anything, but rather going > through the existing apis we have for input devices and the like. Agreed. > I don't know why distros seem to not be using it anymore, maybe there's > something else? Jiri pointed to some problems yesterday from his point of view as a SuSE maintainer. Perhaps kmscon just needs bringing back into maintenance. I haven't actually looked at it yet. > thanks, By the way, I'll be away from my email for a few days, so won't be able to answer any posts in that time. > greg k-h -- Alan Mackenzie (Nuremberg, Germany).