Re: [Ftdi-usb-sio-devel] FTDI driver crash on 64-bit Ubuntu with Arduino
Brought to you by:
bryder
From: Craig V. D. <cr...@yo...> - 2010-01-03 21:46:56
|
I just checked and determined that the kernel 2.6.32.1-9 currently in Ubuntu-10.04-Alpha1 can be complied and used in Kubuntu 9.10, at least it seems to run fine on my system. My problem with ftdi_sio is solved in that kernel without special effort. On Saturday 02 January 2010 21:07:22 Craig Van Degrift wrote: > Comment #10 in the following forum was helpful for getting my FTDI 2232C > working again when I upgraded to Ubuntu 9.10. It seems this fix is still > not in the Ubuntu updates. It might help with your problem. > > http://ubuntuforums.org/showthread.php?t=1327965 > > On Saturday 02 January 2010 18:36:04 David Powell wrote: > > Hello. I've searched everywhere for a solution to this problem, but > > can't find one. I'm hoping someone here can help. > > > > The background: > > I have only just recently replaced my old slow Windows XT machine with a > > new HP 64-bit quad processor. It came with 64-bit Vista which doesn't > > allow 32-bit drivers, so I decided this is the decade that I will switch > > to Linux and loaded 64-bit Ubuntu 9.10 (Karmic Koala) on it. > > I also have an Arduino clone (Seeduino) which uses the FTDI FT232RL chip > > that I want to use. > > > > The problem: > > If I plug in the Arduino to the USB port, /dev/ttyUSB0 appears and this > > appears in the messages log: > > > > usb 4-1: new full speed USB device using ohci_hcd and address 2 > > usb 4-1: configuration #1 chosen from 1 choice > > usbcore: registered new interface driver usbserial > > USB Serial support registered for generic > > usbcore: registered new interface driver usbserial_generic > > usbserial: USB Serial Driver core > > USB Serial support registered for FTDI USB Serial Device > > ftdi_sio 4-1:1.0: FTDI USB Serial Device converter detected > > usb 4-1: Detected FT232RL > > usb 4-1: Number of endpoints 2 > > usb 4-1: Endpoint 1 MaxPacketSize 64 > > usb 4-1: Endpoint 2 MaxPacketSize 64 > > usb 4-1: Setting MaxPacketSize 64 > > usb 4-1: FTDI USB Serial Device converter now attached to ttyUSB0 > > usbcore: registered new interface driver ftdi_sio > > ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver > > > > If I unplug the Arduino right away, /dev/ttyUSB0 goes away, as it > > should. So far, so good. > > > > If, however, I leave the Arduino plugged in, about every 5 minutes I get > > this in the messages log: > > > > modem-manager D 0000000000000000 0 929 1 0x00000000 > > ffff8801ffc07cd8 0000000000000086 ffff8801f710c8a0 0000000000015880 > > ffff880213b43110 0000000000015880 0000000000015880 0000000000015880 > > 0000000000015880 ffff880213b43110 0000000000015880 0000000000015880 > > Call Trace: > > [<ffffffff8139ec15>] usb_kill_urb+0x85/0xc0 > > [<ffffffff81078b20>] ? autoremove_wake_function+0x0/0x40 > > [<ffffffffa0bc7fc1>] ftdi_close+0x31/0x70 [ftdi_sio] > > [<ffffffffa0bb9909>] serial_down+0x69/0x80 [usbserial] > > [<ffffffffa0bb9c16>] serial_close+0x76/0xc0 [usbserial] > > [<ffffffff812f4319>] tty_release_dev+0x159/0x5f0 > > [<ffffffff81130270>] ? pollwake+0x0/0x60 > > [<ffffffff81427610>] ? sys_sendto+0x120/0x180 > > [<ffffffff812f47c9>] tty_release+0x19/0x30 > > [<ffffffff81120cd0>] __fput+0xf0/0x210 > > [<ffffffff81120e0d>] fput+0x1d/0x30 > > [<ffffffff8111cec8>] filp_close+0x58/0x90 > > [<ffffffff8111cfb9>] sys_close+0xb9/0x110 > > [<ffffffff81012002>] system_call_fastpath+0x16/0x1b > > > > > > In either case, I can't actually *use* the Arduino - if I try to > > download a program to it, the download program (avrdude) will simply > > hang - very hard. I can't even kill it from the command line. Also, if > > I try "lsusb", that too will hang with no way to kill it. Another, > > possibly unrelated, problem is that some time after that my Logitech > > PS/2 mouse will stop working. > > > > Can anyone tell from the hieroglyphics that I've posted here where the > > problem is? > > > > Thanks, David > |