Re: [Bug 21574] Re: Only headphones work after suspend on HP nx8220
Jani Monoses [EMAIL PROTECTED] writes: Mario, is this still broken upstream? -- Only headphones work after suspend on HP nx8220 https://bugs.launchpad.net/bugs/21574 I don't know about the latest linux, but as of 2.6.22.9 it was still broken. I just got mail from someone else who had the same problem and the same fix worked for them. But a while ago I heard from someone else who tried it and it did not help with the problem on their system. It seems there may be a few different problems that result in similar symptoms. There may be a good reason for the original patch--it may fix some other problem on a different system. This audio stuff is all a bit crazy. All I know is, the fix works for me, and at least some other people. I guess it really needs someone to look into this chipset in depth and understand what is actually going on, rather than just randomly patching things. Sorry I can't be more specific. -- Mario Becroft [EMAIL PROTECTED] -- Only headphones work after suspend on HP nx8220 https://bugs.launchpad.net/bugs/21574 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 21574] Re: Only headphones work after suspend on HP nx8220
micschk [EMAIL PROTECTED] writes: I'm happy to finally have found a solution to this problem (I hope). It's probably not the right place to ask, but I've been searching on how to unapply this (or any) patch, without success... Could anyone give some pointers or perhaps a how to on on how to do this? (I've been fiddling around with gentoo for a year, just don't know how to do this kind of stuff on ubuntu). It may still be touch-and-go; someone else said reversing this patch did not fix the problem on their machine--so you'll have to try it and see. It definitely works for me on my nw8240. I don't know anything about dealing with the patch on ubuntu in particular, but assuming that you can build the kernel, all you need to do is go and manually change the relevant line of code and then rebuild your kernel (or just the relevant module). Good luck! -- Mario Becroft [EMAIL PROTECTED] -- Only headphones work after suspend on HP nx8220 https://bugs.launchpad.net/bugs/21574 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 21574] Re: Only headphones work after suspend on HP nx8220
I have tracked it down! (Still don't know the mechanism, but there is a fix.) The bug was fixed in commit 30b35399ceb2398d05837863476dcb12f12f3a82 It was broken again in commit 19bfafb2ed1a59efb979b6725ab7626a94f7e078 The latter only removes one line, a call to pci_set_power_state() in intel8x0_suspend() (a line that had been added in the first commit). Simply unapplying that commit fixes the problem. The bizarre thing is that the latter commit was designated as correcting the speaker problem on suspend to RAM. At least for my laptop (HP nw8240) this patch actually *causes* the problem. -- Only headphones work after suspend on HP nx8220 https://bugs.launchpad.net/bugs/21574 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 21574] Re: Only headphones work after suspend on HP nx8220
An update: as someone else has mentioned: at some stage this problem was fixed, and at least for me in the 2.6.19 kernel the problem had gone away. Since upgrading to 2.6.22.9 the problem has come back again on my nw8240. I have no idea what actually fixed the problem or exactly which kernel version it was fixed in, or exactly when it came back. See my notes at: http://hpwiki.cactii.net/hpwiki/nw8240 I will try and put up some more detailed information. As explained there, you can fix it by hacking your hardware, but that is not really an ideal solution. The main problem is I don't know where the extra signal comes from that turns the amplifier off so I am no closer to knowing how to fix it. I also do not understand why they have bother having this signal since it is already controlled from the AC97 codec anyway. Help! -- Only headphones work after suspend on HP nx8220 https://bugs.launchpad.net/bugs/21574 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 21574] Re: sound gone after resuming from sleep on hp nx8220
I have this exact problem with HP nw8240. After suspend-to-RAM, the internal speakers do not work, but headphones are ok. A suspend-to-disc (power off) cycle fixes the problem. I tried comparing all the AC97 registers and other info in /proc/asound but they are identical in the working and not-working cases. I have not done any ALSA development so I am not sure if there is an easy way of playing with the AC97 registers with a userspace program. Otherwise I am not sure how to easily debug this problem. Obviously something subtle has to be initialised after resume. Is anyone else working on this? -- sound gone after resuming from sleep on hp nx8220 https://launchpad.net/bugs/21574 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs