我可以在 Raspberry Pi 2 Model B 上将此版本的 Ubuntu 与 picamera 一起使用吗? [英] Can I use picamera with this version of Ubuntu on a Raspberry Pi 2 Model B?

查看:71
本文介绍了我可以在 Raspberry Pi 2 Model B 上将此版本的 Ubuntu 与 picamera 一起使用吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我曾经使用 picamera Python 模块,以及一个 Raspberry Pi Camera 在我的 Raspberry Pi Model B 上的 Raspbian OS 上.

I used to use the picamera Python module, along with a Raspberry Pi Camera on Raspbian OS on my Raspberry Pi Model B.

现在我在 Raspberry Pi 2 Model B 上运行 Ubuntu 14.04 LTS.但是,我不能再使用 picamera,因为我无法启用 Raspberry Pi 相机.我无法启用 Raspberry Pi 相机,因为我没有 Raspberry Pi 固件,可以这么说.我实际上有 Ubuntu-rpi2 固件.

Now I am running Ubuntu 14.04 LTS on a Raspberry Pi 2 Model B. However, I cannot use picamera anymore because I cannot enable the Raspberry Pi Camera. I cannot enable the Raspberry Pi Camera because I do not have Raspberry Pi firmware, so to speak. I actually have Ubuntu-rpi2 firmware.

这是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 摄像头?

Is it even possible to run Ubuntu and have the necessary RPi firmware to use the RPi Camera at the same time?

推荐答案

根据帖子 post by fo0bar » Fri Feb 27, 2015 3:49 am userland 固件 通过 PPA 预先构建,固件的可用性也在 中说明wiki.ubuntu.com.我没有带 ubuntu 的 rpi2,但我假设 PPA 已经在你的 /etc/apt/sources.list 中.如果没有,请参阅 ppa 说明,了解如何添加它.

According to a post post by fo0bar » Fri Feb 27, 2015 3:49 am the userland firmware comes prebuilt via a PPA, the availability of the firmware is also stated at wiki.ubuntu.com. I dont have an rpi2 with ubuntu, but i would assume the PPA is already in your /etc/apt/sources.list. If not, see the ppa description on how to add it.

那就试试吧

sudo apt-get install libraspberrypi-bin libraspberrypi-dev

sudo apt-get install libraspberrypi-bin libraspberrypi-dev

并确保从以下位置启用相机

and be sure to enable the camera from

raspi 配置

这篇关于我可以在 Raspberry Pi 2 Model B 上将此版本的 Ubuntu 与 picamera 一起使用吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