[alsa-devel] [regression] ALSA: hda - Handle open while transitioning to D3.
dgreid at chromium.org
Tue Jul 17 07:26:42 CEST 2012
On Sat, Jul 14, 2012 at 6:36 AM, Oleksij Rempel (fishor)
<bug-track at fisher-privat.net> wrote:
> dmesg is in attachment
I didn't get much from that though. What is your powersave timeout
set to? If you have time could you try adding the following and send
me the output, I have two guesses about where it is spending it's time
(no guesses about why yet though). I've got a couple of systems with
a 269, I'll try to get some tests run on those tomorrow.
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index 20580bf..fd8ce9e 100644
@@ -4383,9 +4383,11 @@ static void hda_power_work(struct work_struct *work)
+ snd_printd("power_work start %p\n", codec);;
+ snd_printd("power_work done %p\n", codec);;
static void hda_keep_power_on(struct hda_codec *codec)
@@ -4426,7 +4428,9 @@ static void __snd_hda_power_up(struct hda_codec
*codec, bool wait_power_down)
+ snd_printd("power_up cancel sync start %p\n", codec);
+ snd_printd("power_up cancel sync done %p\n", codec);
/* If the power down delayed work was cancelled above before starting,
> On 14.07.2012 11:21, Dylan Reid wrote:
>> On Jul 13, 2012 11:01 PM, "Oleksij Rempel (fishor)"
>> <bug-track at fisher-privat.net <mailto:bug-track at fisher-privat.net>> wrote:
>> > Hallo Dylan, Takashi,
>> > I have regression after patch b4a91cf05c3 "ALSA: hda - Handle open
>> while transitioning to D3."
>> > This regression i can reproduce only if my laptop works on batteries.
>> After this patch it needs almost 1 minute more to start. The login
>> screen usually plays start sound, but after this patch it wait until
>> sound card is ready.
>> > My hardware: asus zenbook ux31e.
>> > Codec: Realtek ALC269VB
>> > 00:1b.0 0403: 8086:1c20 (rev 05)
>> > Subsystem: 1043:1427
>> > 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: 64 bytes
>> > Interrupt: pin A routed to IRQ 50
>> > Region 0: Memory at dfe00000 (64-bit, non-prefetchable)
>> > Capabilities: <access denied>
>> > Kernel driver in use: snd_hda_intel
>> > Kernel modules: snd-hda-intel
>> Could you enable config_snd_debug and send the output during startup?
>> I'm actually using the same codec on one of our systems.
>> Thanks for testing.
More information about the Alsa-devel