All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <kiszka@domain.hid>
To: Sean McGranaghan <smm@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] RTDM driver path question
Date: Mon, 07 Nov 2005 15:30:27 +0100	[thread overview]
Message-ID: <436F6503.90705@domain.hid> (raw)
In-Reply-To: <436F60D3.9080104@domain.hid>

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

Sean McGranaghan wrote:
> Hello all,
> 
> I am in the process of writing a simple device driver for Xenomai 2.0
> using RTDM. I have a skeleton driver module loading and registering with
> RTDM. (I can see the entries in the /proc filesystem when the module
> loads.) I now want to write a driver validation application to exercise
> the interface, but don't know how Linux device nodes map to Xenomai
> devices. Do I have to manually create device nodes or are they built
> with udev? (I am more familiar with traditional Unix style /dev entries,
> udev is new to me.) Do Xenomai devices use the Linux filesystem layer at
> all? Does Xenomain keep a separate namespace/registry of named devices?

The RTDM namespace is totally separated from the Linux file system.
Thus, there is no dev node or "/dev/" name prefix - as long as you don't
prefer to register your device under "/dev/mydevice".

To differentiate between both namespaces, you address RTDM devices via
rt_dev_open/rt_dev_socket under most skins except for the POSIX skin.
The latter will tell them apart by first asking RTDM for a device to be
opened and then, if this fails, standard Linux.

> 
> If I missed this in the documentation please feel free to redirect me as
> needed. Any help is appreciated.

Hmm, maybe we rather missed to clearly state this aspect in the docs,
will have to check this.

Anyway, there is also an overview paper available now from the Real-Time
Linux Workshop 2005, Lille (www.realtimelinuxfoundation.org, but papers
are not yet online, I can send it to you privately).

Jan


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

      reply	other threads:[~2005-11-07 14:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-07 14:12 [Xenomai-help] RTDM driver path question Sean McGranaghan
2005-11-07 14:30 ` 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=436F6503.90705@domain.hid \
    --to=kiszka@domain.hid \
    --cc=smm@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.