[LUCID] hp compaq nc6220 no sound after resume Lucid Lynx

Bug #598242 reported by dennis
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

On my HP Compaq nc6220 my sound works fine till I put my laptop on standby. When I resume I don't have audio on my speakers, I have it only on my headphoneport. After some reading this is an old bug in yaunty, but now it has returned in Lucid. Apparently the amplifier will not get a signal to power on.
The command "alsa force-reload" doesn't help.
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: dennis 7565 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'ICH6'/'Intel ICH6 with AD1981B at irq 21'
   Mixer name : 'Analog Devices AD1981B'
   Components : 'AC97a:41445374'
   Controls : 25
   Simple ctrls : 18
DistroRelease: Ubuntu 10.04
HibernationDevice: RESUME=UUID=6abf3001-a0d8-46b6-b359-efead620d43a
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
Lsusb:
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 002: ID 03f0:011d Hewlett-Packard Integrated Bluetooth Module
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Hewlett-Packard HP Compaq nc6220 (PU982ET#ABH)
Package: linux (not installed)
PccardctlIdent:
 Socket 0:
   product info: "SCR243 PCMCIA", "Smart Card Reader", "", ""
   manfid: 0xffff, 0x0001
PccardctlStatus:
 Socket 0:
   5.0V 16-bit PC Card
   Subdevice 0 (function 0) [unbound]
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=fdf51bb3-f1ef-4336-8591-930b0f2a6efa ro quiet splash
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Regression: No
RelatedPackageVersions: linux-firmware 1.34
Reproducible: Yes
RfKill:
 4: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no
Tags: lucid audio needs-upstream-testing
Uname: Linux 2.6.32-22-generic i686
UserGroups:

dmi.bios.date: 02/10/2006
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68DTU Ver. F.10
dmi.board.name: 308A
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 40.22
dmi.chassis.asset.tag: CNU61105MN
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68DTUVer.F.10:bd02/10/2006:svnHewlett-Packard:pnHPCompaqnc6220(PU982ET#ABH):pvrF.10:rvnHewlett-Packard:rn308A:rvrKBCVersion40.22:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP Compaq nc6220 (PU982ET#ABH)
dmi.product.version: F.10
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage. I have classified this bug as a bug in linux.

When reporting bugs in the future please use apport, by using 'ubuntu-bug' in a terminal and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

affects: ubuntu → linux (Ubuntu)
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi dennis,

Please be sure to confirm this issue exists with the latest development release of Ubuntu. ISO CD images are available from http://cdimage.ubuntu.com/daily/current/ . If the issue remains, please run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 598242

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kernel-sound
tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
dennis (beastdjw) wrote : AlsaDevices.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
dennis (beastdjw) wrote : AplayDevices.txt

apport information

Revision history for this message
dennis (beastdjw) wrote : ArecordDevices.txt

apport information

Revision history for this message
dennis (beastdjw) wrote : BootDmesg.txt

apport information

Revision history for this message
dennis (beastdjw) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
dennis (beastdjw) wrote : Card0.Codecs.codec97.0.ac97.0.0.txt

apport information

Revision history for this message
dennis (beastdjw) wrote : Card0.Codecs.codec97.0.ac97.0.0.regs.txt

apport information

Revision history for this message
dennis (beastdjw) wrote : CurrentDmesg.txt

apport information

Revision history for this message
dennis (beastdjw) wrote : IwConfig.txt

apport information

Revision history for this message
dennis (beastdjw) wrote : Lspci.txt

apport information

Revision history for this message
dennis (beastdjw) wrote : PciMultimedia.txt

apport information

Revision history for this message
dennis (beastdjw) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
dennis (beastdjw) wrote : ProcInterrupts.txt

apport information

Revision history for this message
dennis (beastdjw) wrote : ProcModules.txt

apport information

Revision history for this message
dennis (beastdjw) wrote : UdevDb.txt

apport information

Revision history for this message
dennis (beastdjw) wrote : UdevLog.txt

apport information

Revision history for this message
dennis (beastdjw) wrote : WifiSyslog.txt

apport information

dennis (beastdjw)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
dennis (beastdjw)
Changed in linux (Ubuntu):
status: Confirmed → New
status: New → Incomplete
dennis (beastdjw)
tags: added: alsa-base
Revision history for this message
cement_head (andorjkiss) wrote :

Do you have the Ubuntu Pulse Audio Team PPA added/installed on your system? If not, add this to your sources: ppa:ubuntu-audio-dev/ppa ; update && upgrade, reboot and try it now.

- CH

Revision history for this message
dennis (beastdjw) wrote : Re: [Bug 598242] Re: [LUCID] hp compaq nc6220 no sound after resume Lucid Lynx
Download full text (3.8 KiB)

dear CH,

thank you very much for trying to help me, unfortunately your tip didn't have effect. It's not a mute problem, my headphone does work, but the speakers don't. In earlier posts i've read that after a resume the amplifier will not get a signal to  power on.

If you got any other suggestions please let me know. I'll really appreciate it.

greetings from the Netherlands,
Dennis

--- On Wed, 6/30/10, cement_head <email address hidden> wrote:

From: cement_head <email address hidden>
Subject: [Bug 598242] Re: [LUCID] hp compaq nc6220 no sound after resume Lucid Lynx
To: <email address hidden>
Date: Wednesday, June 30, 2010, 12:34 PM

Do you have the Ubuntu Pulse Audio Team PPA added/installed on your
system?  If not, add this to your sources: ppa:ubuntu-audio-dev/ppa ;
update && upgrade, reboot and try it now.

- CH

--
[LUCID] hp compaq nc6220 no sound after resume Lucid Lynx
https://bugs.launchpad.net/bugs/598242
You received this bug notification because you are a direct subscriber
of the bug.

Status in “linux” package in Ubuntu: Incomplete

Bug description:
On my HP Compaq nc6220 my sound works fine till I put my laptop on standby. When I resume I don't have audio on my speakers, I have it only on my headphoneport. After some reading this is an old bug in yaunty, but now it has returned in Lucid. Apparently the amplifier will not get a signal to power on.
The command "alsa force-reload" doesn't help.
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  dennis     7565 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'ICH6'/'Intel ICH6 with AD1981B at irq 21'
   Mixer name    : 'Analog Devices AD1981B'
   Components    : 'AC97a:41445374'
   Controls      : 25
   Simple ctrls  : 18
DistroRelease: Ubuntu 10.04
HibernationDevice: RESUME=UUID=6abf3001-a0d8-46b6-b359-efead620d43a
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
Lsusb:
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 002: ID 03f0:011d Hewlett-Packard Integrated Bluetooth Module
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Hewlett-Packard HP Compaq nc6220 (PU982ET#ABH)
Package: linux (not installed)
PccardctlIdent:
 Socket 0:
   product info: "SCR243 PCMCIA", "Smart Card Reader", "", ""
   manfid: 0xffff, 0x0001
PccardctlStatus:
 Socket 0:
   5.0V 16-bit PC Card
   Subdevice 0 (function 0) [unbound]
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=fdf51bb3-f1ef-4336-8591-930b0f2a6efa ro quiet splash
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Regression: No
RelatedPackageVersions: linux-firmware 1.34
Reproducible: Yes
RfKill:
 4: hci0: Bluetooth
     Soft blocked: no
     Hard blocked: no
Tags: lucid audio needs-upstream-testing
Uname: Linux 2.6.32-22-generic i686
UserGroups:

dmi.bios.date: 02/10/2006
dmi.bios.vendor: Hewle...

Read more...

Revision history for this message
Ewen McNeill (ewen) wrote :

This bug also affects me on a HP NC6220 laptop, with a fresh install of Ubuntu Linux 10.04 (Lucid).

It appears to be a reversion of the fix in bug #151111 (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/151111), from 2007 (Fiesty, Gutsty). Prior to that fix the internal speakers stopped working after suspend/resume, but headphones/external speakers worked; after that fix, the internal speakers stayed working over suspend/resume. The same thing is true now (after suspend the internal speakers don't work, but headphones do work).

In bug #151111 it was tracked down to a specific patch that was applied to break things (and I can confirm that reverting that patch and building a custom module did fix the problem at the time):

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/151111/comments/1
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/151111/comments/7

The resolution of bug #151111 was to add a "quirk" to the suspend code for various HP laptop models which would run the appropriate kernel function to power off (during suspend) and hence on (during resume) the amplifier for internal speakers. I suspect (but have not confirmed) that that quirk went missing between 8.04 LTS and 10.04 LTS; based on comments in #151111 it seems to have been reintroduced between 9.04 and 9.10.

FTR, I have found that hibernating the laptop (ie, out to disk, full power off), is sufficient to reset the internal amplifier state and make the internal speakers work again until the next suspend-to-RAM. IIRC from #151111 the issue seemed to be that the internal amplifier power up code didn't get run unless it had been explicitly powered down. (And unfortunately it seems on other laptops it never got powered up if it got powered down, hence the patch which caused the problem.)

Ewen

dennis (beastdjw)
affects: linux (Ubuntu) → alsa-driver (Ubuntu)
Revision history for this message
dennis (beastdjw) wrote :

It looks like the problem is solved. I don't exactly know what the solution is. But what I did is following the tip from Cement Head (CH) and today I've received an Alsa-update after restarting (twice) the standby-resume works fine.
Maybe Ewen can confirm this?

Revision history for this message
Ewen McNeill (ewen) wrote :

Prompted by Dennis's comment, I thought I'd be a bit scientific about this, and (a) retested with the packages already installed on my HP NC6220 (behaves as described in bug -- after first suspend audio can be heard through headphones, but not built in speakers), (b) ensure that I had the latest available Ubuntu base packages installed, reboot, and retest, and then (c) try the PPA.

What I found was that after installing the packages (without adding the PPA) and restarting, the audio worked correctly through the speakers after suspend/resume. To verify this was the fix, I changed the boot timeout (/etc/default/grub) so that I could choose the kernel running and restarted to test with both the previous kernel package and the current kernel package.

- 2.6.32-22-generic: behaves as per bug, after first suspend/resume built in speakers are silent but headphones work (restarting or hibernating makes built in speakers work again)

- 2.6.32-23-generic: works properly, even after 10 suspend/resume cycles built in speakers work immediately after resume

2.6.32-23-generic appears to have arrived from lucid-updates, although http://packages.ubuntu.com/ is unable to find it.

So without trying the PPA it appears that the issue has been fixed in the linux kernel update 2.6.32-23-generic. There are a number of ALSA updates in 2.6.32-23-generic according to the change log (many from stable kernel update: https://bugs.launchpad.net/ubuntu/+bug/583414), including some relating to PCI Quirks, and 0dB offsets, but it's not obvious to me which of these affect the snd_intel8x0 ALSA driver (as opposed to hda, hda_intel).

If Dennis also has 2.6.32-23-generic installed and running ("uname -a") then that may be the explanation for his fix as well, rather than the PPA specifically.

Ewen

Revision history for this message
dennis (beastdjw) wrote :

I'm using 2.6.32.23-generic. So the conclusion is: the solution is not in the PPA but in the kernel upgrade (?). I'm really happy with this. Ubuntu (linux) rocks.

Ewen, shall I close this bug?

Revision history for this message
Ewen McNeill (ewen) wrote :

lucid-updates appears to be official updates, so with 2.6.32-23-generic fixing the problem and being in lucid-updates it seems to be fixed in an official update. So yes, I think closing the bug with "fixed in linux-image 2.6.32-23-generic" is appropriate. (It'd be nice to know precisely which change fixed it, in case it gets reverted again, but it's probably not worth the effort of digging through everything that changed between 2.6.32-22-generic and 2.6.32-23-generic, since there's a long list of changes.)

Ewen

dennis (beastdjw)
Changed in alsa-driver (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.