Page 1 of 2

Ubuntu 12.04 and FDTI USB chips.

Posted: Tue May 08, 2012 2:03 am
by Spudmn
I have just upgraded to 12.04 (I use Lubuntu) and there is something wrong with the FDTI USB driver. It looks like it is detected OK but I can’t get any incoming data.
I will keep you posted if I work out how to fix it.

Re: Ubuntu 12.04 and FDTI USB chips.

Posted: Tue May 08, 2012 2:37 am
by Fred
Spudmn wrote:I have just downgraded to 12.04 (I use Lubuntu) and there is something wrong with the FDTI USB driver.
Fixed! :-)

Re: Ubuntu 12.04 and FDTI USB chips.

Posted: Tue May 08, 2012 7:36 pm
by Peter
Mine still seems to be happy.

Re: Ubuntu 12.04 and FDTI USB chips.

Posted: Tue May 08, 2012 8:49 pm
by Spudmn
Hmmmm. Thanks Peter.

I know the hardware still works because I can get a serial stream from windows PC. My other Linux box doesn't work either and it is on 11.10.
Something weird going on here.

Re: Ubuntu 12.04 and FDTI USB chips.

Posted: Sun May 13, 2012 9:02 pm
by Compassion
What type of incoming data are you not getting? Is this with screen/minicom, or some of the other FreeEMS tools? Can you also provide the USB ID (vendor/device ID?) as well. It is in a ####:#### format, or described as such with various utilities.

Re: Ubuntu 12.04 and FDTI USB chips.

Posted: Mon May 14, 2012 3:02 am
by Spudmn
What type of incoming data are you not getting?
Nothing. I have scoped the Micro Tx and there is data there but nothing is getting through the USB Chip.

Can you also provide the USB ID (vendor/device ID?) as well. It is in a ####:#### format, or described as such with various utilities.

Code: Select all

$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 
Bus 001 Device 002: ID 0c45:62c0 Microdia Sonix USB 2.0 Camera 
Bus 002 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC 




$dmesg
[19005.892112] usb 2-1: new full-speed USB device number 2 using uhci_hcd 
[19006.181468] usbcore: registered new interface driver usbserial 
[19006.181573] USB Serial support registered for generic 
[19006.181716] usbcore: registered new interface driver usbserial_generic 
[19006.181728] usbserial: USB Serial Driver core 
[19006.201678] USB Serial support registered for FTDI USB Serial Device 
[19006.201965] ftdi_sio 2-1:1.0: FTDI USB Serial Device converter detected 
[19006.202102] usb 2-1: Detected FT232RL 
[19006.202112] usb 2-1: Number of endpoints 2 
[19006.202120] usb 2-1: Endpoint 1 MaxPacketSize 64 
[19006.202128] usb 2-1: Endpoint 2 MaxPacketSize 64 
[19006.202136] usb 2-1: Setting MaxPacketSize 64 
[19006.205502] usb 2-1: FTDI USB Serial Device converter now attached to ttyUSB0 
[19006.205633] usbcore: registered new interface driver ftdi_sio 
[19006.205649] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
I have the USB LEDs hooked up and the LED is not flashing.

I can send characters from a GTKTerm and they are appearing on the Micro's Rx. and the bit width is correct. The Rx LED is flashing when I do this. But there is never any Tx LED flashing.

The Puma USB mod shows that 2 and 9 and 3 and 11 are connected together but my board is not hooked up like this. Has anybody made this mod?
Image

Re: Ubuntu 12.04 and FDTI USB chips.

Posted: Mon May 14, 2012 4:14 am
by Fred
Sounds like either:

USB chip is dead

or

Link to USB chip is dead

or

Driver issue?

Though I doubt the last one.

The mod is not required, btw.

Fred.

Re: Ubuntu 12.04 and FDTI USB chips.

Posted: Mon May 14, 2012 4:31 am
by Spudmn
Fred wrote:
Driver issue?

Though I doubt the last one.
It most likely some sort of Linux driver issue. The hardware works fine on Windows. It only started to give me problems after I upgraded to 12.04.

Re: Ubuntu 12.04 and FDTI USB chips.

Posted: Mon May 14, 2012 4:54 am
by Dan
Altium FTW! :-)

Re: Ubuntu 12.04 and FDTI USB chips.

Posted: Mon May 14, 2012 11:29 am
by Fred
Aaron, but you said it was not working fine on older versions of Linux too? Or did I get lost somewhere? Are you sure you don't have some insidious packages attacking the device looking for other things as I have had a few times? Preston and I had some horrible experiences with different things.