Re: [PATCH] cp210x: set drt/rts lines when port opens

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

 



Alan Cox wrote:
On Wed, 14 Oct 2009 06:38:08 +0200
Karl Hiramoto <karl@xxxxxxxxxxxx> wrote:

Alan Cox wrote:
Please try the following

cp210x: Fix carrier handling

From: Alan Cox <alan@xxxxxxxxxxxxxxx>
NAK, compiles and loads fine but, i have no data flow to/from my device. Windows and Mac OS, work fine and Kernels 2.6.15(or maybee earlier) through 2.6.30 worked fine up until 9a68e39d4a.

What application are you using, where does it block and what termios
settings are in use by the app ?
Minicom and cutecom. 8 Databits No parity 1 stop bit. 19200 baud, no flow control, but the devices needs DTR and CTS at the correct levels to send data.


as soon as i do stty -a the device comes alive as DTR and CTS get set at the correct levels.

stty -a < /dev/ttyUSB0
speed 19200 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z;
rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 5;
-parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff -iuclc -ixany -imaxbel -iutf8 -opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 -isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop -echoprt -echoctl -echoke


Compiling your other tty patch now and will give it a try and give you an update.

--
Karl

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