Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131226 - gentoo-sources-2.6.16-r3 breaks sound w/Intel 82801G (ICH7 Family) High Definition Audio Controller
Summary: gentoo-sources-2.6.16-r3 breaks sound w/Intel 82801G (ICH7 Family) High Defin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Drake (RETIRED)
URL: https://bugtrack.alsa-project.org/als...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-25 07:27 UTC by Keith Amidon
Modified: 2006-05-02 03:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch #1 (ad1968a.patch,6.86 KB, patch)
2006-04-25 14:44 UTC, Daniel Drake (RETIRED)
Details | Diff
patch #2 (hda2,19.09 KB, patch)
2006-04-25 14:44 UTC, Daniel Drake (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Amidon 2006-04-25 07:27:48 UTC
Sound stopped working (no sound output) on my Dell Insprion 6400 laptop after upgrading to gentoo-sources-2.6.16-r3 from gentoo-sources-2.6.15-r1, for which lspci reports:

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)

I'm using the snd_hda_intel module for this hardware.

I resolved the problem temporarily by applying the patch at:

   http://lkml.org/lkml/2006/3/17/279

manually to my kernel sources directory and rebuilding the kernel.

It sounds like this may be resolved by upstream fixes in the alsa code that will eventually be included in a kernel release.  However, in case that takes awhile, I thought I would report it here as well.
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2006-04-25 10:08:19 UTC
The merged version is slightly different. Please confirm that this patch solves your problem (see URL field)
Comment 2 Keith Amidon 2006-04-25 13:58:08 UTC
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?
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2006-04-25 14:44:19 UTC
Created attachment 85487 [details, diff]
patch #1

apply this one first
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2006-04-25 14:44:48 UTC
Created attachment 85488 [details, diff]
patch #2

and then this one
(replaces the one i originally linked to)
Comment 5 Keith Amidon 2006-04-26 08:09:53 UTC
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.
Comment 6 Juergen Nagel 2006-04-30 17:27:11 UTC
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?
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2006-05-01 02:52:32 UTC
Another bug please. Always keep one bug for one issue.
Comment 8 Daniel Drake (RETIRED) gentoo-dev 2006-05-02 03:51:26 UTC
Fixed in gentoo-sources-2.6.16-r5 (genpatches-2.6.16-7)