> From: Gilles Chanteperdrix
> > What am I doing wrong?
>
> Maybe you only defined the open_rt callback for your driver and are
> trying to open the driver from a non realt-time thread ?
Thanks, that was it.
Richard
___
Xenomai-core mailing list
Xenom
Richard Cochran wrote:
> I am trying to write a simple driver using the RTDM. I have based my
> driver on the examples at http://www.captain.at and at
> http://stud3.tuwien.ac.at/~e0226686/xenomai/source_code.
>
> The call to rt_dev_open() returns -1 (Operation not permitted).
>
> The program is
I am trying to write a simple driver using the RTDM. I have based my
driver on the examples at http://www.captain.at and at
http://stud3.tuwien.ac.at/~e0226686/xenomai/source_code.
The call to rt_dev_open() returns -1 (Operation not permitted).
The program is running as root, and I am able to run