mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Jason Schindler <jschind@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: ALSA: Conexant CX20585 (thinkpad t510) speaker powersave regression
Date: Fri, 12 Jul 2013 14:41:33 +0200	[thread overview]
Message-ID: <s5h38rk2bnm.wl%tiwai@suse.de> (raw)
In-Reply-To: <CAPmiNYi34E6bZrPD7vOPV0HJ=7eHtNRqStdT1p2U2ET4vmx39Q@mail.gmail.com>

At Thu, 11 Jul 2013 23:42:27 -0500,
Jason Schindler wrote:
> 
> I'm attempting to jump into the thread from here:
> 
> http://markmail.org/message/zqbhcuc2gnxji3s7
> 
> I'm experiencing the same issue as described in the thread.  I'm
> currently running kernel 3.9.6, but have had the issue for some time.
> 
> I attempted to go through the debugging requested by Takashi Iwai on Jan 13.
> 
> Immediately after issuing the "hda-verb /dev/snd/hwC0D0 0x1f
> SET_POWER_STATE 0" command, here is the trace output:
> 
> # tracer: nop
> #
> # entries-in-buffer/entries-written: 8/8   #P:4
> #
> #                              _-----=> irqs-off
> #                             / _----=> need-resched
> #                            | / _---=> hardirq/softirq
> #                            || / _--=> preempt-depth
> #                            ||| /     delay
> #           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
> #              | |       |   ||||       |         |
>         hda-verb-14066 [001] .... 90509.001737: hda_power_count: [0:0]
> power_count=2, power_on=1, power_transition=0
>         hda-verb-14066 [001] .... 90509.001740: hda_send_cmd: [0:0] val=1f70500
>         hda-verb-14066 [001] .... 90509.001814: hda_get_response: [0:0] val=0
>         hda-verb-14066 [001] .... 90509.001814: hda_power_count: [0:0]
> power_count=1, power_on=1, power_transition=0
>         hda-verb-14122 [003] .... 90712.799801: hda_power_count: [0:0]
> power_count=2, power_on=1, power_transition=0
>         hda-verb-14122 [003] .... 90712.799804: hda_send_cmd: [0:0] val=1f70500
>         hda-verb-14122 [003] .... 90712.799880: hda_get_response: [0:0] val=0
>         hda-verb-14122 [003] .... 90712.799881: hda_power_count: [0:0]
> power_count=1, power_on=1, power_transition=0
> 
> When the speakers stop, here is the output:
> 
> # tracer: nop
> #
> # entries-in-buffer/entries-
> written: 8/8   #P:4
> #
> #                              _-----=> irqs-off
> #                             / _----=> need-resched
> #                            | / _---=> hardirq/softirq
> #                            || / _--=> preempt-depth
> #                            ||| /     delay
> #           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
> #              | |       |   ||||       |         |
>         hda-verb-14066 [001] .... 90509.001737: hda_power_count: [0:0]
> power_count=2, power_on=1, power_transition=0
>         hda-verb-14066 [001] .... 90509.001740: hda_send_cmd: [0:0] val=1f70500
>         hda-verb-14066 [001] .... 90509.001814: hda_get_response: [0:0] val=0
>         hda-verb-14066 [001] .... 90509.001814: hda_power_count: [0:0]
> power_count=1, power_on=1, power_transition=0
>         hda-verb-14122 [003] .... 90712.799801: hda_power_count: [0:0]
> power_count=2, power_on=1, power_transition=0
>         hda-verb-14122 [003] .... 90712.799804: hda_send_cmd: [0:0] val=1f70500
>         hda-verb-14122 [003] .... 90712.799880: hda_get_response: [0:0] val=0
>         hda-verb-14122 [003] .... 90712.799881: hda_power_count: [0:0]
> power_count=1, power_on=1, power_transition=0
> 
> I'm a bit out of my element here, if I've missed a crucial step,
> please let me know.

Well, there is no difference in the traces above.

Actually, after talking with Conexant guys, we concluded that this
problem doesn't seem to be an issue of the Conexant codec at all, but
rather Lenovo's firmware who powers down the speaker.  Maybe some
thermal or power condition triggers it.

So, if it's a regression in the kernel, you should check whether ACPI
or whatever else change influences on the behavior, not only the sound
driver change.


Takashi

  reply	other threads:[~2013-07-12 12:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-12  4:42 Jason Schindler
2013-07-12 12:41 ` Takashi Iwai [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-12-22 21:23 Kevin Fenzi
2013-01-08 15:26 ` Takashi Iwai
2013-01-09 23:58   ` Kevin Fenzi
2013-01-12 18:40   ` Kevin Fenzi
2013-01-13  9:06     ` Takashi Iwai
2013-03-10 17:44       ` Kevin Fenzi
2013-03-11  7:54         ` Takashi Iwai

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=s5h38rk2bnm.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=jschind@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®