libftdi Archives

Subject: Re: ftdi_usb_close() error

From: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Thu, 7 Oct 2010 19:15:36 +0200
>>>>> "Mikael" == Mikael Krus <mk@xxxxxxxxxx> writes:

    Mikael>   Hi, I have a FT2232H chip where I intend to use interface_B in
    Mikael> MPSSE mode.  If I use ftdi_set_interface() specifying
    Mikael> INTERFACE_B, later on when closing the device I always get an
    Mikael> error (-1) but with error string set to: all fine.

    Mikael> This only happens with INTERFACE_B not INTERFACE_A.

    Mikael> Why does this happen?  Am I misunderstanding something?

You need a context for every interface

Bye
-- 
Uwe Bonnes                bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread