Re: xhci usb serial open/close issue

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

 



On Tue, 2016-06-14 at 20:27 +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
> 
> 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?

You can use the usbmon facility. It is described in the Documentation
directory of the kernel source, Wireshark can also do it.

	HTH
		Oliver


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