Neptune 4 Pro cameras won't work

Basic Information:

Printer Model: Elegoo Neptune 4 Pro
MCU / Printerboard: ZNP-K1 (OpenNept4une)
Host / SBC: Fluidd
klippy.log

Describe your issue:

Hey! I’ve been trying my best to find a way to add two cameras to my printer, but no matter what I do, everything goes wrong.

I’m using a usb hub to connect my cameras to the only usb port. Here’s my latest crowsnest.conf and crowsnest.log below…

[crowsnest]
log_path: ~/printer_data/logs/crowsnest.log
log_level: verbose                      # Valid Options are quiet/verbose/debug
delete_log: true                       # Deletes log on every restart, if set to true

[cam 1]
mode: ustreamer                         # ustreamer - Provides mjpg and snapshots. (All devices)
                                        # camera-streamer - Provides webrtc, mjpg and snapshots. (rpi + Raspi OS based only)
enable_rtsp: false                      # If camera-streamer is used, this enables also usage of an rtsp server
rtsp_port: 8554                         # Set different ports for each device!
port: 8080                              # HTTP/MJPG Stream/Snapshot Port
device: /dev/video3                     # See Log for available ...
resolution: 320x240                     # widthxheight format
max_fps: 30                             # If Hardware Supports this it will be forced, otherwise ignored/coerced.
custom_flags: --format=YUYV             # Comment out this line if you wish to use MJPG resolutions - check crowsnest.log for supported resolutions etc.

[cam 2]
mode: ustreamer                         # ustreamer - Provides mjpg and snapshots. (All devices)
                                        # camera-streamer - Provides webrtc, mjpg and snapshots. (rpi + Raspi OS based only)
enable_rtsp: false                      # If camera-streamer is used, this enables also usage of an rtsp server
rtsp_port: 8555                         # Set different ports for each device!
port: 8081                              # HTTP/MJPG Stream/Snapshot Port
device: /dev/video5                     # See Log for available ...
resolution: 320x240                     # widthxheight format
max_fps: 30                             # If Hardware Supports this it will be forced, otherwise ignored/coerced.
custom_flags: --format=YUYV             # Comment out this line if you wish to use MJPG resolutions - check crowsnest.log for supported resolutions etc.

