[9.10 regression] HDA power_save=10

Bug #404554 reported by Arnaud Soyez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Karmic by Arnaud Soyez

Bug Description

This is on a HP Mini 1000 (1120NR).
Using Ubuntu UNR Karmic alpha-3 (also tried normal karmic alpha-4) iso.

Generally the sound works good. The problem appears after a sound has been played when there is only silence, after a few seconds I hear a crackling noise which lasts for a few milliseconds. It happens everytime. Maybe like a powersaving problem?

To test it, I just do:
paplay /usr/share/sounds/question.wav
I wait a few seconds and then I hear the crackling noise.

Note also that in at boot-time, I think when loading the hda-intel module, there is also a crackling sound and at shutdown too.
Under Jaunty, the sound didn't work but using alsa-source and compiling the modules I could make it work, there were no crackling sound except at boot time and shutdown.
I remember when I was using HP MIE (Ubuntu for HP Mini's), they used a workaround to avoid that noise, they mute the volume at boot-time and at shutdown (but I'm not certain).

I'm available to answer any questions. Note that I'm using the LiveCD so this is not currently installed on my laptop.

My alsa info (it also made a noise when doing alsa-info.sh):
http://www.alsa-project.org/db/?f=280ad492b833cc8d5f9972a02a6a63bb20746322

My sound card is:

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
        Subsystem: Hewlett-Packard Company Device 361a
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at fe938000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel

ProblemType: Bug
Architecture: i386
Date: Sat Jul 25 13:35:17 2009
DistroRelease: Ubuntu 9.10
LiveMediaBuild: Ubuntu-Netbook-Remix 9.10 "Karmic Koala" - Alpha i386 (20090723)
MachineType: Hewlett-Packard HP Mini
Package: linux-image-2.6.31-3-generic 2.6.31-3.19
ProcCmdLine: BOOT_IMAGE=/casper/vmlinuz noprompt cdrom-detect/try-usb=true persistent file=/cdrom/preseed/netbook-remix.seed boot=casper initrd=/casper/initrd.lz quiet splash --
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-3.19-generic
RelatedPackageVersions: linux-backports-modules-2.6.31-3-generic N/A
SourcePackage: linux
Tags: ubuntu-unr
Uname: Linux 2.6.31-3-generic i686
dmi.bios.date: 11/07/2008
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 361A0 Ver. F.05
dmi.board.name: 361A
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 02.0D
dmi.chassis.asset.tag: CNU9021486
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr361A0Ver.F.05:bd11/07/2008:svnHewlett-Packard:pnHPMini:pvrF.05:rvnHewlett-Packard:rn361A:rvrKBCVersion02.0D:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP Mini
dmi.product.version: F.05
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Arnaud Soyez (weboide) wrote :
Revision history for this message
Arnaud Soyez (weboide) wrote :

I don't know if that would be any help, but in dmesg (with "dmesg | grep -i hda") I get this line:
[ 587.180018] hda-intel: azx_get_response timeout, switching to polling mode: last cmd=0x001f1500

tags: added: karmic
Revision history for this message
Arnaud Soyez (weboide) wrote :

Tried with Karmic alpha 4, this is still happenning.

description: updated
Revision history for this message
Arnaud Soyez (weboide) wrote :

I cannot reproduce the bug using Karmic Alpha 5 (i386 iso) and using the exact same steps.
Would it be related to bug 318942 being fixed?

Revision history for this message
Arnaud Soyez (weboide) wrote :

Here's what I found:

At http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-karmic.git;a=commit;h=5f3b8f5e2b3b2d75dc76f6f870db4ea9b4062c31
It says it is fixed:
Add some tricks to reduce the click noise at powering down to D3
in the power saving mode on STAC/IDT codecs.

Also, I checked the related bug reports and my bug seems to be a duplicate of bug 381693. Also there is some information in bug 380892.

summary: - [Karmic] Crackling noise after a sound is played on HP Mini 1000
+ [9.10 regression] HDA power_save=10
affects: linux (Ubuntu) → alsa-driver (Ubuntu)
Arnaud Soyez (weboide)
Changed in alsa-driver (Ubuntu):
status: New → Fix Released
Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 404554] [NEW] [9.10 regression] HDA power_save=10

On Thu, Sep 3, 2009 at 3:15 PM, Launchpad Bug
Tracker<email address hidden> wrote:
> This is on a HP Mini 1000 (1120NR).
> Using Ubuntu UNR Karmic alpha-3 (also tried normal karmic alpha-4) iso.
>
> Generally the sound works good. The problem appears after a sound has
> been played when there is only silence,  after a few seconds I hear a
> crackling noise which lasts for a few milliseconds. It happens
> everytime. Maybe like a powersaving problem?
> Package: linux-image-2.6.31-3-generic 2.6.31-3.19

This kernel is too old. You need at least 2.6.31-6.25, because that's
the version containing the power_save fix for IDT/Sigmatel.

Revision history for this message
Daniel T Chen (crimsun) wrote :

(Please do not re-triage against alsa-driver.)

affects: alsa-driver (Ubuntu) → linux (Ubuntu)
Revision history for this message
Arnaud Soyez (weboide) wrote :

Thank you for the replies, and I'm sorry the affected-package change.
I found out that the new kernel fixed it when trying Karmic alpha 5. (see comment #4)

Oh and I had changed the name of the bug report and all that because I thought that you or other people might find it useful (like for archive).

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.