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

Source: Internet
Author: User
Tags config raspi
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 be create the camera component when I ran "Raspistill- o test.jpg ".
Because there is no "raspi-config" in this OS, I has no idea to further set the camera. For the same camera and Pi, when I use a Raspbian Wheezy OS SD card, everything are 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'll 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'll 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 + if you wish
disable_camera_led=1  # Optional, if you don ' t want the LEDs to glow

Reboot

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.