mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: ALSA: Conexant CX20585 (thinkpad t510) speaker powersave regression
@ 2013-07-12  4:42 Jason Schindler
  2013-07-12 12:41 ` Takashi Iwai
  0 siblings, 1 reply; 9+ messages in thread
From: Jason Schindler @ 2013-07-12  4:42 UTC (permalink / raw)
  To: linux-kernel

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.

Thanks!

-Jason

^ permalink raw reply	[flat|nested] 9+ messages in thread
* ALSA: Conexant CX20585 (thinkpad t510) speaker powersave regression
@ 2012-12-22 21:23 Kevin Fenzi
  2013-01-08 15:26 ` Takashi Iwai
  0 siblings, 1 reply; 9+ messages in thread
From: Kevin Fenzi @ 2012-12-22 21:23 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 936 bytes --]

Greetings. 

I've got an issue with sound on my t510. It started in the late 3.4.x
kernels. Sound works on boot and for 5-10min after, then the speakers
stop working at all. 

I posted a while back on the alsa-users list, and someone else had the
same issue: 

http://www.mail-archive.com/alsa-user@lists.sourceforge.net/msg28769.html

It seems that the speakers(?) are getting moved to state D3 and turning
off. You can manually get it to come back for a few minutes by using
hda-verb to move it back to D0: 

hda-verb /dev/snd/hwC0D0 0x1f SET_POWER_STATE 0

http://www.alsa-project.org/db/?f=fd5ca157b2e76942df5ce2f0ae1a2817f3f08afd
is my alsa-info. 

I'd file a bug on the alsa bug tracker, but it still seems to be down
(for many months now?). No response on alsa-users, so now that I have a
bit of time, I am posting here in hopes someone can look. ;) 

Happy to provide more info or try things. 

kevin

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-07-12 12:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-12  4:42 ALSA: Conexant CX20585 (thinkpad t510) speaker powersave regression Jason Schindler
2013-07-12 12:41 ` Takashi Iwai
  -- 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

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®