Harry, I'm running as root. The same code works w/o problem with the normal (non RT) kernel. "chrt -m" shows 1/99 for SCHED_FIFO. I did also add @root - rtprio 99 to limits.conf ... no success, as expected. --Armin Harry van Haaren schrieb: > On Tue, Sep 30, 2014 at 11:40 AM, Armin Steinhoff <armin@xxxxxxxxxxxx> wrote: >> a "pthread_setschedparam" call of the code below terminates with an >> errno == 1 ... means "Operation not permitted" > At risk of asking the obvious: are you running as root, or does the > user running this code have RT priorities? > > User priorities controlled by /etc/security/limits.conf : you can set > a groups max-rtprio like so: > @audio - rtprio 65 > >> KERNEL_EVENT_THREAD_PRIORITY is 55! >> How to solve that problem ? > Anything above 50 requrires changing limits.conf or root IIRC. > > HTH, -Harry > -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html