LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Gert Robben <lkml@gert.robben.nu>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org,
mjander@embedded.cl
Subject: Re: [alsa-devel] PROBLEM: snd-au8830: dead after software suspend
Date: Mon, 06 Aug 2007 18:15:27 +0200 [thread overview]
Message-ID: <46B7491F.2020105@gert.robben.nu> (raw)
In-Reply-To: <s5h7io8er3n.wl%tiwai@suse.de>
Takashi Iwai wrote:
> The below is an untested fix. Give it a try.
With the patch, things seem to be much better (but I'm no expert).
The things remaining seem to be:
- sound can't be heard
- MPlayer gives an error, instead of doing nothing.
I've enabled debugging, and did the following, without and with the patch:
boot, mplayer start+pause, suspend, resume, mplayer unpause+exit+start+exit,
rmmod.
Below is an edited diff of the dmesges (printk's begin with a "k"),
without and with the patch, with my comments added. I hope this is
enough info. If you need the full dmesges, let me know.
Anyway, thanks for you work :)
Gert Robben
--- without patch
+++ with patch
initial boot:
k ACPI: PCI Interrupt 0000:00:11.0[A] -> GSI 19 (level, low) -> IRQ 19
k Vortex: init.... <3>ALSA sound/core/control.c:331: control 3:0:0:Play
k back PCM advanced processing:0 is already present
k done.
-k PCI driver au8830 lacks driver specific resume support.
during suspend:
+k Vortex: shutdown...<6>done.
+k ACPI: PCI interrupt for device 0000:00:11.0 disabled
during resume:
+k PM: Writing back config space on device 0000:00:11.0 at offset 1 (was
k 2900007, writing 2900003)
k ACPI: PCI Interrupt 0000:00:11.0[A] -> GSI 19 (level, low) -> IRQ 19
+k Vortex: init.... <6>ata1.00: configured for UDMA/33
+k ALSA sound/core/control.c:331: control 3:0:0:Playback PCM advanced pr
k ocessing:0 is already present
+k done.
mplayer unpause:
+- gives mplayer error: alsa-lib: pcm_hw.c:612(snd_pcm_hw_pause) SNDRV_P
CM_IOCTL_PAUSE failed: File descriptor in bad state
- nothing else happens
mplayer exit:
+k vortex_adb_delroutes: route not found! 0x40
+k vortex_adb_delroutes: route not found! 0x2060
k src alarm
+k vortex_adb_delroutes: route not found! 0x41
+k vortex_adb_delroutes: route not found! 0x2161
k src alarm
mplayer start:
-- nothing happens
+- mplayer seems to play fine, but no sound can be heard
rmmod:
-k vortex: ac97 codec stuck busy
-k vortex: ac97 codec stuck busy
-k vortex: ac97 codec stuck busy
-k vortex: ac97 codec stuck busy
k analog.c: 0 out of 0 reads (0%) on pci0000:00:11.0/gameport0 failed
-k Vortex: shutdown...<3>mix ALARM 0
-k mix ALARM 0
-k mix ALARM 0
-k mix ALARM 0
-k mix ALARM 0
-k mix ALARM 0
-k done.
+k Vortex: shutdown...<6>done.
k ACPI: PCI interrupt for device 0000:00:11.0 disabled
next prev parent reply other threads:[~2007-08-06 16:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-03 21:58 Gert Robben
2007-08-04 0:11 ` Gert Robben
2007-08-04 0:18 ` Jesper Juhl
2007-08-04 0:51 ` Gert Robben
2007-08-04 9:46 ` Rafael J. Wysocki
2007-08-06 13:21 ` [alsa-devel] " Takashi Iwai
2007-08-06 16:15 ` Gert Robben [this message]
2007-08-06 16:57 ` 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=46B7491F.2020105@gert.robben.nu \
--to=lkml@gert.robben.nu \
--cc=alsa-devel@alsa-project.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mjander@embedded.cl \
--cc=tiwai@suse.de \
--subject='Re: [alsa-devel] PROBLEM: snd-au8830: dead after software suspend' \
/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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).