All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Simple application for invoking rtdm driver
@ 2018-03-20  1:42 Pintu Kumar
  2018-03-20  3:33 ` Greg Gallagher
  0 siblings, 1 reply; 18+ messages in thread
From: Pintu Kumar @ 2018-03-20  1:42 UTC (permalink / raw)
  To: Xenomai@xenomai.org

Hi,

I have developed a simple rtdm driver using: open, read_rt, write_rt, close.
Now I wanted to test it using a Xenomai native application, using native skin.

Here are my observation.

1) If I use normal open, read, write system call, then Xenomai reports
that normal read/write method is used for rtdm.
So, it does not work like that.

2) If I use, rt_dev_open, rt_dev_read, rt_dev_write, then it works fine.
But latency is very high for write/read, compared to normal.
Also, the migration document says these are legacy API and should be
replaced with rtdm_open, etc. for Xenomai 3.0.
However, if I use rtdm_open, rtdm_write, etc, it could not compile successfully.
I have included rtdm/rtdm.h header file.

So, please guide me which are the right APIs to use to invoke the rtdm driver.
I could to find the right example in test suite.


Thanks,
Pintu


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

end of thread, other threads:[~2018-04-03 10:44 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-20  1:42 [Xenomai] Simple application for invoking rtdm driver Pintu Kumar
2018-03-20  3:33 ` Greg Gallagher
2018-03-20  5:27   ` Pintu Kumar
2018-03-20  7:26     ` Pintu Kumar
2018-03-20  9:32       ` Philippe Gerum
2018-03-20 11:31         ` Pintu Kumar
2018-03-20 11:37           ` Philippe Gerum
2018-03-20 11:45           ` Philippe Gerum
2018-03-20 12:00             ` Pintu Kumar
2018-03-20 13:09               ` Philippe Gerum
2018-03-23 12:40                 ` Pintu Kumar
2018-03-25 12:09                   ` Philippe Gerum
2018-03-26 13:12                     ` Pintu Kumar
2018-03-26 15:09                       ` Philippe Gerum
2018-03-27 12:09                         ` Pintu Kumar
2018-03-27 13:05                           ` Philippe Gerum
2018-04-02 13:48                             ` Pintu Kumar
2018-04-03 10:44                               ` Pintu Kumar

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.