Skip to content

device/tegu TELEPHONY-PLAN: call audio and starting the modem at boot - #360

Merged
derekross merged 3 commits into
derekross:mainfrom
W4HO-ham:tegu-telephony-plan
Nov 3, 2026
Merged

derekross merged 3 commits into
derekross:mainfrom
W4HO-ham:tegu-telephony-plan

Conversation

@W4HO-ham

@W4HO-ham W4HO-ham commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

The SIM test passed with the modem and the RIL started by hand (#356). This plan covers the two steps between that and a palmtop that works as a phone on its own, and nothing in it has run yet:

  • Call audio: stock's route from the 9a's own audio HAL (EP5 playback to TDM 0 for the downlink, EP4 capture from the built-in microphones for the uplink, the ALSA prepare and close of EP5 as the AoC's modem start and stop), the smallest route for one speakerphone call through voice_audio.py, a gain caveat (the TAS2572 profile rewrites gains at start, and PipeWire's ceiling doesn't cover this route), and the AoC voice window to audit before any call. Before the first call, sitd's safety stop on an unconfirmed release needs a 9a answer: it stops the modem in place, which hard-reset the palmtop once.
  • Starting the modem at boot: opt-in and attended at first. The packaging fix (omamobile-modem depends on omamobile-device-cheetah; the omamobile-modem-policy virtual instead), one modem service with tegu's start and an explicit ONLINE check before sitd, a preflight that closes the NV-check gaps (modem_b not hashed, persist exempt from the read-only check), a per-boot marker and a persistent latch, and the sleep inhibitor held until shutdown.

tools/pr-check passes.

@derekross

Copy link
Copy Markdown
Owner

Thank you, this is a careful plan: the NV gaps you name are real (main's profile doesn't hash modem_b and only checks persist for being unmounted), and the call-audio route stays clear of the amplifier return path. Since you opened it, speakerphone calls and the boot start have both run, so could you update the status line and mark which §2 items #372 does and which remain targets? Then it's good to merge.

The SIM test passed with everything started by hand. This plans the two steps to a palmtop that works as a phone on its own: the call audio route from the 9a's stock audio HAL (EP5 down, EP4 up, the TAS2572 gain caveat, the AoC voice window to audit) with the safety gap in sitd's call release to close first, and an opt-in boot start for the modem with its guards and the packaging fix.
@W4HO-ham

W4HO-ham commented Nov 3, 2026

Copy link
Copy Markdown
Contributor Author

Updated: the status line now says what has run (speakerphone calls through section 1's route, and the cold boot through #372's unit), and each section 2 item says what #363 or #372 does and what remains a target.

@W4HO-ham
W4HO-ham force-pushed the tegu-telephony-plan branch from 96f19bb to 7db4729 Compare November 3, 2026 05:45
… boot

Derek asked for one with derekross#372: preconditions, one step per boot, Expect/Pass, stop conditions and rollback, with the cold boot, the clean shutdown that removes the latch and the UFS count recorded here.
@derekross

Copy link
Copy Markdown
Owner

Thanks, the status line and the Done/Partly/Target marks are exactly what I needed, and the §2.7 runbook is a good addition (attended, one step per boot, with the latch and the UFS count recorded). One wording tidy whenever you next touch the file: in items 3 to 6 of section 2 the old sentence's tail now hangs after the new status words, e.g. item 3 reads "…are still to do. the kernel, DT, firmware, private provisioning and board properties present; …". Not holding the merge on it.

@derekross
derekross merged commit 3e4ff91 into derekross:main Nov 3, 2026
2 checks passed
W4HO-ham added a commit to W4HO-ham/omarchy-mobile that referenced this pull request Nov 3, 2026
…s again

The status words added in derekross#360 left each item's old sentence hanging after them. Each item now says what derekross#372 does and what is still the target, in whole sentences.
W4HO-ham added a commit to W4HO-ham/omarchy-mobile that referenced this pull request Nov 3, 2026
…s again

The status words added in derekross#360 left each item's old sentence hanging after them. Each item now says what derekross#372 does and what is still the target, in whole sentences.
W4HO-ham added a commit to W4HO-ham/omarchy-mobile that referenced this pull request Nov 3, 2026
…s again

The status words added in derekross#360 left each item's old sentence hanging after them. Each item now says what derekross#372 does and what is still the target, in whole sentences.
W4HO-ham added a commit to W4HO-ham/omarchy-mobile that referenced this pull request Nov 4, 2026
…s again

The status words added in derekross#360 left each item's old sentence hanging after them. Each item now says what derekross#372 does and what is still the target, in whole sentences.
W4HO-ham added a commit to W4HO-ham/omarchy-mobile that referenced this pull request Nov 9, 2026
…s again

The status words added in derekross#360 left each item's old sentence hanging after them. Each item now says what derekross#372 does and what is still the target, in whole sentences.
W4HO-ham added a commit to W4HO-ham/omarchy-mobile that referenced this pull request Nov 9, 2026
…s again

The status words added in derekross#360 left each item's old sentence hanging after them. Each item now says what derekross#372 does and what is still the target, in whole sentences.
W4HO-ham added a commit to W4HO-ham/omarchy-mobile that referenced this pull request Nov 9, 2026
…s again

The status words added in derekross#360 left each item's old sentence hanging after them. Each item now says what derekross#372 does and what is still the target, in whole sentences.
robertzas pushed a commit to robertzas/omarchy-mobile that referenced this pull request Nov 14, 2026
…derekross#360)

* device/tegu TELEPHONY-PLAN: call audio and starting the modem at boot

The SIM test passed with everything started by hand. This plans the two steps to a palmtop that works as a phone on its own: the call audio route from the 9a's stock audio HAL (EP5 down, EP4 up, the TAS2572 gain caveat, the AoC voice window to audit) with the safety gap in sitd's call release to close first, and an opt-in boot start for the modem with its guards and the packaging fix.

* device/tegu TELEPHONY-PLAN: what has run, and which section 2 items derekross#363 and derekross#372 do

* device/tegu TELEPHONY-PLAN: a gated runbook for enabling the modem at boot

Derek asked for one with derekross#372: preconditions, one step per boot, Expect/Pass, stop conditions and rollback, with the cold boot, the clean shutdown that removes the latch and the UFS count recorded here.
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