AnsweredAssumed Answered

How to enable ftdi module on MX53 QSB linux (i.MX53 connect to arduino Mega 328)

Question asked by Christos Papadopoulos on Jun 22, 2015
Latest reply on Jun 24, 2015 by Christos Papadopoulos

I am running a java6 which sends data to a robotic kit which has the arduino mega328 as a controller.

I have tested arduino uno and it is recogized by i.MX53 and my java programm sends data.

But the arduino mega328 is not detected.

I found out that I have to enable a kernel module named ftdi_sio from the kernel.

So I downloaded this image (https://github.com/lgeek/linux-2.6.35.3-imx53)

copied to /usr/src/ and renamed it to "linux". I also linked

"linux-2.6.35.3-1129" and "linux-2.6.35.3-1129-g691c09a" to "linux"

using "make a link option" in nautilus which I started with sudo sh

nautilus.

Next I copied my .config file:

cp /proc/config.gz /usr/src/linux

and in /usr/src/linux I unzipped it and rename it to .config

sudo make menuconfig

Navigated

to Drivers -> USB Support -> USB Serial Converter Support and

chose 'M' for the USB FTDI Single Port Serial Driver

sudo make modules

sudo make prepare

sudo make modules_prepare

sudo cp drivers/usb/serial/ftdi_sio.ko /lib/modules/$(uname -r)/kernel

sudo depmod -a

But dmesg shows

ftdi_sio: no symbol version for module_layout

after a rebuild:

make

doing the whole process again I get:

 

usb wakeup is here

ehci_fsl_bus_resume, Host 1

usb 2-1: new full speed USB device using fsl-ehci and address 7

ftdi_sio: Unknown symbol usb_serial_handle_sysrq_char (err 0)

ftdi_sio: Unknown symbol usb_serial_disconnect (err 0)

ftdi_sio: Unknown symbol usb_serial_generic_open (err 0)

ftdi_sio: Unknown symbol usb_serial_generic_close (err 0)

ftdi_sio: Unknown symbol usb_serial_generic_unthrottle (err 0)

ftdi_sio: Unknown symbol usb_serial_handle_break (err 0)

ftdi_sio: Unknown symbol usb_serial_generic_throttle (err 0)

ftdi_sio: Unknown symbol usb_serial_probe (err 0)

ftdi_sio: Unknown symbol usb_serial_register (err 0)

ftdi_sio: Unknown symbol usb_serial_deregister (err 0)

ftdi_sio: Unknown symbol usb_serial_handle_sysrq_char (err 0)

ftdi_sio: Unknown symbol usb_serial_disconnect (err 0)

ftdi_sio: Unknown symbol usb_serial_generic_open (err 0)

ftdi_sio: Unknown symbol usb_serial_generic_close (err 0)

ftdi_sio: Unknown symbol usb_serial_generic_unthrottle (err 0)

ftdi_sio: Unknown symbol usb_serial_handle_break (err 0)

ftdi_sio: Unknown symbol usb_serial_generic_throttle (err 0)

ftdi_sio: Unknown symbol usb_serial_probe (err 0)

ftdi_sio: Unknown symbol usb_serial_register (err 0)

ftdi_sio: Unknown symbol usb_serial_deregister (err 0)

Outcomes