View unanswered posts | View active topics It is currently Tue Jul 25, 2017 1:32 pm



Reply to topic  [ 14 posts ]  Go to page 1, 2  Next
Ubuntu 12.04 and FDTI USB chips. 
Author Message
LQFP112 - Up with the play
User avatar

Joined: Thu Feb 10, 2011 12:27 am
Posts: 232
Location: Auckland, NZ
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.


Tue May 08, 2012 2:03 am
Profile
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14665
Location: Home sweet home!
Spudmn wrote:
I have just downgraded to 12.04 (I use Lubuntu) and there is something wrong with the FDTI USB driver.

Fixed! :-)

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Tue May 08, 2012 2:37 am
Profile WWW
LQFP144 - On Top Of The Game

Joined: Tue Dec 27, 2011 5:37 am
Posts: 268
Mine still seems to be happy.

_________________
:-p


Tue May 08, 2012 7:36 pm
Profile
LQFP112 - Up with the play
User avatar

Joined: Thu Feb 10, 2011 12:27 am
Posts: 232
Location: Auckland, NZ
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.


Tue May 08, 2012 8:49 pm
Profile
QFP80 - Contributor

Joined: Sun Jan 15, 2012 1:40 am
Posts: 32
Location: Sunny Colorado
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.


Sun May 13, 2012 9:02 pm
Profile
LQFP112 - Up with the play
User avatar

Joined: Thu Feb 10, 2011 12:27 am
Posts: 232
Location: Auckland, NZ
Quote:
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.


Quote:
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:
$ 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


Mon May 14, 2012 3:02 am
Profile
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14665
Location: Home sweet home!
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.

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Mon May 14, 2012 4:14 am
Profile WWW
LQFP112 - Up with the play
User avatar

Joined: Thu Feb 10, 2011 12:27 am
Posts: 232
Location: Auckland, NZ
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.


Mon May 14, 2012 4:31 am
Profile
LQFP144 - On Top Of The Game
User avatar

Joined: Tue Mar 02, 2010 2:33 pm
Posts: 1201
Location: Australia
Altium FTW! :-)


Mon May 14, 2012 4:54 am
Profile
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14665
Location: Home sweet home!
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.

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Mon May 14, 2012 11:29 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 14 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF. ColorizeIt.