Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A13 => Topic started by: Thomas on November 15, 2012, 05:35:42 PM

Title: FTDI usage with A13
Post by: Thomas on November 15, 2012, 05:35:42 PM
Hi,
Is there any way to use FTDI with A13 running Debian ?
When I plug a FTDI device, I cannot use it. It is detected as a new USB device "usbdev2.15" or "usbdev2.22" for example.
I did not find any drivers for ARM on the web.

Any help ?

Thank you !

PS : This is possible with the kernel archlinuxarm, but I want it on Debian. Source : https://www.olimex.com/forum/index.php?topic=54.0
Title: Re: FTDI usage with A13
Post by: cypher on November 20, 2012, 10:49:33 AM
Hello Thomas,

the FTDI drivers are included in the kernel. You have to activate the driver in the config and recompile the kernel and modules.

Then it should work on Debian.

Greetings

Marc
Title: Re: FTDI usage with A13
Post by: Thomas on November 21, 2012, 06:30:09 PM
Hi cypher,
Thank you for this answer, but how can I do that ? Is it necessary to remake all the SDCard like in this tutorial ? http://olimex.wordpress.com/2012/10/12/building-bootable-sd-card-with-debian-linux-image-for-a13-olinuxino/

I'm note sure I need to do this, I have the SD card from Olimex (A13-Olinuxino-SD).
Here is my lsmod output without any changes:
sun4i_gpio
fbcon
bitblit
softcursor
font
8192cu

Any idea ?
Regards,
Thomas.
Title: Re: FTDI usage with A13
Post by: Thomas on November 21, 2012, 06:31:02 PM
Maybe I just need to do some "modprobe XXX" command ?
Edit : I tested "modprobe ftdi_sio" but it was not found.
Title: Re: FTDI usage with A13
Post by: cypher on November 21, 2012, 09:10:16 PM
Hi Thomas,

I have checked the kernel config and the FTDI drivers are not activated  :-\

So you have to complie your kernel. In my kernel I add the driver I need , this includes the FTDI driver.

You can find a very good instruction on Antos's blog

http://blog.klava.se/post/debian-sd-card-for-olinuxino-a13 (http://blog.klava.se/post/debian-sd-card-for-olinuxino-a13)

When you go through this instruction step-by-step it will work.

When you have further question , please ask  :D
Title: Re: FTDI usage with A13
Post by: Thomas on November 21, 2012, 09:34:45 PM
Mmmh ok I need to buy a SD card reader first. I'll do this tomorrow and then try this procedure.

Thank you for your help, I probably will ask you something more tomorrow :)

Thomas.
Title: Re: FTDI usage with A13
Post by: Thomas on November 29, 2012, 12:57:37 AM
Everything is fine. Thank you !
Edit : I did the same, using CONFIG_USB_SERIAL=y in the .config