Skip to content

Commit

Permalink
Updated README.
Browse files Browse the repository at this point in the history
  • Loading branch information
carsten0x51h committed Mar 3, 2024
1 parent babaddc commit c8d273e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ For my Atik383L+ camera I added the following udev rules to /etc/udev/rules.d/84
The rules create and remove a file in the /tmp directory when my Atik383L+ camera is plugged in/out.

```
ACTION=="add", ATTRS{idVendor}=="20e7", ATTRS{idProduct}=="df31", RUN+="/usr/bin/touch /tmp/atik383"
ACTION=="remove", ENV{PRODUCT}=="20e7/df31/d49f", RUN+="/bin/rm -rf /tmp/atik383"
ACTION=="add", ATTRS{idVendor}=="20d6", ATTRS{idProduct}=="da30", RUN+="/usr/bin/touch /tmp/atik383"
ACTION=="remove", ENV{PRODUCT}=="20d6/da30/d49f", RUN+="/bin/rm -rf /tmp/atik383"
```
This is probably a hack and there are better ways to do it but for now it works. Feel free to drop me a note when you have a better idea. I may incorporate it into the INDI device watchdog.

0 comments on commit c8d273e

Please sign in to comment.