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

But when we remove xhci-hcd driver and insert again it start working
for 30-40 times.

Workround:

#modprobe xhci-hcd -r
#modprobe xhci-hcd

so this bug is in serial pl2303 driver or xhci driver?
how to print xhci (low level) usb buffer packet which received for usb port?


Thanks
shishir tiwari
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to