Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using pi-camera-connect with a CM3+ #28

Closed
wants to merge 1 commit into from

Conversation

der-ule
Copy link

@der-ule der-ule commented Dec 8, 2020

Solves error "(node:2021) UnhandledPromiseRejectionWarning: Error: Could not determine JPEG signature. Unknown system model 'BCM2835'"

P.S. The error only arises when using the StreamCamera, not the StillCamera

EDIT: Added system information

pi@raspberrypi:~/clog/clog_server $ uname -a
Linux raspberrypi 5.4.70-v7+ #3 SMP Fri Oct 16 19:24:58 CEST 2020 armv7l GNU/Linux
pi@raspberrypi:~/clog/clog_server $ cat /etc/os-release 
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
pi@raspberrypi:~/clog/clog_server $ vcgencmd version
Aug 19 2020 17:41:31 
Copyright (c) 2012 Broadcom
version e90cba19a98a0d1f2ef086b9cafcbca00778f094 (clean) (release) (start_x)

…or: Could not determine JPEG signature. Unknown system model 'BCM2835'"
@gregnr
Copy link
Contributor

gregnr commented Dec 13, 2020

Thanks for the PR @der-ule and sorry for the delay. We have decided to remove the Pi model check altogether, since so far every model appears to use the same JPEG signature. This makes the library less brittle to changes that are outside of our control.

More details can be found here: #23 (comment)

This change is available now on v0.3.4.

@gregnr gregnr closed this Dec 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants