Pi camera lights up then goes out and does not work

Continuing the discussion from Pi Webcam Lights on then Stops Working:

I am having the exact same issue. Pi 3b+ Camera v1.3. safemode doesn't help. disconnecting usb doesn't help.

when accessing /var/log $ vi webcamd.log I get the following:

"Starting up webcamDaemon...

--- Configuration: ----------------------------
cfg_file: /boot/octopi.txt
camera: auto
usb options: -r 640x480 -f 10
raspi options: -fps 10
http options: -w ./www-octopi -n --listen 127.0.0.1

Explicitly USB device:

Found video devices:
/dev/video0
/dev/video10
/dev/video11
/dev/video12
/dev/video13
/dev/video14
/dev/video15
/dev/video16
raspi
@
"webcamd.log" [readonly] 74438 lines, 898964 characters"

Can you upload the systeminfo bundle? It will contain all the log files and might give us an indication of what's not working.

Double check all of the connections, including the little one that connects the camera sensor to the board, it's small and often missed.

1 Like

Thanks for your reply!

Im not sure how to get the logs you want but my camera only has a single ribbon cable. I checked it quite a few times but maybe i need another cable? Not sure where it would even go though

Edit: sorry im new here. I clicked the link above and i will get the logs shortly.

let me know if you can open this. Thanks!

octoprint-systeminfo-20220222035236.zip (38.7 KB)

Hello,

I'm having the same problem. On boot, camera LED comes on for about a second, goes off for about 10 seconds, turns back on for about 5 seconds and then turns off. This problem started when I swapped out the camera ribbon for a longer one. I put the ribbon on backwards, not sure if this could have damanged anything? I switched back to the original ribbon and it's still doing it. Here are my logs:

Starting up webcamDaemon...

--- Configuration: ----------------------------
cfg_file: /boot/octopi.txt
camera: auto
usb options: -r 640x480 -f 10
raspi options: -fps 10
http options: -w ./www-octopi -n --listen 127.0.0.1

Explicitly set USB device:

Found video devices:
/dev/video0
/dev/video10
/dev/video11
/dev/video12
/dev/video13
/dev/video14
/dev/video15
/dev/video16
/dev/video18
/dev/video20
/dev/video21
/dev/video22
/dev/video23
/dev/video31
raspi
config file='/boot/octopi.txt':USB device was not set in options, starting MJPG-streamer with the first found video device: /dev/video0
<13>Sep 25 15:34:19 root: Starting USB webcam
Checking for VL805 (Raspberry Pi 4)...

  • It seems that you don't have VL805 (Raspberry Pi 4).
    There should be no problems with USB (a.k.a. select() timeout)
    Running ./mjpg_streamer -o output_http.so -w ./www-octopi -n --listen 127.0.0.1 -i input_uvc.so -r 640x480 -f 10 -d /dev/video0
    MJPG Streamer Version.: 2.0
    i: Using V4L2 device.: /dev/video0
    i: Desired Resolution: 640 x 480
    i: Frames Per Second.: 10
    i: Format............: JPEG
    i: TV-Norm...........: DEFAULT
    UVCIOC_CTRL_ADD - Error at Pan (relative): Inappropriate ioctl for device (25)
    UVCIOC_CTRL_ADD - Error at Tilt (relative): Inappropriate ioctl for device (25)
    UVCIOC_CTRL_ADD - Error at Pan Reset: Inappropriate ioctl for device (25)
    UVCIOC_CTRL_ADD - Error at Tilt Reset: Inappropriate ioctl for device (25)
    UVCIOC_CTRL_ADD - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
    UVCIOC_CTRL_ADD - Error at Focus (absolute): Inappropriate ioctl for device (25)
    UVCIOC_CTRL_MAP - Error at Pan (relative): Inappropriate ioctl for device (25)
    UVCIOC_CTRL_MAP - Error at Tilt (relative): Inappropriate ioctl for device (25)
    UVCIOC_CTRL_MAP - Error at Pan Reset: Inappropriate ioctl for device (25)
    UVCIOC_CTRL_MAP - Error at Tilt Reset: Inappropriate ioctl for device (25)
    UVCIOC_CTRL_MAP - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
    UVCIOC_CTRL_MAP - Error at Focus (absolute): Inappropriate ioctl for device (25)
    UVCIOC_CTRL_MAP - Error at LED1 Mode: Inappropriate ioctl for device (25)
    UVCIOC_CTRL_MAP - Error at LED1 Frequency: Inappropriate ioctl for device (25)
    UVCIOC_CTRL_MAP - Error at Disable video processing: Inappropriate ioctl for device (25)
    UVCIOC_CTRL_MAP - Error at Raw bits per pixel: Inappropriate ioctl for device (25)
    o: www-folder-path......: ./www-octopi/
    o: HTTP TCP port........: 8080
    o: HTTP Listen Address..: 127.0.0.1
    o: username:password....: disabled
    o: commands.............: disabled
    Done bringing up all configured video devices
    i: select() timeout
    i: cleaning up resources allocated by input thread

Thank you for any help

I still have not solved this issue. But like you it started when swapping to a longer ribbon cable but continues when swapping back to the original cable.

Tried it in another pi and it did the same thing there too. I ended up getting a replacement and it works fine. My best guess is that I screwed up the camera some how by putting the cable in backwards while it was powered up.