[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: fdti_usb_find_all Uwe Bonnes Fri Apr 06 13:01:10 2012

>>>>> "Thomas" == Thomas Heller <[EMAIL PROTECTED]> writes:

    Thomas> Am 06.04.2012 21:11, schrieb Uwe Bonnes:
    >>>>>>> "Thomas" == Thomas Heller<[EMAIL PROTECTED]> writes:
    Thomas> Is there a reason why fdti_usb_find_all() does not accept a
    Thomas> special combo of product/vendor, let's say -1/-1, to find all
    Thomas> connected devices?  Or is it too dangerous to send ftdi-specific
    Thomas> commands to arbitrary usb devices?
    >>  Do you talk about 0.2 or 0.99. 0.99 has something similar

    Thomas> 0.99 is the master branch?  It only looks for FTDI's vid and
    Thomas> FTDI's standard pids.  But I have devices that use vid=0x0403
    Thomas> but my own pids that I got from FTDI.

Blind probing on unknown devices is no good idea. However if you have
official VID/PID combinations, probing those devicesis fine. So add your
VID/PID combinations to the list of probed devices. And yes, perhaps all
those VID/PID comnination in
<linux-kernel/>drivers/usb/serial/ftdi_sio_ids.h should be probed too. But
then the list gets very long...
Uwe Bonnes                [EMAIL PROTECTED]

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 [EMAIL PROTECTED]