[05/06/24 19:18:47] crowsnest: crowsnest - A webcam Service for multiple Cams and Stream Services.
[05/06/24 19:18:48] crowsnest: Version: v3.0.7-4-g0bdc1bc
[05/06/24 19:18:48] crowsnest: Prepare Startup ...
[05/06/24 19:18:48] crowsnest: INFO: Host information:
[05/06/24 19:18:48] crowsnest: Host Info: Distribution: Armbian-unofficial 24.2.0-trunk bookworm
Armbian-unofficial 24.2.0-trunk bookworm
[05/06/24 19:18:48] crowsnest: Host Info: Kernel: Linux 6.1.67-current-rockchip64 aarch64
[05/06/24 19:18:48] crowsnest: Host Info: Available CPU Cores: 4
[05/06/24 19:18:48] crowsnest: Host Info: Available Memory: 999944 kB
[05/06/24 19:18:49] crowsnest: Host Info: Diskspace (avail. / total): 1.7G / 6.7G
[05/06/24 19:18:49] crowsnest: INFO: Checking Dependencys
[05/06/24 19:18:49] crowsnest: Dependency: 'crudini' found in /usr/bin/crudini.
[05/06/24 19:18:49] crowsnest: Dependency: 'find' found in /usr/bin/find.
[05/06/24 19:18:49] crowsnest: Dependency: 'logger' found in /usr/bin/logger.
[05/06/24 19:18:49] crowsnest: Dependency: 'xargs' found in /usr/bin/xargs.
[05/06/24 19:18:50] crowsnest: Dependency: 'ffmpeg' found in /usr/bin/ffmpeg.
[05/06/24 19:18:50] crowsnest: Dependency: 'ustreamer' found in bin/ustreamer/ustreamer.
[05/06/24 19:18:50] crowsnest: Dependency: 'rtsp-simple-server' found in bin/rtsp-simple-server/rtsp-simple-server.
[05/06/24 19:18:50] crowsnest: Version Control: ustreamer new version available: v6.11 (v4.9).
[05/06/24 19:18:51] crowsnest: Version Control: rtsp-simple-server is up to date. (v0.20.2)
[05/06/24 19:18:53] crowsnest: Version Control: ffmpeg is up to date. (5.1.4-0+deb12u1)
[05/06/24 19:18:54] crowsnest: INFO: Print Configfile: '/home/mks/printer_data/config/crowsnest.conf'
[05/06/24 19:18:54] crowsnest: 		[crowsnest]
[05/06/24 19:18:54] crowsnest: 		log_path: ~/printer_data/logs/crowsnest.log
[05/06/24 19:18:54] crowsnest: 		log_level: verbose
[05/06/24 19:18:54] crowsnest: 		delete_log: true
[05/06/24 19:18:54] crowsnest: 		
[05/06/24 19:18:54] crowsnest: 		[cam 1]
[05/06/24 19:18:54] crowsnest: 		mode: ustreamer
[05/06/24 19:18:54] crowsnest: 		
[05/06/24 19:18:54] crowsnest: 		enable_rtsp: false
[05/06/24 19:18:54] crowsnest: 		rtsp_port: 8554
[05/06/24 19:18:54] crowsnest: 		port: 8080
[05/06/24 19:18:54] crowsnest: 		device: /dev/video3
[05/06/24 19:18:54] crowsnest: 		resolution: 320x240
[05/06/24 19:18:54] crowsnest: 		max_fps: 30
[05/06/24 19:18:54] crowsnest: 		custom_flags: --format=YUYV
[05/06/24 19:18:54] crowsnest: 		
[05/06/24 19:18:54] crowsnest: 		[cam 2]
[05/06/24 19:18:54] crowsnest: 		mode: ustreamer
[05/06/24 19:18:54] crowsnest: 		
[05/06/24 19:18:54] crowsnest: 		enable_rtsp: false
[05/06/24 19:18:54] crowsnest: 		rtsp_port: 8555
[05/06/24 19:18:54] crowsnest: 		port: 8081
[05/06/24 19:18:54] crowsnest: 		device: /dev/video5
[05/06/24 19:18:54] crowsnest: 		resolution: 320x240
[05/06/24 19:18:54] crowsnest: 		max_fps: 30
[05/06/24 19:18:54] crowsnest: 		custom_flags: --format=YUYV
[05/06/24 19:18:55] crowsnest: INFO: Detect available Devices
[05/06/24 19:18:55] crowsnest: INFO: Found 1 total available Device(s)
[05/06/24 19:18:55] crowsnest: INFO: Found 1 available camera(s)
[05/06/24 19:18:55] crowsnest: /dev/v4l/by-id/usb-Generic_USB2.0_PC_CAMERA-video-index0 -> /dev/video3
[05/06/24 19:18:55] crowsnest: Supported Formats:
[05/06/24 19:18:55] crowsnest: 		[0]: 'YUYV' (YUYV 4:2:2)
[05/06/24 19:18:55] crowsnest: 		Size: Discrete 320x240
[05/06/24 19:18:55] crowsnest: 		Interval: Discrete 0.250s (4.000 fps)
[05/06/24 19:18:55] crowsnest: 		Size: Discrete 160x120
[05/06/24 19:18:55] crowsnest: 		Interval: Discrete 0.067s (15.000 fps)
[05/06/24 19:18:55] crowsnest: Supported Controls:
[05/06/24 19:18:55] crowsnest: 		
[05/06/24 19:18:55] crowsnest: 		User Controls
[05/06/24 19:18:55] crowsnest: 		
[05/06/24 19:18:55] crowsnest: 		brightness 0x00980900 (int) : min=0 max=255 step=1 default=137 value=137
[05/06/24 19:18:55] crowsnest: 		contrast 0x00980901 (int) : min=0 max=255 step=1 default=155 value=155
[05/06/24 19:18:55] crowsnest: 		saturation 0x00980902 (int) : min=0 max=255 step=1 default=70 value=70
[05/06/24 19:18:55] crowsnest: 		hue 0x00980903 (int) : min=-127 max=127 step=1 default=0 value=0
[05/06/24 19:18:55] crowsnest: 		gamma 0x00980910 (int) : min=1 max=8 step=1 default=4 value=4
[05/06/24 19:18:55] crowsnest: 		power_line_frequency 0x00980918 (menu) : min=0 max=2 default=1 value=1 (50 Hz)
[05/06/24 19:18:56] crowsnest: 		0: Disabled
[05/06/24 19:18:56] crowsnest: 		1: 50 Hz
[05/06/24 19:18:56] crowsnest: 		2: 60 Hz
[05/06/24 19:18:56] crowsnest: 		sharpness 0x0098091b (int) : min=0 max=15 step=1 default=0 value=0
[05/06/24 19:18:56] crowsnest: 		backlight_compensation 0x0098091c (int) : min=1 max=5 step=1 default=1 value=1
[05/06/24 19:18:56] crowsnest: INFO: No usable CSI Devices found.
[05/06/24 19:18:57] crowsnest: V4L2 Control: No parameters set for [cam 1]. Skipped.
[05/06/24 19:18:57] crowsnest: V4L2 Control: No parameters set for [cam 2]. Skipped.
[05/06/24 19:18:59] crowsnest: Try to start configured Cams / Services...
[05/06/24 19:19:00] crowsnest: ERROR: Parameter enable_rtsp
rtsp_port not found in Section [cam 1]. Start skipped!
[05/06/24 19:19:00] crowsnest: WARN: Unknown Mode configured!
[05/06/24 19:19:00] crowsnest: WARN: Using 'mode: mjpg' as fallback!
[05/06/24 19:19:01] crowsnest: ERROR: Parameter enable_rtsp
rtsp_port not found in Section [cam 2]. Start skipped!
[05/06/24 19:19:01] crowsnest: WARN: Unknown Mode configured!
[05/06/24 19:19:01] crowsnest: WARN: Using 'mode: mjpg' as fallback!
[05/06/24 19:19:03] crowsnest: ... Done!
[05/06/24 19:19:03] crowsnest: Starting ustreamer with Device /dev/video3 ...
[05/06/24 19:19:03] crowsnest: Starting ustreamer with Device /dev/video5 ...

