Return-Path: MIME-Version: 1.0 In-Reply-To: References: <1412598268.1132.15.camel@linux-0dmf.site> <1412600108.28177.0.camel@linux-0dmf.site> <1412602169.28177.2.camel@linux-0dmf.site> <1412607050.1743.1.camel@linux-0dmf.site> Date: Tue, 7 Oct 2014 12:14:26 +0530 Message-ID: Subject: Re: btusb_intr_complete returns -EPIPE From: Naveen Kumar Parna To: Oliver Neukum Cc: "linux-bluetooth@vger.kernel.org" , linux-usb@vger.kernel.org, acho@suse.com Content-Type: text/plain; charset=UTF-8 Sender: linux-usb-owner@vger.kernel.org List-ID: > + err = usb_clear_halt(data->udev, > + usb_rcvbulkpipe(data->udev, > + data->intr_ep->bEndpointAddress)); EPIPE occurred for INT in endpoint, so we should use usb_rcvintpipe() instead of usb_rcvbulkpipe() right? Does the “lsusb –v” gives any clue about the reason for getting -EPIPE? Thanks, Naveen On Mon, Oct 6, 2014 at 8:42 PM, Naveen Kumar Parna wrote: > Attached the lsusb -v file. > > Captured the usbmon log file for this patch and attached it. > > > > Thanks, > > Naveen > > On Mon, Oct 6, 2014 at 8:20 PM, Oliver Neukum wrote: >> On Mon, 2014-10-06 at 20:08 +0530, Naveen Kumar Parna wrote: >>> Thanks for the patch. >>> >>> I tried and It crashed after the first occurrence of EPIPE. >>> >>> Crash log is attached. >> >> Could you post a full "lsusb -v"? >> >> Regards >> Oliver >> >>