Re: usb device stop probe after some times of EPROTO error

2014-09-01 Thread Alan Stern
On Mon, 1 Sep 2014, peter li wrote: > > On Sat, Aug 23, 2014 at 11:37:28PM +0800, peter li wrote: > >> 1.In which case will i get EPROTO during commuicate with usb device, i > >> called usb_bulk_msg in my usb_drv > > > > What driver is this? > > > > I write the driver based on the old version us

Re: usb device stop probe after some times of EPROTO error

2014-09-01 Thread peter li
> On Sat, Aug 23, 2014 at 11:37:28PM +0800, peter li wrote: >> 1.In which case will i get EPROTO during commuicate with usb device, i >> called usb_bulk_msg in my usb_drv > > What driver is this? > I write the driver based on the old version usb-skeleton.c, the driver works fine,the error EPROTO

Re: usb device stop probe after some times of EPROTO error

2014-08-23 Thread Greg KH
On Sat, Aug 23, 2014 at 11:37:28PM +0800, peter li wrote: > 1.In which case will i get EPROTO during commuicate with usb device, i > called usb_bulk_msg in my usb_drv What driver is this? > 2.while i continue plug and pull the usb device a few times because of > EPROTO and some times (errno=110)

usb device stop probe after some times of EPROTO error

2014-08-23 Thread peter li
1.In which case will i get EPROTO during commuicate with usb device, i called usb_bulk_msg in my usb_drv 2.while i continue plug and pull the usb device a few times because of EPROTO and some times (errno=110) error , the usb device is not probed, nothing print in dmesg. can anyone help me, tell