Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] linux5.15: Fix sound on certian Lenovo 7i devices
@ 2021-12-21 20:55 Oreo639
  2021-12-21 20:56 ` [PR PATCH] [Updated] " Oreo639
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Oreo639 @ 2021-12-21 20:55 UTC (permalink / raw)
  To: ml

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

There is a new 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: 2037 bytes --]

From 5a4856e43ca34b55b9ed3b9288de403ced571dc4 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

---
 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>"

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-12-28 20:54 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-21 20:55 [PR PATCH] linux5.15: Fix sound on certian Lenovo 7i devices Oreo639
2021-12-21 20:56 ` [PR PATCH] [Updated] " Oreo639
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

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).