On Fri, Jun 09, 2006 at 10:38:33AM +0200, Pavel Machek wrote:
> > The serial layer does _not_ have access to the "current" termios
> > settings due to the layering by the tty subsystem. If the serial
> > port being used by serial console has been opened once by the user,
> > but is closed at the moment when a suspend/resume cycle occurs,
> > the serial layer and lower level drivers do not have access to the
> > baud rate.
>
> Could serial layer just cache "last baud rate" in some kind of
> software shadow register? Yes, it is slightly ugly, but should do the trick.
That's not a new suggestion. How do you deal with the case where
you have console on two or more different serial ports? That's
the problem with this approach.
The only sane solution is for the tty layer to be adjusted to allow
suspend/resume support for consoles.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]