Open julianlawson opened 1 week ago
The command to find if the camera is used is fuser /dev/video*
and checks the exit code.
Could you check the output of the following command when the camera is used and when it is not?
fuser /dev/video*; echo $?
Hi Vasilis, thanks for coming back to me.
The output from fuser seems to be correct, see below, though I still get OFF on topic .../monitorcontrols/webcam
Let me know if there's anything else I can do to help diagnose.
=====
@.:~$ fuser /dev/video; echo $? # before starting webcam 1 **@.:~$ fuser /dev/video; echo $? # after starting webcam /dev/video0: 3052m 0 **@.**:~$ fuser /dev/video; echo $? # after shutting down webcam
On Sun, 1 Dec 2024 at 10:32, Vasilis Koulis @.***> wrote:
The command to find if the camera is used is fuser /dev/video* and checks the exit code. Could you check the output of the following command when the camera is used and when it is not?
fuser /dev/video*; echo $?
— Reply to this email directly, view it on GitHub https://github.com/bkbilly/lnxlink/issues/137#issuecomment-2509677735, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP4Y7BASTCNOOXU7C5JLFP32DLQSDAVCNFSM6AAAAABSLH7GCOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBZGY3TONZTGU . You are receiving this because you authored the thread.Message ID: @.***>
I think I misread your issue...
There are 2 different modules you are talking about.
I hope this clears things up. Let me know if you have any issue with any of the modules I mentioned above.
What type of installation are you running?
Server
Which Linux OS are you using?
Linux Mint 21.3 Cinnamon
Which version of LNXLink has the issue?
2024.11.0
Describe the problem
The "webcam" module seems to have stopped recognising when the camera is turned on. When I turn the webcam on, it webcam sensor stays OFF every update_interval, and the camera_used sends ON rapidly (several times a second). See MQTT messages below. I'm unclear on what the purpose of the two different sensors are; I had previously used only webcam and it seemed to work correctly.
julian@Juba-Mint:~/lnxlink$ mosquitto_sub -v -h HOSTNAME -u USER -P PASSWORD -C 200 -t lnxlink/juba-mint/monitor_controls/# | grep cam
Output: lnxlink/juba-mint/monitor_controls/webcam OFF lnxlink/juba-mint/monitor_controls/webcam OFF lnxlink/juba-mint/monitor_controls/webcam OFF lnxlink/juba-mint/monitor_controls/camera_used ON lnxlink/juba-mint/monitor_controls/camera_used ON lnxlink/juba-mint/monitor_controls/camera_used ON lnxlink/juba-mint/monitor_controls/camera_used ON lnxlink/juba-mint/monitor_controls/camera_used ON lnxlink/juba-mint/monitor_controls/camera_used ON lnxlink/juba-mint/monitor_controls/camera_used ON lnxlink/juba-mint/monitor_controls/camera_used ON lnxlink/juba-mint/monitor_controls/camera_used ON lnxlink/juba-mint/monitor_controls/webcam OFF lnxlink/juba-mint/monitor_controls/camera_used ON lnxlink/juba-mint/monitor_controls/camera_used ON lnxlink/juba-mint/monitor_controls/camera_used ON lnxlink/juba-mint/monitor_controls/camera_used ON lnxlink/juba-mint/monitor_controls/camera_used ON lnxlink/juba-mint/monitor_controls/camera_used ON lnxlink/juba-mint/monitor_controls/camera_used ON lnxlink/juba-mint/monitor_controls/camera_used ON lnxlink/juba-mint/monitor_controls/camera_used ON lnxlink/juba-mint/monitor_controls/camera_used ON lnxlink/juba-mint/monitor_controls/webcam OFF lnxlink/juba-mint/monitor_controls/webcam OFF lnxlink/juba-mint/monitor_controls/camera_used ON lnxlink/juba-mint/monitor_controls/webcam OFF lnxlink/juba-mint/monitor_controls/active_window Webcamoid, The ultimate webcam suite! — Mozilla Firefox lnxlink/juba-mint/monitor_controls/webcam OFF `Additional context
No response
Configuration
Logs