Comment 47 for bug 1851518

Revision history for this message
jhubuntu20 (jhubuntu20) wrote :

OK, While I would prefer to wait until the patch lands, for an ubuntu LTS that can take a while, so I tried to do it manually. I downloaded the kernel src, but I am having trouble applying the patch. I am using the command :

patch -i ~/Desktop/0001-ALSA-hda-realtek-Add-model-alc298-samsung-headphone.patch

(I downloaded your patch to my desktop folder), but this gives me an error saying "can't find file to patch at input line 20"... which is this line in the script :

@@ -7867,6 +7867,7 @@ static const struct hda_model_fixup alc269_fixup_models[] = {
  {.id = ALC299_FIXUP_PREDATOR_SPK, .name = "predator-spk"},
  {.id = ALC298_FIXUP_HUAWEI_MBX_STEREO, .name = "huawei-mbx-stereo"},
  {.id = ALC256_FIXUP_MEDION_HEADSET_NO_PRESENCE, .name = "alc256-medion-headset"},
+ {.id = ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET, .name = "alc298-samsung-headphone"},
  {}
 };

Am I not applying the patch correctly?