-
Notifications
You must be signed in to change notification settings - Fork 142
Description
Describe the bug
Paplay via speaker only has Left Channel Output. Because Paplay is using device 2: SDW1-speakers.
And device 2: SDW1-speakers is using Left channel. device 3: SDW2-speakers is using Right Channel.
UCM is using one 1308 UCM https://github.com/thesofproject/alsa-ucm-conf/tree/master/ucm/sof-sdw-rt711-1308-715 commit: 39528c5
To Reproduce
- Do system reboot via "sudo reboot"
- Run ./rt1308_mixer.sh to setup amixer setting for speaker
rt1308_mixer.txt - Open Setting->Sound, select Speaker as Output Source.
- paplay 48California_Dreaming.wav -vvv
Reproduce Rate
100%
Actual result
Only Left channel has output. Paplay is using device 2: SDW1-speakers.
And device 2: SDW1-speakers is using Left channel. device 3: SDW2-speakers is using Right
ubuntu@ubuntu-XPS-17-9700-02:~$ paplay 48California_Dreaming.wav -vvv
Opening a playback stream with sample specification 's16le 2ch 48000Hz' and channel map 'front-left,front-right'.
Connection established.
Stream successfully created.
Buffer metrics: maxlength=4194304, tlength=384000, prebuf=380164, minreq=3840
Using sample spec 's16le 2ch 48000Hz', channel map 'front-left,front-right'.
Connected to device alsa_output.pci-0000_00_1f.3-platform-sdw_rt711_rt1308_rt715.HiFi__hw_sofsdwrt7111308_2__sink (index: 4, suspended: no).
Stream started.
Expected result
Both L and R channel should have output when paplay via speaker.
Environment
Firmware: decd206 cml-009-drop-stable
Kernel: d6078f9 on integration/soundwire-latest
Kernel config: Run https://github.com/thesofproject/kconfig/blob/master/kconfig-sof-default.sh
Topology: Same with FW branch, sof-cml-rt711-rt1308-rt715.tplg
platform: CML Laptop with codec ALC711, 2 x RT1308, RT715 in SDW mode
UCM: https://github.com/thesofproject/alsa-ucm-conf/tree/master/ucm/sof-sdw-rt711-1308-715 commit: 39528c5