Skip to content

omamobile-audio 0.5.13: the earpiece works at the louder stage, with the boost converter on - #402

Merged
derekross merged 1 commit into
mainfrom
omamobile-audio-earpiece-boost
Nov 3, 2026
Merged

derekross merged 1 commit into
mainfrom
omamobile-audio-earpiece-boost

Conversation

@derekross

Copy link
Copy Markdown
Owner

What

omamobile-speaker-protection earpiece on refused whenever the last start had left the amplifiers' boost converter on ("the earpiece (analog 6) needs the boost converter off (AOC-PLAN C9j)"), unless OMAMOBILE_SPK_BOOST=1 asked for it. The converter is a module-wide parameter set when the amplifiers probe, and stage c9 (the louder default on verified firmware since 0.5.8: digital 817, analog 11/14) leaves it on, so every call on such a phone was refused earpiece audio, and the maintainer had to run the speakers at stage media for calls.

0.5.13 takes the converter as the last start left it, in every stage, and records its state in the status line as before. Nothing else is refused or accepted differently: the level ceilings, the limits check, the health check, the hang marker and the watchdog handshake stay. OMAMOBILE_SPK_BOOST keeps its meaning for the start (the speakers); earpiece mode no longer reads it, so OMAMOBILE_SPK_BOOST=1 with the converter off is no longer refused either (it never did anything for the earpiece).

Why it is safe

  • C9j's light-load distortion was measured under music on the speakers (10-50 % THD on a 1 kHz tone at analog 10 and below) and doesn't apply to the voice path.
  • On 2026-11-03 the maintainer ran the earpiece at 657/6 with the boost on at stage c9 (OMAMOBILE_SPK_BOOST=1, earpiece on through omamobile-earpiece@on.service: Top 657/6 through ASP, the bottom muted) on a VoLTE call: no static, no hum.
  • Stock's own handset path runs the top amplifier with the boost on (mixer_paths.xml handset: analog 7).
  • Nothing in this change raises a level or touches the boost peak current; the earpiece ceilings (737/6, and the stage's own digital ceiling) are unchanged. omamobile-modem-sit's check_levels already accepts earpiece mode at any stage (its earpiece ceilings don't read the bottom's analog gain), so call audio at stage c9 needs nothing there.

Files

Overlap with #398

Checks

  • packages/omamobile-audio/test/all
  • tests/all
  • tools/pr-check origin/main

No phone was touched; the 2026-11-03 result is the maintainer's own.

🤖 Generated with Claude Code

https://claude.ai/code/session_01BeEcdVeSfyLCbijF8XQF1d

…the boost converter on

`omamobile-speaker-protection earpiece on` refused whenever the last
start had left the amplifiers' boost converter on, unless
OMAMOBILE_SPK_BOOST=1 asked for it, because C9j found the converter
distorting in its light-load regime at analog 10 and below. The
converter is a module-wide parameter set when the amplifiers probe, and
stage c9 (the louder default on verified firmware since 0.5.8: digital
817, analog 11/14) leaves it on, so every call on such a phone was
refused earpiece audio, and the owner had to run the speakers at stage
media for calls (the DEVICES matrix said "the louder stage and the
earpiece exclude each other for now").

C9j's finding was under music on the speakers and doesn't apply to the
voice path. On 2026-11-03 the owner ran the earpiece at 657/6 with the
boost on at stage c9 (OMAMOBILE_SPK_BOOST=1, earpiece on through
omamobile-earpiece@on.service: Top 657/6 through ASP, the bottom muted)
on a VoLTE call and found it clean: no static, no hum. Stock's own
handset path also runs the top amplifier with the boost on
(mixer_paths.xml handset: analog 7).

So `earpiece on` now takes the converter as the last start left it, in
every stage, and records its state in the status line, as before. No
other refusal changes, and OMAMOBILE_SPK_BOOST keeps its meaning for the
start (the speakers): earpiece mode no longer reads it at all, so
OMAMOBILE_SPK_BOOST=1 with the converter off is no longer refused either.
The tests expect the acceptance now, at stage media with the converter
forced on and at stage c9 against a live watchdog, with `off` restoring
the stage's levels. speaker.conf, the README, AOC-PLAN C9j/C9k (a dated
note) and the DEVICES matrix say the earpiece works at every stage.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BeEcdVeSfyLCbijF8XQF1d
@derekross

Copy link
Copy Markdown
Owner Author

Thanks, this is the right fix: the refusal was a quality guard from the speaker measurements, not a safety one, and it was silencing every call on a phone at the louder stage. I read the earpiece path and the watchdog: nothing about the levels, the ceilings, the limits and health checks or the watchdog's earpiece rules changes, and OMAMOBILE_SPK_BOOST keeps its meaning for the start. tools/pr-check is clean and packages/omamobile-audio/test/all passes here (43 ok), with the new stage c9 case against a live watchdog. Two small follow-ups, neither blocking: the C9k note could carry the kernel release and the package version that ran (0.5.10 with OMAMOBILE_SPK_BOOST=1, which writes the same controls as 0.5.13), and "doesn't apply to the voice path" is stronger than what we heard: the C9j numbers were tones on the speakers at 737/10, and one call shows the earpiece at 657/6 with the converter on was clean by ear. Merging first; #398 keeps its boot text with this sentence in the Modem row and drops its "needs stage media" line.

@derekross
derekross merged commit 4557ce5 into main Nov 3, 2026
2 checks passed
@derekross
derekross deleted the omamobile-audio-earpiece-boost branch November 3, 2026 15:21
robertzas pushed a commit to robertzas/omarchy-mobile that referenced this pull request Nov 14, 2026
…the boost converter on (derekross#402)

`omamobile-speaker-protection earpiece on` refused whenever the last
start had left the amplifiers' boost converter on, unless
OMAMOBILE_SPK_BOOST=1 asked for it, because C9j found the converter
distorting in its light-load regime at analog 10 and below. The
converter is a module-wide parameter set when the amplifiers probe, and
stage c9 (the louder default on verified firmware since 0.5.8: digital
817, analog 11/14) leaves it on, so every call on such a phone was
refused earpiece audio, and the owner had to run the speakers at stage
media for calls (the DEVICES matrix said "the louder stage and the
earpiece exclude each other for now").

C9j's finding was under music on the speakers and doesn't apply to the
voice path. On 2026-11-03 the owner ran the earpiece at 657/6 with the
boost on at stage c9 (OMAMOBILE_SPK_BOOST=1, earpiece on through
omamobile-earpiece@on.service: Top 657/6 through ASP, the bottom muted)
on a VoLTE call and found it clean: no static, no hum. Stock's own
handset path also runs the top amplifier with the boost on
(mixer_paths.xml handset: analog 7).

So `earpiece on` now takes the converter as the last start left it, in
every stage, and records its state in the status line, as before. No
other refusal changes, and OMAMOBILE_SPK_BOOST keeps its meaning for the
start (the speakers): earpiece mode no longer reads it at all, so
OMAMOBILE_SPK_BOOST=1 with the converter off is no longer refused either.
The tests expect the acceptance now, at stage media with the converter
forced on and at stage c9 against a live watchdog, with `off` restoring
the stage's levels. speaker.conf, the README, AOC-PLAN C9j/C9k (a dated
note) and the DEVICES matrix say the earpiece works at every stage.

Claude-Session: https://claude.ai/code/session_01BeEcdVeSfyLCbijF8XQF1d

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
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.

1 participant