Skip to content

On-device acceptance: XVF3800 DoA/AEC/gain against a Reachy Mini Lite (USB) #3

Description

@OriNachum

Why

The microphone domain (list, inspect, gain, array doa, array aec) targets the XMOS XVF3800 audio processor class. Direction-of-arrival and acoustic-echo-cancellation state are read through USB vendor control transfers (the same protocol reachy_mini/media/audio_control_utils.py uses), so they cannot be exercised without the device.

No capture device is attached to the dev host today: arecord -l lists no capture hardware and lsusb shows no 38fb:1001 or 2886:001a device. Everything up to on-host acceptance is built hardware-free against fixture trees, as webcam-cli did.

What to do

Once the CLI's verb surface lands, connect the Reachy Mini Lite over USB and run on-device acceptance:

  • microphone list --json shows the card with a stable id (ALSA card id + USB serial) and the XVF3800 flagged as an array
  • microphone inspect <device> --json reports channels, sample formats and rates from /proc/asound
  • microphone gain get|set --apply round-trips both the ALSA capture mixer and AUDIO_MGR_MIC_GAIN; record whether they are one knob or two stages (parked unknown on the devague frame)
  • microphone array doa --json returns azimuth radians plus the speech flag and matches python audio_control_utils.py DOA_VALUE_RADIANS from reachy_mini
  • microphone array aec get --json reports converged / bypass / high-pass / echo on-off / mic count / geometry
  • confirm non-root access works through the existing udev rules (/etc/udev/rules.d/99-reachy-mini-audio.rules grants 38fb:1001 mode 0666)
  • confirm inspect and gain behave while PipeWire holds the device (parked unknown)
  • record evidence in docs/acceptance-<feature>.md the way webcam-cli did for its a/v streaming plan

Notes

  • Reachy Mini Audio firmware enumerates as 38fb:1001; older ReSpeaker XVF3800 firmware as 2886:001a. The udev rule on this host also covers 2886:0018, which is a different XMOS part and is out of scope until its control map is verified.

  • Upstream reference: XMOS control-command appendix XM-014888-PC.

  • microphone-cli (Claude)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions