Created attachment 303815 attachment-24448-0.html Uploaded lenovo-7i-gen7-sound-6.2.0-rc3-0.0.5b.patch to https://bugzilla.kernel.org/show_bug.cgi?id=216194
Although I forgot to update it in the patch name... This patch is against 6.2.1 I put a disclaimer that this is a use-at-your-own-risk as the missing settings were guessed for the full-sized Legion 7i, and it appears the the Legion 7i has been working without issue since August or so without any serious issues developing. The previous patch includes 7i Slim support and it seems this has been working for some people... If you've been using my patches for the 7i Slim, I would like to hear if things are still working for you without issue. With that feedback other 7i Slim users will be able to make an informed decision on the use of these patches. This updated patch adds support for the Slim 7 (AMD version). Same thing stands. If there are serious issues such as perhaps loudness, distorted sound, "amp short" messages in dmesg (when this happens the affected speaker will no longer output sound), etc, I suggest to stop using the patch to avoid the possibility of permanent damage (as well as following up with your issues). Since the 1-2 reports I saw that it seemed to work okay for the Slim 7i, I suspect it will for the AMD based Slim 7 as well, but I can't make any guarantees. And finally... I did work on overriding the ACPI DSD table to get sound working months back... While I did have some initial success, I was running into "AMP short" issues. My patch was originally based on an older version of the cs35l41 support and so it actually ends up bypassing some of the code paths used in the current CS35l41 driver. If I change the driver to go through that newer path, it has approximately the same problems that using a DSD override does. So it seems my patch works because it's "cheating" somehow due to historical reasons... Probably the info I use in the DSD override is very slightly off from what's needed, but if the issues could be ironed out... We'd have a solution that didn't require patching the kernel. However, we'd still be left with the problem of determining safe values and the values are (more or less) going to be specific to your model of laptop. This is why it's so frustrating that Lenovo won't add this info in a BIOS update where as my understanding is that Asus has, in at least a few cases, added these DSD entires in BIOS updates to get sound working under Linux. As I no longer require my laptop to specifically have a more professional Lenovo look, my next laptop will likely be Asus. Like many of you, Linux is my daily driver (and has been since the late 90's in my case). But being able to boot to Windows to play games with advanced optimus, some mild HDR support, etc... has been really great. Anyway, looking forward to the feedback. On 2/28/23 11:56, bugzilla-dae...@kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=208555 > > --- Comment #743 from Blake Lee (blake99...@gmail.com) --- > (In reply to Cameron Berkenpas from comment #742) >> You have the slim? I don't think I added slim support to the patch. I think >> someone else did and it worked. >> >> It's not that hard to do. The numeric ID you need can be found in your >> alsa-info. > Hi Cameron, I'm trying to get my Legion Slim 7 Gen 7 AMD version working... > How > do I modify the patch, or are you planning to? My alsa-info is below.. > > http://alsa-project.org/db/?f=3c10f6ee9607eabbc8f783505b7b29c87b7d0cca > > Thank you for being so helpful to everyone, this is a great computer I'm just > sick of using headphones lol > -- You received this bug notification because you are a member of Ubuntu Touch seeded 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/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp