With a little side of applesauce...

Friday, May 29, 2009

Debian Lenny / VMWare - not auto detecting sound card

I have been having problems with my VMWare guests, (Windows XP), auto detecting my sound card. I finally traced it down to missing sound devices, as described here. The fix is to run:
sudo /usr/share/alsa-base/snddevices 



Since these disappear after a reboot, I created a nice alias in my .bashrc:
alias vmsound=' sudo /usr/share/alsa-base/snddevices'

1 comment:

Anonymous said...

Thank you very much!!!.

I was almost desperate not being able to find a cure for this.

Just an appointment. Make sure sound in your virtual machine is not configured as "Auto detect" but "/dev/dsp". If not, you should edit your-virtual-machine.vmx file and change:
sound.file="/dev/dsp"
sound.autodetect="FALSE"