Skip to contentSkip to conversation

Problem with multiport serial board

Xenomai-help Marco Rossi 1 participant 1 message Nov 10, 2006

lore
Share & tools
lore
#0 lore raw

Yes, I haven't switched on shared edge-triggered IRQ support. When i compiled the kernel i missed to set this option, I'm not yet practical in xenomai. Thanks again.
Marco

Quoted 31 lines

From: Jan Kiszka <[email protected]>
To: Marco Rossi <[email protected]>
CC: [email protected]
Subject: Re: [Xenomai-help] Problem with multiport serial board
Date: Fri, 10 Nov 2006 17:11:19 +0100

Quoted 11 lines · Marco Rossi

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

Quoted 7 lines

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?

Quoted 5 lines

Jan

<< signature.asc >>

_________________________________________________________________
Chiama gratis con Windows Live Messenger http://imagine-msn.com/messenger/launch80/?locale=it-it&TAB=2