runit instead of systemd
I noticed every time I restart my computer, my IR emitter works just fine. But if I close my laptop lid and open it back up, it will no longer work.
Additional info
- Distro: Artix Linux
- Version: Using runit as a service manager
- Version of linux-enable-ir-emitter: 4.1.5
- How did you install linux-enable-ir-emitter: git version of the AUR
Indeed, linux-enable-ir-emitter requires systemd, and you have runit.
I don't know anything about how runit works, but maybe you can set up the startup script yourself.
In the simplest case, you just have to execute linux-enable-ir-emitter run after the initialization of the camera for each "startup" cases: boot, sleep, hibernate, etc.
The most complicated part is to detect when the initialization of the camera is completely finished.
With some OS/HW, this is not a problem, but with some others, I had to implement in the systemd service several tricks.
Maybe with runit it is very simple, but I really have no idea.
This should be easy to implement with the new integration created to support OpenRC #104
I'm closing this issue, since it received no interest for more than one year