raspberrypi / firmware

This repository contains pre-compiled binaries of the current Raspberry Pi kernel and modules, userspace libraries, and bootloader/GPU firmware.
5.18k stars 1.68k forks source link

vcgencmd get_config doesn't work for ":0", ":1", etc. settings #1406

Open Phlamethrower opened 4 years ago

Phlamethrower commented 4 years ago

Describe the bug vcgencmd get_config hdmi_pixel_freq_limit:0 returns the error hdmi_pixel_freq_limit:0 is unknown, despite the fact that vcgencmd get_config int lists a value for it. The other settings with ":0" or ":1" suffixes appear to be affected in the same way. Behaviour seems to be the same regardless of whether a value for the setting is specified in config.txt (and regardless of whether the old-style hdmi_pixel_freq_limit or new-style hdmi_pixel_freq_limit:0 name is used).

To reproduce

$ vcgencmd get_config hdmi_pixel_freq_limit:0

Expected behaviour

hdmi_pixel_freq_limit:0=0x11ea1a300

(or similar), as per vcgencmd get_config int

Actual behaviour

hdmi_pixel_freq_limit:0 is unknown

System

Also seen under RISC OS with May 27th firmware on Pi 4B & 3B

JamesH65 commented 4 years ago

So it does. I'll take a look next week.

bhtooefr commented 4 years ago

This issue still seems to be present, FWIW.

*vcgencmd version
Oct 22 2020 14:06:02
Copyright (c) 2012 Broadcom
version 74e754ff8947c58d2773253f77f6f68a303188f8 (clean) (release) (start)

(latest)