Messages in this thread |  | | Date | Tue, 5 Dec 2000 14:58:15 +0000 (GMT) | From | Steve Hill <> | Subject | Re: Serial Console |
| |
On Tue, 5 Dec 2000, PaulJakma wrote:
> how? symlink to /dev/ttyS0, or with console=ttyS0 boot option?
console=ttyS0
> use /dev/console (char, 5,1) for all your programmes and boot the > kernel with serial console support and . > > /dev/console will go to serial, but afaik it doesn't block for lack of > a terminal. (has something to do with /dev/console being semantically > different to /dev/tty..., eg it doesn't block, not sure of the exact > details).
Nope, /dev/console *does* block. ATM I've found a quick workaround - I use "stty -F /dev/console clocal -crtscts" to turn off the serial flow control at the stawrt of /etc/rc.d/rc.sysinit - this seems to work quite well... of course it doesn't stop some program turning flow control back on and ballsing it all up again :)
--
- Steve Hill System Administrator Email: steve@navaho.co.uk Navaho Technologies Ltd. Tel: +44-870-7034015
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |