[Bug 298] dfu-util always needs 2 calls to run
bugzilla-daemon at bugzilla.openmoko.org
bugzilla-daemon at bugzilla.openmoko.org
Fri Mar 30 17:40:48 CEST 2007
http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=298
------- Additional Comments From stefan at openmoko.org 2007-03-30 17:40 -------
trunk/src/host/dfu-util/src/main.c:516
if (usb_find_devices() < 2)
If this function is in place num_devs is 0 (519)
if (num_devs == 0) {
fprintf(stderr, "Lost device after RESET?\n");
exit(1);
}
If you comment out the line above it passes until 546.
n = find_dfu_if(dif->dev, &alt_by_name, alt_name);
if (!n) {
fprintf(stderr, "No such Alternate Setting: \"%s\"\n", alt_name);
exit(1);
}
Not sure yet why usb_find_devices() is involved here.
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
More information about the buglog
mailing list