Summary: | gentoo-sources-2.6.16-r3 breaks sound w/Intel 82801G (ICH7 Family) High Definition Audio Controller | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Keith Amidon <camalot> |
Component: | [OLD] Core system | Assignee: | Daniel Drake (RETIRED) <dsd> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | juergennagel, kernel |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1843 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
patch #1
patch #2 |
Description
Keith Amidon
2006-04-25 07:27:48 UTC
The merged version is slightly different. Please confirm that this patch solves your problem (see URL field) The kernel patch suggested (in the URL field of the bug) does not apply cleanly on gentoo-sources-2.9.16-r3 sources I am currently using. I get: patch -p1 <linus-intel-hda.patch patching file sound/pci/hda/hda_codec.c Hunk #1 succeeded at 1890 (offset -9 lines). Hunk #2 FAILED at 1921. Hunk #3 succeeded at 1947 (offset -9 lines). Hunk #4 succeeded at 2011 (offset -9 lines). Hunk #5 succeeded at 2079 (offset -9 lines). 1 out of 5 hunks FAILED -- saving rejects to file sound/pci/hda/hda_codec.c.rej patching file sound/pci/hda/hda_local.h Hunk #1 succeeded at 130 (offset -5 lines). Hunk #2 succeeded at 217 (offset -5 lines). patching file sound/pci/hda/patch_analog.c Hunk #1 FAILED at 786. Hunk #2 succeeded at 1797 (offset -458 lines). Hunk #3 succeeded at 1920 (offset -458 lines). Hunk #4 succeeded at 1969 (offset -458 lines). 1 out of 4 hunks FAILED -- saving rejects to file sound/pci/hda/patch_analog.c.rej patching file sound/pci/hda/patch_realtek.c Hunk #1 succeeded at 2043 (offset -388 lines). Hunk #2 succeeded at 2060 (offset -388 lines). Hunk #3 succeeded at 2143 (offset -388 lines). Hunk #4 succeeded at 2179 (offset -388 lines). Hunk #5 succeeded at 2735 (offset -701 lines). Hunk #6 succeeded at 2808 (offset -701 lines). Hunk #7 succeeded at 3752 (offset -841 lines). Hunk #8 succeeded at 3762 (offset -841 lines). Hunk #9 succeeded at 3778 (offset -841 lines). Hunk #10 succeeded at 3871 (offset -841 lines). Hunk #11 succeeded at 4533 (offset -853 lines). patching file sound/pci/hda/patch_sigmatel.c Hunk #2 succeeded at 692 (offset -6 lines). Hunk #3 succeeded at 761 (offset -6 lines). Hunk #4 succeeded at 801 (offset -6 lines). Hunk #5 succeeded at 849 (offset -6 lines). Hunk #6 succeeded at 865 (offset -6 lines). Hunk #7 succeeded at 878 (offset -6 lines). Hunk #8 succeeded at 912 (offset -6 lines). Hunk #9 succeeded at 931 (offset -6 lines). From a cursory inspection, some of the rejected hunks look like they might be relevant to my problem. I have not tried manually merging the patch and building as I'm extremely time-constrained currently. I may have time try it in 24 hours or so. Any additional suggestions? Should I try applying the patch to different kernel sources? Created attachment 85487 [details, diff]
patch #1
apply this one first
Created attachment 85488 [details, diff]
patch #2
and then this one
(replaces the one i originally linked to)
The newly attached patches applied cleanly and also resolved the issue. The only thing I haven't tested is audio input because I don't have handy a microphone or other audio producing device I can hook up to the laptop currently. Thank you for your very quick response to my issue and your assistance. I also had sound problems (annoying noise) on my Samsung M50 and extracted patches from 2.6.17rc3 (diffed against suspend2-sources-2.6.16-r4) myself which solved the problem. I had a look at the patches attached to this bug and they contain the same fix as the patches I had extracted. However, they don't apply to the suspend2-sources 2.6.16-r4. Would it be of interest if I opened another bug for my patches or will the patches attached to this bug be added to the next genpatches and thus also affect the suspend2-sources? Another bug please. Always keep one bug for one issue. Fixed in gentoo-sources-2.6.16-r5 (genpatches-2.6.16-7) |