lkml.org 
[lkml]   [2005]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: serial port multiplexing
On Wed, Aug 31, 2005 at 12:16:10PM +0200, Jan-Benedict Glaw wrote:
> On Wed, 2005-08-31 11:10:48 +0100, Russell King <rmk+lkml@arm.linux.org.uk> wrote:
> > 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.
>
> Alternatively, IIRC one of the printk-nullifying patches were taken
> some time ago. You should be able to eleminate any printk()s through
> kernel configuration in the embedded menu.

Yes, except I believe the OP wants to see the initial kernel messages,
and then want to shut the kernel up once it has booted.

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

\
 
 \ /
  Last update: 2005-08-31 12:22    [W:0.052 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site