Re: [PATCH] Console keyboard events and accessibility

From: Pavel Machek
Date: Sat Sep 01 2007 - 08:33:41 EST



> > > > They can use the raw xlation for that.
> > >
> > > For userland, yes. This is for kernel modules.
> >
> > And should speakup be a kernel module? Why?
>
> Because userland only begins quite late in the boot process, and
> userland may hang.

Initrd means userland is started very early on most machines these
days, and kernel may hang, too.

> > What is missing? Yes, you may want to do a small kernel module to read
> > kernel bootup messages.
>
> That's what it's all about.

But this small module should not need keyboard leds support, as those are not used during
boot. If all you want is to read kernel bootup messages, you should
just register a special console. Actually serial console should do.

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/