LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-23-2013, 02:36 PM   #1
BitBang
LQ Newbie
 
Registered: Jul 2013
Posts: 1

Rep: Reputation: Disabled
FTDI FT232 Issues


All of my linux machines are exhibiting poor preformance with FTDI usb/serial devices. This problem seems to affect my Laptop (Laditude D630), my desktop (Self Bulit), and even my Raspberry Pi. None of these systems work properly with either of the FT232 based devices I own: A RepRap printer with a Melzi board and a Arduino Duemilanove. The problem manifests itself in lots of strange ways. Primarily, it results in magor slowdown in some programs that recieve from the device. In pronterface, the controll program for the 3d printer, I need to hit connect multiple times. When it finaly does connect, you can see the startup info coming in character by character even at 250kbaud. With Cura, an alternate program for the printer, I had to go into the source and increase the timeout in order to connect. With the arduino, the same symptoms (slow transfer) appear with the serial monitor built into the software. Uploading sketches to the board works as fast as always and without errors, though. Even when the board is not sending anything, the software is still reading in new data in a futile attemt to keep up with the buffer. Most annoyingly, some of my processing sketches (programs) wont even run: the device buffer fills up and overflows (I believe) , causing lost packets and loosing sync. An example of a processing sketch that fails is the Razor AHRS 1.4 test sketch. In my own sketch, which also works on windows but not linux, I had to add a delays to avoid dropping packets. I believe that long ago all of theese issues didn't occur on linux, and the have never occurred on windows. I just tested the same processing sketch on my laptop under windows and it worked flawlwssly.

I have tried two different usb cables and it made no diference.

Is FTDI on linux just broken beyond repair?

I have been putting up with theese issues for months, but I is getting to the point where I will need to go back to windows if I cannot fix them.
 
Old 07-23-2013, 03:46 PM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Well, all I can say is: I've noticed the same problem and on one machine it was, sadly, solved by going back to Windows. Intermittent problems with speeds, data loss, losing connections are unfortunately very difficult to diagnose. So: (a) you're not alone (b) unless you can generate a reproducible consistent error it'll be hard to fix. If you can, then perhaps a bug report submitted to the kernel developer responsible to FTDI might help everyone.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FTDI driver installation issues astralmaster Linux - Hardware 4 05-18-2013 10:14 AM
Installed FTDI and want to get rid of it jthrock Linux - Newbie 5 10-27-2011 09:15 PM
FTDI drivers errors mikeinf Linux - Hardware 3 01-05-2010 07:13 AM
FTDI communication problems rasta_freak Linux - Hardware 0 06-05-2009 05:54 AM
glcd + ftdi + usb tooly Linux - Hardware 1 09-25-2005 11:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration