From: Jan Kiszka <jan.kiszka@domain.hid>
To: Pavel Pirkl <pavelpirkl@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] USB to serial converter using in Xenomai
Date: Sun, 08 Oct 2006 14:35:57 +0200 [thread overview]
Message-ID: <4528F0AD.4000602@domain.hid> (raw)
In-Reply-To: <4527B6C6.7000208@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 1373 bytes --]
Pavel Pirkl wrote:
> Hello,
> 1.
> I am using USB to serial convertes with FTDI chip. But I don´t know
> which paramaters of irq and ioaddr I must to set for xeno_16550A.ko .
> Can you help me where I found this parameters?
>
> 2.
> Now I am using two serial link defined us
> #!/bin/sh
> setserial /dev/ttyS1 uart none #COM2
> setserial /dev/ttyS2 uart none #COM3
> insmod ./xeno_nucleus.ko
> insmod ./xeno_native.ko
> insmod ./xeno_rtdm.ko
> insmod ./xeno_16550A.ko ioaddr=0x2f8,0x3e8 irq=3,5 tx_fifo=10,10
> start_index=0 #COM2, COM3
>
> This two serial link works very good.
> But if I am set for example this
> #!/bin/sh
> setserial /dev/ttyS2 uart none #COM3
> setserial /dev/ttyS3 uart none #COM4 - not function ??
> insmod ./xeno_nucleus.ko
> insmod ./xeno_native.ko
> insmod ./xeno_rtdm.ko
> insmod ./xeno_16550A.ko ioaddr=0x3e8,0x3f8 irq=5,10 tx_fifo=10,10
> start_index=0 #COM3, COM4
>
> The COM3 works but COM4 doesn´t work. Where is problem?
The FTDI can only be used via an USB stack + a FTDI device drivers,
there is no such thing as 16550A emulation via USB devices.
I have such a FTDI driver for the USB4RT stack here, but it is in an
"experimental" (means unusable :-/) state. I still hope we can resolve
this one day, but I cannot promise when.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]
prev parent reply other threads:[~2006-10-08 12:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-07 14:16 [Xenomai-help] USB to serial converter using in Xenomai Pavel Pirkl
2006-10-08 12:35 ` Jan Kiszka [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4528F0AD.4000602@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=pavelpirkl@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.