Dark
Posts: 21
Joined: Thu May 10, 2012 4:39 pm

[Ach linux] Arduino drivers

Sun May 13, 2012 5:44 pm

Hi,

I'm trying to connect my arduino to my raspberry pi. I would like to communicate over usb (virtual serial com port). The problem is that the arduino is not recognized.

When running dmesg:

usb 1-1.3: new full speed USB device number 10 using dwc_otg
usb 1-1.3: New USB device found, idVendor=2341, idProduct=0001
usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=220
usb 1-1.3: Product: Arduino Uno
usb 1-1.3: Manufacturer: Arduino (www.arduino.cc)
usb 1-1.3: SerialNumber: 64932343838351C00132

After a lot of searching I found out that I need the FTDI drivers. Normally there already built in linux. But not in the iso found on this site. But i'm pretty new at linux and I really don't know how to install those drivers.

dolson14
Posts: 21
Joined: Sat May 12, 2012 12:20 am
Contact: Website

Re: [Ach linux] Arduino drivers

Sun May 13, 2012 5:56 pm

According to FTDI's Driver Page, the linux drivers are only available for x86 and x64 achitectures; they're not available for ARM (yet).

The good news is that ARM drivers are available for the Windows CE operating system, so when some bright mind tackles it, I don't think it will be too difficult to port the driver to ARM. It may even be trivial; hopefully someone with some know-how will catch this and see what they can do.

Dark
Posts: 21
Joined: Thu May 10, 2012 4:39 pm

Re: [Ach linux] Arduino drivers

Sun May 13, 2012 5:57 pm

So until then there is no way to use the arduino?

dolson14
Posts: 21
Joined: Sat May 12, 2012 12:20 am
Contact: Website

Re: [Ach linux] Arduino drivers

Sun May 13, 2012 6:06 pm

Depends on how you want to use it. The GPIO pins let you do serial communication directly via UART, or by SPI, I2C, etc. Without the FTDI driver, you won't be able to work with the FTDI chip on the arduino; in other words, you won't be able to open the USB port as a virtual comm port. There may be a way to bypass the FTDI chip, though, and go directly to the AVR instead. I'm not an arduino guy, so I'm not sure how feasible that will be...

I do reserve the right to be corrected on this.


pepedog
Posts: 1043
Joined: Fri Oct 07, 2011 9:55 am

Re: [Ach linux] Arduino drivers

Sun May 13, 2012 7:50 pm

According to http://forums.gentoo.org/viewtopic-p-6993050.html you have to manually load the module
modprobe ftdi_sio

Return to “Beginners”