[opensuse-arm] Support for RPi camera in openSUSE for Rasberry Pi?
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. -- fr.gr. member openSUSE Freek de Kruijf -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On Thu, Mar 10, 2016 at 12:53:49PM +0100, Freek de Kruijf wrote:
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.
I managed to get the camera working with some version of the rasperry usreland package from a "random" repository. I don't have access to the device now so I could take a look, it had "gfx" in it's name (raspberrypi-gfx?) and any update wanted to remove the package so I guess it was something really old and not supported. The distro is based on 13.1. -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Le 10/03/2016 13:17, David Sterba a écrit :
On Thu, Mar 10, 2016 at 12:53:49PM +0100, Freek de Kruijf wrote:
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. I managed to get the camera working with some version of the rasperry usreland package from a "random" repository. I don't have access to the device now so I could take a look, it had "gfx" in it's name (raspberrypi-gfx?) and any update wanted to remove the package so I guess it was something really old and not supported. The distro is based on 13.1.
raspberrypi-gfx has been replaced by raspberrypi-userland package. Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
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 -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
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? -- fr.gr. member openSUSE Freek de Kruijf -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
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. Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
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 -- fr.gr. member openSUSE Freek de Kruijf -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
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 -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
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. 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? -- fr.gr. member openSUSE Freek de Kruijf -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
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 -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
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: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi Freek,
mmal: Failed to create camera component mmal: main: Failed to create camera component mmal: Failed to run camera app. Please check for firmware updates
did you raise gpu memory to at least 128MB as advertised in http://raspberrypi.stackexchange.com/questions/14229/how-can-i-enable-the-ca...
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
you can only use the proprietary videocore capturing (e.g. raspistill) or v4l, but not both. you also have to reboot completely when switching.
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.
My guess is that you need to switch to the raspberrypi-userland mesa libraries, but I haven't tried.
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
yeah, the module needs to be *blacklisted* (not loaded) for raspistill. Greetings, Dirk -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 13.03.16 18:22, Freek de Kruijf wrote:
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?
I think the best way forward would be to just ignore the fact that raspistill even exists and try to find a tool that does what you need using the v4l interface :). I found a list of tools with a quick google search: http://www.tldp.org/HOWTO/Webcam-HOWTO/framegrabbers.html however, none of these seem to be part of openSUSE / packman and built for armv7. Looking at the second hit on google instead though, you come across this link: http://unix.stackexchange.com/questions/98210/capture-raw-image-from-v4l-web... which points at a tool called "fswebcam" which is part of the normal openSUSE distribution. Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Le 11/03/2016 10:44, Freek de Kruijf a écrit :
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?
Which kernel do you use? Is it a Tumblewwed image? Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (5)
-
Alexander Graf
-
David Sterba
-
Dirk Müller
-
Freek de Kruijf
-
Guillaume Gardet