All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Alessio Igor Bogani <abogani@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Open a RTDM device driver with standard open()
Date: Tue, 21 Feb 2006 11:44:55 +0100	[thread overview]
Message-ID: <43FAEF27.2050701@domain.hid> (raw)
In-Reply-To: <1140517850.7870.22.camel@domain.hid>

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

Alessio Igor Bogani wrote:
> Hi All, Hi Jan,
> 
> Apologize for my (very) bad english.
> 
> I have a doubt about RTDM:
> Is it possible open a rtdm device driver with a open() standard syscall
> (without rt_dev_open())? I already tried but open() return always -1 :-(
> Obviously rt_dev_open() works perfectly.

Yes and no: When using the POSIX skin standard open is mapped to RTDM
open via the RTDM syscall (but also to standard open in case RTDM does
not know the device). But there is no hook in the Linux open syscall to
redirect RTDM open requests.

Jan



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

      reply	other threads:[~2006-02-21 10:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-20 19:08 [Xenomai-core] Xenomai v2.1-rc3 Philippe Gerum
2006-02-21 10:30 ` [Xenomai-help] Open a RTDM device driver with standard open() Alessio Igor Bogani
2006-02-21 10:44   ` 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=43FAEF27.2050701@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=abogani@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.