Re: ftdi_sio serial adapter data toggle problem.

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

 



[quoted lines by Greg KH on 2010/08/25 at 09:57 -0700]

>> The modem lines of interest are DTR and RTS. Changing CLOCAL and/or CRTSCTS has 
>> absolutely no effect on their current states. What does matter, though, is that 
>> both DTR and RTS are always raised when the device is opened, regardless of the 
>> states of CLOCAL and CRTSCTS.
>
>Ok, so what is broken in the existing driver in this respect?  Does it
>not follow this properly?

No, it doesn't. In the else for if CRTSCTS is set, i.e. if CRTSCTS isn't set, 
the code currently says:

   2069: /* lower DTR/RTS */
   2070: clear_mctrl(port, TIOCM_DTR | TIOCM_RTS);

Changing the state of termios:CRTSCTS shouldn't be touching those lines.

-- 
Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | 2011 May 21 is the Day of Judgement.
EMail: dave@xxxxxxxxx | Canada  K2A 1H7   | 2011 Oct 21 is the End of the World.
http://FamilyRadio.com/                   | http://Mielke.cc/bible/
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux