On 11/4/06, Sergio Polini <[EMAIL PROTECTED]> wrote:
Sound does not work. Sometimes (not always) I get a message like "cannot connect to /dev/dsp". Even if I do not get that message, even if the sound card looks connected (no red "x") sound is not working. I've found a VMWare document about a wrapper:
The problem is that /dev/dsp is the legacy OSS api, and does not support dmix (software mixing of audio). Thus only one application can access /dev/dsp at a time unless your card supports hardware mixing. So most likely, /dev/dsp is already in use by some app. The workaround to this is to use a wrapper such as aoss or vmware-dsp that fakes out the application when it tries to open /dev/dsp and uses another audio API instead (alsa for aoss, esd or artsd for vmware-dsp). http://kb.vmware.com/vmtnkb/search.do?cmd=displayKC&docType=kc&externalId=1611&sliceId=SAL_Public
but it looks suited for versions 3.x, 4.x, and 5.0.x. Moreover, I've installed it and got:
FYI, there is an ebuild available for this...emerge vmare-dsp.
[sp ~]$ ERROR: ld.so: object 'libvmdsp.so' from LD_PRELOAD cannot be preloaded: ignored.
What does ldd /usr/lib/libvmdsp* report? (or whatever directory libvmdsp got installed to..) -Richard PS:The real fix for this is for VMWare to *stop* using the deprecated OSS API for sound, and implement real ALSA compatibility. I highly recommend sending this request to them! -- gentoo-user@gentoo.org mailing list