All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Henningsson <david.henningsson@canonical.com>
To: Tomas Pospisek <tpo2@sourcepole.ch>
Cc: Takashi Iwai <tiwai@suse.de>, Alsa-devel@alsa-project.org
Subject: Re: 100.0% power usage of Device Audio codec (HDA) on wake
Date: Tue, 20 Nov 2012 09:07:21 +0100	[thread overview]
Message-ID: <50AB3A39.1090604@canonical.com> (raw)
In-Reply-To: <33f3a5d64a489d40499192a0659dd76c@sourcepole.ch>

On 11/20/2012 07:54 AM, Tomas Pospisek wrote:
> On Sat, 17 Nov 2012 11:53:49 +0100, Takashi Iwai wrote:
>> At Sat, 17 Nov 2012 01:48:47 +0100, Tomas Pospisek wrote:
>>
>>> On Fri, 16 Nov 2012 17:04:03 +0100, Takashi Iwai wrote:
>>>> At Fri, 16 Nov 2012 15:23:06 +0100, Tomas Pospisek wrote:
>>>>>
>>>>> The kernel of the upcoming Debian release and some
>>>>> recent kernels of Ubuntu seem to be suffering from HDA
>>>>> running at full force upon wakeup and producing
>>>>> a lot of heat (keeping the fan spinning loudly).
>>>>
>>>> What do you mean "wakeup"?
>>>
>>> Waking up from suspend to RAM.
>>
>> And does the same issue occur on hibernation, too?
>> Basically both S2RAM and S2DISK use the same suspend/resume path
>> regarding the sound driver, so the behavior should be consistent in
>> both cases.
>
> s2disk doesn't work here / isn't configured properly so I can't tell
> ad hoc.
>
>>>>   Which kernel are you using?
>>>
>>> 3.2.0-4-amd64 from Debian wheezy:
>>>    http://packages.debian.org/wheezy/linux-image-3.2.0-4-amd64
>>
>> OK, could you check the latest Linus tree (at least 3.7-rc5) whether
>> the problem is still present?  If it is, please keep using it for the
>> further testing instead of 3.2.0.  3.2.0 is way too old to debug
>> primarily.
>
> I'm running 3.7.0-rc6 now, with configuration from the "original" Debian
> kernel, make oldconfig and all choices to default.

The Ubuntu kernel team does mainline builds - 
https://wiki.ubuntu.com/Kernel/MainlineBuilds - which provide the latest 
upstream kernels.

>> Also, try the latest alsa-lib from git tree, too.  I thought David
>> provides some packages built from the latest repo?
>
> I've found this repository by David:
>
>    https://launchpad.net/~diwic/+archive/dkms
>
> however it seems to be deprecated and points to this:
>
>    https://code.launchpad.net/~ubuntu-audio-dev/+archive/alsa-dailyvvv
>
> which however only contains "dkms-hda" packages. I'm not sure what
> those packages contain, or rather whether they contain the latest alsa
> and utils. It seems that they "only" contain an out of tree hda
> build, but I'm not sure.
>
> I'll try to compile latest alsa "the Debian way" and see if that changes
> anything.

The thing I currently compile and maintain are DKMS packages for the HDA 
driver. We're never daily built alsa-lib, and the full sound tree builds 
have been discontinued since almost everyone used the DKMS packages (or 
the full mainline kernel). See 
https://wiki.ubuntu.com/Audio/UpgradingAlsa/DKMS for how to install them.

I haven't followed this thread in total, and I hadn't seen the bug 
report before it was reported here, but I find it a little strange that 
a headphone amp, even at full power, would give out so much heat that 
your fan would spin up (I mean, this doesn't happen when you normally 
listen to music through headphones, right?). I could be wrong, but 
AFAIK, a codec chip just doesn't cause that much heat in /any/ 
situation. So it's probably something else?

It does put another question - from where does powertop get its values, 
and do we have to do anything on our side to make sure / aid them being 
correct?


-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic

  parent reply	other threads:[~2012-11-20  8:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-16 14:23 100.0% power usage of Device Audio codec (HDA) on wake Tomas Pospisek
2012-11-16 16:04 ` Takashi Iwai
2012-11-17  0:48   ` Tomas Pospisek
2012-11-17  1:17     ` Tomas Pospisek
2012-11-17 10:53     ` Takashi Iwai
2012-11-20  6:54       ` Tomas Pospisek
2012-11-20  7:16         ` Takashi Iwai
2012-11-21 15:12           ` Tomas Pospisek
2012-11-20  8:07         ` David Henningsson [this message]
2012-11-20  8:32           ` Takashi Iwai
2012-11-20  8:56             ` David Henningsson
2012-11-20  9:01               ` Takashi Iwai
2012-11-21 14:15                 ` Tomas Pospisek
2012-11-21 14:26                   ` Takashi Iwai
2012-11-21 14:44           ` Tomas Pospisek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50AB3A39.1090604@canonical.com \
    --to=david.henningsson@canonical.com \
    --cc=Alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    --cc=tpo2@sourcepole.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.