raspberrypi4ok
Posts: 6
Joined: Fri Mar 17, 2023 3:03 pm

Pi Camera

Fri Mar 17, 2023 5:30 pm

My new raspberry pi camera wont work, it wont detect it, any idea? my older pi camera works but this one doesn't and I have multiple of them so I know it isn't broken.

User avatar
neilgl
Posts: 5873
Joined: Sun Jan 26, 2014 8:36 pm
Location: Near The National Museum of Computing

Re: Pi Camera

Fri Mar 17, 2023 11:55 pm

What are you running on the pi it is connected to - Raspberry Pi OS Bullseye 32-bit or something else?

User avatar
HermannSW
Posts: 5799
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany

Re: Pi Camera

Sat Mar 18, 2023 10:59 pm

Which new Pi camera? GS, v3, ...?
Show output of:

Code: Select all

cat /proc/cpuinfo | grep Revision | awk '{print substr($NF,length($NF)-5,6)}'
uname -a
head -1 /etc/os-release
https://stamm-wilbrandt.de/GS_cam_1152x192@304fps
https://github.com/Hermann-SW/RSA_numbers_factored
https://hermann-sw.github.io/planar_graph_playground
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/

raspberrypi4ok
Posts: 6
Joined: Fri Mar 17, 2023 3:03 pm

Re: Pi Camera

Mon Mar 20, 2023 1:19 pm

Yes Im running Raspberry Pi OS Bullseye 32-bit
my camera version is v3 wide

User avatar
rpiMike
Posts: 2328
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: Pi Camera

Mon Mar 20, 2023 1:25 pm

Is your Pi OS fully updated?

raspberrypi4ok
Posts: 6
Joined: Fri Mar 17, 2023 3:03 pm

Re: Pi Camera

Mon Mar 20, 2023 2:39 pm

yup and ive tried everything. it doesnt even detect it but if i plug my other camera in right now it will work

User avatar
HermannSW
Posts: 5799
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany

Re: Pi Camera

Mon Mar 20, 2023 3:28 pm

Code: Select all

cat /proc/cpuinfo | grep Revision | awk '{print substr($NF,length($NF)-5,6)}'
Or what Pi do you use?
https://stamm-wilbrandt.de/GS_cam_1152x192@304fps
https://github.com/Hermann-SW/RSA_numbers_factored
https://hermann-sw.github.io/planar_graph_playground
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/

raspberrypi4ok
Posts: 6
Joined: Fri Mar 17, 2023 3:03 pm

Re: Pi Camera

Mon Mar 20, 2023 3:48 pm

raspberry pi 4
d03115

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 14116
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Pi Camera

Mon Mar 20, 2023 4:52 pm

What command are you using to determine that the camera isn't detected?
The only valid one for v3 and libcamera is "libcamera-hello --list-cameras"

The v3 is only supported by libcamera and not the legacy camera stack, and "vcgencmd get_camera" is only valid for legacy.
Software Engineer at Raspberry Pi Ltd. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

raspberrypi4ok
Posts: 6
Joined: Fri Mar 17, 2023 3:03 pm

Re: Pi Camera

Mon Mar 20, 2023 4:56 pm

says supported=1 detected=0
No cameras available!

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 14116
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Pi Camera

Mon Mar 20, 2023 5:05 pm

raspberrypi4ok wrote:
Mon Mar 20, 2023 4:56 pm
says supported=1 detected=0
No cameras available!
As I said, "vcgencmd get_camera" is only valid for legacy. v3 camera is not supported by the legacy stack.

Stated in the blog post:
The new Camera Module 3 is only supported by the modern libcamera software environment and by the libcamera-based Picamera2 beta under Raspberry Pi OS Bullseye, and not by the legacy closed-source camera stack – you’ll need to make sure you have the latest version of the software before you dig in, as only the latest release has autofocus support.
And in the product information
Camera Module 3 takes advantage of the Raspberry Pi Open Source Camera System powered by libcamera
Software Engineer at Raspberry Pi Ltd. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

raspberrypi4ok
Posts: 6
Joined: Fri Mar 17, 2023 3:03 pm

Re: Pi Camera

Mon Mar 20, 2023 5:47 pm

thanks alot, it works now.

Return to “Camera board”