Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 131226
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Daniel Drake <dsd@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Keith Amidon <camalot@picnicpark.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ad1968a.patch patch #1 patch Daniel Drake 2006-04-25 14:44 0000 6.86 KB Details | Diff
hda2 patch #2 patch Daniel Drake 2006-04-25 14:44 0000 19.09 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 131226 depends on: Show dependency tree
Bug 131226 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-04-25 07:27 0000
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 From Daniel Drake 2006-04-25 10:08:19 0000 -------
The merged version is slightly different. Please confirm that this patch solves
your problem (see URL field)

------- Comment #2 From Keith Amidon 2006-04-25 13:58:08 0000 -------
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 From Daniel Drake 2006-04-25 14:44:19 0000 -------
Created an attachment (id=85487) [details]
patch #1

apply this one first

------- Comment #4 From Daniel Drake 2006-04-25 14:44:48 0000 -------
Created an attachment (id=85488) [details]
patch #2

and then this one
(replaces the one i originally linked to)

------- Comment #5 From Keith Amidon 2006-04-26 08:09:53 0000 -------
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 From Juergen Nagel 2006-04-30 17:27:11 0000 -------
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 From Daniel Drake 2006-05-01 02:52:32 0000 -------
Another bug please. Always keep one bug for one issue.

------- Comment #8 From Daniel Drake 2006-05-02 03:51:26 0000 -------
Fixed in gentoo-sources-2.6.16-r5 (genpatches-2.6.16-7)

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug