From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 7 03:50:41 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 2BF8816A4CE for ; Wed, 7 Jan 2004 03:50:41 -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 3692143D48 for ; Wed, 7 Jan 2004 03:50:39 -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])i07BoQRp067049; Wed, 7 Jan 2004 22:20:26 +1030 (CST) Received: from chowder.dons.net.au (root@localhost.dons.net.au [127.0.0.1]) by midget.dons.net.au (8.12.9/8.12.9) with ESMTP id i07BoOaW093468; Wed, 7 Jan 2004 22:20:25 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: ticso@cicely.de, Bernd Walter Date: Wed, 7 Jan 2004 22:20:24 +1030 User-Agent: KMail/1.5.4 References: <3FFA04A8.30601@evilrealms.net> <200401071734.05764.doconnor@gsoft.com.au> <20040107080720.GH45569@cicely12.cicely.de> In-Reply-To: <20040107080720.GH45569@cicely12.cicely.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401072220.24580.doconnor@gsoft.com.au> X-Spam-Score: -5.3 () IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SIGNATURE_SHORT_DENSE,SPAM_PHRASE_01_02,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 11:50:41 -0000 On Wednesday 07 January 2004 18:37, Bernd Walter wrote: > > > If this is part of the Spec, then the spec is dump too. > > > > Err yes, this IS USB we're talking about here :) > > Reead your spec - it's not part of USB itself. > umass, ulpt, etc are extensions. > It is even that a mass storage device doesn't have to honour umass > specification to get the USB compliance logo :( I have a sharp axe you can split hairs with if you like. umass/ulpt/dfu/etc are all things that make USB useful, so support is good :) > > > Maybe the following will do instead: > > > usbd_clear_port_feature(dev, port, UHF_PORT_ENABLE) > > > delay(USB_PORT_POWERUP_DELAY); > > > usbd_set_port_feature(dev, port, UHF_PORT_ENABLE) > > > dev and port is that from the hub. > > > > Except that would remove power to the port I think.. > > AFAIK power is independend, but I'm not 100% shure. I'll see how it goes :) -- 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