If I am correct, Arduino using FTDI chip. For FTDI serial support, you need ftdi_sio kernel module. After modprobe ftdi_sio, you can access a serial device over /dev/ttyUSB0. Good luck!
Ketut P. Kumajaya
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-x86...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.
Hi Allan,
Usb connection for arduino and other devices will be a very usufull feature for androidx86.
Bocar
You probably misunderstood something.
You always need kernel support.
Without the kernel driver you can do nothing.
(that's why your lsusb is empty)
Google's doc doesn't (need to) mention that
because it's assumed. Phone vendors
have enable that in their shipped kernel.
As Ketut said, you probably need ftdi-sio driver
(or other driver depends on your hardware).
The driver may not be enabled in your kernel
so you are on your own.
--
Chih-Wei
Android-x86 project
http://www.android-x86.org
Oh, we are hacking it, this is the goal of this project.
As said, on android phones the vendors have prepared
all environment for you. You just need to follow Google's doc
to do the coding.
For android-x86, we are playing the role of phone vendors.
Ideally we should prepare the same environment like phones,
but in the real world there are too many peripherals to be supported.
It's impossible to provide a "universal image" to support all.
(though there are some discussion about this topic recently)
Unfortunately, as I've checked, none of the prebuilt image
we provided supports ftdi-sio.
But it's not that difficult. Just follow the CustomizeKernel doc
in our website to build your own image with the drivers
you need.
> I am using Android-x86-v3.2-eeepc, do you have any idea for anything
> related to USB pre-built by default with kernel, which I can use
> directly? It could be generic, like HID, CDC that can be used for
> general purpose communication.
That depends on what peripherals you want to use.
For touchscreen, some have been supported
by hid-multitouch drivers, some may not.
For camera, uvcamera is supported.
Yes, usbserial is enabled, but no ftdi.
My 3.0.8-android-x86-atom.tar.gz have ftdi_sio kernel module: http://groups.google.com/group/android-x86/browse_thread/thread/7fe2576264410af1/1620c5750ab4e162#1620c5750ab4e162
Glad to see some progress on usb, ftdi features for androids x86. Hopefully I'll be really interested on android x86 ICS interacting with android accessories adk board like the ioio or arduino board. So far ketut work is the closest I know of that goal. Thanks and good work :-)
Bocar
Search Slick USB in Market/Play. The demo version can connect to my FTDI serial converter without ftdi_sio kernel module. Not tested to communicate to real serial device yet, will try it soon.
Slick USB 2 Serial Terminal confirmed works! Tested using FTDI and Prolific base USB serial converter to access my Wavecom Fastrack modem over serial connection. Android-x86 USB Host API also confirmed works!
Great!!,
Thanks Ketut for the info and testing. I will test on anduino boards and ioio board and think of some hacking ideas.
Bocar
I hope someone create a free or better open source implementation of Slick USB Serial library since Slick cost too high (US$99). I think someday we can access a HART/MODBUS/PROFIBUS device, or a PLC using Android. I have to learn Java and Android programming then :D