Skip to content

Provides support for infrared cameras that are not directly supported.

License

Notifications You must be signed in to change notification settings

Eeems/linux-enable-ir-emitter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linux-enable-ir-emitter

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.

Installation

For Arch distro based :

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

For other distro :

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.

Optional installation :

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).

How to enable your infrared emitter ?

  1. Try the quick configuration, it is the easiest and does not require any manipulation : sudo linux-enable-ir-emitter quick.
  2. 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.
  3. 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.

Issues

  • 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 uninstall chicony-ir-toggle and install linux-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.

♥️ Thanks to

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

About

Provides support for infrared cameras that are not directly supported.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 64.0%
  • Shell 24.2%
  • C 11.1%
  • Makefile 0.7%