Re: speakup bug

From: Ted Ts'o
Date: Sat Mar 03 2012 - 20:42:08 EST


On Sun, Mar 04, 2012 at 01:43:48AM +0100, Samuel Thibault wrote:
>
> Sure! But there should be a way to do it without /, just like the
> serial console works on ttyUSB0 without /.

It's not impossible, but the hard part will be creating a naming
infrastructure so the user can specify the appropriate serial port if
there are multiple (non-console) tty devices present on the system.

My suggestion would be to get it working using a userspace daemon, and
then putting in the kernel code to open the serial port without a file
system. It certainly can be done, with roughly the same techniques
that are used to mount the root file system in the non-initrd case.

- Ted
--
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/