Raspberry Pi Camera Board: Unable to use commands

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Raspberry Pi Camera Board: Unable to use commands

Postby NeoMopp » Thu Nov 14, 2013 12:02 pm

Hi,

Just a little forewarning I'm a major newbie to Arch Linux, and to most of Linux as a whole, but I have done my best to follow guides that I have found on the internet. However in trying to enable the camera module on my Raspberry Pi I'm coming up stumped with an error, undoubtedly a trivial error, I can't solve.

I have as suggest in the Raspberry Pi section of the ArchWiki amended my config.txt to contain

$this->bbcode_second_pass_code('', 'start_file=start_x.elf
fixup_file=fixup_x.dat')

I then manually modified my user path to allow for access to the camera commands with the following

$this->bbcode_second_pass_code('', 'PATH=$PATH: /opt/vc/bin')

Now when I run the command: $this->bbcode_second_pass_code('', 'raspistill -o test.jpg') I am greeted by the following error.

$this->bbcode_second_pass_code('', 'failed to open vchiq instance')

I have followed the guides I found and installed myself as a sudo user rather than acting as root, further more I dont have any graphical desktop environment installed. I am running this all through PuTTy.

Thank you for any assistance and I apologise if this is the incorrect place to be asking such questions

NeoMopp
NeoMopp
 
Posts: 2
Joined: Thu Nov 14, 2013 11:13 am

Re: Raspberry Pi Camera Board: Unable to use commands

Postby NeoMopp » Thu Nov 14, 2013 1:07 pm

I fixed my problem by first running

$this->bbcode_second_pass_code('', 'sudo usermod -a -G video [your_username]')

Then running

$this->bbcode_second_pass_code('', 'sudo raspistill -o test.jpg')

Sorry
NeoMopp
 
Posts: 2
Joined: Thu Nov 14, 2013 11:13 am

Re: Raspberry Pi Camera Board: Unable to use commands

Postby pepedog » Thu Nov 14, 2013 1:57 pm

Don't be sorry
Is this in etc/udev/rules.d/raspberrypi.rules
SUBSYSTEM=="vchiq|input", MODE="0777"
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 1 guest