[Wine] Direct Sound problem makes application crash

f_sophia f_sophia at libero.it
Mon Jan 2 17:08:39 CST 2006


Hi...

On 28 decembrer 2005, Wermut wrote:
> I installed Baldur's Gate 2 using the Loki installer (www.lifl.org). When
> I disable sound in winecfg it runs fine, else it crashes when I attempt to
> start a game. I already tried using different drivers / settings, without
> success. Wine version: 0.9.3
> Distribution: Ubuntu Breezy
> Sound card: INTEL ICH6
> Wine output using ALSA and Full Hardware Acceleration:
>
>
> ALSA lib seq_hw.c:455:(snd_seq_hw_open) open /dev/snd/seq failed: Datei
> oder Verzeichnis nicht gefunden
[cut]


Probably WINE is ok... On the contrary, UDEV is certainly unable to create a 
seq device.
UDEV don't work fine... too often!
I had a lot of probelm (now resolved) with application SDL-based, WINE, 
Timidity (etc...) thanks to UDEV.

However, if this is your case (too)...

To create seq device manually:
# mknod -m 666 /dev/snd/seq c 116 1

Of course, /dev/snd/hw*  must exist.
If hw not exist, you can create them manually:
# mknod -m 666 /dev/snd/hwC0D0 c 116 4
# mknod -m 666 /dev/snd/hwC0D1 c 116 5
etc...

Major=116  is a constant value.
For calculate the other value of hw*-minor:
* template: hwCxDy
* formula: minor=(x*32)+y+4




Timidity is highly recommended. :-)

Regards.

Antonio





More information about the wine-users mailing list