Marco Rossi wrote:
> 
> 
> 
> Hi every body. I'm testing my multiport serial board (2 extra serial
> port) with shared interrupt using the program found at
> http://www.rts.uni-hannover.de/rtaddon/rt_serial_uprog.tar.bz2 .
> 
> I insert the module xeno_16550A.ko in the follow way:
> insmod /.../xeno_16550A.ko ioaddr=0x3f8, 0x2f8, 0xd800, 0xdc00
> irq=4,3,5,5 start_index=0
> 
> When I use only a extra port the program works, but when I try to write
> in the first extra port and to read in the second extraport I got an
> error opening the second extraport.
> 
> For example if I write in ttS0 and I read from ttyS2 all work; if   I
> write in ttS2 and I read from ttyS3 i get :
> can't open rtser3 (the rt_dev_open return a negative file descriptor).

The negative number is the error code (see documentation). It likely
says -EBUSY, meaning here that the IRQ line is already in use. Check
your Xenomai kernel configuration, I guess you haven't switched on
shared edge-triggered IRQ support yet, have you?

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to