Ticket #701 (closed defect: duplicate)
bInterfaceNumber setting incorrect
| Reported by: | anrp@… | Owned by: | laforge@… |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | host utilities | Version: | current svn head |
| Severity: | normal | Keywords: | |
| Cc: | buglog@…, anrp@… | Blocked By: | |
| Blocking: | Estimated Completion (week): | ||
| HasPatchForReview: | PatchReviewResult: | ||
| Reproducible: |
Description
bInterfaceNumber setting in usbdfu.c (from uboot-dfu.patch) sets all 5
interfaces to have bInterfaceNumber of 0x00. This is not ordinarily noticed,
however, on win32 with libusb-win32, dfu-util requires usb_set_configuration to
be called which internally causes libusb-win32 to walk the list of interfaces.
It's told that it has 5 interfaces (bNumInterfaces == 5) however they all have
the same ID, which causes libusb-win32 to bail because it can't associate
interface descriptors.
Change History
Note: See
TracTickets for help on using
tickets.

Actually, maybe that's correct. The proper setup for many-altsetting seems to
require that, so maybe the bug would be in libusb-win32.... have to confirm that
somehow.