VOGONS

Common searches


First post, by yeleek

User metadata
Rank Newbie
Rank
Newbie

Have a new eee pc and have installed dosbox 0.65 (one on supported repositories). Get sound in some games but not in all. In the terminal window during launching of dosbox the following message appears.

CONFIG:Loading settings from config file dosbox.conf
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
ALSA:Can't open sequencer
MIDI:Opened device:none

Any ideas/suggestions please?

Thanks

Reply 1 of 9, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

install alsa ?
have alsa working on your pc ?
i think there is a alsaconfig command or so

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 9, by Srecko

User metadata
Rank Member
Rank
Member

Start timidity / timidity++ (with proper command-line parameters) if your sound card doesn't support MIDI.

If it doesn't autodetect, look at available output ports with "aconnect -o" and write right value (e.g 23:0 etc., of your sequencer output device) to "config" in [midi] section of dosbox.conf.

Reply 4 of 9, by Srecko

User metadata
Rank Member
Rank
Member

what is your output of "aconnect -o" ?

If there is nothing (except midi through), then your sound card doesn't support MIDI and you need to use timidity which is a Software MIDI synthesizer for Linux.
e.g. you start it with:

timidity -iAv -Os

(Just make sure that you install both timidity and patch files for it before )
Then in dosbox.conf in [midi] section you put:

config=128:0

(which is default device id for timidity, I think we should also try to connect to 128:0 by default, besides 65:0 and 17:0).

Reply 7 of 9, by yeleek

User metadata
Rank Newbie
Rank
Newbie

Added timidity and got the following when entering the command

/usr/sbin> timidity -iAv -Os
Requested buffer size 32768, fragment size 8192
ALSA pcm 'default' set buffer size 33868, period size 3760 bytes
TiMidity starting in ALSA server mode
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
error in snd_seq_open

Thanks

Reply 8 of 9, by `Moe`

User metadata
Rank Oldbie
Rank
Oldbie

You will have to set the correct MIDI port, have the device files and whatnot. First get a native MIDI using program running, then try DOSBox.

More importantly: Unless the game you are playing is configured for MIDI or MT32, the error you are seeing is irrelevant. Sound Blaster sound/music works anyways.

Reply 9 of 9, by Srecko

User metadata
Rank Member
Rank
Member

On my Fedora8 setup timidity works out of box.
Probably, look at how to load linux sequencer kernel modules. Or if they are loaded, check if your setup creates right device files for alsa sequencer (maybe you don't have udev set up properly?).

Alsa sources come with makedev script (for static creation of alsa device files), so maybe it could help.