If you have Vmware 6 (So far that’s all I have tried it with) and wish to use sound, you may find that a problem may arise, with an error from Vmware telling you that it
cant either find /dev/dsp or it’s busy.
Apparently there are a few solutions for it, here is one that worked for me to finally
get my sound working.
First you need to download a Vmware wrapper script, which can be downloaded from here. Once downloaded go ahead and extract it. You will then notice a file called
runme.sh go ahead and run that like so:
./runme.sh
What that will do is install two scripts which are wrappers for Vmware. Depending
on the sound server you are running depends on the script you run, so run:
vmwarearts
If you run the arts server and run:
vmwareesd
For esound server, hopefully this will work for you. If not then lets try another option utilizing the .asoundrc
In your home directory create a file called .asoundrc, open it and cut and paste the below.
pcm.ossdmix {
type dmix
ipc_key 2106 # A unique number
slave {
pcm “hw:0,0″
period_time 0
period_size 4096 # a power of 2 for OSS compatibility
buffer_size 65536 # a power of 2 for OSS compatibility
}
bindings {
0 0
1 1
}
}
ctl.ossdmix {
type hw
card 0
}
# Allow reading from the default device.
# Also known as record or capture.
pcm.dsnoop {
type dsnoop
ipc_key 0507
## Possible artsd full duplex fix:
slave {
period_time 0
period_size 4096
buffer_size 65536
}
bindings {
0 0
1 1
}
}
ctl.dsnoop {
type hw
card 0
}
pcm.duplex{
type asym
playback.pcm “ossdmix”
capture.pcm “dsnoop”
}
# Make ALSA apps default to using it
pcm.!default {
type plug
slave.pcm “duplex”
}
# Make OSS apps default to using it
pcm.dsp0 {
type plug
slave.pcm “duplex”
}
Make sure that your Vmware virtual soundcard is set to Autodetect, otherwise try
and use /dev/dsp1 or /dev/dsp2
I hope one of these solutions works for you, kind of odd since this is the only time I have
ever had problems with sound as regards to a Linux host.
Technorati Tags: vmware sound, sound, vmware, linux host, windows guest
del.icio.us Tags: vmware sound, sound, vmware, linux host, windows guest
43 Things Tags: vmware sound, sound, vmware, linux host, windows guest