Re: Bulk USB transfers works with USB3.0 ports and not with USB2.0

Xiaofan Chen <[email protected]>
Newsgroups gmane.comp.lib.libusb.devel.windows
Message-ID <CAGjSPUBOJCvvafgExhfBHd5UUeRsVV3mg2v34_AZG52wwBDMjQ@mail.gmail.com>
On Mon, Sep 29, 2014 at 10:29 PM, Aymen JEBALI <[email protected]> wrote:
> Hi All,
>
> I am developping an USB to I2C bridge using the SAM3U4E microcontroller.
> The USB communication works fine untill I used the USB isolator cable :
> https://iftools.com/isolator/isousbcable/index.en.php
>
> With this configuration I still have control transfers to work correctly but
> not the bulk transfers.
> But I noticed that the bulk transfers are working fine when I connect the
> USB cable to an USB3.0 port. but it fails with USB2.0.
>
> I am using the libusb-win32 APIs.
>
> The failure is always at usb_claim_interface:
> [12224] libusb0-dll:err [claim_interface] could not claim interface 0,
> invalid configuration 0
> Could anyone please suggest a solution ?
>
> I upgraded to lubsubK drivers 3.0.7.0 but no success.

Is your device recognized by Windows and is configured properly
under Windows? Configuration 0 means that the device is not
configured. You should try to call usb_set_configuration(1) before
calling usb_claim_interface(0) to see if that helps. If not, most likely
it is a problem with the USB isolator or your device.

You shou

-- 
Xiaofan

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.