From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 14 Feb 2015 13:37:18 +0100 From: Gilles Chanteperdrix Message-ID: <20150214123718.GK10928@hermes.click-hack.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Xenomai] rt_dev_write function not calling back RTDM driver List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: JAY KOTHARI Cc: xenomai On Sat, Feb 14, 2015 at 03:18:27PM +0530, JAY KOTHARI wrote: > Hello, > What may be problem that my rt_dev_write function is not calling > back my RTDM driver. rt_dev_open and rt_dev_close are working > properly. rt_dev_write function is returning size -1. -1 is -EPERM This may happen when trying to use an RTDM descriptor from a non real-time thread. -- Gilles.