All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: JAY KOTHARI <jaikothari10@gmail.com>
Cc: xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai] rt_dev_write function not calling back RTDM driver
Date: Sat, 14 Feb 2015 13:37:18 +0100	[thread overview]
Message-ID: <20150214123718.GK10928@hermes.click-hack.org> (raw)
In-Reply-To: <CALe7ZU2dp7C7vVvtUS4co3FZTA+s22uentvWneVEbGPe9HxGwQ@mail.gmail.com>

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.


      reply	other threads:[~2015-02-14 12:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

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=20150214123718.GK10928@hermes.click-hack.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=jaikothari10@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.