Tuesday, August 7, 2007

audio and usb on winxp vm in virtualbox

below is what i did on my debian box to get audio and usb to work on my winxp vm in virtualbox. i would expect this to work just fine on ubuntu also.


audio

open the innotek virtualbox program
choose the winxp vm and click the settings button for the vm
select audio in the left hand menu
select enable audio
select host audio driver to be ALSA audio driver


usb

execute the following command from the command line as root and add the following command to your /etc/rc.local file

chown -R root:vboxuers /proc/bus/usb


add to following line to the bottom of /etc/fstab

none /proc/bus/usb usbfs devgid=1003,devmode=666 0 0


then execute "mount -a" from the command line as root


start winxp vm

then put a usb thumb drive in a usb port and start a winxp vm in virtualbox
you should be able to here all the cool windows startup sounds ;^)
you should also be able to access any usb device

No comments: