Comment 150 for bug 1958019

Revision history for this message
In , dantahoua (dantahoua-linux-kernel-bugs) wrote :

(In reply to DavidLenovo from comment #134)
> (In reply to Vincent Morel from comment #130)
> > (In reply to DavidLenovo from comment #127)
> > > (In reply to Vincent Morel from comment #125)
> > > > On the 13S Gen 2, there is only 2 speakers, and S3 is activated...
> > >
> > > Hi, I have similar result in hwinfo --sound, but it's not exactly the
> same
> > > card.
> > >
> > > Your have only 2 speakers working ? Ore no one ?
> > >
> > > You have try Ubuntu 20.04 with kernel 5.11.5 ?
> >
> > No speaker working (but headphone, hdmi... are working).
> >
> > I did not try kernel 5.11.5 (My Pop Os is in 5.11.0 but I remember trying
> > Ubuntu 21.04 and there was no sound also).
>
> (In reply to Vincent Morel from comment #132)
> > (In reply to DavidLenovo from comment #127)
> > > (In reply to Vincent Morel from comment #125)
> > > > On the 13S Gen 2, there is only 2 speakers, and S3 is activated...
> > >
> > > Hi, I have similar result in hwinfo --sound, but it's not exactly the
> same
> > > card.
> > >
> > > Your have only 2 speakers working ? Ore no one ?
> > >
> > > You have try Ubuntu 20.04 with kernel 5.11.5 ?
> >
> > Just tried with kernel 5.11.5... No luck...
> >
> > How ACL3306 not recognise, can we find some spec or information about it?
> > Seems Realtek codec information is nowhere to be found... :(
>
> Could you recheck, please :
> cat /sys/power/mem_sleep
>
> sudo dmesg |grep ACPI|grep supports
>
> Do you have try, to play a long sound with VLC, y choose PulseAudio Server
> if it is available, on another session I just have sof-hda-dsp Speaker +
> Headphone (it work on both). If your change the sound output, stop and
> restart the sound.
> Let the sound playing and put in sleep, put the computer on, and the sound
> work. It lagging for me at the beginning, and after few seconds it is ok.
>
> You have ALC287 or ALC3306 ? You seem to have ALC3306, no ?
> Not sure Ubuntu is work well for it.
>
> I think your problem is to enable S3.
> It is probably not the same patch for you with you Lenovo Think Book 13s Gen
> 2. The patch is for Yoga 7i 14" and 15"
>
> The user Wave could you help me more I think, my knowledge is limited.

Sure thanks, here is my outputs! :)
cat /sys/power/mem_sleep
[s2idle] deep

sudo dmesg |grep ACPI|grep supports
[ 0.242864] ACPI: (supports S0 S3 S4 S5)

VLC -> played long song, plugged headphone (sound on headphone works), changing output to speaker, no sound (note that sound meter show sound in preference, but sounds do not output to the speaker).

Put computer into sleep while playing. After resume, still no sound in speaker...

I have ALC3306. The only "not Ubuntu" I tried was Calculate Linux (Gentoo). I use PopOs, tried Ubuntu 21.04 also.

Only informations I found on the web always point back here.

Some infos: https://afterhourscoding.wordpress.com/tag/backlight/
And the kernel part: https://github.com/torvalds/linux/blob/master/sound/pci/hda/patch_realtek.c

At this point I fear it's becoming little too hard for me, but I can still try to do something.

If I understand well this sentence 'According to Jaroslav Kysela Lenovo is using amplifier chips for the integrated speakers on recent hardware which must be initialized too. Much of that is undocumented.' we have to find a way to initialize the amplifier chip...