Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open() opens wrong interface #5

Closed
GoogleCodeExporter opened this issue Mar 23, 2015 · 3 comments
Closed

Open() opens wrong interface #5

GoogleCodeExporter opened this issue Mar 23, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

ftdi_set_interface() should be called before ftdi_usb_open_desc()

The current version does this the other way around, which means that libftdi
will open INTERFACE_A first, then switch to the one passed to Open().
This causes problems if one uses INTERFACE_A for other purposes, spams the 
kernel logs with "did not claim interface X before use", and IIRC will error 
out with libftdi-1.

Original issue reported on code.google.com by zde...@gmail.com on 26 Feb 2012 at 9:07

@GoogleCodeExporter
Copy link
Author

Fixed in the latest SVN check in, thanks!

Original comment by heffne...@gmail.com on 9 Mar 2012 at 2:54

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Question about this bug... Is this bug in the 1.1 release?  (I believe that is 
from Jan, but I wanted to make sure)... because maybe this is the problem I am 
having... *wrinkles brow*... I seem to be getting those "did not claim 
interface" messages in the log, but when I open IFACE_C of my device.  So I'm 
thinking maybe I'm experiencing this because I don't have this fix.

Original comment by robokni...@gmail.com on 10 Jul 2012 at 11:33

@GoogleCodeExporter
Copy link
Author

Yes, this bug affects version 1.1. It should be fixed in the latest trunk.

Original comment by heffne...@gmail.com on 11 Jul 2012 at 2:03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant