bam/cam: update autosymlink to camera

This commit is contained in:
makefu 2024-01-15 22:37:31 +01:00
parent 9fd7b7379a
commit 0e538a2b9f
No known key found for this signature in database
GPG key ID: 36F7711F3FC0F225

View file

@ -1,11 +1,11 @@
{
# the pseyecam in the diorama
services.udev.extraRules = ''
KERNEL=="video*",ATTRS{vendor}=="0x1415", ATTRS{device}=="0x2000", GROUP="video", SYMLINK+="diorama_cam"
SUBSYSTEM=="video4linux", ATTRS{idVendor}=="1415", ATTRS{idProduct}=="2000", SYMLINK+="diorama_cam"
'';
services.mjpg-streamer = {
enable = true;
inputPlugin = "input_uvc.so -d /dev/diorama_cam -r 640x480 -y -f 30 -q 50 -n";
outputPlugin = "output_http.so -w @www@ -n -p 18088";
};
}
}