At the moment, I’m using legacy crowsnest but will update it once this post will be live. I have tried multiple cameras, usb hubs, power options for the usb hubs and device names for each camera. No matter what I do, only one camera is on each time I fix and reboot the printer. Nothing has helped me so far. I hope you can :slight_smile:

It looks like there’s only one V4L device detected, so I think your first step needs to be making sure that both cameras are detected and working in Linux before trying to configure crowsnest to use them.


Just updated the config and now it looks like this. I also plugged in a new camera.

[05/06/24 20:27:18] crowsnest: crowsnest - A webcam Service for multiple Cams and Stream Services.
[05/06/24 20:27:18] crowsnest: Version: v4.1.9-1-gd75a3ae
[05/06/24 20:27:18] crowsnest: Prepare Startup ...
[05/06/24 20:27:19] crowsnest: INFO: Host information:
[05/06/24 20:27:19] crowsnest: Host Info: Distribution: Armbian-unofficial 24.2.0-trunk bookworm
Armbian-unofficial 24.2.0-trunk bookworm
[05/06/24 20:27:19] crowsnest: Host Info: Kernel: Linux 6.1.67-current-rockchip64 aarch64
[05/06/24 20:27:19] crowsnest: Host Info: Available CPU Cores: 4
[05/06/24 20:27:19] crowsnest: Host Info: Available Memory: 999944 kB
[05/06/24 20:27:19] crowsnest: Host Info: Diskspace (avail. / total): 1.7G / 6.7G
[05/06/24 20:27:19] crowsnest: INFO: Checking Dependencies
[05/06/24 20:27:19] crowsnest: Dependency: 'crudini' found in /usr/bin/crudini.
[05/06/24 20:27:19] crowsnest: Dependency: 'find' found in /usr/bin/find.
[05/06/24 20:27:19] crowsnest: Dependency: 'xargs' found in /usr/bin/xargs.
[05/06/24 20:27:19] crowsnest: Dependency: 'ustreamer' found in bin/ustreamer/src/ustreamer.bin.
[05/06/24 20:27:20] crowsnest: Version Control: ustreamer is up to date. (v6.10)
[05/06/24 20:27:20] crowsnest: INFO: Print Configfile: '/home/mks/printer_data/config/crowsnest.conf'
[05/06/24 20:27:20] crowsnest:		[crowsnest]
[05/06/24 20:27:20] crowsnest:		log_path: /home/mks/printer_data/logs/crowsnest.log
[05/06/24 20:27:20] crowsnest:		log_level: verbose
[05/06/24 20:27:20] crowsnest:		delete_log: true
[05/06/24 20:27:20] crowsnest:		no_proxy: false
[05/06/24 20:27:20] crowsnest:		
[05/06/24 20:27:20] crowsnest:		[cam 1]
[05/06/24 20:27:20] crowsnest:		mode: ustreamer
[05/06/24 20:27:20] crowsnest:		
[05/06/24 20:27:20] crowsnest:		enable_rtsp: false
[05/06/24 20:27:20] crowsnest:		rtsp_port: 8554
[05/06/24 20:27:20] crowsnest:		port: 8080
[05/06/24 20:27:20] crowsnest:		device: /dev/v4l/by-path/platform-xhci-hcd.0.auto-usb-0:1.3:1.0-video-index0
[05/06/24 20:27:20] crowsnest:		resolution: 320x240
[05/06/24 20:27:20] crowsnest:		max_fps: 15
[05/06/24 20:27:20] crowsnest:		
[05/06/24 20:27:20] crowsnest:		[cam 2]
[05/06/24 20:27:20] crowsnest:		mode: ustreamer
[05/06/24 20:27:20] crowsnest:		
[05/06/24 20:27:20] crowsnest:		enable_rtsp: false
[05/06/24 20:27:20] crowsnest:		rtsp_port: 8554
[05/06/24 20:27:20] crowsnest:		port: 8081
[05/06/24 20:27:20] crowsnest:		device: /dev/v4l/by-id/usb-JSK-9726-200706_Integrated_Camera-video-index0
[05/06/24 20:27:20] crowsnest:		resolution: 640x480
[05/06/24 20:27:20] crowsnest:		max_fps: 15
[05/06/24 20:27:20] crowsnest: INFO: Detect available Devices
[05/06/24 20:27:20] crowsnest: INFO: Found 2 total available Device(s)
[05/06/24 20:27:20] crowsnest: INFO: Found 2 available v4l2 (UVC) camera(s)
[05/06/24 20:27:20] crowsnest: /dev/v4l/by-id/usb-JSK-9726-200706_Integrated_Camera-video-index0 -> /dev/video5
[05/06/24 20:27:20] crowsnest: Supported Formats:
[05/06/24 20:27:20] crowsnest:		[0]: 'MJPG' (Motion-JPEG, compressed)
[05/06/24 20:27:20] crowsnest:		Size: Discrete 640x480
[05/06/24 20:27:20] crowsnest:		Interval: Discrete 0.040s (25.000 fps)
[05/06/24 20:27:20] crowsnest: Supported Controls:
[05/06/24 20:27:20] crowsnest:		
[05/06/24 20:27:20] crowsnest:		User Controls
[05/06/24 20:27:20] crowsnest:		
[05/06/24 20:27:20] crowsnest:		brightness 0x00980900 (int)    : min=0 max=255 step=1 default=150 value=150
[05/06/24 20:27:20] crowsnest:		contrast 0x00980901 (int)    : min=0 max=255 step=1 default=48 value=48
[05/06/24 20:27:20] crowsnest:		saturation 0x00980902 (int)    : min=0 max=100 step=1 default=64 value=64
[05/06/24 20:27:20] crowsnest:		hue 0x00980903 (int)    : min=-180 max=180 step=1 default=0 value=0
[05/06/24 20:27:20] crowsnest:		white_balance_automatic 0x0098090c (bool)   : default=1 value=1
[05/06/24 20:27:20] crowsnest:		gamma 0x00980910 (int)    : min=90 max=150 step=1 default=120 value=120
[05/06/24 20:27:20] crowsnest:		power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=1 (50 Hz)
[05/06/24 20:27:20] crowsnest:		0: Disabled
[05/06/24 20:27:20] crowsnest:		1: 50 Hz
[05/06/24 20:27:20] crowsnest:		2: 60 Hz
[05/06/24 20:27:20] crowsnest:		white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4000 value=4000 flags=inactive
[05/06/24 20:27:20] crowsnest:		sharpness 0x0098091b (int)    : min=0 max=7 step=1 default=2 value=2
[05/06/24 20:27:20] crowsnest:		backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=0 value=0
[05/06/24 20:27:20] crowsnest:		
[05/06/24 20:27:20] crowsnest:		Camera Controls
[05/06/24 20:27:20] crowsnest:		
[05/06/24 20:27:20] crowsnest:		auto_exposure 0x009a0901 (menu)   : min=0 max=3 default=3 value=3 (Aperture Priority Mode)
[05/06/24 20:27:20] crowsnest:		1: Manual Mode
[05/06/24 20:27:20] crowsnest:		3: Aperture Priority Mode
[05/06/24 20:27:20] crowsnest:		exposure_time_absolute 0x009a0902 (int)    : min=10 max=2500 step=1 default=156 value=156 flags=inactive
[05/06/24 20:27:20] crowsnest:		error 5 getting ext_ctrl Exposure, Dynamic Framerate
[05/06/24 20:27:21] crowsnest: /dev/v4l/by-id/usb-Generic_USB2.0_PC_CAMERA-video-index0 -> /dev/video3
[05/06/24 20:27:21] crowsnest: Supported Formats:
[05/06/24 20:27:21] crowsnest:		[0]: 'YUYV' (YUYV 4:2:2)
[05/06/24 20:27:21] crowsnest:		Size: Discrete 320x240
[05/06/24 20:27:21] crowsnest:		Interval: Discrete 0.250s (4.000 fps)
[05/06/24 20:27:21] crowsnest:		Size: Discrete 160x120
[05/06/24 20:27:21] crowsnest:		Interval: Discrete 0.067s (15.000 fps)
[05/06/24 20:27:21] crowsnest: Supported Controls:
[05/06/24 20:27:21] crowsnest:		
[05/06/24 20:27:21] crowsnest:		User Controls
[05/06/24 20:27:21] crowsnest:		
[05/06/24 20:27:21] crowsnest:		brightness 0x00980900 (int)    : min=0 max=255 step=1 default=137 value=137
[05/06/24 20:27:21] crowsnest:		contrast 0x00980901 (int)    : min=0 max=255 step=1 default=155 value=155
[05/06/24 20:27:21] crowsnest:		saturation 0x00980902 (int)    : min=0 max=255 step=1 default=70 value=70
[05/06/24 20:27:21] crowsnest:		hue 0x00980903 (int)    : min=-127 max=127 step=1 default=0 value=0
[05/06/24 20:27:21] crowsnest:		gamma 0x00980910 (int)    : min=1 max=8 step=1 default=4 value=4
[05/06/24 20:27:21] crowsnest:		power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=1 (50 Hz)
[05/06/24 20:27:21] crowsnest:		0: Disabled
[05/06/24 20:27:21] crowsnest:		1: 50 Hz
[05/06/24 20:27:21] crowsnest:		2: 60 Hz
[05/06/24 20:27:21] crowsnest:		sharpness 0x0098091b (int)    : min=0 max=15 step=1 default=0 value=0
[05/06/24 20:27:21] crowsnest:		backlight_compensation 0x0098091c (int)    : min=1 max=5 step=1 default=1 value=1
[05/06/24 20:27:21] crowsnest: Try to start configured Cams / Services...
[05/06/24 20:27:25] crowsnest: INFO: Configuration of Section [cam 1] looks good. Continue ...
[05/06/24 20:27:27] crowsnest: INFO: Configuration of Section [cam 2] looks good. Continue ...
[05/06/24 20:27:28] crowsnest: V4L2 Control: No parameters set for [cam 1]. Skipped.
[05/06/24 20:27:29] crowsnest: V4L2 Control: No parameters set for [cam 2]. Skipped.
[05/06/24 20:27:31] crowsnest: Starting ustreamer with Device /dev/v4l/by-id/usb-JSK-9726-200706_Integrated_Camera-video-index0 ...
[05/06/24 20:27:31] crowsnest: Starting ustreamer with Device /dev/v4l/by-path/platform-xhci-hcd.0.auto-usb-0:1.3:1.0-video-index0 ...
[05/06/24 20:27:34] crowsnest:  ... Done!

