(In reply to Cameron Berkenpas from comment #339)
> Created attachment 297677 [details]
> linux-5.12-legion-sound-0.0.7.patch
>
> Now that it's time to start moving away from just trying to get things
> working to having something that might actually be accepted into kernel, I'm
> changing how we're handling the verbs. In order to (hopefully) follow
> convention, I'm using the HDA_FIXUP_VERBS method to pass the verbs instead
> of manually calling a function to send them.
>
> 2020 Legion, 13s Gen2, and Yoga 7 are still the only supported models. I
> don't expect any issues, but please report any that come up.
>
> In other news, I'm working on some documentation for the
> linux-realtek-alc287 GitHub project that I will hopefully have completed by
> this week so that others can try to reproduce this process and get sound out
> of their laptops. Thank you, Thiago!
13s Gen2 here, I'm trying to apply this patch with this command:
patch -p1 < linux-5.12-legion-sound-0.0.7.patch
and getting this error :
patching file sound/pci/hda/legion_15imhg05_speakers.c
can't find file to patch at input line 506
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
|index e46e43dac6bf..d9fa4e4ceb5b 100644
|--- a/sound/pci/hda/patch_realtek.c
|+++ b/sound/pci/hda/patch_realtek.c
--------------------------
File to patch:
Skip this patch? [y] n
File to patch:
Skip this patch? [y]
Skipping patch.
4 out of 4 hunks ignored
(In reply to Cameron Berkenpas from comment #339) 12-legion- sound-0. 0.7.patch alc287 GitHub project that I will hopefully have completed by
> Created attachment 297677 [details]
> linux-5.
>
> Now that it's time to start moving away from just trying to get things
> working to having something that might actually be accepted into kernel, I'm
> changing how we're handling the verbs. In order to (hopefully) follow
> convention, I'm using the HDA_FIXUP_VERBS method to pass the verbs instead
> of manually calling a function to send them.
>
> 2020 Legion, 13s Gen2, and Yoga 7 are still the only supported models. I
> don't expect any issues, but please report any that come up.
>
> In other news, I'm working on some documentation for the
> linux-realtek-
> this week so that others can try to reproduce this process and get sound out
> of their laptops. Thank you, Thiago!
13s Gen2 here, I'm trying to apply this patch with this command:
patch -p1 < linux-5. 12-legion- sound-0. 0.7.patch
and getting this error :
patching file sound/pci/ hda/legion_ 15imhg05_ speakers. c ------- ------- ----- pci/hda/ patch_realtek. c b/sound/ pci/hda/ patch_realtek. c .d9fa4e4ceb5b 100644 pci/hda/ patch_realtek. c pci/hda/ patch_realtek. c ------- ------- -----
can't find file to patch at input line 506
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
-------
|diff --git a/sound/
|index e46e43dac6bf.
|--- a/sound/
|+++ b/sound/
-------
File to patch:
Skip this patch? [y] n
File to patch:
Skip this patch? [y]
Skipping patch.
4 out of 4 hunks ignored