Skip to contentSkip to conversation

: Card driver works incorrectly after resume

ALSA - driver 0002080 [email protected] 1 participant 1 message Apr 28, 2006

lore
Share & tools
lore
#0 lore raw

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:              04-28-2006 03:58 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=0mA

PME(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.
======================================================================

----------------------------------------------------------------------
Raymond - 04-28-06 03:58
----------------------------------------------------------------------
Power management is not yet supported by ALSA au88x0 driver

You need to implement

static int snd_vortex_suspend(struct pci_dev *pci, pm_message_t state) int snd_vortex_resume(struct pci_dev *pci)

http://savannah.nongnu.org/patch/?func=detailitem&item_id=3948

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
======================================================================

-------------------------------------------------------
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