Opening already open serial port now sets RTS and DTR?

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

 



It used to be that opening a serial port only set RTS and DTR if it
was a "first open". If the port was already open, subsequent opens
didn't mess up RTS and DTR. This was a very useful behavior in the
embedded world where RTS and DTR are often used to power and or
control things (reset lines, mode controls, line driver enables,
etc.).

This seems to have changed, and now _every_ open sets RTS and DTR even
if the port was already open and RTS and DTR had already been put in
the desired state.

Is there no longer any way to open an already-open serial port without
changing the state of RTS and DTR?

What was the reasoning for breaking user-application backwards
compatiblity like that?

--
Grant





[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