yep, changing the prios of the IRQ stuff seems to be working when the commands are put directly in rcS after the last command. Putting a little sleep (10 secs) make the jive_alsa commands work too.
This is how my rcS file look now (only the last bits): === start === # Start Samba # JK: Do not start samba #if [ -x /etc/init.d/samba ]; then # /etc/init.d/samba start & #fi # Start squeezeplay /etc/init.d/squeezeplay start # JK: Set audio thread priorities # Get IRQ for RTC tmp=`cat /proc/interrupts |grep "mxc_rtc"|cut -f2 -d" "|cut -f1 -d":"` # Get proc # for RTC rtc=`ps -e|grep IRQ-$tmp|cut -f3 -d" "` # Get IRQ of SPDIF I/F tmp=`cat /proc/interrupts |grep "spdif"|cut -f2 -d" "|cut -f1 -d":"` # Get proc # for SPDIF spdif=`ps -e|grep IRQ-$tmp|cut -f3 -d" "` # Get proces number for audio threads aud1=`ps -e|grep "sirq-hrtimer/0"|cut -f4 -d" "` aud2=`ps -e|grep "sirq-timer/0"|cut -f5 -d" "` # Set new priorities chrt -f -p 93 $aud1 > /dev/null chrt -f -p 91 $aud2 > /dev/null chrt -f -p 59 $spdif > /dev/null chrt -f -p 87 $rtc > /dev/null # check the new priorities with: # ps -eLo pid,cls,rtprio,pri,nice,cmd | grep -i "irq" sleep 10 # Set jive_alsa prios jalsa1=`ps -eo pid,args|grep "jive_alsa -d default"|head -1|cut -f3 -d" "` chrt -f -p 55 $jalsa1 > /dev/null # sound effects only jasla2=`ps -eo pid,args|grep "jive_alsa -d plughw"|head -1|cut -f3 -d" "` ===== end ==== It would be possible to make a small loop waiting for jive_alsa to appear. -- lintweaker ------------------------------------------------------------------------ lintweaker's Profile: http://forums.slimdevices.com/member.php?userid=47485 View this thread: http://forums.slimdevices.com/showthread.php?t=89359 _______________________________________________ audiophiles mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/audiophiles
