Skip to content

Fix fan detection on M5 Max (Mac17,6)#2

Open
sammcj wants to merge 1 commit into
ProducerGuy:mainfrom
sammcj:fix_m5_max
Open

Fix fan detection on M5 Max (Mac17,6)#2
sammcj wants to merge 1 commit into
ProducerGuy:mainfrom
sammcj:fix_m5_max

Conversation

@sammcj
Copy link
Copy Markdown

@sammcj sammcj commented May 7, 2026

FNum is absent on some Apple Silicon SKUs (verified on MacBook Pro M5 Max Mac17,6). fanCount() previously threw readFailed("FNum"), which broke status, set, max, auto, and the menu bar app's monitor tick (which calls status() and silently swallows errors).

Fall back to probing FAc (0..<10) when FNum is missing, returning the count of present actual-RPM keys. Existing FNum-supporting hardware is unaffected.

FNum is absent on some Apple Silicon SKUs (verified on MacBook Pro
M5 Max Mac17,6). fanCount() previously threw readFailed("FNum"),
which broke status, set, max, auto, and the menu bar app's monitor
tick (which calls status() and silently swallows errors).

Fall back to probing F<i>Ac (0..<10) when FNum is missing, returning
the count of present actual-RPM keys. Existing FNum-supporting
hardware is unaffected.
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.

2 participants