I haven't run raspi-config. There doesn't seem to be a version of it for Pi4B - ubuntu 20.04
I'm presuming raspi-config just edits a config file? Any idea what change it makes to enable the mmal cam?
I followed the following from other postings but not obviously making progress (but my Pi4B is still doing all its other stuff so haven't broken it yet!).
>sudo bash -c "echo 'start_x=1' >> /boot/config.txt"
sudo bash -c "echo 'gpu_mem=128' >> /boot/config.txt"
sudo chmod +x /usr/bin/rpi-update
sudo rpi-update
<reboot>
sudo apt install cmake
cd userland
./buildme --aarch64
touch ~/.bash_aliases
echo -e 'PATH=$PATH:/opt/vc/bin\nexport PATH' >> ~/.bash_aliases
echo -e 'LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/vc/lib\nexport LD_LIBRARY_PATH' >> ~/.bash_aliases
source ~/.bashrc
sudo ldconfig
sudo echo 'SUBSYSTEM==\"vchiq\",GROUP=\"video\",MODE=\"0660\"' > /etc/udev/rules.d/10-vchiq-permissions.rules
(this failed permission denied?)
sudo usermod -a -G video ubuntu
(reboot)
========From suggestions for 16.04 on Pi3, then silly stab at changing repo name and then double checking raspi-config though I doubt it will work on ubi 20.04 anyway
>sudo add-apt-repository ppa:ubuntu-raspi2/ppa; sudo apt-get install libraspberrypi-bin libraspberrypi-dev
Optional PPA for Raspberry Pi 2/3 installations.
Press [ENTER] to continue or Ctrl-c to cancel adding it.
404 Not Found [IP: 91.189.95.83 80]
404 Not Found [IP: 91.189.95.83 80]
Reading package lists... Done
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libraspberrypi-bin
E: Unable to locate package libraspberrypi-dev
ubuntu@ubuntu:~$ sudo add-apt-repository ppa:ubuntu-raspi4/ppa; sudo apt-get install libraspberrypi-bin libraspberrypi-dev
Cannot add PPA: 'ppa:~ubuntu-raspi4/ubuntu/ppa'.
ERROR: '~ubuntu-raspi4' user or team does not exist.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libraspberrypi-bin
E: Unable to locate package libraspberrypi-dev
ubuntu@ubuntu:~$ sudo raspi-config
sudo: raspi-config: command not found
ubuntu@ubuntu:~$ sudo apt install raspi-config
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package raspi-config