Enable camera in Raspberry Pi 4 with 64-bit ubuntu 21.04

WesleyCh3n
Sep 19, 2021

--

Ok. This is a quick note for enable pi camera for ubuntu distro for raspberry pi 4. It’s easy.

Before everything prceed, update the system

sudo apt-get update
sudo apt-get upgrade

Then, edit config.txt by

sudo vi /boot/firmware/config.txt

Add start_x=1 in the last line.

(Optional) increase gpu memory by adding gpu_mem=128

After saving the file, reboot the system and check if /dev/video0 present.

If present, voila, you are good to go!

Reference

--

--

WesleyCh3n
WesleyCh3n

Written by WesleyCh3n

0 Followers

NTU BME MS student. Programmer.

No responses yet