(In reply to Jenefer from comment #168)
> (In reply to DavidLenovo from comment #166)
> > (In reply to Jenefer from comment #165)
> > > I can't believe it's been almost a year without this problem being
> solved.
> > I
> > > tried Ubuntu, PopOs, Fedora, Debian, they all had the same audio problem.
> I
> > > guess I'll just have to get used to headphones now.
> >
> > Hello, what is your computer model ?
> > The problem is not link to the ALC287, just to enable the S3 in computer.
>
> My model is lenovo legion 7i 15IMHg05. I'm using Pop OS for now so It does
> not use grub boatloader. I don't know if I can change the kernel init. Can
> you explain how to "to enable the S3 in computer." ?
Also, your solution seems to work on yoga models, I didn't see anyone with legion model saying it worked for them. Here are my outputs:
(In reply to Jenefer from comment #168)
> (In reply to DavidLenovo from comment #166)
> > (In reply to Jenefer from comment #165)
> > > I can't believe it's been almost a year without this problem being
> solved.
> > I
> > > tried Ubuntu, PopOs, Fedora, Debian, they all had the same audio problem.
> I
> > > guess I'll just have to get used to headphones now.
> >
> > Hello, what is your computer model ?
> > The problem is not link to the ALC287, just to enable the S3 in computer.
>
> My model is lenovo legion 7i 15IMHg05. I'm using Pop OS for now so It does
> not use grub boatloader. I don't know if I can change the kernel init. Can
> you explain how to "to enable the S3 in computer." ?
Also, your solution seems to work on yoga models, I didn't see anyone with legion model saying it worked for them. Here are my outputs:
cat /sys/power/ mem_sleep
s2idle [deep]
sudo dmesg |grep ACPI|grep supports
[ 0.410327] ACPI: (supports S0 S3 S4 S5)
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: PCH [HDA Intel PCH], device 0: ALC287 Analog [ALC287 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
sudo dmesg | grep -i audio Lenovo- NV-HDMI- Audio) component_ bind_ops [i915]) codec_realtek hdaudioC1D0: autoconfig for ALC287: line_outs=1 (0x17/0x0/ 0x0/0x0/ 0x0) type:speaker codec_realtek hdaudioC1D0: speaker_outs=0 (0x0/0x0/ 0x0/0x0/ 0x0) codec_realtek hdaudioC1D0: hp_outs=1 (0x21/0x0/ 0x0/0x0/ 0x0) codec_realtek hdaudioC1D0: mono: mono_out=0x0 codec_realtek hdaudioC1D0: inputs: codec_realtek hdaudioC1D0: Mic=0x19 codec_realtek hdaudioC1D0: Internal Mic=0x12
[ 0.205536] ACPI: Added _OSI(Linux-
[ 4.131332] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_
[ 4.131548] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[ 4.185009] snd_hda_
[ 4.185013] snd_hda_
[ 4.185015] snd_hda_
[ 4.185016] snd_hda_
[ 4.185017] snd_hda_
[ 4.185019] snd_hda_
[ 4.185020] snd_hda_
there is something weird about this last command: the speaker_outs is set to 0
I tried suspending the machine after playing some music but did not get audio after waking