Menu

#4 cant use a gammascout with ftdi_sio

open
nobody
None
5
2005-08-04
2005-08-04
Anonymous
No

Hello,

I hope you can help me with my problems.

I try to work with a GAMMA-SCOUT device with usb on
linux. The GAMMA-SCOUT
has a fdti chip.

First i tested the device on windows. I used a windows
driver from the
ftdichip site (www.ftdichip.com). The usb device was
mapped to a com port
(com3) and with
HyperTerminal i can read the data from my device. The
output starts by
typing a letter.

port settings:

2400baud, 7data bits, 1stop bit, even parity, no protocol

output:

GAMMA-SCOUT Protokoll

0000 34 44 01 ff ff ff ff ff ff ff ff ff ff ff ff ff
0010 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0020 13 01 ff ff ff ff 5a a5 ff ff ff ff ff ff ff ff
...

On Linux i tried Fedora Core 1 with kernel 2.4.27 and
then Fedora Core 3
with kernel 2.6.12.3. To get the data from the device,
i started minicom on
/dev/ttyUSB0. But if i start minicom with the needed
settings, i can't type
a letter because following characters running over the
screen:

output:

.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p.p
...

or:

.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.`.
...

I don't know, where the problem is.
Perhaps the driver didn't recognize the usb device and
there is no
conversion to a normal com port?
Do you have any ideas?

Here some further outputs:

If i plug in the device, i can see it in
/proc/bus/usb/devices:

#more /proc/bus/usb/devices

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1
Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8
#Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.12.3 uhci_hcd
S: Product=Intel Corporation 82440MX USB Universal
Host Controller
S: SerialNumber=0000:00:07.2
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00
Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3
Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8
#Cfgs= 1
P: Vendor=0403 ProdID=d678 Rev= 4.00
S: Manufacturer=Dr Mirow
S: Product=GammaScout USB
S: SerialNumber=GSNJR21O
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 50mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff
Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms

If i add no options to usbserial and i load the
ftdi_sio module, then i have
the following output in /var/log/messages and no device:

#modprobe ftdi_sio
#tail /var/log/messages

usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support
registered for Generic
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
v2.0
drivers/usb/serial/usb-serial.c: USB Serial support
registered for FTDI SIO
drivers/usb/serial/usb-serial.c: USB Serial support
registered for FTDI
8U232AM Compatible
drivers/usb/serial/usb-serial.c: USB Serial support
registered for FTDI
FT232BM Compatible
drivers/usb/serial/usb-serial.c: USB Serial support
registered for FTDI
FT2232C Compatible
drivers/usb/serial/usb-serial.c: USB Serial support
registered for USB-UIRT
Infrared Tranceiver
drivers/usb/serial/usb-serial.c: USB Serial support
registered for
Home-Electronics TIRA-1 IR Transceiver
usbcore: registered new driver ftdi_sio
drivers/usb/serial/ftdi_sio.c: v1.4.2:USB FTDI Serial
Converters Driver

If i add vendor and product options to
usbserial(vendor=0x403
product=0xd678) and i load the ftdi_sio module, then i
have the following
output in /var/log/messages and the device /dev/ttyUSB0:

#modprobe ftdi_sio
#tail /var/log/messages

usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support
registered for Generic
usbserial_generic 1-1:1.0: Generic converter detected
usb 1-1: Generic converter now attached to ttyUSB0
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
v2.0
drivers/usb/serial/usb-serial.c: USB Serial support
registered for FTDI SIO
drivers/usb/serial/usb-serial.c: USB Serial support
registered for FTDI
8U232AM Compatible
drivers/usb/serial/usb-serial.c: USB Serial support
registered for FTDI
FT232BM Compatible
drivers/usb/serial/usb-serial.c: USB Serial support
registered for FTDI
FT2232C Compatible
drivers/usb/serial/usb-serial.c: USB Serial support
registered for USB-UIRT
Infrared Tranceiver
drivers/usb/serial/usb-serial.c: USB Serial support
registered for
Home-Electronics TIRA-1 IR Transceiver
usbcore: registered new driver ftdi_sio
drivers/usb/serial/ftdi_sio.c: v1.4.2:USB FTDI Serial
Converters Driver

thanks,

Gerrit Lehmann

Discussion


Log in to post a comment.