bigtreetech / CB2

The official repo for the BTT Pi2 and CB2
https://bttwiki.com/Pi2.html
30 stars 4 forks source link

Raspicam v1.3 + crownest #19

Closed mojamuto closed 5 days ago

mojamuto commented 2 weeks ago

Good afternoon, I am trying to connect a raspicam v1.3 ov5647, I have followed the instructions in the PDF but I get this error: fallo crownest Searching on the internet, everything refers to libcamera-hello, but it is not in the Armbian image.

igl-x2 commented 2 weeks ago

Your config says dev/video9. Try video0

Aergernis commented 2 weeks ago

Hi, having the same problem. Tested the camera with a Pi and it's working. 3,3V is present when connected to CB2 with M8P V2.

[06/16/24 20:53:36] crowsnest: crowsnest - A webcam Service for multiple Cams and Stream Services.
[06/16/24 20:53:36] crowsnest: Version: v4.1.9-1-gd75a3ae
[06/16/24 20:53:36] crowsnest: Prepare Startup ...
[06/16/24 20:53:36] crowsnest: INFO: Host information:
[06/16/24 20:53:36] crowsnest: Host Info: Distribution: BTT-CB2_1.0.4_Armbian 23.05.0-trunk Bullseye
[06/16/24 20:53:36] crowsnest: Host Info: Kernel: Linux 4.19.232-bigtree-cb2 aarch64
[06/16/24 20:53:36] crowsnest: Host Info: Available CPU Cores: 4
[06/16/24 20:53:36] crowsnest: Host Info: Available Memory: 2029676 kB
[06/16/24 20:53:36] crowsnest: Host Info: Diskspace (avail. / total): 24G / 29G
[06/16/24 20:53:36] crowsnest: INFO: Checking Dependencies
[06/16/24 20:53:36] crowsnest: Dependency: 'crudini' found in /usr/bin/crudini.
[06/16/24 20:53:36] crowsnest: Dependency: 'find' found in /usr/bin/find.
[06/16/24 20:53:36] crowsnest: Dependency: 'xargs' found in /usr/bin/xargs.
[06/16/24 20:53:36] crowsnest: Dependency: 'ustreamer' found in bin/ustreamer/src/ustreamer.bin.
[06/16/24 20:53:36] crowsnest: Version Control: ustreamer is up to date. (v6.10)
[06/16/24 20:53:36] crowsnest: INFO: Print Configfile: '/home/philipp/printer_data/config/crowsnest.conf'
[06/16/24 20:53:36] crowsnest:      [crowsnest]
[06/16/24 20:53:36] crowsnest:      log_path: /home/philipp/printer_data/logs/crowsnest.log
[06/16/24 20:53:36] crowsnest:      log_level: verbose
[06/16/24 20:53:36] crowsnest:      delete_log: false
[06/16/24 20:53:36] crowsnest:      no_proxy: false
[06/16/24 20:53:36] crowsnest:      
[06/16/24 20:53:36] crowsnest:      [cam 1]
[06/16/24 20:53:36] crowsnest:      mode: ustreamer
[06/16/24 20:53:36] crowsnest:      
[06/16/24 20:53:36] crowsnest:      enable_rtsp: false
[06/16/24 20:53:36] crowsnest:      rtsp_port: 8554
[06/16/24 20:53:36] crowsnest:      port: 8080
[06/16/24 20:53:36] crowsnest:      device: /dev/video0
[06/16/24 20:53:36] crowsnest:      resolution: 1920x1080
[06/16/24 20:53:36] crowsnest:      max_fps: 30
[06/16/24 20:53:36] crowsnest:      custom_flags: --format=UYVY
[06/16/24 20:53:36] crowsnest: INFO: Detect available Devices
[06/16/24 20:53:36] crowsnest: ERROR: No usable Devices Found. Stopping crowsnest.
mojamuto commented 2 weeks ago

Your config says dev/video9. Try video0

I have checked from video0 to video9 and none of them work.

zhangyumingsh commented 2 weeks ago

Good afternoon, I am trying to connect a raspicam v1.3 ov5647, I have followed the instructions in the PDF but I get this error: fallo crownest Searching on the internet, everything refers to libcamera-hello, but it is not in the Armbian image.

This issue will be updated in v1.0.5

