All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] USB to serial converter using in Xenomai
@ 2006-10-07 14:16 Pavel Pirkl
  2006-10-08 12:35 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: Pavel Pirkl @ 2006-10-07 14:16 UTC (permalink / raw)
  To: xenomai

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?

Thank you very much for your answer.
Pavel Pirkl.











^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xenomai-help] USB to serial converter using in Xenomai
  2006-10-07 14:16 [Xenomai-help] USB to serial converter using in Xenomai Pavel Pirkl
@ 2006-10-08 12:35 ` Jan Kiszka
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2006-10-08 12:35 UTC (permalink / raw)
  To: Pavel Pirkl; +Cc: xenomai

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-10-08 12:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-07 14:16 [Xenomai-help] USB to serial converter using in Xenomai Pavel Pirkl
2006-10-08 12:35 ` Jan Kiszka

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.