Thank you for your response Chris. I'm using a zenithink ZT280 C91. I don't know if anyone has been able to do USB host with this tablet but I finally managed to do it. and it was really quite simple :S
First, I have to say that 2.3.4 supports only USB accesory mode. Therefore... I changed my device to 4.0.3. Finally, one must compile a the ftdi_sio.ko module and add it to the kernel. (insmod ftdi_sio.ko) When you do this your ftdi USB cable gets detected and shows up with dmesg at /dev/ttyUSB0 To use it you can code your own app or use android-serialport-api which you can find in google code. As for the D2XXSample project on the ftdi page (marked specifically for android devices) I really don't know what is the idea behind this beta release... I tried it on 2.3.4 aswell as in 4.0.3 and it just doesn't work. Always crashes. On Feb 29, 11:42 pm, Chris Stratton <[email protected]> wrote: > > On Monday, February 27, 2012 4:28:46 PM UTC-5, Gett wrote: > > >> I'm trying to use an FTDI USB chip on Android following the > >> instructions at: > > >>http://www.ftdichip.com/Android.htm > > >>http://www.ftdichip.com/Support/Documents/TechnicalNotes/TN_134_FTDI_... > > >> The problem is that when I launch the D2XXSample app, the number of > >> devices detected when I click the "Info" button is always 0. > > >> I'm working with Android 2.3.4. > > > Are you working on an android device that is known to have usb host > > capability, and has a host (or OTG) driver in its kernel and has decided to > > go into usb host mode? > > The most important thing you haven't mentioned is the android device you > are testing on. > > Some thing you could try: > > - first search to see if anyone else has done usb host work with the > android device in question > - use a voltmeter to verify the FTDI chip is powered - many > pre-official-usb-host-support android devices aren't capable of providing > this > - adb pull, uncompress, and examine /proc/config.gz to see what options > your kernel was compiled with > - run dmesg from the adb shell shortly after a host usage attempt (or even > during it with a terminal app) and see if there's any mention of a new usb > device -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

