Date: Fri, 19 Oct 2012 20:07:45 +0200 From: Peer Stritzinger <peerst@gmail.com> To: Hans Petter Selasky <hans.petter.selasky@bitfrost.no> Cc: freebsd-usb <freebsd-usb@freebsd.org> Subject: Re: USB transfers stuck in kernel/libusb not sent out until next transfer is submitted Message-ID: <CA%2BervzZ4w_PK3cVZd8YHXJX-JdjDhBOQsmBMeL%2BjndOohrO0nw@mail.gmail.com> In-Reply-To: <zarafa.50812101.2485.7602d3ef42faff0a@eric2.bitfrost> References: <zarafa.50812101.2485.7602d3ef42faff0a@eric2.bitfrost>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, further data: If I wait 2ms between each transfer they never get stuck. As you mentioned in your other post, no usbdump yet in 8.0 But I can positively say that: 1. the transfer got submitted and the submit returned 0 2. no device NAK's on the USB bus (I'm looking at it with a sniffer) So its definitely getting held in libusb/kernel -- Peer On Fri, Oct 19, 2012 at 11:44 AM, Hans Petter Selasky <hans.petter.selasky@bitfrost.no> wrote: > Hi, > > > > You should check using usbdump if the USB transfer is actually submitted. If > it is submitted, then it is most likely a problem with the USB device, that > it is NAK'ing on the endpoint. Are you short terminating properly for FULL > speed? Else it is a problem in libusb and/or the application. > > > > usbdump -i usbusX -f Y -vvv -s 65536 > > > > --HPS > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BervzZ4w_PK3cVZd8YHXJX-JdjDhBOQsmBMeL%2BjndOohrO0nw>