Date: Wed, 7 Jan 2004 17:34:05 +1030 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: ticso@cicely.de, Bernd Walter <ticso@cicely12.cicely.de> Cc: Jay Cornwall <jay@evilrealms.net> Subject: Re: USB stack / configuration 0 Message-ID: <200401071734.05764.doconnor@gsoft.com.au> In-Reply-To: <20040107063824.GF45569@cicely12.cicely.de> References: <3FFA04A8.30601@evilrealms.net> <200401071644.47090.doconnor@gsoft.com.au> <20040107063824.GF45569@cicely12.cicely.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 07 January 2004 17:08, Bernd Walter wrote: > > 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. > > Sparing a transistor to offload the work to the host were its also > way more complex to do is dump. > If this is part of the Spec, then the spec is dump too. Err yes, this IS USB we're talking about here :) > usbd_reset_port should do from the USB point of view, but this doesn't > trigger Free BSD to do a reconfiguration of the device, which is > required after reset. > > 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.. -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401071734.05764.doconnor>