Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2012 17:36:56 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        Bruce Cran <bruce@cran.org.uk>, freebsd-usb@freebsd.org
Subject:   Re: dfu-util 0.5
Message-ID:  <201204171736.56773.hselasky@c2i.net>
In-Reply-To: <20120417151801.GA1476@tiny>
References:  <20120417100147.GA2557@tiny> <201204171653.24802.hselasky@c2i.net> <20120417151801.GA1476@tiny>

index | next in thread | previous in thread | raw e-mail

On Tuesday 17 April 2012 17:18:01 Matthias Apitz wrote:
> El día Tuesday, April 17, 2012 a las 04:53:24PM +0200, Hans Petter Selasky 
escribió:
> > After:
> > 
> > <               ret = libusb_reset_device(dif->dev_handle);
> > 
> > Try to add:
> > 
> > libusb_set_configuration(dif->dev_handle, 1);
> 
> Hi,
> 
> Your code gets executed, I even added a sleep(2) after it, but the
> problem remains:
> 
> ...
> Resetting USB...
> doing libusb_set_configuration(dif->dev_handle, 1)
> Opening USB Device...
> No such Alternate Setting: "rootfs"
> 

Could you check if the libusb handle gets closed after reset?

--HPS


help

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