nick at van-laarhoven.org
Thu Jun 25 21:47:55 UTC 2009
Hm, ik DEVICEENUMERATE wasn't in my search. Thanks.
> On Thursday 25 June 2009 15:24:02 Nick Hibma wrote:
> > HPS,
> > In FBSD7 I committed an ioctl on the ugen.c (some time ago) that
> > allowed for resetting the device. Not a port on the device, but the
> > device itself. This was a function that was unimplemented in libusb1 up
> > to then. For example some Atmel devices need a reset after you uploaded
> > the firmware.
> > I cannot seem to find this functionality in usb_ioctl.h in teh FBSD8
> > USB stack.
> > Another use for this feature is to be able to reset a device into a
> > known state, like the 3G dongles that freeze. Power-cycling them is the
> > short way out of the situation.
> > Cheers,
> Hi Nick,
> It's still there:
> See "USB_DEVICEENUMERATE()". Supported by by libusb and libsub20.
> Also see:
> usbconfig -u X -a Y reset
More information about the freebsd-usb