[PATCH] main: Print interface information after it has been filled in

Stefan Schmidt stefan at datenfreihafen.org
Fri May 20 16:28:02 CEST 2011


On Thu, 2011-05-19 at 23:42, Tormod Volden wrote:
> From: Tormod Volden <debian.tormod at gmail.com>
> First get_first_dfu_device() fills in the dev and dev_handle
> members, but only after get_first_dfu_if() the whole interface
> information is filled in.
> Signed-off-by: Tormod Volden <debian.tormod at gmail.com>
> ---
> This solves the "Found Runtime: [0000:0000]" issue I tried to address
> in the "main: Populate the final interface structure before printing it"
> patch that I posted and withdrew in February.
> It also solves the segfaults we are seeing on the libusb-1.0 branch.

Thanks for working on this.

Sadly a problem on the freerunner persists in the libusb-1.0 branch
even with this patch applied. Trying to donwload something just dies
without segfault and leaves the following in dmesg:

[1285088.771326] dfu-util[18547] general protection ip:4027f6 sp:7fffc6d2a610 error:0 in dfu-util[400000+6000]

I know you don't have an freerunner so I will try to chase this down
the next days. Its the last blocker for getting the libusb-1.0 branch
merged into master.

Stefan Schmidt

More information about the devel mailing list