Files
mu300-linux/tools/pcmhost
Abdurrahman Kaan DikeçandClaude Opus 5.5 9fdf546b70 mu300-voice: start a call the way the E5 does, with a Bluetooth headset as the output
Based on kanoqwq/e5-linux@402fde1, @8e9b8a4 and @2c726fc (rootfs/overlay/opt/e5/e5-call-audio.py), the
sequence that took the E5's cellular downlink from silent to heard, and on its FINDINGS 59 for the
Bluetooth ordering:

* the hostless FE_ST_VOICE in both directions at 8 kHz mono, both prepared before either starts (pcmhost
  now takes several devices and holds them until signalled)
* profile selects (mode << 24) | (mode << 16) | 5, raw through ctlset, before and after the start;
  VBC_VOLUME = volume + 1, raw
* VBC_DL_MUTE on while routing, then the DAC1 DSP MDG and VBC_DL_MUTE explicitly released
* the bandwidth from /dev/audio_pipe_voice, the profile following it
* output bt: SYS_IIS0 = vbc_iis3, S_VOICE_P/C_BT, VBC_SRC_BT_DAC/ADC again once the scene runs
* every control written is read first and put back by "audio stop"

"watch" follows AT+CLCC and runs the above for every call, connecting mu300-hfp to the headset in
/etc/mu300/voice.conf. mu300-audio-dsp gains install/uninstall for an AGDSP image the user supplies
(size and AUDCP header checked, sha256 kept in /etc/mu300/agdsp.sha256), and its profile selects go
through ctlset: amixer clamped every mode from 16 up, the Bluetooth modes among them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DqKKtBQZCfxYnHuBCuDqqn
2026-10-11 20:31:13 +03:00
..