VOGONS

Common searches


First post, by YuGiOhJCJ

User metadata
Rank Newbie
Rank
Newbie

Hello,
When I start dosbox I have these messages :

dosbox
CONFIG:Loading settings from config file dosbox.conf
ALSA:Can't subscribe to MIDI port (65:0)
MIDI:Opened device:oss

I would like to use ALSA. Why it can't?
Thanx.

Reply 1 of 2, by Lindy

User metadata
Rank Newbie
Rank
Newbie

Because I believe that port 65:0 is out of the range for alsa. The message your getting indicates that you should be getting midi via the oss driver. I get the same message and midi works just fine with the oss driver

Reply 2 of 2, by ddawson

User metadata
Rank Newbie
Rank
Newbie

Actually, 65 is not out of range (I think the port numbers may go up through 255). What has happened is ALSA has changed the port number. On my system, for instance:

$ aplaymidi -l
Port Client name Port name
14:0 Midi Through Midi Through Port-0
16:0 Sound Blaster 16 Sound Blaster 16 MIDI
17:0 Emu8000 WaveTable Emu8000 Port 0
17:1 Emu8000 WaveTable Emu8000 Port 1
17:2 Emu8000 WaveTable Emu8000 Port 2
17:3 Emu8000 WaveTable Emu8000 Port 3
18:0 OPL3 FM synth OPL3 FM Port

You want to set "config=17:0" (or whatever the port is on your system) in the [midi] section of the config file.