Skip to main content
This section gives commands for audio logging and debugging.

Capture logs

User space and kernel audio driver logs can help find issues.
See User space logs for more instructions.
To disable kernel logs in a specific file:
See Enable dynamic debug for more instructions.

Analyze logs

Analyze user space and kernel audio driver logs for playback and record use cases.

Playback logs

The following log snippet shows the information collected for the playback use case.

Record logs

The following log snippet shows the information collected for the record use case.

Enable diagnostic logging with QXDM

QXDM Professional™ (QXDM Pro) provides a fast prototyping platform for diagnostic clients. It provides a GUI to visualize data transmitted from the device, and allows you to configure and filter audio logs using DMC (Diagnostic Mask Configuration) files.

Configure QXDM for audio logging

  1. Open QXDM Professional on your PC.
  2. Connect to the target device.
  3. Select FileManage Configuration.
  4. Select the required use case DMC log mask from the list.
  5. Apply the DMC configuration to start capturing audio diagnostic logs.
Download QXDM Professional from the Qualcomm Software Center. For more details, see the QACT V8.1 User Guide (80-VM407-21).

Required tools for audio diagnostics

The following tools are required for full audio diagnostic capability: Download all tools from the Qualcomm Software Center.

Analyze MI2S/TDM capture logs

When verifying MI2S or TDM capture, check for the following log patterns to confirm correct operation: The device open should be called for the speaker mic:
The backend used for capture should show the correct MI2S interface, sample rate, and channel count:
The device open should exit with status 0 and a correct device count:
The hardware endpoints should be configured correctly for 48 kHz, stereo, 16-bit:

Next steps