Op zondag 13 maart 2016 15:01:19 schreef Alexander Graf:
> On 13.03.16 14:54, Freek de Kruijf wrote:
> > Op vrijdag 11 maart 2016 13:33:08 schreef Alexander Graf:
> >> On 11.03.16 13:07, Freek de Kruijf wrote:
> >>> Op vrijdag 11 maart 2016 12:33:14 schreef Alexander Graf:
> >>>> On 11.03.16 10:44, Freek de Kruijf wrote:
> >>>>> Op donderdag 10 maart 2016 13:28:08 schreef Guillaume Gardet:
> >>>>>> Hi,
> >>>>>> 
> >>>>>> Le 10/03/2016 12:53, Freek de Kruijf a écrit :
> >>>>>>> Is there any support for the RPi camera in the openSUSE software for
> >>>>>>> a
> >>>>>>> Raspberry Pi? I tried to find sources, but did not succeed.
> >>>>>> 
> >>>>>> What do you need?
> >>>>>> 
> >>>>>> raspberrypi-userland package provide some RPi tools such as:
> >>>>>> * raspistill
> >>>>>> * raspivid
> >>>>>> * raspividyuv
> >>>>>> * raspiyuv
> >>>>>> 
> >>>>>> Otherwise, standard tool whould work too.
> >>>>>> 
> >>>>>> 
> >>>>>> Guillaume
> >>>>> 
> >>>>> Thanks, one step further. I installed raspberrypi-userland and used
> >>>>> the
> >>>>> command "raspistill -o <some_name>" and got the message:
> >>>>> 
> >>>>> mmal: mmal_component_create_core: could not find component
> >>>>> 'vc.ril.camera'
> >>>>> 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
> >>>>> 
> >>>>> The bash script raspi-config I found seems to be written for Raspian.
> >>>>> On
> >>>>> openSUSE it seems to do nothing.
> >>>>> 
> >>>>> How to continue?
> >>>> 
> >>>> Just a guess into the blue, but maybe the missing part is a device tree
> >>>> entry for the camera. Or just a random Config.txt option.
> >>> 
> >>> I found to insert in /boot/efi/Config.txt:
> >>> 
> >>> # Enable the camera module
> >>> start_x=1
> >>> # Turn off the red camera LED when recording video or taking a still
> >>> picture disable_camera_led=1
> >>> 
> >>> Also appended the following line to /etc/modprobe.d/99-local.conf:
> >>> 
> >>> install bcm2835-v4l2 /bin/true
> >>> 
> >>> This provides the device /dev/video0
> >>> 
> >>> and enabled vcfiled via
> >>> 
> >>> systemctl enable vcfiled.service
> >>> 
> >>> which will start this service after a reboot or after a start command.
> >>> 
> >>> But still raspistill gives:
> >>> 
> >>> mmal: mmal_component_create_core: could not find component
> >>> 'vc.ril.camera'
> >>> mmal: Failed to create camera component
> >>> mmal: main: Failed to create camera component
> >>> mmal: Failed to run camera app. Please check for firmware updates
> >> 
> >> Do normal v4l accessing tools work? Like xawtv?
> >> 
> >> 
> >> Alex
> > 
> > xawtv pulled in 70 packages. Running "xawtv -hwinfo" showed the error
> > message:
> > 
> > This is xawtv-3.103, running on Linux/armv7l (3.18.14-5-rpi2)
> > Error: Can't open display:
> > 
> > which makes sense because I do not have an X display.
> 
> Just ssh -X into the machine, that should give you X forwarding :).
> 
> > Also "raspistill -o <some_name>" gives the same message as before; the new
> > installed packages did not change that.
> > 
> > The man page of xawtv tells about a remote display, but I have no idea how
> > to set that up. Something like making a ssh connection using -X in the
> > command?
> Yes! :)
> 
> 
> Alex

I succeeded in getting the xawtv working via X forwarding. I now have a jpeg 
image with 2048x1536 pixels by pressing J on my desktop and using xawtx -o a

How to proceed using raspistill?

The error message is:
mmal: mmal_component_create_core: could not find component 'vc.ril.camera'
mmal: Failed to create camera component
mmal: main: Failed to create camera component
mmal: Failed to run camera app. Please check for firmware updates

I found an answer on a search for the first line:
 if you compiled against glibc it won't work, you will need to include static 
libs.

Other answers indicated a loose connection at the camera end, but because of 
the working xawtv this is very unlikely the problem.

I also still have a problem in getting /dev/video0. I needed to use
 modprobe -i bcm2835_v4l2 to get this device.
I do have "install bcm2835-v4l2 /bin/true" in /etc/modprobe.d/99-local.conf

-- 
fr.gr.

member openSUSE
Freek de Kruijf

--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to