Skip to content

observer: remove PSU's auxiliary rail - #2653

Merged
evan-oxide merged 2 commits into
masterfrom
evan/remove-aux-rail-from-mwocp67
Aug 20, 2026
Merged

observer: remove PSU's auxiliary rail#2653
evan-oxide merged 2 commits into
masterfrom
evan/remove-aux-rail-from-mwocp67

Conversation

@evan-oxide

Copy link
Copy Markdown
Contributor

It turns out that the MWOCP67 PSU's auxiliary rail is not accessible over PMBus, so this PR removes it from the manifest. I had to update the i2c codegen snapshot tests, but it was actually quite nice to see what had changed.

Tested by running humility power and confirming that now only the main rail of each PSU is shown.

@evan-oxide
evan-oxide requested review from hawkw and jamesmunns August 19, 2026 19:54
Comment thread app/observer/base.toml
Comment on lines +445 to +448
# rail is accessible over PMBus. The PSU does allow you to set the page to 0 or
# 1, but this has no effect; in either case, commands like READ_VOUT just report
# readings for the main rail, and Murata has confirmed that this is the intended
# behavior. Therefore, we only define the main rail here.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

man, that's so cool. why would they design it like that???

@hawkw hawkw left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

well, that's unfortunate (but in no way your fault). good job murata, very nice.

struct EreportFields {
refdes: FixedStr<'static, 20>, // Component ID max length
rail: FixedString<13>, // Example: "V54_PSU0"
rail: FixedString<8>, // Example: "V54_PSU0"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

well, that's nice, i guess, at least.

Comment thread app/observer/base.toml
description = "PSU 0 MCU"
# TODO it's not clear what rails the mwocp67 has or how they are paged.
# https://github.com/oxidecomputer/hubris/issues/2410
power = { rails = [ "V50_MAIN_PSU0", "V50_AUX_PSU0" ], sensors = ["voltage", "current", "input-voltage", "input-current"] }

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

it has occurred to me that even if the aux rail did work, we would have needed to change its name here, since it's not 50V.

@jamesmunns jamesmunns left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Glad to hear the snapshot updating wasn't painful!

This only affects the mwocp67 and not the mwocp68, right?

@evan-oxide

Copy link
Copy Markdown
Contributor Author

This only affects the mwocp67 and not the mwocp68, right?

Correct, we can still read the mwocp68's aux rail.

@evan-oxide
evan-oxide merged commit 4c371f0 into master Aug 20, 2026
190 checks passed
@evan-oxide
evan-oxide deleted the evan/remove-aux-rail-from-mwocp67 branch August 20, 2026 16:00
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.

3 participants