Provides support for infrared cameras that are not directly supported (at the very least, the kernel must recognise your infrared camera). The purpose of this repository is to activate the emitter when the infrared camera is called.
The original script was designed by @PetePriority. However, the handling of the error codes was not correct, which made it difficult to modify it and no explanation was given. (Only one infrared camera is supported)
At first I just wrote a tutorial and now I have made it into a utility that allows you to configure any infrared camera almost automatically !
This script was created to use Howdy, a Windows Hello for linux https://github.com/boltgolt/howdy.
linux-enable-ir-emitter
is available as an AUR package.
A VCS variant is also available as an git AUR package.
git clone https://aur.archlinux.org/linux-enable-ir-emitter.git
cd linux-enable-ir-emitter
makepkg -csi
linux-enable-ir-emitter -h
git clone https://github.com/EmixamPP/linux-enable-ir-emitter.git
cd linux-enable-ir-emitter
sudo bash installer.sh install
linux-enable-ir-emitter -h
You can easily uninstall the software by executing sudo bash installer.sh uninstall
.
If you need to use the linux-enable-ir-emitter full
command, please read the related wiki page.
This command is not always necessary, so I have removed the dependencies from the standard installation (feel free to let me know what you think about that).
- Try the quick configuration, it is the easiest and does not require any manipulation :
sudo linux-enable-ir-emitter quick
. - If this does not work, you will have to undertake a semi-automatic configuration with
sudo linux-enable-ir-emitter full
. This requires more preparation, please follow the wiki page. - To enable the infrared emitter at boot, simply run
sudo linux-enable-ir-emitter boot enable
.
If this doesn't work for you, you can always try to configure your infrared camera yourself by following the tutorial on this wiki page.
- If you had used
chicony-ir-toggle
before, and when opening the system, the systemd service won't start: use the installer script to clean the installation:sudo bash installer.sh repair
. Which will uninstallchicony-ir-toggle
and installlinux-enable-ir-emitter
. - At startup, if you have the error
Unable to open a file descriptor for /dev/videoX
. Take a look at issue #1.
For helping me to improve the software:
@m4rtins @supdrewin @renyuneyun @furcelay
For managing its distribution:
@Diaoul @komex @FabioLolix
For sharing their camera configuration:
@Stkai @reolat @gregor160300