igl-x2 commented 2 weeks ago

Will it be possible to Update without losing data / reflash emmc?

zhangyumingsh commented 1 week ago

Your config says dev/video9. Try video0

I have checked from video0 to video9 and none of them work.

set showstream You can try the settings shown in the picture.( custom_flags: --format=UYVY )

zhangyumingsh commented 1 week ago

Your config says dev/video9. Try video0

I have checked from video0 to video9 and none of them work.

If there is still no stream according to the previous settings. Scan the OV5647 camera to see if there are any devices for the OV5647. As shown in the figure. If there is no device, there is a communication issue between the motherboard and the m8p. scandev

zhangyumingsh commented 6 days ago

Hi, having the same problem. Tested the camera with a Pi and it's working. 3,3V is present when connected to CB2 with M8P V2.

[06/16/24 20:53:36] crowsnest: crowsnest - A webcam Service for multiple Cams and Stream Services.
[06/16/24 20:53:36] crowsnest: Version: v4.1.9-1-gd75a3ae
[06/16/24 20:53:36] crowsnest: Prepare Startup ...
[06/16/24 20:53:36] crowsnest: INFO: Host information:
[06/16/24 20:53:36] crowsnest: Host Info: Distribution: BTT-CB2_1.0.4_Armbian 23.05.0-trunk Bullseye
[06/16/24 20:53:36] crowsnest: Host Info: Kernel: Linux 4.19.232-bigtree-cb2 aarch64
[06/16/24 20:53:36] crowsnest: Host Info: Available CPU Cores: 4
[06/16/24 20:53:36] crowsnest: Host Info: Available Memory: 2029676 kB
[06/16/24 20:53:36] crowsnest: Host Info: Diskspace (avail. / total): 24G / 29G
[06/16/24 20:53:36] crowsnest: INFO: Checking Dependencies
[06/16/24 20:53:36] crowsnest: Dependency: 'crudini' found in /usr/bin/crudini.
[06/16/24 20:53:36] crowsnest: Dependency: 'find' found in /usr/bin/find.
[06/16/24 20:53:36] crowsnest: Dependency: 'xargs' found in /usr/bin/xargs.
[06/16/24 20:53:36] crowsnest: Dependency: 'ustreamer' found in bin/ustreamer/src/ustreamer.bin.
[06/16/24 20:53:36] crowsnest: Version Control: ustreamer is up to date. (v6.10)
[06/16/24 20:53:36] crowsnest: INFO: Print Configfile: '/home/philipp/printer_data/config/crowsnest.conf'
[06/16/24 20:53:36] crowsnest:        [crowsnest]
[06/16/24 20:53:36] crowsnest:        log_path: /home/philipp/printer_data/logs/crowsnest.log
[06/16/24 20:53:36] crowsnest:        log_level: verbose
[06/16/24 20:53:36] crowsnest:        delete_log: false
[06/16/24 20:53:36] crowsnest:        no_proxy: false
[06/16/24 20:53:36] crowsnest:        
[06/16/24 20:53:36] crowsnest:        [cam 1]
[06/16/24 20:53:36] crowsnest:        mode: ustreamer
[06/16/24 20:53:36] crowsnest:        
[06/16/24 20:53:36] crowsnest:        enable_rtsp: false
[06/16/24 20:53:36] crowsnest:        rtsp_port: 8554
[06/16/24 20:53:36] crowsnest:        port: 8080
[06/16/24 20:53:36] crowsnest:        device: /dev/video0
[06/16/24 20:53:36] crowsnest:        resolution: 1920x1080
[06/16/24 20:53:36] crowsnest:        max_fps: 30
[06/16/24 20:53:36] crowsnest:        custom_flags: --format=UYVY
[06/16/24 20:53:36] crowsnest: INFO: Detect available Devices
[06/16/24 20:53:36] crowsnest: ERROR: No usable Devices Found. Stopping crowsnest.

config

Try using this configuration

zhangyumingsh commented 6 days ago

Good afternoon, I am trying to connect a raspicam v1.3 ov5647, I have followed the instructions in the PDF but I get this error: fallo crownest Searching on the internet, everything refers to libcamera-hello, but it is not in the Armbian image.

Using v1.0.5 version of image

mojamuto commented 5 days ago

1.0.5 fix the problem