I'm working on my Raspberry Pi with OctoPrint and I was getting errors about the camera not supporting MJPG.
The following errors were showing up in my logs for OctoPrint
MJPG Streamer Version.: 2.0 i: Using V4L2 device.: /dev/video0 i: Desired Resolution: 640 x 480 i: Frames Per Second.: -1 i: Format............: JPEG i: TV-Norm...........: DEFAULT i: Could not obtain the requested pixelformat: MJPG , driver gave us: pRAA ... will try to handle this by checking against supported formats.
After banging my head against the desk for a while, on a whim, I tried
rpi-update. That will update the firmware and kernel to the latest version.
To get the camera to fully connect, I also had to add the following to my
After that and a reboot, OctoPrint no longer shows the error and the camera works as expected.