Closed WebF1yin closed 5 months ago
An update, if it matters: holding the power button to force the computer to shut down, from what seems like any screen in either OS, fixes the IR emitter in Arch as well.
Output of systemctl status linux-enable-ir-emitter.service immediately after boot
Hum, it seems that the v4l paths are not yet setup
Output of linux-enable-ir-emitter boot status after running systemctl start linux-enable-ir-emitter.service
And here, this is a problem to deserialize the configuration file.
You forgot the *
here:
cat: /etc/linux-enable-ir-emitter/: Is a directory
Also, could you provide the output of ls /etc/linux-enable-ir-emitter
?
Here's the output of ls /etc/linux-enable-ir-emitter
:
pci-0000:04:00.4-usb-0:4:1.2-video-index0
I've pushed a possible fix to the error, please try #169. There is an automated comment in the end of PR that provides the tarball.
This should solve the second problem; the one not immediately after boot.
Simply execute linux-enable-ir-emitter -v run
to see if it succeeds to run the configuration saved (i.e. this is the command executed by systemctl start linux-enable-ir-emitter
).
Sorry I left you hanging for so long. This fix seems to work! It still fails to start the service on boot, but linux-enable-ir-emitter -v run
or systemctl start linux-enable-ir-emitter
makes the emitter work again. If the latter command is used, systemctl status
reports the service ran fine.
Great. For this problem, could you try if works for you by adding some delay in the /etc/systemd/system/linux-enable-ir-emitter.service file:
...
[Service]
ExecStartPre=/bin/sleep 2
...
Oops, the issue was closed by mistake
Adding the delay worked! The service seems like it starts properly every time, and the IR emitter works at the login screen. Thanks so much!
Could you try if 1sec is sufficient? I'm thinking to integrate this delay for everyone
Output of
systemctl status linux-enable-ir-emitter.service
immediately after bootOutput of
linux-enable-ir-emitter boot status
after runningsystemctl start linux-enable-ir-emitter.service
*Output of `cat /etc/linux-enable-ir-emitter/`**
*Output of `v4l2-ctl --list-devices`**
*Output of `ls -l /dev/v4l/by-id/`**
*Output of `ls -l /dev/v4l/by-path/`**
Give more information if you have
I'm having a weird issue that may not be directly linked to linux-enable-ir-emitter. I am dual booting windows and Arch, and after booting into windows and using facial recognition there, the next time I boot Arch, the IR emitter doesn't work. The service always fails when booting Arch whether I'm coming from windows or not. If I manually run linux-enable-ir-emitter, although the service still fails, the IR emitter works until I boot into windows again.
Let me know if you need any other information, Thanks!
Additional info