From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <50CD3563.2070400@xenomai.org> Date: Sun, 16 Dec 2012 03:43:47 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <50CC65AF.6040102@xenomai.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] RTDM - Dynamic linking of device List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: alex alex Cc: Xenomai 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.