Re: should RTS init in serial core be tied to CRTSCTS

From: Robin Getz
Date: Thu Mar 08 2007 - 15:22:58 EST


On Thu 8 Mar 2007 08:48, Russell King pondered:
> On Thu, Mar 08, 2007 at 08:44:31AM -0500, Robin Getz wrote:
> > That would let you change things are run time, but the problem is at
> > boot time. A default setting needs to be set, so when things initialize,
> > and proc does not exist yet, it is still set properly...
>
> I disagree. "proc does not exist yet" - the only time that applies is
> long before userspace as active.

Right - We both agree - And setting console=/dev/null in the bootargs still
does not help.

When the kernel initializes the UART Port, it asserts RTS - which confuses the
host it is attached to (in this case, the Linux system is the serial
peripheral).

How about adding a module_param to serial core, which the default is to assert
RTS (as is today), and someone (like me) can override with serial_core.RTS=0

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