Hi Community,
I was wondering if someone could help me out with the USB-HDMI converter not working.
I have successfully installed:
#evdi-git 1.12.0.r1.gb884877-1 (+22 0.50) (Installed: 1.12.0.r6.gbdc258b-1)#- still installed
#displaylink 5.6.1-3# - Did not work. I just its uninstall it
Now, i was able to see the 2x usb-hdmi adapters when running ./displaylink-driver-5.6.1-59.184.run, but it does not retains once rebooted.
Can someone help me to figure this out?
Thanks in advance!
:D
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.
Hi, I'm also working to setup the same thing :D ! I can try to setup a AUR package and I will let you know how it goes.
I created a draft PR here: https://github.com/e-dong/aur-displaylink-runit/pull/1
I would like feedback please before publishing this on AUR!
For the run script I ended up using:
#!/bin/sh
PATH=/usr/lib/displaylink
/sbin/modprobe evdi
/usr/lib/displaylink/DisplayLinkManager
Using exec didn't work and I'm not using a display manager. I have a startx script that starts up dwm, so there isn't a runit service for this.
There is also a displaylink-sleep.sh script that gets copied to here:
"$pkgdir/usr/lib/systemd/system-sleep/displaylink.sh"
Is their an equivalent for runit?
Other than that, I just need to figure out how to generate new SHASums