Open madesho opened 2 days ago
Execute
Executing tweak command.
Checking if /dev/video0 is a grayscale camera.
Checking if /dev/video1 is a grayscale camera.
Checking if /dev/video2 is a grayscale camera.
/dev/video2 is a grayscale camera.
Tweaking the camera /dev/video2
Caution, you could break the camera.
Previous configuration found.
0) unit: 14, selector: 6, control: 1 3 1 0 0 0 0 0 0
1) unit: 14, selector: 9, control: 1 0 0 0
2) exit
Choose an instruction to tweak: 0
minimum:
maximum: 1 3 3 0 0 0 0 0 0
initial: 1 3 1 0 0 0 0 0 0
current: 1 3 1 0 0 0 0 0 0
status: enable
new current or status: 1 3 2 0 0 0 0 0 0
Invalid value for the instruction.
0) unit: 14, selector: 6, control: 1 3 1 0 0 0 0 0 0
1) unit: 14, selector: 9, control: 1 0 0 0
2) exit
Choose an instruction to tweak: terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(4.10.0) /home/runner/work/linux-enable-ir-emitter/linux-enable-ir-emitter/.github/workflows/deps/build/opencv/src/opencv/modules/highgui/src/window.cpp:973: error: (-215:Assertion failed) size.width>0 && size.height>0 in function 'imshow'
zsh: IOT instruction sudo linux-enable-ir-emitter -v tweak
Seems that I can't change the configuration, am I doing something wrong?
Ouput of
cat /var/local/log/linux-enable-ir-emitter/linux-enable-ir-emitter.log
Output of
sudo linux-enable-ir-emitter tweak
Output of
v4l2-ctl --list-devices
*Ouput of `for dev in /dev/video; do echo $dev && v4l2-ctl -d $dev --list-formats-ext; done`**
Output of
ls -l /dev/v4l/by-path
Give more information if you have IR camera (/dev/video2) flashes briefly for about half a second and then stops working showing only a black screen in the preview. This happens everytime it is llaunched. One time I forgot to close a camera app that was using the normal webcam, on that occasion the ir camera was warking fine and can consistently reproduce this. I'm new-ish to Linux so my apologies if something is missing, let me know if you need anything else :)
Additional info