At Wed, 14 May 2008 23:45:44 +0200, Andreas Mohr wrote:
Hi,
unfortunately I forgot to mention this:
when I tested OPL3 functionality of my driver, I of course also tested this to do proper power management, and... well... it didn't! The result of doing an S2D was that the formerly perfectly playing emulated MIDI synth ended up with distorted (sort of Micky-Mouse'ish) voices directly after resume.
I really don't think that it's my driver's power management which is at fault here, and I'd strongly guesstimate that ALSA does its own generic OPL3 power management handling for standard OPL3 hardware registration.
So??? (aka "what the...!?")
I guess the current OPL3 core code doesn't support PM. It should stop playing notes and save/restore the synth patches, but it's not done properly. The same is true for other synth subsystems.
Takashi