Skip to content

Commit 48efa67

Browse files
committed
doc: remove old integration instructions
1 parent b0142c4 commit 48efa67

1 file changed

Lines changed: 4 additions & 24 deletions

File tree

README.md

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -39,27 +39,7 @@ The path to the binary may vary depending on your installation method. You can d
3939
### Integration with other program
4040
You will need to execute the `linux-enable-ir-emitter run` command before the program that uses the infrared camera.
4141

42-
Alternatively, if you can and/or want to integrate better with the program that uses the camera, you can pass an opened file descriptor for the camera to the command: `linux-enable-ir-emitter run --fd <FD>`.
43-
44-
### Integration with Howdy
45-
In all file returned by `grep -rl howdy /etc/pam.d`, add the following line before the one mentioning "howdy":
46-
```
47-
auth optional pam_exec.so /usr/local/bin/linux-enable-ir-emitter run
48-
```
49-
50-
Note that the path to the binary may vary depending on your installation method. You can determine the correct path by running `which linux-enable-ir-emitter`.
51-
52-
### Integration with other program
53-
For version 6.x.x, we still provide a systemd service that, for most cameras, should be sufficient to keep the ir emitter enabled at all times:
54-
55-
```
56-
sudo systemctl enable --now linux-enable-ir-emitter
57-
```
58-
Note that this approach is now deprecated and support will be removed from version 7.x.x.
59-
60-
However, this approach is more of a workaround than a proper solution. Therefore, if your goal is to use Howdy, please refer to the previous section. Otherwise, you will need to find a way to run the command `linux-enable-ir-emitter run` before using the camera in your program.
61-
62-
We also support the OpenRC service manager. See [docs/manual-build.md](docs/manual-build.md) for information on how to build the project.
42+
Alternatively, if you can and/or want to integrate better with the program that uses the camera, you can pass an opened file descriptor for the camera to the command: `linux-enable-ir-emitter run --device <DEVICE> --fd <FD>`.
6343

6444
## How do I enable my infrared emitter?
6545
1. `linux-enable-ir-emitter configure`
@@ -79,9 +59,9 @@ We also support the OpenRC service manager. See [docs/manual-build.md](docs/manu
7959
5. *Continue* and read carefully the popup message.
8060
> [!WARNING]
8161
> The camera firmware may get corrupted during the process. You acknowledge that you understand the risks and that you are the only responsible if something goes wrong.
82-
7. Answer the asked questions by pressing Y or N. There is a camera preview that can help to see if the IR emitter is blinking (the video will flash).
83-
8. Sometimes, the tool can exit and request you to shut down, then boot and retry ($\neq$ reboot), in case a camera control was not able to be reset. Next time, that control will be skipped.
84-
9. :crossed_fingers: Let's wait a bit... Hopefully, your IR emitter is now working!
62+
6. Answer the asked questions by pressing Y or N. There is a camera preview that can help to see if the IR emitter is blinking (the video will flash).
63+
7. Sometimes, the tool can exit and request you to shut down, then boot and retry ($\neq$ reboot), in case a camera control was not able to be reset. Next time, that control will be skipped.
64+
8. :crossed_fingers: Let's wait a bit... Hopefully, your IR emitter is now working!
8565

8666
:star: If you like the project, do not hesitate to star the repository to support me, thank you!
8767

0 commit comments

Comments
 (0)