Repository navigation
Conversation
07de74f to
8d40ec2
Compare
8d40ec2 to
e43bb52
Compare
b4cc8be to
26f93e7
Compare
|
🙌 This would be very nice to have @prmths128, does it work? |
|
Hello @prmths128. Can this be merged? See also #791 if there is any overlap. @benoit-cty can you check? |
26f93e7 to
13eefdd
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #797 +/- ##
==========================================
+ Coverage 91.55% 92.21% +0.65%
==========================================
Files 49 49
Lines 5082 5289 +207
==========================================
+ Hits 4653 4877 +224
+ Misses 429 412 -17 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
28be34c to
93689c3
Compare
3123f1b to
6955c19
Compare
davidberenstein1957
left a comment
There was a problem hiding this comment.
Pinging for an update: has this run on a real Raspberry Pi, and which models expose vcgencmd pmic_read_adc? Adding the model, OS and a sample of the command's output to the description would unblock the review. Of the two Pi PRs this is the reviewable one, so it is worth finishing.
|
@prmths128 can you test it on your hardware ? |
The Pi 4 ships vcgencmd but has no pmic_read_adc, so is_raspberry() now checks the command actually returns readings; the Pi 4 then uses the Cortex-A72 TDP. The PMIC parser skips lines it cannot parse instead of crashing, and vcgencmd calls get a timeout. Also drop a per-measurement debug log and a duplicated DDR rail. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add support for rpi power metrics (from rpi tools, using
vcgencmd pmic_read_adc)