El día Tuesday, April 17, 2012 a las 07:59:02PM +0200, Hans Petter Selasky 

> > Resetting USB...
> > doing libusb_set_configuration(dif->dev_handle, 1)
> > dif->dev_handle 28449f00
> > Opening USB Device...
> > No such Alternate Setting: "rootfs"
> > 
> You should use the same handle like for libusb_reset_device();

same result:

Opening DFU USB device... ID 1d50:5119
Run-time device DFU version 0100
Claiming USB DFU Runtime Interface...
Determining device status: state = appIDLE, status = 0
Device really in Runtime Mode, send DFU detach request...
Resetting USB...
libusb_set_configuration(_rt_dif.dev_handle, 1)
_rt_dif.dev_handle 28449d80
Opening USB Device...
No such Alternate Setting: "rootfs"


Matthias Apitz
e <g...@unixarea.de> - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
freebsd-usb@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to