Github messages for voidlinux
 help / color / mirror / Atom feed
From: Oreo639 <Oreo639@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] linux5.15: Fix sound on certian Lenovo 7i devices
Date: Tue, 21 Dec 2021 21:56:14 +0100	[thread overview]
Message-ID: <20211221205614.XFw6g1m5k3RZRnKScwRwuUHrGTaXh2mEj8_VS0gLnkk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34650@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1527 bytes --]

There is an updated pull request by Oreo639 against master on the void-packages repository

https://github.com/Oreo639/void-packages 7isound
https://github.com/void-linux/void-packages/pull/34650

linux5.15: Fix sound on certian Lenovo 7i devices
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

This issue was supposedly fixed in:
https://bugzilla.kernel.org/show_bug.cgi?id=208555

Some of the comments from Legion 7i or Yoga 7 14ITL5 owners state that it works for them, however for my 15ITL5, the device ID is incorrect.
Not entirely sure how best to report this upstream.

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/34650.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-7isound-34650.patch --]
[-- Type: text/x-diff, Size: 2047 bytes --]

From d59710b8b266200d6936e95fd1d9307e8e17132d Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Tue, 21 Dec 2021 12:47:17 -0800
Subject: [PATCH] linux5.15: Fix sound on certian Lenovo 7i devices

[ci skip]
---
 srcpkgs/linux5.15/patches/fix-lenovo7i-sound.patch | 12 ++++++++++++
 srcpkgs/linux5.15/template                         |  2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/linux5.15/patches/fix-lenovo7i-sound.patch

diff --git a/srcpkgs/linux5.15/patches/fix-lenovo7i-sound.patch b/srcpkgs/linux5.15/patches/fix-lenovo7i-sound.patch
new file mode 100644
index 000000000000..b1ce24a03d0f
--- /dev/null
+++ b/srcpkgs/linux5.15/patches/fix-lenovo7i-sound.patch
@@ -0,0 +1,12 @@
+diff -Naur sound/pci/hda/patch_realtek.c sound/pci/hda/patch_realtek-new.c
+--- a/sound/pci/hda/patch_realtek.c	2021-12-21 03:21:03.324376378 -0800
++++ b/sound/pci/hda/patch_realtek.c	2021-12-21 03:20:11.110374904 -0800
+@@ -8834,6 +8834,7 @@
+ 	SND_PCI_QUIRK(0x17aa, 0x3813, "Legion 7i 15IMHG05", ALC287_FIXUP_LEGION_15IMHG05_SPEAKERS),
+ 	SND_PCI_QUIRK(0x17aa, 0x3852, "Lenovo Yoga 7 14ITL5", ALC287_FIXUP_YOGA7_14ITL_SPEAKERS),
+ 	SND_PCI_QUIRK(0x17aa, 0x3853, "Lenovo Yoga 7 15ITL5", ALC287_FIXUP_YOGA7_14ITL_SPEAKERS),
++	SND_PCI_QUIRK(0x17aa, 0x384a, "Lenovo Yoga 7 15ITL5", ALC287_FIXUP_YOGA7_14ITL_SPEAKERS),
+ 	SND_PCI_QUIRK(0x17aa, 0x3819, "Lenovo 13s Gen2 ITL", ALC287_FIXUP_13S_GEN2_SPEAKERS),
+ 	SND_PCI_QUIRK(0x17aa, 0x3902, "Lenovo E50-80", ALC269_FIXUP_DMIC_THINKPAD_ACPI),
+ 	SND_PCI_QUIRK(0x17aa, 0x3977, "IdeaPad S210", ALC283_FIXUP_INT_MIC),
+
diff --git a/srcpkgs/linux5.15/template b/srcpkgs/linux5.15/template
index 24302e27ea7b..9269080ccea5 100644
--- a/srcpkgs/linux5.15/template
+++ b/srcpkgs/linux5.15/template
@@ -1,7 +1,7 @@
 # Template file for 'linux5.15'
 pkgname=linux5.15
 version=5.15.9
-revision=1
+revision=2
 wrksrc="linux-${version%.*}"
 short_desc="Linux kernel and modules (${version%.*} series)"
 maintainer="Leah Neukirchen <leah@vuxu.org>"

  reply	other threads:[~2021-12-21 20:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-21 20:55 [PR PATCH] " Oreo639
2021-12-21 20:56 ` Oreo639 [this message]
2021-12-21 22:05 ` [PR PATCH] [Closed]: " Oreo639
2021-12-23  4:03 ` [PR PATCH] [Updated] " Oreo639
2021-12-23  4:04 ` Oreo639
2021-12-26  2:40 ` [PR REVIEW] " ericonr
2021-12-26  2:59 ` [PR PATCH] [Updated] " Oreo639
2021-12-26  3:00 ` [PR REVIEW] " Oreo639
2021-12-28  6:21 ` [PR REVIEW] linux5.15: Add speaker fixup for some Yoga 15ITL5 devices ericonr
2021-12-28  7:51 ` Oreo639
2021-12-28 20:39 ` [PR PATCH] [Updated] " Oreo639
2021-12-28 20:40 ` [PR REVIEW] " Oreo639
2021-12-28 20:54 ` [PR PATCH] [Merged]: " leahneukirchen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211221205614.XFw6g1m5k3RZRnKScwRwuUHrGTaXh2mEj8_VS0gLnkk@z \
    --to=oreo639@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).