Re: Displaylink - wavlink not working properly on Artix_runit
Reply #1 –
Generally the solution would be to:
1) Create a corresponding runit service file based on the systemd service.
2) The displaylink package needs a modified udev.sh script to reflect starting and stopping using the runit service.
Here is a possible run file for the displaylink runit service based on the systemd service file:
#!/bin/sh
PATH=/usr/lib/displaylink
sv check <display-manager>
exec /sbin/modprobe evdi
exec /usr/lib/displaylink/DisplayLinkManager
The input the <display manager> you are using.
Not sure if there is a generic term similar to graphical.target but the display manager application should be close.
The udev.sh would need the start_service and stop_service lines modified to reflect using runit.
start_service()
{
sv up /run/runit/displaylink
}
stop_service()
{
sv down /run/runit/displaylink
}
Update the displaylink's PKGBUILD sums to pick the changed udev.sh. I would clean up the systemd stuff as well from the PKGBUILD. Build and install.
Now you can test.
Some modification(s) maybe required to get a working solution for your setup.
Consider this a rough guide as I do not have the hardware to test with.
When you do get it all working, creating a runit package for it then uploading it to AUR would help all future displaylink runit users.