* sc8280xp: How to get sound working?
@ 2023-03-13 13:03 Brian Masney
2023-03-13 20:23 ` Steev Klimaszewski
0 siblings, 1 reply; 6+ messages in thread
From: Brian Masney @ 2023-03-13 13:03 UTC (permalink / raw)
To: linux-arm-msm
I'm trying to get the sound working on my x13s with Fedora 37. I have
qrtr and pd-mapper running, and I have working battery status.
I downloaded SC8280XP-LENOVO-X13S-tplg.bin from Srini's git repo at [1].
Everything starts to probe:
[ 66.572719] qcom-soundwire 3210000.soundwire-controller: Qualcomm Soundwire controller v1.6.0 Registered
[ 66.579051] qcom-soundwire 3250000.soundwire-controller: Qualcomm Soundwire controller v1.6.0 Registered
[ 66.579886] wcd938x_codec audio-codec: bound sdw:0:0217:010d:00:4 (ops wcd938x_sdw_component_ops [snd_soc_wcd938x_sdw])
[ 66.579907] wcd938x_codec audio-codec: bound sdw:0:0217:010d:00:3 (ops wcd938x_sdw_component_ops [snd_soc_wcd938x_sdw])
[ 66.580466] wsa883x-codec sdw:0:0217:0202:00:1: WSA883X Version 1_1, Variant: WSA8835_V2
[ 66.581646] qcom-soundwire 3330000.soundwire-controller: Qualcomm Soundwire controller v1.6.0 Registered
[ 66.582913] wsa883x-codec sdw:0:0217:0202:00:1: WSA883X Version 1_1, Variant: WSA8835_V2
[ 66.585710] wsa883x-codec sdw:0:0217:0202:00:2: WSA883X Version 1_1, Variant: WSA8835_V2
[ 66.598032] snd-sc8280xp sound: ASoC: Parent card not yet available, widget card binding deferred
[ 66.603140] ALSA: Control name 'stream1.vol_ctrl1 MultiMedia1 Playback Volume' truncated to 'stream1.vol_ctrl1 MultiMedia1 Playback Volu'
[ 66.603228] ALSA: Control name 'stream2.vol_ctrl2 MultiMedia2 Playback Volume' truncated to 'stream2.vol_ctrl2 MultiMedia2 Playback Volu'
[ 66.605330] input: SC8280XP-LENOVO-X13S Headset Jack as /devices/platform/sound/sound/card0/input11
And then a bunch of these errors come through:
[ 66.719630] MultiMedia1 Playback: ASoC: no backend DAIs enabled for MultiMedia1 Playback
[ 66.719641] MultiMedia1 Playback: ASoC: error at dpcm_fe_dai_prepare on MultiMedia1 Playback: -22
x13s:~$ aplay -l output
**** List of PLAYBACK Hardware Devices ****
card 0: SC8280XPLENOVOX [SC8280XP-LENOVO-X13S], device 4: MultiMedia1 Playback (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SC8280XPLENOVOX [SC8280XP-LENOVO-X13S], device 5: MultiMedia2 Playback (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
Any suggestions?
Also if anyone happens to stumble upon this message via a search engine:
Fedora has all of it's firmware xz compressed. To get this far:
qcadsp8280.mbn, qccdsp8280.mbn, and *.jsn will need to be decompressed.
pd-mapper needs to be updated to handle this. I've added this to my todo
list to fix, but it may be a little while before I get to it.
[1] https://git.linaro.org/people/srinivas.kandagatla/audioreach-topology.git/tree/prebuilt/SC8280XP-LENOVO-X13S-tplg.bin
Brian
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sc8280xp: How to get sound working?
2023-03-13 22:00 ` Brian Masney
@ 2023-03-13 18:16 ` Brian Masney
2023-03-13 22:11 ` Steev Klimaszewski
1 sibling, 0 replies; 6+ messages in thread
From: Brian Masney @ 2023-03-13 18:16 UTC (permalink / raw)
To: Steev Klimaszewski; +Cc: linux-arm-msm
On Mon, Mar 13, 2023 at 06:00:29PM -0400, Brian Masney wrote:
> I still have dummy output. If I plug in headphones, then these messages
> appear:
>
> [ 556.339991] wcd938x_mbhc_get_result_params: d1=5, c1=3, x1=0x1015, z_val=335402(milliOhm)
> [ 556.371025] wcd938x_mbhc_get_result_params: d1=5, c1=3, x1=0x100b, z_val=339442(milliOhm)
> [ 556.402061] wcd938x_mbhc_get_result_params: d1=5, c1=3, x1=0xfba, z_val=376140(milliOhm)
>
> My dmesg shows that the only firmware that's missing is for the GPU and
> bluetooth.
Actually, nevermind... It booted up with the wrong kernel (v6.2) instead
of v6.3rc1. Sound is now working great!
Have you been able to get the external display working? I've tried
through my thunderbolt dock and through a USB-C to HDMI adapter. I tried
both USB-C ports and I also tried flipping the cable since I remember
seeing something about that.
Brian
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sc8280xp: How to get sound working?
2023-03-13 13:03 sc8280xp: How to get sound working? Brian Masney
@ 2023-03-13 20:23 ` Steev Klimaszewski
2023-03-13 20:26 ` Steev Klimaszewski
0 siblings, 1 reply; 6+ messages in thread
From: Steev Klimaszewski @ 2023-03-13 20:23 UTC (permalink / raw)
To: Brian Masney; +Cc: linux-arm-msm
Hi Brian,
On Mon, Mar 13, 2023 at 12:07 PM Brian Masney <bmasney@redhat.com> wrote:
>
> I'm trying to get the sound working on my x13s with Fedora 37. I have
> qrtr and pd-mapper running, and I have working battery status.
>
> I downloaded SC8280XP-LENOVO-X13S-tplg.bin from Srini's git repo at [1].
> Everything starts to probe:
>
> [ 66.572719] qcom-soundwire 3210000.soundwire-controller: Qualcomm Soundwire controller v1.6.0 Registered
> [ 66.579051] qcom-soundwire 3250000.soundwire-controller: Qualcomm Soundwire controller v1.6.0 Registered
> [ 66.579886] wcd938x_codec audio-codec: bound sdw:0:0217:010d:00:4 (ops wcd938x_sdw_component_ops [snd_soc_wcd938x_sdw])
> [ 66.579907] wcd938x_codec audio-codec: bound sdw:0:0217:010d:00:3 (ops wcd938x_sdw_component_ops [snd_soc_wcd938x_sdw])
> [ 66.580466] wsa883x-codec sdw:0:0217:0202:00:1: WSA883X Version 1_1, Variant: WSA8835_V2
> [ 66.581646] qcom-soundwire 3330000.soundwire-controller: Qualcomm Soundwire controller v1.6.0 Registered
> [ 66.582913] wsa883x-codec sdw:0:0217:0202:00:1: WSA883X Version 1_1, Variant: WSA8835_V2
> [ 66.585710] wsa883x-codec sdw:0:0217:0202:00:2: WSA883X Version 1_1, Variant: WSA8835_V2
> [ 66.598032] snd-sc8280xp sound: ASoC: Parent card not yet available, widget card binding deferred
> [ 66.603140] ALSA: Control name 'stream1.vol_ctrl1 MultiMedia1 Playback Volume' truncated to 'stream1.vol_ctrl1 MultiMedia1 Playback Volu'
> [ 66.603228] ALSA: Control name 'stream2.vol_ctrl2 MultiMedia2 Playback Volume' truncated to 'stream2.vol_ctrl2 MultiMedia2 Playback Volu'
> [ 66.605330] input: SC8280XP-LENOVO-X13S Headset Jack as /devices/platform/sound/sound/card0/input11
>
> And then a bunch of these errors come through:
>
> [ 66.719630] MultiMedia1 Playback: ASoC: no backend DAIs enabled for MultiMedia1 Playback
> [ 66.719641] MultiMedia1 Playback: ASoC: error at dpcm_fe_dai_prepare on MultiMedia1 Playback: -22
>
> x13s:~$ aplay -l output
> **** List of PLAYBACK Hardware Devices ****
> card 0: SC8280XPLENOVOX [SC8280XP-LENOVO-X13S], device 4: MultiMedia1 Playback (*) []
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> card 0: SC8280XPLENOVOX [SC8280XP-LENOVO-X13S], device 5: MultiMedia2 Playback (*) []
> Subdevices: 1/1
> Subdevice #0: subdevice #0
>
> Any suggestions?
>
> Also if anyone happens to stumble upon this message via a search engine:
> Fedora has all of it's firmware xz compressed. To get this far:
> qcadsp8280.mbn, qccdsp8280.mbn, and *.jsn will need to be decompressed.
> pd-mapper needs to be updated to handle this. I've added this to my todo
> list to fix, but it may be a little while before I get to it.
>
> [1] https://git.linaro.org/people/srinivas.kandagatla/audioreach-topology.git/tree/prebuilt/SC8280XP-LENOVO-X13S-tplg.bin
>
> Brian
>
Do you have the latest alsa-ucm-conf bits? I know you're on Fedora,
so it doesn't carry over, but here's what I have packaged up for
Debian based systems - https://salsa.debian.org/steev/alsa-ucm-conf
--steev
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sc8280xp: How to get sound working?
2023-03-13 20:23 ` Steev Klimaszewski
@ 2023-03-13 20:26 ` Steev Klimaszewski
2023-03-13 22:00 ` Brian Masney
0 siblings, 1 reply; 6+ messages in thread
From: Steev Klimaszewski @ 2023-03-13 20:26 UTC (permalink / raw)
To: Brian Masney; +Cc: linux-arm-msm
On Mon, Mar 13, 2023 at 3:23 PM Steev Klimaszewski <steev@kali.org> wrote:
>
> Hi Brian,
>
> On Mon, Mar 13, 2023 at 12:07 PM Brian Masney <bmasney@redhat.com> wrote:
> >
> > I'm trying to get the sound working on my x13s with Fedora 37. I have
> > qrtr and pd-mapper running, and I have working battery status.
> >
> > I downloaded SC8280XP-LENOVO-X13S-tplg.bin from Srini's git repo at [1].
> > Everything starts to probe:
> >
> > [ 66.572719] qcom-soundwire 3210000.soundwire-controller: Qualcomm Soundwire controller v1.6.0 Registered
> > [ 66.579051] qcom-soundwire 3250000.soundwire-controller: Qualcomm Soundwire controller v1.6.0 Registered
> > [ 66.579886] wcd938x_codec audio-codec: bound sdw:0:0217:010d:00:4 (ops wcd938x_sdw_component_ops [snd_soc_wcd938x_sdw])
> > [ 66.579907] wcd938x_codec audio-codec: bound sdw:0:0217:010d:00:3 (ops wcd938x_sdw_component_ops [snd_soc_wcd938x_sdw])
> > [ 66.580466] wsa883x-codec sdw:0:0217:0202:00:1: WSA883X Version 1_1, Variant: WSA8835_V2
> > [ 66.581646] qcom-soundwire 3330000.soundwire-controller: Qualcomm Soundwire controller v1.6.0 Registered
> > [ 66.582913] wsa883x-codec sdw:0:0217:0202:00:1: WSA883X Version 1_1, Variant: WSA8835_V2
> > [ 66.585710] wsa883x-codec sdw:0:0217:0202:00:2: WSA883X Version 1_1, Variant: WSA8835_V2
> > [ 66.598032] snd-sc8280xp sound: ASoC: Parent card not yet available, widget card binding deferred
> > [ 66.603140] ALSA: Control name 'stream1.vol_ctrl1 MultiMedia1 Playback Volume' truncated to 'stream1.vol_ctrl1 MultiMedia1 Playback Volu'
> > [ 66.603228] ALSA: Control name 'stream2.vol_ctrl2 MultiMedia2 Playback Volume' truncated to 'stream2.vol_ctrl2 MultiMedia2 Playback Volu'
> > [ 66.605330] input: SC8280XP-LENOVO-X13S Headset Jack as /devices/platform/sound/sound/card0/input11
> >
> > And then a bunch of these errors come through:
> >
> > [ 66.719630] MultiMedia1 Playback: ASoC: no backend DAIs enabled for MultiMedia1 Playback
> > [ 66.719641] MultiMedia1 Playback: ASoC: error at dpcm_fe_dai_prepare on MultiMedia1 Playback: -22
> >
> > x13s:~$ aplay -l output
> > **** List of PLAYBACK Hardware Devices ****
> > card 0: SC8280XPLENOVOX [SC8280XP-LENOVO-X13S], device 4: MultiMedia1 Playback (*) []
> > Subdevices: 1/1
> > Subdevice #0: subdevice #0
> > card 0: SC8280XPLENOVOX [SC8280XP-LENOVO-X13S], device 5: MultiMedia2 Playback (*) []
> > Subdevices: 1/1
> > Subdevice #0: subdevice #0
> >
> > Any suggestions?
> >
> > Also if anyone happens to stumble upon this message via a search engine:
> > Fedora has all of it's firmware xz compressed. To get this far:
> > qcadsp8280.mbn, qccdsp8280.mbn, and *.jsn will need to be decompressed.
> > pd-mapper needs to be updated to handle this. I've added this to my todo
> > list to fix, but it may be a little while before I get to it.
> >
> > [1] https://git.linaro.org/people/srinivas.kandagatla/audioreach-topology.git/tree/prebuilt/SC8280XP-LENOVO-X13S-tplg.bin
> >
> > Brian
> >
>
> Do you have the latest alsa-ucm-conf bits? I know you're on Fedora,
> so it doesn't carry over, but here's what I have packaged up for
> Debian based systems - https://salsa.debian.org/steev/alsa-ucm-conf
>
This is what has been (afaik) submitted upstream at
https://github.com/alsa-project/alsa-ucm-conf/pull/284
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sc8280xp: How to get sound working?
2023-03-13 20:26 ` Steev Klimaszewski
@ 2023-03-13 22:00 ` Brian Masney
2023-03-13 18:16 ` Brian Masney
2023-03-13 22:11 ` Steev Klimaszewski
0 siblings, 2 replies; 6+ messages in thread
From: Brian Masney @ 2023-03-13 22:00 UTC (permalink / raw)
To: Steev Klimaszewski; +Cc: linux-arm-msm
On Mon, Mar 13, 2023 at 03:26:44PM -0500, Steev Klimaszewski wrote:
> On Mon, Mar 13, 2023 at 3:23 PM Steev Klimaszewski <steev@kali.org> wrote:
> > Do you have the latest alsa-ucm-conf bits? I know you're on Fedora,
> > so it doesn't carry over, but here's what I have packaged up for
> > Debian based systems - https://salsa.debian.org/steev/alsa-ucm-conf
> >
> This is what has been (afaik) submitted upstream at
> https://github.com/alsa-project/alsa-ucm-conf/pull/284
OK, I installed that on my Fedora system and I still only have a dummy
output, however I'm further along with my log messages.
[ 13.857827] qcom-soundwire 3250000.soundwire-controller: Qualcomm Soundwire controller v1.6.0 Registered
[ 13.859176] wsa883x-codec sdw:0:0217:0202:00:1: WSA883X Version 1_1, Variant: WSA8835_V2
[ 13.865928] wsa883x-codec sdw:0:0217:0202:00:1: WSA883X Version 1_1, Variant: WSA8835_V2
[ 13.870063] qcom-soundwire 3210000.soundwire-controller: Qualcomm Soundwire controller v1.6.0 Registered
[ 13.872067] wcd938x_codec audio-codec: bound sdw:0:0217:010d:00:4 (ops wcd938x_sdw_component_ops [snd_soc_wcd938x_sdw])
[ 13.872849] wsa883x-codec sdw:0:0217:0202:00:2: WSA883X Version 1_1, Variant: WSA8835_V2
[ 13.873357] wcd938x_codec audio-codec: bound sdw:0:0217:010d:00:3 (ops wcd938x_sdw_component_ops [snd_soc_wcd938x_sdw])
[ 13.880597] qcom-soundwire 3330000.soundwire-controller: Qualcomm Soundwire controller v1.6.0 Registered
[ 13.899249] snd-sc8280xp sound: ASoC: Parent card not yet available, widget card binding deferred
[ 13.906192] ALSA: Control name 'stream1.vol_ctrl1 MultiMedia1 Playback Volume' truncated to 'stream1.vol_ctrl1 MultiMedia1 Playback Volu'
[ 13.907589] ALSA: Control name 'stream2.vol_ctrl2 MultiMedia2 Playback Volume' truncated to 'stream2.vol_ctrl2 MultiMedia2 Playback Volu'
[ 13.911243] input: SC8280XP-LENOVO-X13S Headset Jack as /devices/platform/sound/sound/card0/input11
[ 23.851716] MultiMedia4 Capture: ASoC: no backend DAIs enabled for MultiMedia4 Capture
[ 23.851724] MultiMedia4 Capture: ASoC: error at dpcm_fe_dai_prepare on MultiMedia4 Capture: -22
# The two lines above repeat a bunch of times
[ 23.904985] qcom,apr 3000000.remoteproc:glink-edge.adsp_apps.-1.-1: GPR: Port(1000000b) is not registered
# This repeats as well
I still have dummy output. If I plug in headphones, then these messages
appear:
[ 556.339991] wcd938x_mbhc_get_result_params: d1=5, c1=3, x1=0x1015, z_val=335402(milliOhm)
[ 556.371025] wcd938x_mbhc_get_result_params: d1=5, c1=3, x1=0x100b, z_val=339442(milliOhm)
[ 556.402061] wcd938x_mbhc_get_result_params: d1=5, c1=3, x1=0xfba, z_val=376140(milliOhm)
My dmesg shows that the only firmware that's missing is for the GPU and
bluetooth.
Brian
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sc8280xp: How to get sound working?
2023-03-13 22:00 ` Brian Masney
2023-03-13 18:16 ` Brian Masney
@ 2023-03-13 22:11 ` Steev Klimaszewski
1 sibling, 0 replies; 6+ messages in thread
From: Steev Klimaszewski @ 2023-03-13 22:11 UTC (permalink / raw)
To: Brian Masney; +Cc: linux-arm-msm
On Mon, Mar 13, 2023 at 5:00 PM Brian Masney <bmasney@redhat.com> wrote:
>
> On Mon, Mar 13, 2023 at 03:26:44PM -0500, Steev Klimaszewski wrote:
> > On Mon, Mar 13, 2023 at 3:23 PM Steev Klimaszewski <steev@kali.org> wrote:
> > > Do you have the latest alsa-ucm-conf bits? I know you're on Fedora,
> > > so it doesn't carry over, but here's what I have packaged up for
> > > Debian based systems - https://salsa.debian.org/steev/alsa-ucm-conf
> > >
> > This is what has been (afaik) submitted upstream at
> > https://github.com/alsa-project/alsa-ucm-conf/pull/284
>
> OK, I installed that on my Fedora system and I still only have a dummy
> output, however I'm further along with my log messages.
>
> [ 13.857827] qcom-soundwire 3250000.soundwire-controller: Qualcomm Soundwire controller v1.6.0 Registered
> [ 13.859176] wsa883x-codec sdw:0:0217:0202:00:1: WSA883X Version 1_1, Variant: WSA8835_V2
> [ 13.865928] wsa883x-codec sdw:0:0217:0202:00:1: WSA883X Version 1_1, Variant: WSA8835_V2
> [ 13.870063] qcom-soundwire 3210000.soundwire-controller: Qualcomm Soundwire controller v1.6.0 Registered
> [ 13.872067] wcd938x_codec audio-codec: bound sdw:0:0217:010d:00:4 (ops wcd938x_sdw_component_ops [snd_soc_wcd938x_sdw])
> [ 13.872849] wsa883x-codec sdw:0:0217:0202:00:2: WSA883X Version 1_1, Variant: WSA8835_V2
> [ 13.873357] wcd938x_codec audio-codec: bound sdw:0:0217:010d:00:3 (ops wcd938x_sdw_component_ops [snd_soc_wcd938x_sdw])
> [ 13.880597] qcom-soundwire 3330000.soundwire-controller: Qualcomm Soundwire controller v1.6.0 Registered
> [ 13.899249] snd-sc8280xp sound: ASoC: Parent card not yet available, widget card binding deferred
> [ 13.906192] ALSA: Control name 'stream1.vol_ctrl1 MultiMedia1 Playback Volume' truncated to 'stream1.vol_ctrl1 MultiMedia1 Playback Volu'
> [ 13.907589] ALSA: Control name 'stream2.vol_ctrl2 MultiMedia2 Playback Volume' truncated to 'stream2.vol_ctrl2 MultiMedia2 Playback Volu'
> [ 13.911243] input: SC8280XP-LENOVO-X13S Headset Jack as /devices/platform/sound/sound/card0/input11
>
> [ 23.851716] MultiMedia4 Capture: ASoC: no backend DAIs enabled for MultiMedia4 Capture
> [ 23.851724] MultiMedia4 Capture: ASoC: error at dpcm_fe_dai_prepare on MultiMedia4 Capture: -22
> # The two lines above repeat a bunch of times
>
> [ 23.904985] qcom,apr 3000000.remoteproc:glink-edge.adsp_apps.-1.-1: GPR: Port(1000000b) is not registered
> # This repeats as well
>
> I still have dummy output. If I plug in headphones, then these messages
> appear:
>
> [ 556.339991] wcd938x_mbhc_get_result_params: d1=5, c1=3, x1=0x1015, z_val=335402(milliOhm)
> [ 556.371025] wcd938x_mbhc_get_result_params: d1=5, c1=3, x1=0x100b, z_val=339442(milliOhm)
> [ 556.402061] wcd938x_mbhc_get_result_params: d1=5, c1=3, x1=0xfba, z_val=376140(milliOhm)
>
> My dmesg shows that the only firmware that's missing is for the GPU and
> bluetooth.
>
> Brian
>
That looks like you're possibly missing a few patches for audio. I
grabbed mine from Johan's v6.3-rc1 branch
https://github.com/jhovold/linux/commits/wip/sc8280xp-v6.3-rc1; if you
do have them do make sure you have the SC_LPASSCSR_8280XP option
enabled
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-03-13 22:17 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-13 13:03 sc8280xp: How to get sound working? Brian Masney
2023-03-13 20:23 ` Steev Klimaszewski
2023-03-13 20:26 ` Steev Klimaszewski
2023-03-13 22:00 ` Brian Masney
2023-03-13 18:16 ` Brian Masney
2023-03-13 22:11 ` Steev Klimaszewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox