Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
From: Brian Masney <bmasney@redhat.com>
To: linux-arm-msm@vger.kernel.org
Subject: sc8280xp: How to get sound working?
Date: Mon, 13 Mar 2023 09:03:58 -0400	[thread overview]
Message-ID: <ZA8fPk1EM2lDKNA/@x13s> (raw)

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


             reply	other threads:[~2023-03-13 17:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-13 13:03 Brian Masney [this message]
2023-03-13 20:23 ` sc8280xp: How to get sound working? 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZA8fPk1EM2lDKNA/@x13s \
    --to=bmasney@redhat.com \
    --cc=linux-arm-msm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox