From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: alex alex <duch.alexandre@gmail.com>
Cc: Xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai] RTDM - Dynamic linking of device
Date: Sun, 16 Dec 2012 03:43:47 +0100 [thread overview]
Message-ID: <50CD3563.2070400@xenomai.org> (raw)
In-Reply-To: <CAPpP=rPn8k2LTwrYQ_XkKE4vaiazfREnfCJEE5nbY0iD7Apofw@mail.gmail.com>
On 12/16/2012 03:01 AM, alex alex wrote:
> Infact, I wonder if it is possible with RTDM to add devices after the
> module is loaded.
> My module is used by programs that do not allow me to know in advance
> how many device linked to the module there will be and what will be
> their name.
> With "rtdm_dev_register" I have to declare statically a fixed number of
> device with a fixed name for each so I wonder if there is a dynamic way
> to add device after the module loading.
I do not understand what prevents you from calling rtdm_dev_register
with dynamic parameters... Again, please post the code which does not
work to help us understand what your problem is.
--
Gilles.
next prev parent reply other threads:[~2012-12-16 2:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-13 9:21 [Xenomai] RTDM - Dynamic linking of device alex alex
2012-12-15 11:57 ` Gilles Chanteperdrix
[not found] ` <CAPpP=rPn8k2LTwrYQ_XkKE4vaiazfREnfCJEE5nbY0iD7Apofw@mail.gmail.com>
2012-12-16 2:43 ` Gilles Chanteperdrix [this message]
[not found] ` <CAPpP=rMyDyfzLr=85+=KF-kMn1mYkGmd=ykRj71d40+35BOzdg@mail.gmail.com>
[not found] ` <50CF00C4.7030701@xenomai.org>
[not found] ` <CAPpP=rPhXs54eQMX_2L2an-t86LBc0ChTbkbTOTbUzTbDpunCg@mail.gmail.com>
2012-12-18 16:29 ` Gilles Chanteperdrix
2012-12-19 9:39 ` alex alex
2012-12-19 10:07 ` Philippe Gerum
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=50CD3563.2070400@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=duch.alexandre@gmail.com \
--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.