
Originally Posted by
xp_newbie
- sudo -i
- aptitude install alsa-oss
- chmod +s /usr/lib/libaoss.so.*
- mv /usr/bin/vmware /usr/bin/vmware.orig
- echo '#!/bin/bash' > /usr/bin/vmware
- echo 'LD_PRELOAD=libaoss.so exec /usr/bin/vmware.orig "$@"' >> /usr/bin/vmware
- chmod +x /usr/bin/vmware
- exit
I still got the error message:
Code:
Failed to open sound device /dev/dsp: Device or resource busy.
Failed to connect virtual device sound.
This is what I've done:
- I skipped step 1 to 3, because the alsa-oss package was already installed on my system.
- I've got VMware Player, so instead of step 4 to 6 I've written the following script which I placed in my home directory:
Code:
#!/bin/bash
# Script to startup vmplayer without the following error message in the Virtual Machine:
# Failed to open sound device /dev/dsp: Device or resource busy
# Failed to connect virtual device sound.
LD_PRELOAD=/usr/lib/libaoss.so exec /usr/bin/vmplayer "$@"
- I made my script executable (chmod 774 vmplayer.sh).
When I ran my script I still got the "Failed to open sound device /dev/dsp" error message.
You wrote:

Originally Posted by
xp_newbie
the wrapper causes the application to access native ALSA device files such as /dev/snd/pcmC0D0c instead of OSS device files.
So VMware should use a native ALSA device files such as "/dev/snd/pcmC0D0c", but the VMware Player error message said it is still trying to use "/dev/dsp".
So I changed my .vmx file as folows:
Code:
sound.present = "TRUE"
sound.virtualDev = "es1371"
sound.device = /dev/snd/pcmC0D0c
But that didn't do the trick, I still got the error message:
Code:
Failed to open sound device /dev/dsp: Device or resource busy.
Failed to connect virtual device sound.
Can you tell me how to fix this problem?
Bookmarks