How do you use a pi v2 camera on a raspberry pi4 using Ubuntu 20.04 ?

January 12, 2024, 20:25

bigpeppeur

I need help to enable my pi v2 camera on this os. I did not find any sucessful tutorial online. When i do raspistill -o photo.jpg i have the error saying to enable it in raspi-config but i cannot because the option just don’t appear (i have the last debian package from 2024 04 jan. ). At the command : ´´´vcgencmd get_camera´´´ i have the output : supported=0 detected=0, libcamera interfaces=0

k9t33n

hmm not sure the pi camera is available for ubuntu

k9t33n

anyway try libcamera instead

k9t33n

libcamera-hello -t -0

bigpeppeur

How do i install this package ?

bigpeppeur

Like i have to clone the git repo ?

k9t33n

not sure

k9t33n

maybe try sudo apt install libcamera

bigpeppeur

It did not work

bigpeppeur

So my problem si not hardware its just software ?

k9t33n

yeah probably

bigpeppeur

I can’t even install libcamera…