[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


------- Additional Comments From stefan at openmoko.org  2007-03-30 17:40 -------

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");

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);

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