Closed RayYHan closed 1 year ago
Ahoi!
It looks like this ticket is a request for help (or similar). Many helpful people will not see your message here and you are unlikely to get a useful response.
We use github to handle bugreports, feature requests and planning new releases.
Please use our Discord-Server for help: discord.gg/mainsail
This ticket will be automatically closed.
Fair wind and a following sea! ~ Your friendly MainsailGithubBot
PS: I'm just an automated script, not a real sailor.
Simply nope!
[04/16/23 05:45:56] crowsnest: INFO: Print Configfile: '/home/pi/printer_data/config/crowsnest.conf'
[04/16/23 05:45:56] crowsnest: v
[04/16/23 05:45:56] crowsnest:
[04/16/23 05:45:56] crowsnest:
[04/16/23 05:45:56] crowsnest:
[04/16/23 05:45:56] crowsnest:
[04/16/23 05:45:56] crowsnest: [crowsnest]
[04/16/23 05:45:56] crowsnest: log_path: ~/printer_data/logs/crowsnest.log
[04/16/23 05:45:56] crowsnest: log_level: verbose
[04/16/23 05:45:56] crowsnest: delete_log: false
[04/16/23 05:45:56] crowsnest:
[04/16/23 05:45:56] crowsnest: [1]
[04/16/23 05:45:56] crowsnest: mode: mjpg
[04/16/23 05:45:56] crowsnest: port: 8080
[04/16/23 05:45:56] crowsnest: device: /dev/video0
[04/16/23 05:45:56] crowsnest: resolution: 640x480
[04/16/23 05:45:56] crowsnest: max_fps: 30
-> https://crowsnest.mainsail.xyz/configuration/cam-section
Regards Kwad
What happened
Webcam show blank display
What did you expect to happen
Webcam shows video feed
How to reproduce
Connect a Microsoft LifeCam NX-6000 to the sbc running crowsnest
Additional information
Log shows crowsnest dies with error
ERROR: Error 1 occured on line 150
. Further check shows the line 150 is oflibs/v4l2_control.sh
. The line is part of the blockyfix function, which is introduced to fix an issue with raspcam, https://github.com/mainsail-crew/crowsnest/issues/33. The function is called unconditionally from crowsnest even though the fix is only intended for raspcams. This would break cameras without support for the parameter the function sets. The webcam becomes functional afterblockyfix
is commented out.Log: