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

Update graphics-utilities.adoc #2123

Merged
merged 3 commits into from Sep 1, 2021
Merged

Update graphics-utilities.adoc #2123

merged 3 commits into from Sep 1, 2021

Conversation

ghost
Copy link

@ghost ghost commented Aug 23, 2021

Document pmic subcommand to vcgencmd measure_temp

@ghost
Copy link
Author

ghost commented Aug 23, 2021

Related PR in userland repo - man page update - raspberrypi/userland#703

@@ -138,7 +138,7 @@ Returns the throttled state of the system. This is a bit pattern - a bit being s

==== measure_temp

Returns the temperature of the SoC as measured by the on-board temperature sensor.
Returns the temperature of the SoC as measured by its internal temperature sensor. On Raspberry Pi 4 the `pmic` subcommand can be used to instead return the temperature of the PMIC.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not entirely clear if this means vcgencmd pmic or vcgencmd measure_temp pmic?
Also, I may just be reading it wrong but the "instead" implies that the former option isn't available and only the latter option is available? Maybe it's worth rewording to use "also" to clarify that both options are available, IYSWIM?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've changed the wording slightly.

(A quick test on a Pi 3B+ and Pi 1 reveals that on pre-Pi4 boards, vcgencmd measure_temp pmic will silently ignore the pmic parameter and just return the temperature of the SoC).

@aallan
Copy link
Contributor

aallan commented Sep 1, 2021

Ready to merge?

Copy link
Contributor

@lurch lurch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aallan aallan merged commit d577ba7 into raspberrypi:develop Sep 1, 2021
@ghost ghost deleted the patch-2 branch September 1, 2021 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants