On Tue, Jun 14, 2016 at 08:27:30PM +0530, shishir tiwari wrote: > Hi , > > We are trying to open and close ttyUSB0 port and using 'chat' command > to communicate in while loop using shell script.but after 30-40 times > '#' reply is not coming for 'ls' command. > > shell script:: > while > ( > stty -F /dev/ttyUSB0 115200 -echo > exec > /dev/ttyUSB0 > exec < /dev/ttyUSB0 > chat '' ls '#' > ) > result =$? > > platform : custom > serial driver : pl2303 > host controller :xhci What kernel version is this? Are there any kernel logs showing any errors? What flow control have you set for this serial port? thanks, greg k-h -- 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