Re: FTDI_SIO Version 1.5.0/1.6.0

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

 



[quoted lines by Johan Hovold on 2010/08/29 at 18:33 +0200]

>I did a quick search for your hardware and it seems that your board is
>using the DTS/RTS lines to put the MCU in reset. The way modem control
>is handled has changed in the ftdi_sio driver and is likely to be the
>cause of your problems.

I've recently had to look into a similar problem. It turns out that the 
ftdi_sio driver now manages those lines incorrectly.

Stephan: Would you be able to pick a kernel which has the problem, apply the 
attached patch (ftdi_sio.patch) to it, and find out if that resolves your 
problem?

-- 
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/
--- old/ftdi_sio.c	2010-08-25 18:53:27.552277157 -0400
+++ new/ftdi_sio.c	2010-08-25 18:54:00.596026736 -0400
@@ -2016,9 +2016,6 @@
 			dev_err(&port->dev,
 				"urb failed to set to rts/cts flow control\n");
 		}
-
-		/* raise DTR/RTS */
-		set_mctrl(port, TIOCM_DTR | TIOCM_RTS);
 	} else {
 		/*
 		 * Xon/Xoff code
@@ -2065,9 +2062,6 @@
 					"urb failed to clear flow control\n");
 			}
 		}
-
-		/* lower DTR/RTS */
-		clear_mctrl(port, TIOCM_DTR | TIOCM_RTS);
 	}
 	return;
 }

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

  Powered by Linux