This project aims to control the IR emitters of windows hello enabled IR cameras under Linux. See boltgolt/howdy#269 for a discussion and background about the methods used.
Using cmake
mkdir -p build
cd build
cmake ..
make
sudo make install
Using gcc
gcc main.c -o chicony-ir-toggle
chicony-ir-toggle [-d DEVICE] <on|off>
Default for DEVICE is /dev/video2
. If this differs on your system, supply the -d
command line parameter pointing to your video device.
Multiple newer lenovo laptops with windows hello e.g.
- Thinkpad T490s
- Yoga S740
- Thinkpad X1 Yoga (4th generation)
- XinPro (for alternative frame mode, see https://github.com/hillyu/chicony-ir-toggle.git)