Raspberry PI3A Camera stopped working

I had it working from many years..

Yesterday I added an LCD screen (3,5 inch) and used the following commands to have it up and running..

I don't know if it was a coincidence but starting from that point my Raspberry Camera stopped working..

I don't see anything relevant in the logs.. and the setup page for webcam is all set apparently correct (I only have a doubt about the IP address shown... which is the local 127.0.0.1)

The control window shows always Webcam stream loading...
If I try to access to the direct link (that was always working in the past, as I was using it a lot) http://192.168.1.22:8080/?action=stream
the page doesn't open (it refuses the connection)

I only remember that at beginning (about 3 years ago) I had to modify octopi.txt by changing those lines..
camera_usb_options="-r 1296x972 -f 30"
camera_http_webroot="./www"
camera_http_options=""

But now I found that those lines are not present.. (don't remember if trough these years the webcam support has changed).. fact is that it was working with this octopi.txt settings until yesterday..
#camera_usb_options="-r 640x480 -f 10"
#camera_http_webroot="./www-octopi"
#camera_http_options="-n"

Can someone clarify how to setup octopi.txt (need to be modified?)

Any other help would be very appreciated

Thanks in advance

PS I have Octolapse plugin installed.. even if not using it

octoprint-systeminfo-20240212203025.zip (954.1 KB)

It does sound a lot like installing your LCD screen has broken the camera drivers somehow. It is complaining:

libv4l2: error turning on stream: Invalid argument
Unable to start capture: Invalid argument
 i: Can't enable video in first time

Not sure that I know a fix for this given that it started as soon as you installed the LCD. So I'd probably suggest that is the cause of the issue.

I fixed the problem by Simply reinstalling the camera from raspy config
I didn't think it was so easy
Thanks anyway

1 Like