Comment 359 for bug 1958019

Revision history for this message
In , cam (cam-linux-kernel-bugs) wrote :

What directory/folder are you running this command in?

On 7/2/21 1:35 PM, <email address hidden> wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=208555
>
> <email address hidden> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |<email address hidden>
>
> --- Comment #345 from <email address hidden> ---
> (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
>