You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug][SDW][CML_2 RTC1308] Paplay via speaker only has Left Channel Output. #1564
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.
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.
@ClarexZhou It is expected for now. The two rt1308 are on different sdw link. Use multi-codecs in a dai link is a new feature on Soundwire and we will implement it soon.
Activity
ClarexZhou commentedon Nov 29, 2019
use UCM https://github.com/bardliao/alsa-ucm-conf/tree/separate-speakers/ucm/sof-sdw-rt711-1308-715 And PR #1567

2 RTC1308 Speaker are listed separately in sound setting. As below snapshot.
Is it expected? Or should list one speaker and output on both 2 RTC1308 at same time?
bardliao commentedon Dec 2, 2019
@ClarexZhou It is expected for now. The two rt1308 are on different sdw link. Use multi-codecs in a dai link is a new feature on Soundwire and we will implement it soon.
mengdonglin commentedon Jan 6, 2020
Depend on the new feature of synchronized playbackm #1644 is to address the feature in driver and WIP
bardliao commentedon Jan 15, 2020
FW change is also required for the issue. A WIP PR is thesofproject/sof#2258
sinahuang commentedon Apr 29, 2020
Issue can't be seen with sof-dev(commit:8f1c6ad) +PR #2058 (note :PR2058 is for other blocked issue #2031) and master (commit:af38b20b), closed it.