Re: ALSA: Conexant CX20585 (thinkpad t510) speaker powersave regression

From: Jason Schindler
Date: Fri Jul 12 2013 - 00:42:33 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/