Pages: [1]   Go Down
Author Topic: FTDI RTS Not Working since Kernel Update (2.6.35-25)  (Read 1233 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino is spiffing
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I did a kernel update on my Linux machine today (to 2.6.35-25-generic-pae) and I find that my FTDI cable suddenly won't auto-reset the arduino clone I have on a breadboard.  In fact it's worse - it just seems to hold pin 1 low constantly. 

I only managed to do an upload after having disconnected the RTS wire from pin 1, which means going back to manually pressing reset before an upload.

I was puzzling as to why this suddenly was the case... and thought about the recent kernel update.  I tried booting back into 2.6.35-24-generic-pae and everything works as it used to.

I assume something's changed in a driver somewhere...

So this isn't really a question, more just to say what I've noticed in case anyone else is puzzled about strange new behaviour smiley    However, if anyone can shed more light on this, feel free to comment...
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino is spiffing
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Related: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/690798

Which seems to confirm my theory that the driver has changed.  Comment seems to imply that this is a deliberate change in the Linux code - therefore the IDE presumably needs a bit of a change to set RTS low when the port is opened. 
« Last Edit: February 02, 2011, 09:55:33 am by md81544 » Logged

Offline Offline
God Member
*****
Karma: 32
Posts: 506
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I just updated to 2.6.35-25 myself, but it is working fine here on an official Duemilanove. It auto-resets on upload as normal. This is on Ubuntu 10.10 x86_64
Logged


Dallas
Offline Offline
Sr. Member
****
Karma: 2
Posts: 337
nephew as a kittens
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

See my post here about the FTDI cable not working with an older kernel:

http://arduino.cc/forum/index.php/topic,50519.0.html

I'm kind of glad I didn't try to  fix it by upgrading my kernel because it looks like it's broken on the latest one as well. Apparently they randomly change the FTDI drivers' behavior for some reason. Do you remember what kernel you had before where the FTDI cable WAS working as expected? Since my netbook is basically my Arduino terminal, I'd just as soon use that kernel.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino is spiffing
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The kernel which worked for me was 2.6.35-24-generic-pae.
Logged

Right Here!
Offline Offline
Jr. Member
**
Karma: 0
Posts: 66
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've been bitten by this one too smiley-sad

My temporary fix is to cut the pads as per manual reset/upload then solder a 100nF cap across. This makes it a lot less fiddly than trying to time the reset just right, but I have to unplug-then replug in the board every time I want to make a fresh upload - go figure!

Coincidentally, there seems to be no problem with the mega, also I've tried using a little FTDI module from RS components, connecting just the serial lines, and the RTS# line via a 100nF cap. That works perfectly (which is why it took me so long to discover there was a problem). I don't know if it's relevant but this development board of my own doesn't share the +5V with the USB module.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 25
Hacking since the 70s
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This one was driving me crazy bonkers.

Here's a little compilation of screenshots I made:
.

I tried crazy things, then I read of possible kernel borkedness.

So I rebooted 2.6.35-24, and it's there I'll be staying until this gets sorted out.
Logged

Colorado
Offline Offline
Full Member
***
Karma: 1
Posts: 220
Arduino 0022 and Ubuntu 11.10 64bit.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

dmesg|grep ftdi_sio
ftdi_sio 5-2:1.0: FTDI USB Serial Device converter detected
uname -a
Linux mark-laptop 2.6.35-26-generic #46-Ubuntu SMP Sun Jan 30 06:59:07 UTC 2011 x86_64 GNU/Linux

Everything works fine on Uno and duemilanove
Logged

Colorado
Offline Offline
Full Member
***
Karma: 1
Posts: 220
Arduino 0022 and Ubuntu 11.10 64bit.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

dmesg|grep ftdi_sio
[  205.654534] ftdi_sio 5-2:1.0: FTDI USB Serial Device converter detected
[  205.656331] usbcore: registered new interface driver ftdi_sio
[  205.656335] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
mark@mark-laptop:~$ uname -a
Linux mark-laptop 2.6.35-27-generic #48-Ubuntu SMP Tue Feb 22 20:25:46 UTC 2011 x86_64 GNU/Linux

Just upgraded the kernel version  and it working with Uno and duemilanove.
« Last Edit: March 09, 2011, 12:09:02 am by mrtaylor » Logged

New York
Offline Offline
Edison Member
*
Karma: 1
Posts: 1023
E != m*c^2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Have the people with issues checked to see if fdti released patched drivers for the new kernel?
Logged

Colorado
Offline Offline
Full Member
***
Karma: 1
Posts: 220
Arduino 0022 and Ubuntu 11.10 64bit.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@md81544
Quote
hold pin 1 low constantly.
How did you measure this scope or meter?

@md81544 @dsacmul
Which version of librxtxSerial are you using?
« Last Edit: March 10, 2011, 02:29:16 am by mrtaylor » Logged

Pages: [1]   Go Up
Jump to: