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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> true ... so ignoring the original motivation for change i posted, is
> it really correct for the serial core to be forcing TIOCM_RTS at uart
> startup even though the uart doesnt have CTSRTS flow control enabled ?
>  in other words, my change is agnostic of the console, and is done for
> all uarts ... it should prob have a similar change in uart_shutdown()
> though ...
> -mike

All UNIX drivers historically set RTS and DTR upon opening, and Windows
drivers do the same... and this behaviour must be kept for compatibility I
think...

The only way I can imagine to keep RTS low on opens on selected ports, would
be to set up a parameter in /proc or /sys ? maybe its management could be
added to setserial ?

I have a similar problem with many RS485 cards, when the port is opened the
card takes the RS485 bus until RTS is turned back down by the opening
process.


-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux