libftdi Archives

Subject: Re: Any reason to call usb_set_configuration()

From: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Cc: libftdi@xxxxxxxxxxxxxxxxxxxxxxx, "Richard A. Smith" <richard@xxxxxxxxxx>
Date: Mon, 27 Jul 2009 11:47:57 +0200
>>>>> "Thomas" == Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx> writes:

    Thomas> Hello Richard, On Thursday, 23. July 2009 21:53:51 Richard
    Thomas> A. Smith wrote:
    >> Uwe Bonnes wrote: >>>>>> "Xiaofan" == Xiaofan Chen
    >> <xiaofanc@xxxxxxxxx> writes:
    >> >
    >> > Xiaofan> Just wondering why not detach both interfaces? Or better >
    >> give Xiaofan> the user an option to detach the interfaces he wants to
    >> > detach Xiaofan> (so that he can use the other interface as UART).
    >> >
    >> > The other interface may still be in use for serial transmission...
    >> 
    >> This is the exact configuration I want to use for the new OLPC
    >> serial/programmer using a 4232H.  Port B as a SPI programmer and then
    >> Port C as a serial interface.

Is there perhaps an API to find out if setting the configuration is needed?

Perhaps we can make the code dependant on that?

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