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] No sound on Lenovo IdeaPad S540-13IML i7-10510U on ClearLinux w. kernel 5.5.3x #1913
changed the title [-][BUG] No sound on i7-10510U running 5.5.3x[/-][+][BUG] No sound on Lenovo IdeaPad S540 13IML i7-10510U on ClearLinux w. kernel 5.5.3x[/+]on Feb 20, 2020
changed the title [-][BUG] No sound on Lenovo IdeaPad S540 13IML i7-10510U on ClearLinux w. kernel 5.5.3x[/-][+][BUG] No sound on Lenovo IdeaPad S540-13IML i7-10510U on ClearLinux w. kernel 5.5.3x[/+]on Feb 20, 2020
@chrysophylax can you check here https://github.com/thesofproject/sof-bin
This will be the fw, topology and debug file repo. It will be rebased over next few days as we are all aligning on layout, but you should be able to find everything.
Looking at one of the branches, I see lots and lots of firmware files (great) but it's entirely unclear which ones are needed - are you going to at least add a sane, simple Makefile so that make DESTDIR=<root> install can just do the right thing and install the binary files into the right place for most Linux developers?
Bisected to
'ASoC: SOF: Intel: hda: Fix SKL dai count'
Gah, this is embarrassing. The patch that added the new DAI is missing in stable...
Anyways, we should really not use macros for array elements but ARRAY_SIZE.
Activity
[-][BUG] No sound on i7-10510U running 5.5.3x[/-][+][BUG] No sound on Lenovo IdeaPad S540 13IML i7-10510U on ClearLinux w. kernel 5.5.3x[/+]plbossart commentedon Feb 20, 2020
You don't have a firmware file in /lib/firmware/intel/sof as shown in
ahkok commentedon Feb 20, 2020
Yes, we need to package this and include it.
chrysophylax commentedon Feb 20, 2020
Thanks for the explanations both of you.
@plbossart I went to check releases but I can' t see any sof-cml.ri file available there. Should I be looking elsewhere?
[-][BUG] No sound on Lenovo IdeaPad S540 13IML i7-10510U on ClearLinux w. kernel 5.5.3x[/-][+][BUG] No sound on Lenovo IdeaPad S540-13IML i7-10510U on ClearLinux w. kernel 5.5.3x[/+]plbossart commentedon Feb 20, 2020
sof-cml.ri should be a symlink to the latest firmware. We don't encode the version in the driver.
Edit: for CML use sof-cnl-v1.4.2.ri
chrysophylax commentedon Feb 20, 2020
Progress!
I added
sof-cnl-v1.4.2.rito /etc/firmware/intel/sof on ClearLinux and created a symlinkAnd the error about sof-cml.ri went away in dmesg.
However, now it can' t find a topology file...
Where can I download this
sof-hda-generic-2ch.tplgfile?lgirdwood commentedon Feb 21, 2020
@chrysophylax can you check here https://github.com/thesofproject/sof-bin
This will be the fw, topology and debug file repo. It will be rebased over next few days as we are all aligning on layout, but you should be able to find everything.
ahkok commentedon Feb 21, 2020
Are these releases going to be tagged, and signed?
ahkok commentedon Feb 21, 2020
Looking at one of the branches, I see lots and lots of firmware files (great) but it's entirely unclear which ones are needed - are you going to at least add a sane, simple
Makefileso thatmake DESTDIR=<root> installcan just do the right thing and install the binary files into the right place for most Linux developers?I can write it.... if you need.
chrysophylax commentedon Feb 21, 2020
@lgirdwood it seems you rebased the repo before I had time to pull down the tplg file. Any other place on the internet where it' s available?
lgirdwood commentedon Feb 24, 2020
@chrysophylax appologies, updated now - we are using a branch per release. please checkout stable- v1.4.2. It may still churn a bit.
chrysophylax commentedon Feb 24, 2020
Great, thanks for the update @lgirdwood . I just downloaded https://github.com/thesofproject/sof-bin/blob/stable-v1.4.2/lib/firmware/intel/sof-tplg-v1.4.2/sof-hda-generic-2ch.tplg and will try it out on the laptop later today.
chrysophylax commentedon Feb 25, 2020
So it works fine for playback, 2ch sound is correctly being played. On the other hand, there is no microphone input available. Per spec, https://psref.lenovo.com/syspool/Sys/PDF/IdeaPad/ideapad_S540_13IML/ideapad_S540_13IML_Spec.PDF there should be some kind of microphone on the laptop.
plbossart commentedon Feb 25, 2020
Can you paste the results of alsa-info.sh somewhere and provide a link? same for the dmesg log.
5 remaining items
plbossart commentedon Feb 27, 2020
ACK, I can reproduce this error on 5.5.6, probably a bad merge happened, or missing patches in another series.
Thanks @chrysophylax for bringing this to our attention, we currently don't test -stable and that's a gap. @xiulipan @wenqingfu FYI.
plbossart commentedon Feb 27, 2020
Bisected to
'ASoC: SOF: Intel: hda: Fix SKL dai count'
Gah, this is embarrassing. The patch that added the new DAI is missing in stable...
Anyways, we should really not use macros for array elements but ARRAY_SIZE.
plbossart commentedon Feb 27, 2020
temporary work-around until we fix this with the -stable folks:
@chrysophylax do you have an email I can use for a Reported-by tag - assume you don't mind?
chrysophylax commentedon Feb 28, 2020
@plbossart billy@redpill-linpro.com should be fine
tlauda commentedon Mar 18, 2020
@chrysophylax Issue to be closed?
tlauda commentedon Mar 19, 2020
Fixed in kernel.
ahkok commentedon Mar 19, 2020
@tlauda which exact kernel version has the fix? At least list the upstream commit ID, please.
tlauda commentedon Mar 19, 2020
@ahkok My mistake.
kv2019i commentedon Mar 20, 2020
@ahkok Fix is 858b4f9 in stable/linux-5.5.y and e68d669 in upstream.
Ok to close, @tlauda ?
net: pktgen: fix code style (ERROR: "foo * bar" should be "foo *bar")