2011/9/2 Clemens Ladisch clemens@ladisch.de:
(added recipients)
-------- Original Message -------- Subject: Aureal issues on resume Date: Fri, 02 Sep 2011 13:41:42 +0200 From: Anders Eriksson aeriksson@fastmail.fm To: linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org
Hi, upon resuming from hibernation, I see this in my log:
Sep 2 11:15:20 tippex kernel: [72436.287020] vortex_adb_addroutes: unending route! 0x10 Sep 2 11:15:20 tippex kernel: [72436.287127] vortex_adb_addroutes: unending route! 0x838 Sep 2 11:15:20 tippex kernel: [72436.287277] vortex_adb_addroutes: unending route! 0x11 Sep 2 11:15:20 tippex kernel: [72436.287418] vortex_adb_addroutes: unending route! 0x8b9 Sep 2 11:15:20 tippex kernel: [72436.292037] Vortex: vortex_fifo_setadbctrl fail Sep 2 11:15:55 tippex kernel: [72471.403490] vortex_adb_delroutes: route not found! 0x10 Sep 2 11:15:55 tippex kernel: [72471.403596] vortex_adb_delroutes: route not found! 0x838 Sep 2 11:15:55 tippex kernel: [72471.403710] vortex_adb_delroutes: route not found! 0x11 Sep 2 11:15:55 tippex kernel: [72471.403811] vortex_adb_delroutes: route not found! 0x8b9
And the sound is no more. I need to reboot to get it back.
If memory serves, it's been there since 2.6.30 or so. Any ideas what can be triggering it?
lspci says it's an 00:04.0 Multimedia audio controller: Aureal Semiconductor Vortex 1 (rev 02) Subsystem: Diamond Multimedia Systems Sonic Impact A3D Flags: bus master, medium devsel, latency 64, IRQ 11 Memory at 50000000 (32-bit, non-prefetchable) [size=128K] I/O ports at 10b0 [size=8] I/O ports at 10b8 [size=8] Capabilities: [dc] Power Management version 1 Kernel driver in use: snd_au8820 Kernel modules: snd-au8820
-Anders
Those alsa au88x0 drivers does not support suspend/resume
As each audio stream is assigned different resources (e.g. SRC, mixer , ...) dynamically and the cards can play 16 mono streams or 8 stereo streams.
The possible way is to save the contents of 128K memory mapped I/O ports before suspend to non-volatile memory and restore them after resume
Is there any way for alsa driver to allocate non-volatile memory ? au8830 has 256 K mmio