public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Sergio Polini <sp_rm_it@yahoo.it>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] WinXP under VMWare: no sound
Date: Sun, 5 Nov 2006 12:55:58 +0100	[thread overview]
Message-ID: <200611051255.58777.sp_rm_it@yahoo.it> (raw)
In-Reply-To: <7573e9640611041559m6f1d48d6ife4806db4186aa03@mail.gmail.com>

Richard Fish:
> 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).

Since vmware-dsp (which is ~amd64) doesn't compile, I have:
- emerged alsa-oss
- chmod +s /usr/lib/libaoss.so.*
- created a script:

#!/bin/bash
LD_PRELOAD=libaoss.so exec /opt/vmware/workstation/bin/vmware &

Now:
i) if I run the script as myself, sound doesn't work and I get
ERROR: ld.so: object 'libaoss.so' from LD_PRELOAD cannot be preloaded: 
ignored.
I get the same result if I run "aoss vmware".
As to ldd /usr/lib/libaoss.so.0.0.0:
        libalsatoss.so.0 => /usr/lib/libalsatoss.so.0 
(0x00002b09ff97f000)
        libc.so.6 => /lib/libc.so.6 (0x00002b09ffa89000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0x00002b09ffcb4000)
        libm.so.6 => /lib/libm.so.6 (0x00002b09ffe8b000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002b09fffe0000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00002b0a000e4000)
        /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)

ii) if I run the script as root, sound works!

So, it looks like a matter of permissions, but I can't guess what I 
should change. I hope that you can ;-)

Cheers
Sergio
-- 
gentoo-user@gentoo.org mailing list



  parent reply	other threads:[~2006-11-05 12:01 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-04 21:41 [gentoo-user] WinXP under VMWare: no sound Sergio Polini
2006-11-04 23:59 ` Richard Fish
2006-11-05  1:02   ` Sergio Polini
2006-11-07  5:44     ` Richard Fish
2006-11-07  5:54       ` Bo Ørsted Andresen
2006-11-07 10:32         ` Bo Ørsted Andresen
2006-11-07 20:47           ` Sergio Polini
2006-11-07 23:16             ` Sergio Polini
2006-11-07 20:38       ` Sergio Polini
2006-11-07 23:21       ` Sergio Polini
2006-11-08  0:08         ` Richard Fish
2006-11-08  7:31           ` Sergio Polini
2006-11-08 16:04             ` Hans-Werner Hilse
2006-11-08 17:30               ` Richard Fish
2006-11-08 21:24               ` Sergio Polini
2006-11-08 21:56                 ` Sergio Polini
2006-11-08 22:28                 ` Richard Fish
2006-11-09  7:34                   ` Sergio Polini
2006-11-10  3:36                     ` Richard Fish
2006-11-10 20:11                       ` Sergio Polini
2006-11-05 11:55   ` Sergio Polini [this message]
2006-11-06 13:36     ` Hans-Werner Hilse
2006-11-06 22:26       ` Sergio Polini
2006-11-07  5:52         ` Richard Fish
2006-11-07  5:50     ` Richard Fish

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200611051255.58777.sp_rm_it@yahoo.it \
    --to=sp_rm_it@yahoo.it \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox