http://bugs.winehq.org/show_bug.cgi?id=11142
--- Comment #12 from Christian Costa titan.costa@wanadoo.fr 2008-12-21 16:15:53 --- Regarding ALSA, if you use wine 1.1.10 you need the patch attached (this fix is included in wine 1.1.11).
For OSS, I don't know. Output works fine here but input does not seem to work. Maybe you have the same problem as me. You can still enable midi traces by typing WINEDEBUG=+tid,+midi wine .... so I can take a look.