New camera not working Raspberry Pi Camera Module 1080P 5MP OV5647, link included

What is the problem?

Raspberry camera not working

What did you already try to solve it?

Reboot Pi several times both with printer turned on and turned off.
Have run raspi-config and enabled camera.
Checked for camera enable in xwindows and it is enabled.
have already run apt get update and apt get upgrade before installing camera.
Checked for camera log in var/log/webcamd.log --> it does not exist
re-seated ribbon cable, seems good, I do get a red light on camera but it is not coming up in the Octoprint UI.

Here is the camera I have, is this the problem? https://www.amazon.com/gp/product/B084X8MZ9J/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1

lsusb returns the following. I don't even know if one of these is my camera.

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 413c:2107 Dell Computer Corp.
Bus 001 Device 003: ID 0461:4e22 Primax Electronics, Ltd
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Complete Logs

octoprint.log, serial.log or output on terminal tab at a minimum, browser error console if UI issue ... no logs, no support! Not log excerpts, complete logs.)

Checked for camera log in var/log/webcamd.log --> it does not exist, see below. What else should I add for log files? I don't think the octoprint logs would be helpful here since this isn't a printing issue. Here is the main OP log. octoprint.log (51.7 KB)

pi@octopi:~ cd /var pi@octopi:/var cd log
pi@octopi:/var/log $ ls
alternatives.log fontconfig.log syslog.1

apt haproxy.log syslog.2.gz

auth.log haproxy.log.1 syslog.3.gz

auth.log.1 haproxy.log.2.gz syslog.4.gz

boot.log kern.log syslog.5.gz

bootstrap.log kern.log.1 user.log

btmp lastlog user.log.1

daemon.log lightdm wtmp

daemon.log.1 messages Xorg.0.log

debug messages.1 Xorg.0.log.old

debug.1 private Xorg.1.log

dpkg.log regenerate_ssh_host_keys.log Xorg.1.log.old

faillog syslog

pi@octopi:/var/log $

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

Raspberry Pi 4
OctoPrint 1.4.0 running on OctoPi 0.17.0

New to Octoprint, thanks for the help.

systemctl shows the following line.

  • webcamd.service loaded failed failed the OctoPi webcam daemon

I figured it out. I was plugged into the wrong ribbon cable port I was plugged into the CSI not the DSI, use the port next to the HDMI connections. Thank you Daniel_Gonzalez for your reply to post # 21654. This link was a huuuuge help https://www.raspberrypi.org/documentation/raspbian/applications/camera.md

1 Like