From: Philippe Gerum <rpm@xenomai.org>
To: Sunetra Sashi <snmgmt19@gmail.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] XDDP and inter-driver API.
Date: Tue, 10 Jul 2012 10:40:51 +0200 [thread overview]
Message-ID: <4FFBEA93.5070202@xenomai.org> (raw)
In-Reply-To: <CAKSrRNzt7tRjShU79EFYv71SbYwhjmagP11KCAk7-LUCTqXdzA@mail.gmail.com>
On 07/10/2012 04:30 AM, Sunetra Sashi wrote:
> Hi,
>
> I am trying to use the XDDP module in order to achieve linux-xenomai domain
> cross communication. However, when I install my module which creates a
> socket and binds its to the XDDP port, via the *rtdm_socket(AF_RTIPC,
> SOCK_DGRAM, IPCPROTO_XDDP)* call, it fails. Also, when I try to open the
> device on the linux side, via an *rtdm_open("/dev/rtp0", O_RDWR)*, it also
> fails.
Please report issues with all details, typically error codes and return
values. "call fails" is not enough.
Although using rtdm_open() for /dev/rtp0 may work, this pseudo-device
file should be opened using a plain open(2) call, since we want to open
the regular linux-side endpoint for the communication.
>
> Do I need to install any specific xenomai modules for this to work?
Obviously, yes. Check IPC drivers in the "Drivers" sub-menu of the
Xenomai configuration. You need to have CONFIG_XENO_DRIVERS_RTIPC_XDDP
enabled.
>
> Thanks
> Shweta
> _______________________________________________
> Xenomai mailing list
> Xenomai@xenomai.org
> http://www.xenomai.org/mailman/listinfo/xenomai
>
--
Philippe.
next prev parent reply other threads:[~2012-07-10 8:40 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-10 2:30 [Xenomai] XDDP and inter-driver API Sunetra Sashi
2012-07-10 8:40 ` Philippe Gerum [this message]
2012-07-10 9:03 ` Sunetra Sashi
2012-07-10 9:10 ` Philippe Gerum
2012-07-10 9:17 ` Sunetra Sashi
2012-07-10 9:36 ` Philippe Gerum
2012-07-10 11:23 ` Sunetra Sashi
2012-07-10 15:01 ` Philippe Gerum
2012-07-10 15:43 ` Sunetra Sashi
2012-07-10 15:57 ` Philippe Gerum
2012-07-10 16:15 ` Sunetra Sashi
2012-07-10 16:24 ` Lennart Sorensen
2012-07-10 17:00 ` Philippe Gerum
2012-07-10 17:09 ` Philippe Gerum
2012-07-10 17:20 ` Snmgmt
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=4FFBEA93.5070202@xenomai.org \
--to=rpm@xenomai.org \
--cc=snmgmt19@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.