>>>>> "David" == David Kuehling <dvdkhlng@xxxxxx> writes:
>>>>> "Uwe" == Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> writes:
>>>>> "David" == David Kuehling <dvdkhlng@xxxxxx> writes:
David> hi, just tried to make the ftdipp library from git head work, but
David> my test program already fails in Context::open(vendor,product).
David> The other libftdi programs supplied in the example/ directory
David> seem to work.
David> open(vendor,product) calls ftdi_usb_open(), which succeeds, then
David> calls get_strings_and_reopen(), which calls get_strings(), which
David> calls ftdi_usb_get_strings(), which fails, as it passes in d->dev
David> which hasn't been set yet.
David> Maybe the correct fix is to set d->dev to d->ftdi->dev after
David> ftdi_usb_open()?
>> Perhaps create a small example program in the example directory that
>> shows the error. Then create a patch to fix that error and send the
>> patches...
David> I'm just using libftdi for the first time, and wasn't prepared to
David> debug that problem in-depth. That's why my bug report is a
David> little shallow and doesn't provide a working patch.
I requested more the program or better a stripped down version of that
program. That way, other may reproduce the bug and look for a fix.
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
|