Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jun 2009 15:24:02 +0200
From:      Nick Hibma <nick@van-laarhoven.org>
To:        FreeBSD USB Mailing List <freebsd-usb@freebsd.org>
Subject:   Device reset
Message-ID:  <200906251524.04072.nick@van-laarhoven.org>

next in thread | raw e-mail | index | archive | help
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,

Nick



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906251524.04072.nick>