[opensuse-arm] Is there any support for a Raspberry Pi camera in an openSUSE system?
I searched on the Internet for the answer. Did not find even the question. Is there any support for a Raspberry Pi camera, bcm2835, on a Rasphberry Pi in an openSUSE system? -- 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
Op donderdag 4 april 2019 21:01:07 CEST schreef Freek de Kruijf:
I searched on the Internet for the answer. Did not find even the question.
Is there any support for a Raspberry Pi camera, bcm2835, on a Rasphberry Pi in an openSUSE system?
Started with the latest Tumbleweed image for the Raspberry Pi 3B (aarch64). This one contains kernel version 4.20.13-1.1. Did find some information, even found that the kernel module bcm2835-v4l2 is present in the kernel-default package. Also found that gpu_mem in /boot/efi/config.txt needs to be at least 128. Did give the command "modprobe -i bcm2835-v4l2 which indeed loaded the module together with other modules. However got the warning: bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned. And the error messages: bcm2835-v4l2: error -1 while loading driver bcm2835-camera: probe of bcm2835-camera failed with error -1 After removing this module and installing it again I got: vchiq: module is from the staging directory, the quality is unknown, you have been warned. vchiq: vchiq_init_state: slot_zero = ffff00000cb75000, is_master = 0 bcm2835_vchiq 3f00b840.mailbox: failed to set channelbase vchiq: could not load vchiq bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned. The visible result is that the device /dev/video0, which should appear, is not present. Is there anything I can do to improve the situation? -- 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 10/04/2019 12:36, Freek de Kruijf wrote:
Op donderdag 4 april 2019 21:01:07 CEST schreef Freek de Kruijf:
I searched on the Internet for the answer. Did not find even the question.
Is there any support for a Raspberry Pi camera, bcm2835, on a Rasphberry Pi in an openSUSE system?
Started with the latest Tumbleweed image for the Raspberry Pi 3B (aarch64). This one contains kernel version 4.20.13-1.1. Did find some information, even found that the kernel module bcm2835-v4l2 is present in the kernel-default package. Also found that gpu_mem in /boot/efi/config.txt needs to be at least 128. Did give the command "modprobe -i bcm2835-v4l2 which indeed loaded the module together with other modules. However got the warning: bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned. And the error messages: bcm2835-v4l2: error -1 while loading driver bcm2835-camera: probe of bcm2835-camera failed with error -1
I had a quick glance at the source and it is not clear to me where this error comes from. You could try to install the kernel from our Kernel:HEAD repository and retry: https://download.opensuse.org/repositories/Kernel:/HEAD/ARM/ Regards, Matthias
After removing this module and installing it again I got: vchiq: module is from the staging directory, the quality is unknown, you have been warned. vchiq: vchiq_init_state: slot_zero = ffff00000cb75000, is_master = 0 bcm2835_vchiq 3f00b840.mailbox: failed to set channelbase vchiq: could not load vchiq bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
The visible result is that the device /dev/video0, which should appear, is not present.
Is there anything I can do to improve the situation?
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Op woensdag 10 april 2019 16:22:06 CEST schreef Matthias Brugger:
On 10/04/2019 12:36, Freek de Kruijf wrote:
Op donderdag 4 april 2019 21:01:07 CEST schreef Freek de Kruijf:
I searched on the Internet for the answer. Did not find even the question.
Is there any support for a Raspberry Pi camera, bcm2835, on a Rasphberry Pi in an openSUSE system?
Started with the latest Tumbleweed image for the Raspberry Pi 3B (aarch64). This one contains kernel version 4.20.13-1.1. Did find some information, even found that the kernel module bcm2835-v4l2 is present in the kernel-default package. Also found that gpu_mem in /boot/efi/config.txt needs to be at least 128. Did give the command "modprobe -i bcm2835-v4l2 which indeed loaded the module together with other modules. However got the warning: bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned. And the error messages: bcm2835-v4l2: error -1 while loading driver bcm2835-camera: probe of bcm2835-camera failed with error -1
I had a quick glance at the source and it is not clear to me where this error comes from. You could try to install the kernel from our Kernel:HEAD repository and retry: https://download.opensuse.org/repositories/Kernel:/HEAD/ARM/
Still the same problem. Output: media: Linux media interface: v0.10 videodev: Linux video capture interface: v2.00 bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned. bcm2835_v4l2: vchiq_mmal_component_init: failed to create component -1 (Not enough GPU mem?) bcm2835-v4l2: bcm2835_mmal_probe: mmal init failed: -1 bcm2835-camera: probe of bcm2835-camera failed with error -1 Before installation of kernel-default-5.1.rc4-1.1.g1478096 I changed gpu_mem to 128, however it was back to 32 afterwards. So I changed it first to 128 and later 192 (max). Did not help. -- 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 10/04/2019 22:02, Freek de Kruijf wrote:
Op woensdag 10 april 2019 16:22:06 CEST schreef Matthias Brugger:
On 10/04/2019 12:36, Freek de Kruijf wrote:
Op donderdag 4 april 2019 21:01:07 CEST schreef Freek de Kruijf:
I searched on the Internet for the answer. Did not find even the question.
Is there any support for a Raspberry Pi camera, bcm2835, on a Rasphberry Pi in an openSUSE system?
Started with the latest Tumbleweed image for the Raspberry Pi 3B (aarch64). This one contains kernel version 4.20.13-1.1. Did find some information, even found that the kernel module bcm2835-v4l2 is present in the kernel-default package. Also found that gpu_mem in /boot/efi/config.txt needs to be at least 128. Did give the command "modprobe -i bcm2835-v4l2 which indeed loaded the module together with other modules. However got the warning: bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned. And the error messages: bcm2835-v4l2: error -1 while loading driver bcm2835-camera: probe of bcm2835-camera failed with error -1
I had a quick glance at the source and it is not clear to me where this error comes from. You could try to install the kernel from our Kernel:HEAD repository and retry: https://download.opensuse.org/repositories/Kernel:/HEAD/ARM/
Still the same problem. Output: media: Linux media interface: v0.10 videodev: Linux video capture interface: v2.00 bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned. bcm2835_v4l2: vchiq_mmal_component_init: failed to create component -1 (Not enough GPU mem?) bcm2835-v4l2: bcm2835_mmal_probe: mmal init failed: -1 bcm2835-camera: probe of bcm2835-camera failed with error -1
Well that give us at least some more hints. :)
Before installation of kernel-default-5.1.rc4-1.1.g1478096 I changed gpu_mem to 128, however it was back to 32 afterwards. So I changed it first to 128 and later 192 (max). Did not help.
How did you changed it? What do you mean with "it was back to 32 afterwards"? Regards, Matthias -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Op donderdag 11 april 2019 13:59:16 CEST schreef Matthias Brugger:
On 10/04/2019 22:02, Freek de Kruijf wrote: Well that give us at least some more hints. :)
Hope you will find the culprit.
Before installation of kernel-default-5.1.rc4-1.1.g1478096 I changed gpu_mem to 128, however it was back to 32 afterwards. So I changed it first to 128 and later 192 (max). Did not help.
How did you changed it? What do you mean with "it was back to 32 afterwards"?
After installation of the new kernel the value of gpu_mem was set back to 32. It was not left alone, as I would expect.
Regards, Matthias
-- 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
Am 11.04.19 um 18:58 schrieb Freek de Kruijf:
Op donderdag 11 april 2019 13:59:16 CEST schreef Matthias Brugger:
On 10/04/2019 22:02, Freek de Kruijf wrote:
Before installation of kernel-default-5.1.rc4-1.1.g1478096 I changed gpu_mem to 128, however it was back to 32 afterwards. So I changed it first to 128 and later 192 (max). Did not help.
How did you changed it? What do you mean with "it was back to 32 afterwards"?
After installation of the new kernel the value of gpu_mem was set back to 32. It was not left alone, as I would expect.
You need to set your options in extraconfig.txt, not config.txt. config.txt gets overwritten with default settings on package update. Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (3)
-
Andreas Färber
-
Freek de Kruijf
-
Matthias Brugger