[alsa-devel] OPL3 on cmipci doesn't survive suspend/resume

Takashi Iwai tiwai at suse.de
Wed May 27 15:31:02 CEST 2015


At Wed, 27 May 2015 09:23:17 -0400,
Adam Goode wrote:
> 
> Hi,
> 
> I have this card:
> 
> 05:00.0 Multimedia audio controller: C-Media Electronics Inc
> CMI8738/CMI8768 PCI Audio (rev 10)
> Subsystem: C-Media Electronics Inc CMI8738/C3DX PCI Audio Device
> Flags: bus master, stepping, medium devsel, latency 32, IRQ 19
> I/O ports at d000 [size=256]
> Capabilities: [c0] Power Management version 2
> Kernel driver in use: snd_cmipci
> Kernel modules: snd_cmipci
> 
> 
> When I suspend/resume, the sound from the OPL3 is permanently
> distorted. It sounds like not all of the operators are active. I can
> fix this by doing a full PCI remove/rescan cycle: the driver correctly
> initializes the card at this time.
> 
> Any ideas before I peek into the code?

OPL3 stuff lacks of PM code completely.  Maybe calling snd_opl3_init()
again should enable the minimal stuff.  Drum and voice patches might
be reloaded, too.


Takashi

> 
> 
> 
> Thanks,
> 
> Adam
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 


More information about the Alsa-devel mailing list