[Bug 658314] New: FTDI USB Serial Device converter does not work anymore
https://bugzilla.novell.com/show_bug.cgi?id=658314 https://bugzilla.novell.com/show_bug.cgi?id=658314#c0 Summary: FTDI USB Serial Device converter does not work anymore Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: i686 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: stefan.brandner@gmx.at QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.12) Gecko/20101026 SUSE/3.6.12-0.7.1 Firefox/3.6.12 The USB to serial converter is detected by the kernel and attached to /dev/ttyUSB0. [27169.819043] hub 1-0:1.0: unable to enumerate USB device on port 5 [27225.033032] usb 2-5: new full speed USB device using ohci_hcd and address 3 [27225.233767] usb 2-5: New USB device found, idVendor=0403, idProduct=6001 [27225.233772] usb 2-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [27225.233775] usb 2-5: Product: FT232R USB UART [27225.233777] usb 2-5: Manufacturer: FTDI [27225.667581] usbcore: registered new interface driver usbserial [27225.667630] USB Serial support registered for generic [27225.667947] usbcore: registered new interface driver usbserial_generic [27225.667950] usbserial: USB Serial Driver core [27225.673669] USB Serial support registered for FTDI USB Serial Device [27225.673712] ftdi_sio 2-5:1.0: FTDI USB Serial Device converter detected [27225.673766] usb 2-5: Detected FT232RL [27225.673768] usb 2-5: Number of endpoints 2 [27225.673771] usb 2-5: Endpoint 1 MaxPacketSize 64 [27225.673773] usb 2-5: Endpoint 2 MaxPacketSize 64 [27225.673775] usb 2-5: Setting MaxPacketSize 64 [27225.675847] usb 2-5: FTDI USB Serial Device converter now attached to ttyUSB0 [27225.675867] usbcore: registered new interface driver ftdi_sio [27225.675869] ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver Now it is not possible to communicate with the attached device. This was working with the initial installation but after updating the system it now fails. Reproducible: Always Steps to Reproduce: 1. use OpenSUSE 11.3 and update the system 2. attach a usb to serial converter and try to send and receive data 3. Actual Results: when I send data to /dev/ttyUSB0 e.g to give me the device version there is no answer from the device Expected Results: I should get the answer from the attached device. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=658314 https://bugzilla.novell.com/show_bug.cgi?id=658314#c1 Jiri Slaby <jslaby@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |jslaby@novell.com InfoProvider| |stefan.brandner@gmx.at --- Comment #1 from Jiri Slaby <jslaby@novell.com> 2011-02-01 09:38:11 UTC --- (In reply to comment #0)
This was working with the initial installation but after updating the system it now fails.
Could you install (by rpm -ivh) the original kernel and check that it's a kernel regression? I don't see anything suspicious in the diff after quick look. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=658314 https://bugzilla.novell.com/show_bug.cgi?id=658314#c2 Stefan Brandner <stefan.brandner@gmx.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|stefan.brandner@gmx.at | --- Comment #2 from Stefan Brandner <stefan.brandner@gmx.at> 2011-02-03 07:59:14 UTC --- I installed the original kernel: kernel + kernel-firmware After that it worked again. I also tried the windows programm that uses the interface with wine and it also does work with this kernel. uname -a Linux linux-e9xc 2.6.34-12-desktop #1 SMP PREEMPT 2010-06-29 02:39:08 +0200 x86_64 x86_64 x86_64 GNU/Linux dmesg [ 136.794072] usb 2-1: new full speed USB device using uhci_hcd and address 2 [ 136.967247] usb 2-1: New USB device found, idVendor=0403, idProduct=6001 [ 136.967250] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 136.967262] usb 2-1: Product: FT232R USB UART [ 136.967264] usb 2-1: Manufacturer: FTDI [ 137.094507] usbcore: registered new interface driver usbserial [ 137.094767] USB Serial support registered for generic [ 137.095122] usbcore: registered new interface driver usbserial_generic [ 137.095125] usbserial: USB Serial Driver core [ 137.113571] USB Serial support registered for FTDI USB Serial Device [ 137.113618] ftdi_sio 2-1:1.0: FTDI USB Serial Device converter detected [ 137.113682] usb 2-1: Detected FT232RL [ 137.113684] usb 2-1: Number of endpoints 2 [ 137.113686] usb 2-1: Endpoint 1 MaxPacketSize 64 [ 137.113688] usb 2-1: Endpoint 2 MaxPacketSize 64 [ 137.113690] usb 2-1: Setting MaxPacketSize 64 [ 137.115354] usb 2-1: FTDI USB Serial Device converter now attached to ttyUSB0 [ 137.115638] usbcore: registered new interface driver ftdi_sio [ 137.115641] ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver It does not work with: uname -a Linux linux-e9xc 2.6.34.7-0.7-desktop #1 SMP PREEMPT 2010-12-13 11:13:53 +0100 x86_64 x86_64 x86_64 GNU/Linux dmesg [ 83.336038] usb 2-2: new full speed USB device using uhci_hcd and address 2 [ 83.510127] usb 2-2: New USB device found, idVendor=0403, idProduct=6001 [ 83.510134] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 83.510139] usb 2-2: Product: FT232R USB UART [ 83.510144] usb 2-2: Manufacturer: FTDI [ 83.576799] usbcore: registered new interface driver usbserial [ 83.576849] USB Serial support registered for generic [ 83.577170] usbcore: registered new interface driver usbserial_generic [ 83.577172] usbserial: USB Serial Driver core [ 83.586833] USB Serial support registered for FTDI USB Serial Device [ 83.586877] ftdi_sio 2-2:1.0: FTDI USB Serial Device converter detected [ 83.586928] usb 2-2: Detected FT232RL [ 83.586930] usb 2-2: Number of endpoints 2 [ 83.586932] usb 2-2: Endpoint 1 MaxPacketSize 64 [ 83.586935] usb 2-2: Endpoint 2 MaxPacketSize 64 [ 83.586936] usb 2-2: Setting MaxPacketSize 64 [ 83.588212] usb 2-2: FTDI USB Serial Device converter now attached to ttyUSB0 [ 83.588276] usbcore: registered new interface driver ftdi_sio [ 83.588282] ftdi_sio: v1.5.0:USB FTDI Serial Converters Drive Difference is usb 2-1 versa usb 2-2. Is it possible to install all kernel updates because then I can tell exactly the version that broke it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=658314 https://bugzilla.novell.com/show_bug.cgi?id=658314#c3 Greg Kroah-Hartman <gregkh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |gregkh@novell.com InfoProvider| |stefan.brandner@gmx.at --- Comment #3 from Greg Kroah-Hartman <gregkh@novell.com> 2011-02-03 16:06:54 UTC --- 2-1 vs 2-2 is not a difference, that could change anytime. Also, it looks like the driver is still working properly with the new kernel release, the driver is bound to the device and found properly. So I don't see where the problem is, why do you think the device does not work? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=658314 https://bugzilla.novell.com/show_bug.cgi?id=658314#c4 Stefan Brandner <stefan.brandner@gmx.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|stefan.brandner@gmx.at | --- Comment #4 from Stefan Brandner <stefan.brandner@gmx.at> 2011-02-03 18:22:30 UTC --- When I use the old kernel the programm can communicate with the device. With the new kernel it can not. The first command checks the device version. It fails when there is no reply at all. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=658314 https://bugzilla.novell.com/show_bug.cgi?id=658314#c5 Greg Kroah-Hartman <gregkh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |stefan.brandner@gmx.at --- Comment #5 from Greg Kroah-Hartman <gregkh@novell.com> 2011-02-03 18:26:51 UTC --- What port are you trying to connect to for the ftdi device? Perhaps you have other usb to serial devices in the system and you are not pointing your program to the correct one? Can you attach the output of 'hwinfo' to this bug with both the new and old kernel versions? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=658314 https://bugzilla.novell.com/show_bug.cgi?id=658314#c6 --- Comment #6 from Stefan Brandner <stefan.brandner@gmx.at> 2011-02-04 20:10:44 UTC --- Created an attachment (id=412359) --> (http://bugzilla.novell.com/attachment.cgi?id=412359) hwinfo not working -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=658314 https://bugzilla.novell.com/show_bug.cgi?id=658314#c7 --- Comment #7 from Stefan Brandner <stefan.brandner@gmx.at> 2011-02-04 20:11:34 UTC --- Created an attachment (id=412360) --> (http://bugzilla.novell.com/attachment.cgi?id=412360) hwinfo working -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=658314 https://bugzilla.novell.com/show_bug.cgi?id=658314#c8 Stefan Brandner <stefan.brandner@gmx.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|stefan.brandner@gmx.at | --- Comment #8 from Stefan Brandner <stefan.brandner@gmx.at> 2011-02-04 20:12:26 UTC --- Added two attachments with output from hwinfo. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=658314 https://bugzilla.novell.com/show_bug.cgi?id=658314#c Greg Kroah-Hartman <gregkh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel-maintainers@forge.pr |gregkh@novell.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=658314 https://bugzilla.novell.com/show_bug.cgi?id=658314#c9 Greg Kroah-Hartman <gregkh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |stefan.brandner@gmx.at --- Comment #9 from Greg Kroah-Hartman <gregkh@novell.com> 2011-02-05 00:44:26 UTC --- Ok, it looks like the driver is getting properly bound to the device, and there are no errors in the kernel log. So, what happens when you run your program? Can you run strace on it to see what it is failing on? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=658314 https://bugzilla.novell.com/show_bug.cgi?id=658314#c10 --- Comment #10 from Stefan Brandner <stefan.brandner@gmx.at> 2011-02-05 09:57:31 UTC --- Created an attachment (id=412416) --> (http://bugzilla.novell.com/attachment.cgi?id=412416) strace of windows program not working -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=658314 https://bugzilla.novell.com/show_bug.cgi?id=658314#c11 Stefan Brandner <stefan.brandner@gmx.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|stefan.brandner@gmx.at | --- Comment #11 from Stefan Brandner <stefan.brandner@gmx.at> 2011-02-05 09:58:48 UTC --- Created an attachment (id=412417) --> (http://bugzilla.novell.com/attachment.cgi?id=412417) strace of windows program working -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=658314 https://bugzilla.novell.com/show_bug.cgi?id=658314#c12 Jiri Slaby <jslaby@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |jslaby@novell.com InfoProvider| |stefan.brandner@gmx.at --- Comment #12 from Jiri Slaby <jslaby@novell.com> 2011-02-07 16:47:51 UTC --- (In reply to comment #11)
strace of windows program working
It doesn't work with any /dev/ttyUSB* devices. Maybe its child does (you need to pass -f to strace)? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=658314 https://bugzilla.novell.com/show_bug.cgi?id=658314#c13 Stefan Brandner <stefan.brandner@gmx.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|stefan.brandner@gmx.at | --- Comment #13 from Stefan Brandner <stefan.brandner@gmx.at> 2011-02-07 23:52:44 UTC --- I tried it with strace -f but then the program does not work at all. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=658314 https://bugzilla.novell.com/show_bug.cgi?id=658314#c14 Greg Kroah-Hartman <gregkh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |stefan.brandner@gmx.at --- Comment #14 from Greg Kroah-Hartman <gregkh@novell.com> 2011-02-10 18:37:26 UTC --- What program are you trying to use here? This is wine, right? Can you try the kernel in Tumbleweed to see if that resolves the issue? There has been some weird ftdi_sio flow control issues that I thought I fixed, but maybe I got wrong recently. A newer kernel should not have these issues. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=658314 https://bugzilla.novell.com/show_bug.cgi?id=658314#c15 Stefan Brandner <stefan.brandner@gmx.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|stefan.brandner@gmx.at | --- Comment #15 from Stefan Brandner <stefan.brandner@gmx.at> 2011-02-11 17:28:28 UTC --- I tried it with the kernel from Tumbleweed (2.6.37-11-desktop) and it does work again. So should we close the bug with the messages fixed in 2.6.37? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=658314 https://bugzilla.novell.com/show_bug.cgi?id=658314#c16 Greg Kroah-Hartman <gregkh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #16 from Greg Kroah-Hartman <gregkh@novell.com> 2011-08-11 20:25:23 UTC --- Yes, now marked closed, thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com