Red Hat Bugzilla – Bug 613597
ftdi USB serial driver broken in 126.96.36.199 / 188.8.131.52 / 184.108.40.206 / 2.6.35
Last modified: 2010-12-08 19:38:23 EST
Description of problem:
When I try to program my arduino on /dev/ttyUSB1,
the device on /dev/ttyUSB0 gets a reset,
and the device on /dev/ttyUSB1 "does not respond".
Version-Release number of selected component (if applicable):
Linux vaako.riddick.homeunix.org 220.127.116.11-147.fc13.x86_64 #1 SMP Tue Jul 6 22:32:17 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
Steps to Reproduce:
1. connect 2 arduinos via USB
2. start the arduino IDE
3. try to program arduino on /dev/ttyUSB1
/dev/ttyUSB0 gets reset
/dev/ttyUSB1 doesnt respond properly
/dev/ttyUSB0 should be unaffected
/dev/ttyUSB1 should get all the usb-serial traffic
It worked fine at 2010-07-01 (I always update within a day)...
Can you confirm that booting the previous kernel makes it work again?
no - i erase old kernels too early... :-)
in future i will keep at least one old version...
but i thought that old versions r security risks... arnt they?
here is the log about installation of the previous kernel:
Jun 17 08:03:39 vaako yum: Installed: kernel-18.104.22.168-124.fc13.x86_64
Jun 17 08:19:49 vaako kernel: Linux version 22.214.171.124-124.fc13.x86_64 (email@example.com) (gcc version 4.4.4 20100503 (Red Hat 4.4.4-2) (GCC) ) #1 SMP Fri Jun 11 09:38:12 UTC 2010
i will re-install 126.96.36.199 and report...
Linux vaako.riddick.homeunix.org 188.8.131.52-124.fc13.x86_64 #1 SMP Fri Jun 11 09:38:12 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
everything (regarding arduino's /dev/ttyUSB* devices) works fine again...
Can you boot the old kernel, then reboot to the new one and run this command:
diff -u /var/log/dmesg.old /var/log/dmesg
Then attach the output of that to this bug.
You could also try kernel-184.108.40.206-11 from koji. To do that, download this:
Then run this command:
yum localinstall kernel-220.127.116.11-11.fc13.x86_64.rpm
this has the FTDI/ttyUSB* bug, too...
in addition the keyboard and the mouse have different /dev/input/event* devices... :-) they r swapped... 2<->3
from /var/log/messages I found, that there r no differences in the kernel messages regarding USB and FTDI...
is there more info in dmesg?
i dont like to reboot often... :-]
Created attachment 431819 [details]
i found that i have 2 fitting dmesg files,
since i rebooted from 18.104.22.168-11 to 22.214.171.124-124...
here seems to be a similar problem:
This commit was added in 126.96.36.199 and 188.8.131.52 and may be the cause of this bug:
USB: ftdi_sio: fix DTR/RTS line modes
today's kernel 184.108.40.206-147.2.4.fc13.x86_64 is bad regarding this bug, 2... -arne
can u build me a kernel without this patch, pls?
it is still bad with
Upstream developers have been discussing this breakage for months and have finally agreed that commit 6a1a82df91fa0eb1cc76069a9efe5714d087eccd is wrong.
yeah - right
yesterday i learned how to use rpmbuild... :-)
ur guess was right: without that patch both FTDI devices work fine...
I think I've just run into this as well, I tried to access my ancient Palm Vx via ttyUSB which didn't work, accessing it through the "real" serial port worked. Chuck, any chance that we can have this in an update kernel? I'm running 220.127.116.11-149.fc13.x86_64 here.
Fix will be in 18.104.22.168-48
kernel-22.214.171.124-54.fc13 has been submitted as an update for Fedora 13.
kernel-126.96.36.199-54.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update kernel'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/kernel-188.8.131.52-54.fc13
kernel-184.108.40.206-54.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
it is back in 220.127.116.11-48.fc14.x86_64... *sob* -arne
My case, 18.104.22.168-48 (Fedora 14, i686) + USB-Serial converter cable +
Serial Device (GPS) not working.
The same PC, Same cable + same Serial Device worked on Fedora 11.
Latest kernel 22.214.171.124-64(Fedora 14, i686) also shows the same symptom.
hm - 126.96.36.199-64.fc14.x86_64 works fine for my 2 arduinos... there seems to be the ftdi_sio.c patch in the patch-188.8.131.52.bz2-file (the vanilla kernel still has that ftdi bug, that i experienced...)... -arne
Hello. It turned out that my problem is NOT related to FTDI driver.
I have only 1 arduino with me, and it works. (I know in order to
reproduce your symptom, I need 2 arduino.)
But my USB-Serial converter cable uses pl2303 driver, and it
can not communicate with device on Fedora 14.
So this is not a right place to add my bug report.
Sorry for the mess.
okili dokili... :-) -arne