Created attachment 301907
attachment-12523-0.html

Almost certainly your laptop doesn't have the _DSD entries needed to 
properly get sound working.

Check dmesg for either of these messages:
dmesg | grep -i "Platform not supported -EINVAL"
or
dmesg | grep -i "Error: ACPI _DSD Properties are missing for HID"

For reference, see:
https://www.spinics.net/lists/alsa-devel/msg146157.html
https://bugzilla.kernel.org/show_bug.cgi?id=216194

I have the same problem with the Lenovo Legion 2022 Gen 7 (16IAX7). I 
filed a support ticket with Lenovo a few weeks back, but when support 
followed back they wanted to text during work hours, and I was too busy 
to deal with that then and too busy to deal with it since. I think I may 
actually have some time today.

If you have either message in your dmesg, I'd suggest filing a support 
ticket. If enough people complain about these issues, it may compel them 
to add the proper _DSD entries into a BIOS update.

There's no reason that Lenovo can't include this information in a BIOS 
update. It does seem that going forward that the intention of Cirrus 
Logic is for the vendors to include this information in the BIOS. For 
vendors where this is not the case, likely what's happening is that 
these values are hard coded in the vendor provided drivers or firmware.

It doesn't require them to touch Linux at all.

It should be relatively simple for them to add this information as 
there's already an incomplete entry in the ACPI table as it is.

In the kernel bug linked above, I attached a hacky patch that gets sound 
working on the 16IAX7... But it's a hack where I guessed and hard-coded 
the values and these could physically damage your speakers if the 
settings are too inappropriate for your model of laptop (including the 
16IAX7). This is very much a USE AT YOUR OWN RISK scenario, and I 
sincerely recommend against using my patches to avoid any possibility of 
damage to your laptop. Furthermore, sound doesn't work after resume anyway.

Although it could be argued that if people start trying to use hacks 
like these to enable sound under Linux for their laptop, vendors such as 
Lenovo may need to issue BIOS updates to address this to avoid costly 
laptop repairs.

On 9/30/22 05:11, bugzilla-dae...@kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>
> jochemp...@gmail.com  changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   CC|                            |jochemp...@gmail.com
>
> --- Comment #696 fromjochemp...@gmail.com  ---
> I seem to have the same issue on a lenovo Legion S7 16ARHA7, here is my
> alsa-info hopefully it's of some use:
> http://alsa-project.org/db/?f=59acbf18b993b0a49edaaee0027d4b57fcf2055c
>

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1958019

Title:
  [Lenovo Legion7 16ACHg6 82N6, Realtek ALC287, Speaker, Internal] No
  sound at all

Status in sound-2.6 (alsa-kernel):
  Confirmed
Status in alsa-driver package in Ubuntu:
  Confirmed

Bug description:
  On my Lenovo Legion-7-16ACHg6 laptop I can't hear any sound by
  internal speakers, but it work by headphones connected to standard
  jack aux.

  uname -r
  5.11.0-44-generic

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu5
  ProcVersionSignature: Ubuntu 5.11.0-44.48~20.04.2-generic 5.11.22
  Uname: Linux 5.11.0-44-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu27.21
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC2:  i3draven   1266 F.... pulseaudio
   /dev/snd/controlC0:  i3draven   1266 F.... pulseaudio
   /dev/snd/controlC1:  i3draven   1266 F.... pulseaudio
   /dev/snd/pcmC1D0p:   i3draven   1266 F...m pulseaudio
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Jan 15 15:10:53 2022
  InstallationDate: Installed on 2021-10-11 (96 days ago)
  InstallationMedia: Ubuntu 20.04.3 LTS "Focal Fossa" - Release amd64 (20210819)
  PackageArchitecture: all
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA playback test through plughw:Generic failed
  Symptom_Card: Family 17h (Models 10h-1fh) HD Audio Controller - HD-Audio 
Generic
  Symptom_DevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC2:  i3draven   1266 F.... pulseaudio
   /dev/snd/controlC0:  i3draven   1266 F.... pulseaudio
   /dev/snd/controlC1:  i3draven   1266 F.... pulseaudio
   /dev/snd/pcmC1D0p:   i3draven   1266 F...m pulseaudio
  Symptom_Jack: Speaker, Internal
  Symptom_Type: No sound at all
  Title: [82N6, Realtek ALC287, Speaker, Internal] No sound at all
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/08/2021
  dmi.bios.release: 1.49
  dmi.bios.vendor: LENOVO
  dmi.bios.version: GKCN49WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0R32862 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Legion 7 16ACHg6
  dmi.ec.firmware.release: 1.49
  dmi.modalias: 
dmi:bvnLENOVO:bvrGKCN49WW:bd11/08/2021:br1.49:efr1.49:svnLENOVO:pn82N6:pvrLegion716ACHg6:skuLENOVO_MT_82N6_BU_idea_FM_Legion716ACHg6:rvnLENOVO:rnLNVNB161216:rvrSDK0R32862WIN:cvnLENOVO:ct10:cvrLegion716ACHg6:
  dmi.product.family: Legion 7 16ACHg6
  dmi.product.name: 82N6
  dmi.product.sku: LENOVO_MT_82N6_BU_idea_FM_Legion 7 16ACHg6
  dmi.product.version: Legion 7 16ACHg6
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/sound-2.6/+bug/1958019/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to