Skip to content

[SDW UCM2][BUG][CML-H] Speaker mixer settings are muted by default in alsamixer  #1997

@sinahuang

Description

@sinahuang

Describe the bug
Both rt1308-1 DAC L rt1308-1 DAC R and rt1308-2 DAC R rt1308-2 DAC L are muted in default in alsamixer.

More info:
Need manually change rt1308-1 DAC L rt1308-1 DAC R and rt1308-2 DAC R rt1308-2 DAC L to unmute in alsamixer can recover.
UCM2:
https://github.com/thesofproject/alsa-ucm-conf (commit: 4722f5b ) +thesofproject/alsa-ucm-conf#29

To Reproduce

  1. Install Ubuntu 20.04 Beta, copy ucm2, update the kernel the firmware.

  2. reboot system, without headset connected.
    Confirm speaker is the default output device in Sound Settings.

  3. Play a test wave file via PulseAudio:
    $paplay xx.wav file
    There is no sound output from the speaker.

  4. Check the following RT1308 mixer settings in alsamixer, and found they're all muted
    rt1308-1 DAC L
    rt1308-1 DAC R
    rt1308-2 DAC R
    rt1308-2 DAC L

Screenshot from 2020-04-08 11-03-17

Reproduce rate
5/5

Expected result
These RT1308 mixser settings should unmuted by default in alsamixer, and there should be audio output from the speaker whey running paplay.

Actual result
No sound output when paplay on speaker.
It seems the defaut value of these mixer settings are muted, and not configured successfully by ucm2.

Test recipe
OS: Ubuntu 20.04 daily image
Kernel:https://github.com/thesofproject/linux/commits/topic/sof-dev commit:052e45d
FW: https://github.com/thesofproject/sof/commits/master commit: b4e8b1e4
Tplg: Same with FW branch, sof-cml-rt711-rt1308-rt715.tplg
Platform:CML-H Laptop with codec ALC711, 2 x RT1308, RT715 in SDW mode.

Metadata

Metadata

Assignees

Labels

CMLApplies to Comet Lake platformPulseAudioPulseAudio restrictionSDWApplies to SoundWire bus for codec connectionUCM2bugSomething isn't workingduplicateThis issue or pull request already existsinitial default mixer valuesSystem lack initial amixer values

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions