AVR Downloader/UploaDEr - Patches: patch #8954, Enable usage of libusb-1.0 for...
You are not allowed to post comments on this tracker with your current authentication level.
patch #8954: Enable usage of libusb-1.0 for stk500v2 (aka avrispmkii)
Submitter: | Michael Böhme <michaelboehme> | ||
Submitted: | Thu 24 Mar 2016 12:32:46 PM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | Need Info | Privacy: | Public |
Assigned to: | None | Open/Closed: | Open |
Sun 21 Jan 2018 10:21:05 PM UTC, comment #1: |
Joerg Wunsch <joerg_wunsch>![]() |
Thu 24 Mar 2016 12:32:46 PM UTC, original submission:
I tried using an AVRISPmkII in Windows 10 with avrdude 6.3, but libusb couldn't find the device ("avrdude.exe: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104)").
|
Michael Böhme <michaelboehme> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2018-01-21 | joerg_wunsch | Status | None | ![]() |
Need Info |
2016-03-24 | michaelboehme | Attached File | - | ![]() |
Added libusb.patch, #36745 |
This does unfortunately not compile under FreeBSD where the OS
offers a libusb-1.0 API compatible USB library:
So it seems the libusb_has_capability() needs an explicit
probing in configure.ac as it has not always been part of
the libusb-1.0 API. (Unfortunately, LIBUSB_CAP_HAS_CAPABILITY
is part of an enum rather than a #define, so it cannot be
tested at compile-time. Seems someone didn't really think
about that detail before.)
The warnings about char vs. uint8_t * can probably safely
be silenced using typecasts.