Welcome, Guest

Author Topic: USB FTDI support on ARM?  (Read 12907 times)

bsrdjan

  • Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
USB FTDI support on ARM?
« on: September 21, 2012, 03:38:32 PM »
Hello,

according to FTDI web site, virtual COM port USB drivers are currently not supported on ARM platforms and I see that users of ARM boards are struggling with that problem, discuss on forums etc.

Is it likely to expect the solution any time soon and is there any workaround to use virtual COM ports over FTDI USB on iMX233, for the time being?

With A13, the situation is probably the same?

Thanks and regards,
srdjan

davidjf2001

  • Newbie
  • *
  • Posts: 37
  • Karma: +0/-0
Re: USB FTDI support on ARM?
« Reply #1 on: September 21, 2012, 10:41:23 PM »
There are no problems at all using FTDI devices in linux, you just need to build the modules.

bsrdjan

  • Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
Re: USB FTDI support on ARM?
« Reply #2 on: September 22, 2012, 08:42:32 AM »
Thanks. Some more information would be great, like which modules, where to download and how to start getting virtual COM port over FTDI USB working? I connected FTDI USB device to RPi and it creates /dev/ttyUSB0 device, works good. How to achieve the same on iMX233?

davidjf2001

  • Newbie
  • *
  • Posts: 37
  • Karma: +0/-0
Re: USB FTDI support on ARM?
« Reply #3 on: September 22, 2012, 08:53:49 PM »
For now you have to rebuild the kernel and enable FTDI serial. I don't know of any repository of (pre-built) modules for the standard kernel. It would be nice if Olimex could host this.  Add a usb hard drive to your setup, create a swap file and build per archlinuxarm instructions.  I expect it will take a number of hours building on the board itself. I build on a OpenRD system which has a Sata drive and more memory so it is much faster.

xxcn

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: USB FTDI support on ARM?
« Reply #4 on: September 23, 2012, 10:20:55 PM »
My current stock archlinuxarm kernel has support for my FTDI cable:

Code: [Select]
[root@oli ~]# uname -a
Linux oli 2.6.35-7-ARCH+ #1 PREEMPT Wed Sep 19 05:23:48 UTC 2012 armv5tejl GNU/Linux
[root@oli ~]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 001 Device 005: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
[root@oli ~]# ll /dev/ttyUSB0
crw-rw---- 1 root uucp 188, 0 Jan  5  1970 /dev/ttyUSB0
[root@oli ~]#

You can install the kernel with:

Code: [Select]
pacman -Sy
pacman -S kernel26-olinuxino

bsrdjan

  • Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
Re: USB FTDI support on ARM?
« Reply #5 on: September 24, 2012, 12:12:08 AM »
this works! Thanks a lot  :D
My current stock archlinuxarm kernel has support for my FTDI cable:

Code: [Select]
[root@oli ~]# uname -a
Linux oli 2.6.35-7-ARCH+ #1 PREEMPT Wed Sep 19 05:23:48 UTC 2012 armv5tejl GNU/Linux
[root@oli ~]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 001 Device 005: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
[root@oli ~]# ll /dev/ttyUSB0
crw-rw---- 1 root uucp 188, 0 Jan  5  1970 /dev/ttyUSB0
[root@oli ~]#

You can install the kernel with:

Code: [Select]
pacman -Sy
pacman -S kernel26-olinuxino

bsrdjan

  • Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
Re: USB FTDI support on ARM?
« Reply #6 on: September 24, 2012, 01:27:40 AM »

xxcn

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: USB FTDI support on ARM?
« Reply #7 on: September 24, 2012, 10:11:07 AM »
Or, just add your user to the uucp group.