[crowsnest]
log_path: /home/mks/printer_data/logs/crowsnest.log
log_level: verbose                      # Valid Options are quiet/verbose/debug
delete_log: true                       # Deletes log on every restart, if set to true
no_proxy: false

[cam 1]
mode: ustreamer                         # ustreamer - Provides mjpg and snapshots. (All devices)
                                        # camera-streamer - Provides webrtc, mjpg and snapshots. (rpi + Raspi OS based only)
enable_rtsp: false                      # If camera-streamer is used, this enables also usage of an rtsp server
rtsp_port: 8554                         # Set different ports for each device!
port: 8080                              # HTTP/MJPG Stream/Snapshot Port
device: /dev/v4l/by-path/platform-xhci-hcd.0.auto-usb-0:1.3:1.0-video-index0                     # See Log for available ...
resolution: 320x240                     # widthxheight format
max_fps: 15                             # If Hardware Supports this it will be forced, otherwise ignored/coerced.
#custom_flags:                          # You can run the Stream Services with custom flags.
#v4l2ctl:                               # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.

[cam 2]
mode: ustreamer                         # ustreamer - Provides mjpg and snapshots. (All devices)
                                        # camera-streamer - Provides webrtc, mjpg and snapshots. (rpi + Raspi OS based only)
enable_rtsp: false                      # If camera-streamer is used, this enables also usage of an rtsp server
rtsp_port: 8554                         # Set different ports for each device!
port: 8081                              # HTTP/MJPG Stream/Snapshot Port
device: /dev/v4l/by-id/usb-JSK-9726-200706_Integrated_Camera-video-index0                     # See Log for available ...
resolution: 640x480                     # widthxheight format
max_fps: 15                             # If Hardware Supports this it will be forced, otherwise ignored/coerced.
#custom_flags:                          # You can run the Stream Services with custom flags.
#v4l2ctl:                               # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.

So I talked to a 3D printer store and they told me that I may be using a bad usb hub. What hub/hubs do y’all use? I may need a good quality one…

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.