From owner-freebsd-usb@FreeBSD.ORG Fri Dec 3 22:16:40 2004 Return-Path: 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 790E316A4CE for ; Fri, 3 Dec 2004 22:16:40 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23A1C43D41 for ; Fri, 3 Dec 2004 22:16:40 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (harmony.village.org [10.0.0.6]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id iB3MFLWm008811; Fri, 3 Dec 2004 15:15:21 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Fri, 03 Dec 2004 15:16:30 -0700 (MST) Message-Id: <20041203.151630.29463265.imp@bsdimp.com> To: julian@elischer.org From: "M. Warner Losh" In-Reply-To: <41B0E3E0.4030207@elischer.org> References: <41B0DD18.9080300@elischer.org> <20041203.144432.89673091.imp@bsdimp.com> <41B0E3E0.4030207@elischer.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-usb@FreeBSD.ORG Subject: Re: Question about pipes and ugen X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Dec 2004 22:16:40 -0000 In message: <41B0E3E0.4030207@elischer.org> Julian Elischer writes: : When the device times out on endpoint 3, Linux (thorugh libusb) issues a : ClearFeature(Halt) : which seems to get everything going again. FreeBSD doesn't, so we have : to power teh device : down and re-power it (!yuk!). I have a device that times out. I'll note that FreeBSD does send a ClearFeature(Halt) to that device's endpoint in that case, as I've verified with my usb sniffer. However, we didn't always do that, and some older 4.x versions of FreeBSD definitely don't do it right and sends nothing. I'm having a hard time understanding when this is needed and not actually done by our -current stack. Warner