: Card driver works incorrectly after resume
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2080>
======================================================================
Reported By: Alexey Morozov Assigned To: mjander ====================================================================== Project: ALSA - driver Issue ID: 2080 Category: PCI - au88x0 Reproducibility: always Severity: major Priority: normal Status: assigned Distribution: ALT Linux Kernel Version: 2.6.16.9 + extra patches ====================================================================== Date Submitted: 04-27-2006 18:35 CEST Last Modified: 05-02-2006 08:28 CEST
======================================================================
Summary: Card driver works incorrectly after resume
Description:
When I resume after hibernating to disk (performed by swsusp-2.2.5) sound card driver seems to correctly load up (that is no errors reported) but actually audio playback and other card manipulation such as mixer tuning is impossible:
playback fails like this:
alex@localhost ~ $ aplay -v /home/archives/Music/Bob_Marley/disk1/track05.cdda.wav Playing WAVE '/home/archives/Music/Bob_Marley/disk1/track05.cdda.wav' :
Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: pcm_write:1257: write error: Input/output error
after several seconds of silence and manipluating mixer with alsamixer becomes really slow.
After reloading just the driver (i.e.
alex@localhost ~ $ sudo modprobe -r snd_au8830
alex@localhost ~ $ sudo modprobe snd_au8830
normal playback is restored.
The problem is 100% reproducible and actually it was reproducable in previous (e.g. 1.0.10) versions of alsa-driver and previous kernels.
Here's output of lspci -vv for the card:
0000:00:0e.0 Multimedia audio controller: Aureal Semiconductor Vortex 2 (rev fe)
Subsystem: Diamond Multimedia Systems Monster Sound II
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (1000ns min, 3000ns max), cache line size 08
Interrupt: pin A routed to IRQ 11
Region 0: Memory at de800000 (32-bit, non-prefetchable)
Region 1: I/O ports at b800 [size=8]
Region 2: I/O ports at b400 [size=8]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=0mAPME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
I can provide any additional information about host/OS configuration upon a request.
======================================================================
----------------------------------------------------------------------
Alexey Morozov - 05-02-06 08:18
----------------------------------------------------------------------
Regarding https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1726:
could you explain what I should do to check this issue with my ordinary (i.e. plain stereo) headphones? If it's ever possible I certainly will check the issue.
Regarding ALSA support of CONFIG_SOFTWARE_SUSPEND: I can say for sure, that a built-in Intel audio (lspci -vv names it as "0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)") with snd_intel8x0 driver resumes perfectly.
So I guess some additional driver-specific changes are to be implemented.
----------------------------------------------------------------------
Alexey Morozov - 05-02-06 08:28
----------------------------------------------------------------------
Hmm, didn't notice that you mentioned my own message to the list :-).
Actually, I don't need a proper suspend/resume. If the card will be reset after resume (i.e. zero volume or muted channels etc) but will remain functioning without driver reload, of if the driver can be reloaded without stopping every application which accesses the card one way or another, it's all acceptable for me. I just don't wish to create complex and error-prone scripts for resuming the audio subsystem and all audio applications being launched upon suspend.
Issue History
Date Modified Username Field Change
======================================================================
04-27-06 18:35 Alexey Morozov New Issue
04-27-06 18:35 Alexey Morozov Distribution => ALT Linux
04-27-06 18:35 Alexey Morozov Kernel Version => 2.6.16.9 + extra
patches
04-28-06 03:58 Raymond Note Added: 0009537 04-28-06 05:01 Raymond Note Edited: 0009537 04-28-06 05:05 Raymond Note Edited: 0009537 04-29-06 05:03 Raymond Note Added: 0009540 04-30-06 09:36 Raymond Note Edited: 0009540
05-02-06 08:18 Alexey Morozov Note Added: 0009557
05-02-06 08:28 Alexey Morozov Note Added: 0009558
======================================================================
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642