You are not logged in.

#1 2011-01-05 21:16:13

shtnarg
Member
From: Onterrible Canada
Registered: 2010-11-23
Posts: 26
Website

[SOLVED]FTDI Issues.

Hi all, Im trying to get an FTDI usb controller working.   

Dmesg shows that the driver is auto loading:

usb 8-2: new full speed USB device using uhci_hcd and address 9
ftdi_sio 8-2:1.0: FTDI USB Serial Device converter detected
usb 8-2: Detected FT232RL
usb 8-2: Number of endpoints 2
usb 8-2: Endpoint 1 MaxPacketSize 64
usb 8-2: Endpoint 2 MaxPacketSize 64
usb 8-2: Setting MaxPacketSize 64
usb 8-2: FTDI USB Serial Device converter now attached to ttyUSB1

I have a pl2023 serial adapter running a 1-wire network, as well as usb transceiver which I believe uses an ftdi chip?

the ftdi driver doesnt seem to work the relays (echo -e '\xff\x01\x01' > /dev/ttyUSB1) does nothing. (it all works great on a 9.04 ubuntu 2.6.28 install)

I need a push in the right direction, a log file I can look at? some irq settings?

thanks!

Last edited by shtnarg (2015-06-04 17:07:54)


"I'm not a racist, I'm a bigot... there is a difference!" - Jim Jefferies

Offline

#2 2011-01-06 03:38:57

roscoe
Member
Registered: 2010-11-14
Posts: 1

Re: [SOLVED]FTDI Issues.

silly question - did you set the baud rate before trying to echo to the port? (man stty)

i didn't quite understand what the prolific chip and the other ftdi are doing. are you sure you are writing to the right device?

Offline

#3 2011-01-06 04:04:24

shtnarg
Member
From: Onterrible Canada
Registered: 2010-11-23
Posts: 26
Website

Re: [SOLVED]FTDI Issues.

Thanks for the hasty response!

The prolific chip is running a 1-wire network (likely unrelated, but it is using the usbserial also)
the other ftdi I (think) is my IR transceiver.

I didnt check the Baud Rate! was very curious about that, as well as IRQ settings? Ill be combing through that man page!! will post results.

cheers


"I'm not a racist, I'm a bigot... there is a difference!" - Jim Jefferies

Offline

#4 2011-01-06 04:18:10

shtnarg
Member
From: Onterrible Canada
Registered: 2010-11-23
Posts: 26
Website

Re: [SOLVED]FTDI Issues.

YOU SIR ARE A GENIUS!  IF I had girl parts, id make your day, like you just made mine!!   THANK YOU!

for the record
stty -F /dev/ttyUSB1 ospeed 9600

that did the trick!


"I'm not a racist, I'm a bigot... there is a difference!" - Jim Jefferies

Offline

Board footer

Powered by FluxBB