You are here

Add new comment

Hi Rui. I installed a fresh copy of Ubuntu 20.04 in my PC for work audio and midi. Well, I installed RT kernel and your script (from your official PPA). For install rtirq script I follow the indications from your github: I modified the kernel for load threadirqs option, update grub and restart.

rtirq works but I need run it manually when turn on my pc, every time. So I've tried run rtirq with systemd for to achieve start it when login automatically. For this I use two commands:

$ sudo systemctl enable rtirq
$ sudo systemctl restart rtirq

But don't works, when restart PC rtirq is inactive again and I need start it manually. When I use systemctl some info prints on terminal, maybe is helpful:

$ sudo systemctl enable rtirq
rtirq.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable rtirq
update-rc.d: error: rtirq Default-Start contains no runlevels, aborting.

I ignore that output and continue with the next command (sudo systemctl restart rtirq) and rtirq runs.

This very frustrating, I'm searching and I found that I need add something weird in rtirq file (/etc/init.d/rtirq) for runs the script when login, here the aggregation (and here the source https://askubuntu.com/a/925337):

### BEGIN INIT INFO
# Provides: rtirq
# Required-Start: $all
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: IRQ script...
### END INIT INFO

Rui this solution is very laborious and for my opinion is 'dirty'. Do you know a way to run rtirq when login?