From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 6 22:15:02 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A6E216A4F6 for ; Tue, 6 Jan 2004 22:15:02 -0800 (PST) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4EBF43D39 for ; Tue, 6 Jan 2004 22:14:59 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from midget.dons.net.au (ppp108-195.lns1.adl1.internode.on.net [150.101.108.195])i076EoRp097222; Wed, 7 Jan 2004 16:44:51 +1030 (CST) Received: from chowder.gsoft.com.au (root@localhost.dons.net.au [127.0.0.1]) by midget.dons.net.au (8.12.9/8.12.9) with ESMTP id i076EmaW090660; Wed, 7 Jan 2004 16:44:49 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: ticso@cicely.de, Bernd Walter Date: Wed, 7 Jan 2004 16:44:46 +1030 User-Agent: KMail/1.5.4 References: <3FFA04A8.30601@evilrealms.net> <200401071605.15740.doconnor@gsoft.com.au> <20040107060538.GE45569@cicely12.cicely.de> In-Reply-To: <20040107060538.GE45569@cicely12.cicely.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401071644.47090.doconnor@gsoft.com.au> X-Spam-Score: -4.4 () IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SIGNATURE_SHORT_DENSE,SPAM_PHRASE_08_13,USER_AGENT,USER_AGENT_KMAIL X-Scanned-By: MIMEDefang 2.26 (www . roaringpenguin . com / mimedefang) cc: Bernd Walter cc: freebsd-hackers@freebsd.org cc: ticso@cicely.de cc: Jay Cornwall Subject: Re: USB stack / configuration 0 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 06:15:02 -0000 On Wednesday 07 January 2004 16:35, Bernd Walter wrote: > > There are certainly situations where you want to reenumerate the USB > > devices, for example there are a number of devices which have no real > > firmware - they expect to be programmed by the PC then reset and > > reenumerated after being plugged in. > > Different story. Ahh well, I was hopeful :) > > I have such a device (M-Audio Mobile Pre USB) and I have modified USB > > audio code which works except that you need to manually reset the device > > without removing power (which is done by partially removing and then > > reinserting the USB connector). > > Bad device - it would have been so easy add an single transitor to do > this automaticaly. > Nevertheless USB_UNCONFIG_NO can't help you here. > What you need to do is toggling the hub port if the device is to > stupid to detach/reattach on his own. I don't think it IS a dumb device, there is a USB spec called DFU which covers it and the hosts job is to do the reenumeration. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5