`raspinfo` on a Pi 5 gives vcgencmd errors

Open
#39 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
raspberry-pi
Domain
embedded-iot

Research direction

Start with the raspinfo file linked in the issue and trace its handling of vcgencmd get_camera and vcgencmd mem_reloc_stats on Raspberry Pi 5. Compare the reported command errors with the expected Pi 5 behavior, then verify that raspinfo completes without these erroneous failures and preserves useful output.

Written by the indexing model from the issue text.

Description

Just to double-check, I downloaded the very latest version and there's still a couple of bits that don't work:

$ Downloads/raspinfo | grep -C3 vc_gencmd
Serial          : 1c96860cc48df543
Model           : Raspberry Pi 5 Model B Rev 1.0
Throttled flag  : throttled=0x0
Camera          : vc_gencmd_read_response returned -1 error=1 error_msg="Command not registered"

Videocore information
---------------------
--
Copyright (c) 2012 Broadcom
version b74d18ae (release) (embedded)

vc_gencmd_read_response returned -1
error=1 error_msg="Command not registered"

Filesystem information

Looks like the bits that are failing are vcgencmd get_camera and vcgencmd mem_reloc_stats.

Dominant language
C
Stars
346
Forks
98
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/utils

All issues in raspberrypi/utils

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.