[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libftdi
Subject:    Re: Typo in /examples
From:       Samori Gorse <samorigorse () gmail ! com>
Date:       2012-01-14 17:34:00
Message-ID: CAKFHd70M+pLL-pWW+=kJbefkqqzm9_0cTduAchc5s74=yvwQAw () mail ! gmail ! com
[Download RAW message or body]

Do you mean this work in the current stable version?
On Jan 14, 2012 1:33 PM, "Uwe Bonnes" <
bon@elektron.ikp.physik.tu-darmstadt.de> wrote:

> >>>>> "Xiaofan" == Xiaofan Chen <xiaofanc@gmail.com> writes:
>
>    Xiaofan> On Fri, Jan 13, 2012 at 8:34 PM, Samori Gorse
>    Xiaofan> <samorigorse@gmail.com> wrote:
>    >> Hi there,
>    >>
>    >> Just a quick hint about a typo I stumbled across which held me back
>    >> for a few hours.  The typo is in:
>    >>
>    >> examples/find_all_pp.cpp:28
>    >>
>    >> int vid = 0x0403, pid = 0x6010, tmp = 0;
>    >>
>    >> should read
>    >>
>    >> int vid = 0x0403, pid = 0x6001, tmp = 0;
>    >>
>    >> Hope this helps
>
>    Xiaofan> Nice find. Thanks.
>
>    Xiaofan> I also felt surprised last time I tried the examples when I
>    Xiaofan> found out that find_all can find the FTDI device but
>    Xiaofan> find_all_pp can not find the device.
>
>
>
> Libftdi with vid=0 and pid= 0 now searches for all default devices
>    (0x403:0x6001, 0x403:0x6010, 0x403:0x6011, 0x403:0x6014)
>
> Bye
> --
> Uwe Bonnes                bon@elektron.ikp.physik.tu-darmstadt.de
>
> 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@developer.intra2net.com
>
>


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@developer.intra2net.com   
[Attachment #3 (text/html)]

<p>Do you mean this work in the current stable version? </p>
<div class="gmail_quote">On Jan 14, 2012 1:33 PM, &quot;Uwe Bonnes&quot; &lt;<a \
href="mailto:bon@elektron.ikp.physik.tu-darmstadt.de">bon@elektron.ikp.physik.tu-darmstadt.de</a>&gt; \
wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"> &gt;&gt;&gt;&gt;&gt; \
&quot;Xiaofan&quot; == Xiaofan Chen &lt;<a \
href="mailto:xiaofanc@gmail.com">xiaofanc@gmail.com</a>&gt; writes:<br> <br>
    Xiaofan&gt; On Fri, Jan 13, 2012 at 8:34 PM, Samori Gorse<br>
    Xiaofan&gt; &lt;<a \
href="mailto:samorigorse@gmail.com">samorigorse@gmail.com</a>&gt; wrote:<br>  \
&gt;&gt; Hi there,<br>  &gt;&gt;<br>
    &gt;&gt; Just a quick hint about a typo I stumbled across which held me back<br>
    &gt;&gt; for a few hours.  The typo is in:<br>
    &gt;&gt;<br>
    &gt;&gt; examples/find_all_pp.cpp:28<br>
    &gt;&gt;<br>
    &gt;&gt; int vid = 0x0403, pid = 0x6010, tmp = 0;<br>
    &gt;&gt;<br>
    &gt;&gt; should read<br>
    &gt;&gt;<br>
    &gt;&gt; int vid = 0x0403, pid = 0x6001, tmp = 0;<br>
    &gt;&gt;<br>
    &gt;&gt; Hope this helps<br>
<br>
    Xiaofan&gt; Nice find. Thanks.<br>
<br>
    Xiaofan&gt; I also felt surprised last time I tried the examples when I<br>
    Xiaofan&gt; found out that find_all can find the FTDI device but<br>
    Xiaofan&gt; find_all_pp can not find the device.<br>
<br>
<br>
<br>
Libftdi with vid=0 and pid= 0 now searches for all default devices<br>
    (0x403:0x6001, 0x403:0x6010, 0x403:0x6011, 0x403:0x6014)<br>
<br>
Bye<br>
--<br>
Uwe Bonnes                <a \
href="mailto:bon@elektron.ikp.physik.tu-darmstadt.de">bon@elektron.ikp.physik.tu-darmstadt.de</a><br>
 <br>
Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt<br>
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------<br>
<br>
--<br>
libftdi - see <a href="http://www.intra2net.com/en/developer/libftdi" \
target="_blank">http://www.intra2net.com/en/developer/libftdi</a> for details.<br> To \
unsubscribe send a mail to <a \
href="mailto:libftdi%2Bunsubscribe@developer.intra2net.com">libftdi+unsubscribe@developer.intra2net.com</a><br>
 <br>
</blockquote></div>

<br><hr><p><b>libftdi</b>&nbsp;-&nbsp;see <a \
href="http://www.intra2net.com/en/developer/libftdi">http://www.intra2net.com/en/developer/libftdi</a> \
for details.<br> To unsubscribe send a mail to <a \
href="mailto:libftdi+unsubscribe@developer.intra2net.com">libftdi+unsubscribe@developer.intra2net.com</a></p>


<br>=



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic