[solved] PiCam not working after recent update

This forum is for discussion about general software issues.

[solved] PiCam not working after recent update

Postby bernd7 » Sat Feb 18, 2017 12:33 pm

Hi,
after the recent update on 3 different Raspberry Pis (armv6h and armv7h) with pacman -Syu, the PiCam stopped working. For example, when calling /opt/vc/bin/raspistill -o /dev/null -t 2 the result was:

$this->bbcode_second_pass_code('', 'mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
mmal: camera component couldn't be enabled
mmal: main: Failed to create camera component
mmal: Failed to run camera app. Please check for firmware updates')

In my case, this was the following update (excerpt from the pacman log file):

$this->bbcode_second_pass_code('', '[ALPM] upgraded linux-raspberrypi (4.4.45-1 -> 4.4.48-2)
[ALPM] upgraded raspberrypi-bootloader (20170131-1 -> 20170215-1)
[ALPM] upgraded raspberrypi-bootloader-x (20170131-1 -> 20170215-1)
[ALPM] upgraded raspberrypi-firmware (20170127-1 -> 20170213-1)')

The newest update of the kernel to 4.4.49-1 didn't help either.

After downgrading the packages and rebooting the Pis the raspistill command completed without errors again.

$this->bbcode_second_pass_code('', 'cd /var/cache/pacman/pkg
# For armv7:
pacman -U linux-raspberrypi-4.4.45-1-armv7h.pkg.tar.xz raspberrypi-bootloader-20170131-1-any.pkg.tar.xz raspberrypi-bootloader-x-20170131-1-any.pkg.tar.xz raspberrypi-firmware-20170127-1-any.pkg.tar.xz
# For armv6:
pacman -U linux-raspberrypi-4.4.45-1-armv6h.pkg.tar.xz raspberrypi-bootloader-20170131-1-any.pkg.tar.xz raspberrypi-bootloader-x-20170131-1-any.pkg.tar.xz raspberrypi-firmware-20170127-1-any.pkg.tar.xz')

Since I've found a quick solution that worked for me, I thought I should share it here...

Kind regards,
Bernd
Last edited by bernd7 on Thu Mar 23, 2017 7:47 pm, edited 1 time in total.
bernd7
 
Posts: 8
Joined: Sat Mar 05, 2016 4:19 pm

Re: PiCam not working after recent update

Postby Gyscos » Sun Feb 19, 2017 9:28 am

I can confirm updating to the latest kernel (in my case 4.4.49-1) and firmware results in the same error message appearing.
It seems that my board doesn't see any `/dev/i2c*` device... Maybe that's related?

Is there an Arch Rollback Machine for Archlinux ARM? (An ARM-ARM? <_<)

EDIT: Looks like they're jumping ahead and moving to the 4.9 kernel already?
https://github.com/raspberrypi/firmware ... 1f362da6df
Gyscos
 
Posts: 20
Joined: Wed Feb 11, 2015 7:01 am

Re: PiCam not working after recent update

Postby Gyscos » Fri Feb 24, 2017 7:02 am

Well, I just updated the kernel to 4.9.11, and it looks like I still get the same error.
I just tried a raspbian fresh install, raspi-update'd the kernel to 4.9 as well, and it was working, so I guess something is different somwhere?

EDIT: indeed, the latest update finally works fine! Yay!
Last edited by Gyscos on Wed Mar 29, 2017 6:23 pm, edited 1 time in total.
Gyscos
 
Posts: 20
Joined: Wed Feb 11, 2015 7:01 am

Re: PiCam not working after recent update

Postby bernd7 » Thu Mar 23, 2017 7:47 pm

I gave it another try yesterday. After updating the systems the Pi camera is working without issues. Solved for me :)

Kind regards,
Bernd

Excerpt from pacman.log:

$this->bbcode_second_pass_code('', '[ALPM] upgraded linux-raspberrypi (4.4.45-1 -> 4.9.16-1)
[ALPM] upgraded raspberrypi-bootloader (20170131-1 -> 20170321-1)
[ALPM] upgraded raspberrypi-bootloader-x (20170131-1 -> 20170321-1)
[ALPM] upgraded raspberrypi-firmware (20170127-1 -> 20170321-1)
')
bernd7
 
Posts: 8
Joined: Sat Mar 05, 2016 4:19 pm


Return to General

Who is online

Users browsing this forum: No registered users and 5 guests