* [Xenomai-help] RTDM driver path question
@ 2005-11-07 14:12 Sean McGranaghan
2005-11-07 14:30 ` Jan Kiszka
0 siblings, 1 reply; 2+ messages in thread
From: Sean McGranaghan @ 2005-11-07 14:12 UTC (permalink / raw)
To: xenomai
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?
If I missed this in the documentation please feel free to redirect me as
needed. Any help is appreciated.
Thanks,
Sean McGranaghan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai-help] RTDM driver path question
2005-11-07 14:12 [Xenomai-help] RTDM driver path question Sean McGranaghan
@ 2005-11-07 14:30 ` Jan Kiszka
0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2005-11-07 14:30 UTC (permalink / raw)
To: Sean McGranaghan; +Cc: xenomai
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-07 14:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-07 14:12 [Xenomai-help] RTDM driver path question Sean McGranaghan
2005-11-07 14:30 ` Jan Kiszka
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.