From owner-freebsd-usb@FreeBSD.ORG Sun Jul 23 07:36:40 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A03A116A4DA for ; Sun, 23 Jul 2006 07:36:40 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF72743D45 for ; Sun, 23 Jul 2006 07:36:39 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: gvlK0tOCzrqh9CPROFOFPw== X-Cloudmark-Score: 0.000000 [] Received: from [193.217.137.51] (HELO [10.0.0.249]) by mailfe01.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 220024384; Sun, 23 Jul 2006 09:36:33 +0200 From: Hans Petter Selasky To: Robert Nilsson Date: Sun, 23 Jul 2006 09:36:40 +0200 User-Agent: KMail/1.7 References: <5439254.post@talk.nabble.com> <200607220908.45131.hselasky@c2i.net> <5AD64714-BC00-4870-9B39-96FBF078FEBC@nilssonstudios.com> In-Reply-To: <5AD64714-BC00-4870-9B39-96FBF078FEBC@nilssonstudios.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607230936.41558.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: libusb/ugen interrupt read question X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jul 2006 07:36:40 -0000 On Saturday 22 July 2006 17:31, Robert Nilsson wrote: > USBD_SHORT_XFER_OK is being set by libusb. The problem is that input > data is queuing up in the background (from what I can tell). I have > a buffer full of status messages. What I need is a way to stop the > polling in the background from queuing the messages. With the existing USB stack it is not possible to stop interrupt transfers. Then you need to install my USB driver. It will do this. I recommend that you fetch from SVN. The SVN port is at /usr/ports/devel/subversion : svn --username anonsvn --password anonsvn checkout svn://svn.turbocat.net/i4b cd i4b/trunk/i4b/FreeBSD.usb make S=../src package make install Follow the "make help" instructions. --HPS