From owner-freebsd-usb@FreeBSD.ORG Sat Sep 22 10:47:50 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5696216A417 for ; Sat, 22 Sep 2007 10:47:50 +0000 (UTC) (envelope-from xiaofanc@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by mx1.freebsd.org (Postfix) with ESMTP id E742E13C48A for ; Sat, 22 Sep 2007 10:47:49 +0000 (UTC) (envelope-from xiaofanc@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1309176waf for ; Sat, 22 Sep 2007 03:47:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=//QEBvz0MGS72YMwitDDh55Tg+14hGUyTHtk26oz/nE=; b=TCktPfIMEStBswCzTNj2iGr/OJSuZ5sqspoL6mgKjHvHqloU9D+3YpryKYz8eggPI1HyXXIvXwPi7FzsZH02GEB7cN8UReoC6wQWCqqBX6eJ+zJ0LxYOpvsc36mGqdbv/2DBzvq7FGnq0NfNKHUYCj322aUesLtjb+eEVwnUs7E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SX5lzFu1g4yf5ZPB8aS8ZjV5kHWu7ZQ37xnRRCJ+cfoUavYO5mieclOf/bofl6neL7wDWDVVQe29yMIXE7ojuUlhYQO+ey7jLn8Cicb15D/i4QeZxQwuhR7pOkA8crWlTpys1JyPkPLkHA8kmKTAljFYwuKR5+iNzTy8mBHosW8= Received: by 10.114.14.1 with SMTP id 1mr3740016wan.1190456496585; Sat, 22 Sep 2007 03:21:36 -0700 (PDT) Received: by 10.114.176.17 with HTTP; Sat, 22 Sep 2007 03:21:36 -0700 (PDT) Message-ID: Date: Sat, 22 Sep 2007 18:21:36 +0800 From: "Xiaofan Chen" To: "M. Warner Losh" In-Reply-To: <20070708.135940.1102529026.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070707.231136.-593229846.imp@bsdimp.com> <20070708.135940.1102529026.imp@bsdimp.com> Cc: freebsd-usb@freebsd.org Subject: Re: libusb usb_interrupt_read hangs under FreeBSD 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: Sat, 22 Sep 2007 10:47:50 -0000 On 7/9/07, M. Warner Losh wrote: > I need to look it up, but I believe that a clear endpoint stall also > resets the toggle, and that was the bug that was tracked down. > > Remind me when is this clear endpoint stall sent? In 7.x we don't > send one on pipe open unless the device is quirked to require one. On > RELENG_6, at least as of today, we never send one on the open. > I believe we have tracked down the bug with the HID firmware in PICkit 2 and I am waiting for the confirmwation from Microchip. You are exactly right! Thanks. http://forum.microchip.com/tm.aspx?m=275422&mpage=2 "HID framework does not reinitialize data toggle to DATA0 after ClearFeature on IN endpoint". Regards, Xiaofan