>>>>> "Karl" == Karl Cunningham <karlc@xxxxxxxxxx> writes:
Karl> We have an older Mint (Ubuntu) system which works fine to program
Karl> FT245R chips, using ftdi_eeprom 0.3 and libftdi 0.15. This uses
Karl> the 2.6.27 kernel.
Karl> We're bringing up a new system with Ubuntu 10.04, kernel
Karl> 2.6.32. We downloaded a fresh ftdi_eeprom v0.3 and libftdi 0.19,
Karl> but we're having a hard time getting this to work.
Karl> We compiled and installed libftdi-0.19.
Karl> Compiling ftdi_eeprom, the compiler gives an error:
Karl> ftdi_eeprom-0.3/src/main.c:112: error: ‘struct ftdi_eeprom’
Karl> has no member named ‘BM_type_chip’ Commenting out line 112
Karl> lets it compile ok (but may not be the right thing to do). After
Karl> programming a chip with this we get a MaxPacketSize of zero for
Karl> the IN endpoint.
Karl> lsusb -v [snip] Endpoint Descriptor: bLength 7 bDescriptorType 5
Karl> bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk
Karl> Synch Type None Usage Type Data wMaxPacketSize 0x0000 1x 0 bytes
Karl> I get the feeling there is something fundamental we're doing wrong
Karl> here.
Can you try to run on a git libftdi-1.0?
--
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
|