[Rtai] can't init usermode tasks
Pierangelo Masarati
masarati at aero.polimi.it
Sun May 18 14:12:46 CEST 2008
Chris Cole wrote:
> what ended up working for me was this short little shell script i wrote
>
> #!/bin/bash
>
> m_dir=/usr/realtime-2.6.24-16-rtai/modules/
> mods="hal lxrt sem mbx msg fifos tbx bits mq"
> for i in $mods
> do
> insmod "$m_dir/rtai_$i.ko"
> sync
> done
>
>
> but I still can't figure out why I can't init rtai tasks in usermode?
> Why do I have to sudo everything?
Try calling rt_allow_nonroot_hrt() before init'ing a task.
p.
More information about the Rtai
mailing list