Ubuntu Mate: mak Raspberry Pi camera work without raspi-config on Raspberry Pi2

enable Raspberry Pi camera without raspi-config

ask:

Hi,
I have installed the latest Ubuntu Mate on my Raspberry Pi2. I wanted to use the Raspberry Pi camera in this operating system. Although I installed the 'picamera' driver in it, the system can not create the camera component when I ran " raspistill -o test.jpg".
Because there is no "raspi-config" in this OS, I have no idea to further set the camera. For the same camera and Pi, when I use a Raspbian Wheezy OS SD card, everything is OK for the RasPi camera.
Could somebody give me some suggestions?


answer:

Ubuntu is the most excellent linux system for raspberry pi2. The software update is very quickly.
Currently, there is no raspi-config command for raspberry configuration at version15.04, but it will come out in the near future version.
Without raspi-config, we can manually config it easily. Just modify the file /boot/firmware/config.txt is enough.
Just add a line "start_x=1" at the bottom of the file config.txt, save it, and reboot the system.
At the terminal, input command "sudo raspistill -o test.jpg", it will work.


result:

Thanks a lot!
It works normally now! This is really cool!


How to do:

edit your /boot/config.txt file and make sure the following lines look like this:

start_x=1             # essential
gpu_mem=128           # at least, or maybe more if you wish
disable_camera_led=1  # optional, if you don't want the led to glow

reboot


评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值