Re: Invalid Parameter in usb_set_configuration call on Win7
Xiaofan Chen <[email protected]> Sat, 4 Mar 2017 17:23:10 +0800
| Newsgroups | gmane.comp.lib.libusb.devel.windows |
|---|---|
| Message-ID | <CAGjSPUDyESu7g+ZN6yRbcoPci_t64AccCJS6yr+hug=9Zr6rBg@mail.gmail.com> |
On Tue, Feb 28, 2017 at 7:18 PM, Mirco Salvador gmail <[email protected]> wrote: > The only thing I had to do is to get libusb-win32 driver 1.2.6.0, change > set_configuration.c in order to replace bulk with interrupt transfer in the > driver, then compile and install it, at voilĂ , now I can use both eclipse > ide and CF Flasher 3.1. > It would be wonderful if somebody could sign the driver with a valid > certificate, so it is not necessary to enable TESTSIGNING in order to use > the driver. > This is refer to an very old thread. https://sourceforge.net/p/libusb-win32/mailman/message/28511143/ In general I myself are not supportive of USB device bluntly violating USB specifications. And I think non-compliant device like AVR FW Based USB device should not be forgotten already since there are many cheap USB device readily available now. Ref: I said the following at that time (more than five year ago). "There is a hack to get libusb-win32 to work with such device (to replace bulk with interrupt transfer in the driver level) but it is much better that you change the firmware to be compliant with the USB specifications. Ref: http://www.recursion.jp/avrcdc/" The avrcdc page now said "The back door to the low-speed bulk transfer is gradually closing on the newer OS. After enjoying this USB technology, switch to the HID protocol or to MCU having on-chip USB controller." -- Xiaofan ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Libusb-win32-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel