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

* Re: [PR PATCH] [Updated] linux5.15: Fix sound on certian Lenovo 7i devices
  2021-12-21 20:55 [PR PATCH] linux5.15: Fix sound on certian Lenovo 7i devices Oreo639
@ 2021-12-21 20:56 ` Oreo639
  2021-12-21 22:05 ` [PR PATCH] [Closed]: " Oreo639
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Oreo639 @ 2021-12-21 20:56 UTC (permalink / raw)
  To: ml

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

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

* Re: [PR PATCH] [Closed]: linux5.15: Fix sound on certian Lenovo 7i devices
  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 ` Oreo639
  2021-12-23  4:03 ` [PR PATCH] [Updated] " Oreo639
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Oreo639 @ 2021-12-21 22:05 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

linux5.15: Fix sound on certian Lenovo 7i devices
https://github.com/void-linux/void-packages/pull/34650

Description:
<!-- 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 subsystem device ID is incorrect.
Not entirely sure how best to report this to 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
-->


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

* Re: [PR PATCH] [Updated] linux5.15: Fix sound on certian Lenovo 7i devices
  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 ` Oreo639
  2021-12-23  4:04 ` Oreo639
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Oreo639 @ 2021-12-23  4:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1478 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 fixed for some devices in:
https://bugzilla.kernel.org/show_bug.cgi?id=208555

However, the subsystem_id for my machine is not in the list, so this just adds it temporarily until it can hopefully be resolved 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: 2038 bytes --]

From a82915eaf96b4fc61307e2f908a130146308b2d3 Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Wed, 22 Dec 2021 20:03:33 -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 b3ce4c4d051a..2ee2dc67336b 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.11
-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

* Re: [PR PATCH] [Updated] linux5.15: Fix sound on certian Lenovo 7i devices
  2021-12-21 20:55 [PR PATCH] linux5.15: Fix sound on certian Lenovo 7i devices Oreo639
                   ` (2 preceding siblings ...)
  2021-12-23  4:03 ` [PR PATCH] [Updated] " Oreo639
@ 2021-12-23  4:04 ` Oreo639
  2021-12-26  2:40 ` [PR REVIEW] " ericonr
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Oreo639 @ 2021-12-23  4:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1478 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 fixed for some devices in:
https://bugzilla.kernel.org/show_bug.cgi?id=208555

However, the subsystem_id for my machine is not in the list, so this just adds it temporarily until it can hopefully be resolved 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: 2048 bytes --]

From 61e6c7061568f04caf7753b00ab537a9e7625a36 Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Wed, 22 Dec 2021 20:03:33 -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 b3ce4c4d051a..2ee2dc67336b 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.11
-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

* Re: [PR REVIEW] linux5.15: Fix sound on certian Lenovo 7i devices
  2021-12-21 20:55 [PR PATCH] linux5.15: Fix sound on certian Lenovo 7i devices Oreo639
                   ` (3 preceding siblings ...)
  2021-12-23  4:04 ` Oreo639
@ 2021-12-26  2:40 ` ericonr
  2021-12-26  2:59 ` [PR PATCH] [Updated] " Oreo639
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: ericonr @ 2021-12-26  2:40 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/34650#discussion_r775188525

Comment:
The patch should mention its upstream status.

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

* Re: [PR PATCH] [Updated] linux5.15: Fix sound on certian Lenovo 7i devices
  2021-12-21 20:55 [PR PATCH] linux5.15: Fix sound on certian Lenovo 7i devices Oreo639
                   ` (4 preceding siblings ...)
  2021-12-26  2:40 ` [PR REVIEW] " ericonr
@ 2021-12-26  2:59 ` Oreo639
  2021-12-26  3:00 ` [PR REVIEW] " Oreo639
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Oreo639 @ 2021-12-26  2:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1478 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 fixed for some devices in:
https://bugzilla.kernel.org/show_bug.cgi?id=208555

However, the subsystem_id for my machine is not in the list, so this just adds it temporarily until it can hopefully be resolved 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: 2810 bytes --]

From 0bff0d91d621202832f21bb9458f83439f6700ad Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Sat, 25 Dec 2021 18:58:26 -0800
Subject: [PATCH] linux5.15: Add speaker fixup for some Yoga 15ITL5 devices

[ci skip]
---
 .../patches/fix-lenovo7i-sound.patch          | 33 +++++++++++++++++++
 srcpkgs/linux5.15/template                    |  2 +-
 2 files changed, 34 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..88660ce47177
--- /dev/null
+++ b/srcpkgs/linux5.15/patches/fix-lenovo7i-sound.patch
@@ -0,0 +1,33 @@
+From 6dc86976220cc904e87ee58e4be19dd90d6a36d5 Mon Sep 17 00:00:00 2001
+From: Arie Geiger <arsgeiger@gmail.com>
+Date: Thu, 23 Dec 2021 15:28:57 -0800
+Subject: ALSA: hda/realtek: Add speaker fixup for some Yoga 15ITL5 devices
+
+This patch adds another possible subsystem ID for the ALC287 used by
+the Lenovo Yoga 15ITL5.
+It uses the same initalization as the others.
+This patch has been tested and works for my device.
+
+Signed-off-by: Arie Geiger <arsgeiger@gmail.com>
+Cc: <stable@vger.kernel.org>
+Link: https://lore.kernel.org/r/20211223232857.30741-1-arsgeiger@gmail.com
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+---
+ sound/pci/hda/patch_realtek.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
+index 28255e752c4a1..08c0529c23105 100644
+--- a/sound/pci/hda/patch_realtek.c
++++ b/sound/pci/hda/patch_realtek.c
+@@ -8927,6 +8927,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
+ 	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),
+-- 
+cgit 1.2.3-1.el7
+
diff --git a/srcpkgs/linux5.15/template b/srcpkgs/linux5.15/template
index b3ce4c4d051a..2ee2dc67336b 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.11
-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

* Re: [PR REVIEW] linux5.15: Fix sound on certian Lenovo 7i devices
  2021-12-21 20:55 [PR PATCH] linux5.15: Fix sound on certian Lenovo 7i devices Oreo639
                   ` (5 preceding siblings ...)
  2021-12-26  2:59 ` [PR PATCH] [Updated] " Oreo639
@ 2021-12-26  3:00 ` Oreo639
  2021-12-28  6:21 ` [PR REVIEW] linux5.15: Add speaker fixup for some Yoga 15ITL5 devices ericonr
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Oreo639 @ 2021-12-26  3:00 UTC (permalink / raw)
  To: ml

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

New review comment by Oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/34650#discussion_r775189591

Comment:
Updated.

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

* Re: [PR REVIEW] linux5.15: Add speaker fixup for some Yoga 15ITL5 devices
  2021-12-21 20:55 [PR PATCH] linux5.15: Fix sound on certian Lenovo 7i devices Oreo639
                   ` (6 preceding siblings ...)
  2021-12-26  3:00 ` [PR REVIEW] " Oreo639
@ 2021-12-28  6:21 ` ericonr
  2021-12-28  7:51 ` Oreo639
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: ericonr @ 2021-12-28  6:21 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/34650#discussion_r775743305

Comment:
Ah sorry, I had missed this. We don't increase the revision for changes like this, a new kernel revision will come out soon enough.

@leahneukirchen do you think this is ok?

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

* Re: [PR REVIEW] linux5.15: Add speaker fixup for some Yoga 15ITL5 devices
  2021-12-21 20:55 [PR PATCH] linux5.15: Fix sound on certian Lenovo 7i devices Oreo639
                   ` (7 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Oreo639 @ 2021-12-28  7:51 UTC (permalink / raw)
  To: ml

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

New review comment by Oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/34650#discussion_r775771255

Comment:
Alright, unless there is an objection, I'll fix that tomorrow.

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

* Re: [PR PATCH] [Updated] linux5.15: Add speaker fixup for some Yoga 15ITL5 devices
  2021-12-21 20:55 [PR PATCH] linux5.15: Fix sound on certian Lenovo 7i devices Oreo639
                   ` (8 preceding siblings ...)
  2021-12-28  7:51 ` Oreo639
@ 2021-12-28 20:39 ` Oreo639
  2021-12-28 20:40 ` [PR REVIEW] " Oreo639
  2021-12-28 20:54 ` [PR PATCH] [Merged]: " leahneukirchen
  11 siblings, 0 replies; 13+ messages in thread
