All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Marco Rossi <cicciobombo123@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Problem with multiport serial board
Date: Fri, 10 Nov 2006 17:11:19 +0100	[thread overview]
Message-ID: <4554A4A7.2050203@domain.hid> (raw)
In-Reply-To: <BAY101-F3323C9AB4F084CE48E3BCEE2F70@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 1043 bytes --]

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

  reply	other threads:[~2006-11-10 16:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-10 16:00 [Xenomai-help] Problem with multiport serial board Marco Rossi
2006-11-10 16:11 ` Jan Kiszka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-11-10 16:33 Marco Rossi

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=4554A4A7.2050203@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=cicciobombo123@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.