Re: serial port multiplexing

From: Russell King
Date: Wed Aug 31 2005 - 05:11:25 EST


On Thu, Aug 25, 2005 at 01:20:45PM +0100, Rahul Tank wrote:
> I am a newbee tryinging for serial port
> multiplexing. Currently my driver supports for one
> port
> (/dev/ttyS0). However i want to use the same physical
> port for 2 virtual ports.I am NOT sending two type of
> data simultaneously. I want to first reigister my
> driver for /dev/ttyS0. When the kernel has booted ,i
> want to disable it. Then i want to enable the driver
> to register for say /dev/ttyS1.
> in short i don't want the console to have controle
> over the serial port.

Try setting the kernel message level to zero after boot. That
will prevent the kernel from displaying any further messages to
that serial port, except when a serious problem (eg, oops) occurs.

--
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/