From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-54266-garchives=archives.gentoo.org@gentoo.org>)
	id 1GgVX7-0000yD-Ep
	for garchives@archives.gentoo.org; Sun, 05 Nov 2006 00:06:41 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kA503asx029683;
	Sun, 5 Nov 2006 00:03:36 GMT
Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188])
	by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kA4NxIFM023990
	for <gentoo-user@lists.gentoo.org>; Sat, 4 Nov 2006 23:59:18 GMT
Received: by nf-out-0910.google.com with SMTP id a4so680467nfc
        for <gentoo-user@lists.gentoo.org>; Sat, 04 Nov 2006 15:59:18 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
        b=njz84/lLbQKsg8KwRTd529VKlOM5G8OZ+lr0lz8Of2e7dOE/FsNoP+1hOmQrxZgtDAQ/Ej3xllhoV31ukwh7X2JB4/cGq5Yx71BqXpIBoxSwKbQyD1AUSNd7V0MuR/F1aRApX5bjoX6JWbXc9pDJp5huWKMfagMo0N+Yl0IbRmE=
Received: by 10.82.126.19 with SMTP id y19mr1056567buc.1162684757590;
        Sat, 04 Nov 2006 15:59:17 -0800 (PST)
Received: by 10.82.106.3 with HTTP; Sat, 4 Nov 2006 15:59:17 -0800 (PST)
Message-ID: <7573e9640611041559m6f1d48d6ife4806db4186aa03@mail.gmail.com>
Date: Sat, 4 Nov 2006 16:59:17 -0700
From: "Richard Fish" <bigfish@asmallpond.org>
Sender: richard.j.fish@gmail.com
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] WinXP under VMWare: no sound
In-Reply-To: <200611042241.56613.sp_rm_it@yahoo.it>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <200611042241.56613.sp_rm_it@yahoo.it>
X-Google-Sender-Auth: 19db5187efcfa141
X-Archives-Salt: d8ab087f-5d72-43dd-971f-b3b44419153d
X-Archives-Hash: 3e3bae2c369bb2b5cc978c9c7d2b5991

On 11/4/06, Sergio Polini <sp_rm_it@yahoo.it> 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