All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] rt_dev_write function not calling back RTDM driver
@ 2015-02-14  9:48 JAY KOTHARI
  2015-02-14 12:37 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 2+ messages in thread
From: JAY KOTHARI @ 2015-02-14  9:48 UTC (permalink / raw)
  To: xenomai

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xenomai] rt_dev_write function not calling back RTDM driver
  2015-02-14  9:48 [Xenomai] rt_dev_write function not calling back RTDM driver JAY KOTHARI
@ 2015-02-14 12:37 ` Gilles Chanteperdrix
  0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2015-02-14 12:37 UTC (permalink / raw)
  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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-14 12:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-14  9:48 [Xenomai] rt_dev_write function not calling back RTDM driver JAY KOTHARI
2015-02-14 12:37 ` Gilles Chanteperdrix

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.