From: Oreo639 @ 2021-12-28 20:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1533 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: Add speaker fixup for some Yoga 15ITL5 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 fixed for some devices in:
https://bugzilla.kernel.org/show_bug.cgi?id=208555

~~However, the subsystem_id for my machine is not in the list, so this just adds it temporarily until it can hopefully be resolved upstream.~~
The patch has since been merged 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: 2317 bytes --]

From 275e032556c2c274697bffb5029cbfdf9260c490 Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Sat, 25 Dec 2021 18:58:26 -0800
Subject: [PATCH] linux5.15: Add speaker fixup for some Yoga 15ITL5 devices

[ci skip]
---
 .../patches/fix-lenovo7i-sound.patch          | 33 +++++++++++++++++++
 1 file changed, 33 insertions(+)
 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..88660ce47177
--- /dev/null
+++ b/srcpkgs/linux5.15/patches/fix-lenovo7i-sound.patch
@@ -0,0 +1,33 @@
+From 6dc86976220cc904e87ee58e4be19dd90d6a36d5 Mon Sep 17 00:00:00 2001
+From: Arie Geiger <arsgeiger@gmail.com>
+Date: Thu, 23 Dec 2021 15:28:57 -0800
+Subject: ALSA: hda/realtek: Add speaker fixup for some Yoga 15ITL5 devices
+
+This patch adds another possible subsystem ID for the ALC287 used by
+the Lenovo Yoga 15ITL5.
+It uses the same initalization as the others.
+This patch has been tested and works for my device.
+
+Signed-off-by: Arie Geiger <arsgeiger@gmail.com>
+Cc: <stable@vger.kernel.org>
+Link: https://lore.kernel.org/r/20211223232857.30741-1-arsgeiger@gmail.com
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+---
+ sound/pci/hda/patch_realtek.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
+index 28255e752c4a1..08c0529c23105 100644
+--- a/sound/pci/hda/patch_realtek.c
++++ b/sound/pci/hda/patch_realtek.c
+@@ -8927,6 +8927,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
+ 	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),
+-- 
+cgit 1.2.3-1.el7
+

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

* Re: [PR REVIEW] linux5.15: Add speaker fixup for some Yoga 15ITL5 devices
  2021-12-21 20:55 [PR PATCH] linux5.15: Fix sound on certian Lenovo 7i devices Oreo639
                   ` (9 preceding siblings ...)
  2021-12-28 20:39 ` [PR PATCH] [Updated] " Oreo639
@ 2021-12-28 20:40 ` Oreo639
  2021-12-28 20:54 ` [PR PATCH] [Merged]: " leahneukirchen
  11 siblings, 0 replies; 13+ messages in thread
From: Oreo639 @ 2021-12-28 20:40 UTC (permalink / raw)
  To: ml

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

New review comment by Oreo639 on void-packages repository

https://github.com/void-linux/void-packages/pull/34650#discussion_r776065892

Comment:
Fixed.

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

* Re: [PR PATCH] [Merged]: linux5.15: Add speaker fixup for some Yoga 15ITL5 devices
  2021-12-21 20:55 [PR PATCH] linux5.15: Fix sound on certian Lenovo 7i devices Oreo639
                   ` (10 preceding siblings ...)
  2021-12-28 20:40 ` [PR REVIEW] " Oreo639
@ 2021-12-28 20:54 ` leahneukirchen
  11 siblings, 0 replies; 13+ messages in thread
From: leahneukirchen @ 2021-12-28 20:54 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

linux5.15: Add speaker fixup for some Yoga 15ITL5 devices
https://github.com/void-linux/void-packages/pull/34650

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

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

~~However, the subsystem_id for my machine is not in the list, so this just adds it temporarily until it can hopefully be resolved upstream.~~
The patch has since been merged 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
-->


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