我曾经在我的Raspberry Pi Model B上使用picamera Python module和Raspbian OS上的Raspberry Pi Camera。
现在我正在运行Ubuntu 14.04 LTS on a Raspberry Pi 2 Model B。但是,我不能再使用picamera因为我无法启用Raspberry Pi相机。我无法启用Raspberry Pi相机,因为我没有Raspberry Pi固件,可以这么说。我实际上有Ubuntu-rpi2固件。
以下是uname -a
的输出:
Linux ubuntu 3.18.0-20-rpi2 #21-Ubuntu SMP PREEMPT Sun Apr 5 01:56:02 UTC 2014 armv71 armv71 armv71 GNU/Linux
是否可以运行Ubuntu并拥有必要的RPi固件以同时使用RPi相机?
答案 0 :(得分:0)
根据帖子post by fo0bar » Fri Feb 27, 2015 3:49 am
userland firmware预先通过PPA构建,固件的可用性也在wiki.ubuntu.com处说明。我没有使用ubuntu的rpi2,但我认为PPA已经在你的/etc/apt/sources.list
。如果没有,请参阅ppa description了解如何添加它。
然后,尝试
sudo apt-get install libraspberrypi-bin libraspberrypi-dev
并确保从
启用相机raspi-配置