electriclewis
Posts: 2
Joined: Tue May 28, 2013 3:50 pm

How to enable the camera

Tue May 28, 2013 3:52 pm

How do I enable the camera using Pidora?

It suggests running raspy-config but that doesn't seem to be part of pidora


[root@raspi ~]# raspivid -t 10000 -o /tmp/video.h264
mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM)
mmal: mmal_component_create_core: could not create component 'vc.ril.camera' (1)
mmal: Failed to create camera component
mmal: main: Failed to create camera component
mmal: Camera is not enabled in this build. Try running "sudo raspi-config" and ensure that "camera" has been enabled

nnod
Posts: 9
Joined: Thu Sep 06, 2012 12:54 pm

Re: How to enable the camera

Thu May 30, 2013 11:08 am

I am having the same issue on ArchLinux after building the userland tools [1] and modifying the /boot/config.txt [2]. The LED turns on for a few seconds when the Pi is powered up but that's about it. I've tried reseating the cable.

[1] http://www.darkoperator.com/blog/2013/5 ... n-the.html
[2] http://www.raspberrypi.org/phpBB3/viewt ... 43&t=44539

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 29659
Joined: Sat Jul 30, 2011 7:41 pm

Re: How to enable the camera

Thu May 30, 2013 12:25 pm

I would definitely suggest trying the Wheezy distro if you have a spare card. This is known to work with the camera simply by running raspi-config - at least that way you can confirm if the camera is working or not.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Working in the Applications Team.

pepedog
Posts: 1043
Joined: Fri Oct 07, 2011 9:55 am

Re: How to enable the camera

Fri May 31, 2013 12:58 am

Arch may soon have its own version of raspi-config. I got everything working plus extras.

electriclewis
Posts: 2
Joined: Tue May 28, 2013 3:50 pm

Re: How to enable the camera

Fri May 31, 2013 8:55 am

I've had it all working fine with Wheezy but I just wanted to try out Pidora as I run my Pi in headless mode and Pidora has a dedicated mode for that (not that it's really that difficult to deal with on Wheezy either). I do love my Pi telling me it's IP address when it boots up though :)

lkiesow
Posts: 1
Joined: Thu Jul 18, 2013 4:57 pm

Re: How to enable the camera

Thu Jul 18, 2013 5:22 pm

I got the camera module working on Pidora by borrowing some files from Raspbian.
It should be easily reproducable by following these steps:

1. Install the VideoCore libs and tools with:

Code: Select all

yum install 'raspberrypi-vc-*'
2. Download and extract the boot files from Raspbian (You can of cause also extract them from the Raspbian image itself):

Code: Select all

wget http://larskiesow.de/pyCA/piCA/downloads/pidora-boot-for-camera.tar.gz
tar xf pidora-boot-for-camera.tar.gz
3. Overwrite the Pidora boot files (I suggest to make a backup in case something goes wrong):

Code: Select all

cp -r /boot boot-backup
rm -rf /boot/*
cp -r boot/* /boot/
Warning: This will obviously replace your config.txt. So remember to configure your system as last step.

codeblock
Posts: 2
Joined: Sat Jul 27, 2013 7:05 pm

Re: How to enable the camera

Sat Jul 27, 2013 7:07 pm

That seems to have disabled/broken the USB ports for me. :(

codeblock
Posts: 2
Joined: Sat Jul 27, 2013 7:05 pm

Re: How to enable the camera

Sat Jul 27, 2013 8:11 pm

It turns out that if you use the kernel in the .tar.gz you linked, USB ports stop working. However, using all the other files you linked and the original kernel.img works fine, and allows the camera to work. Thank you for this!

freelancalot
Posts: 1
Joined: Fri Dec 06, 2013 10:25 pm

Re: How to enable the camera

Fri Dec 06, 2013 10:37 pm

I was able to get the camera working by mounting the Debian image and just copying /usr/bin/raspi-config and /usr/share/doc/raspi-config. I then ran rasp-config and enabled the camera.

Return to “Pidora / Fedora”