VMware Communities
kontiki
Enthusiast
Enthusiast

Restart VM sound card from command line - Linux host

Hi,

Following up on my previous thread ( http://communities.vmware.com/message/1650816#1650816 ), and not having a solution yet, I'm looking for some help on how to restart the sound card from the command line in linux host - if possible at all - so I can incorporate it in a script to restore the sound automatically when it disappers from the Win XP VM. Something along the lines of:

>$ vmware -s sound.present="FALSE" Windows_XP.vmx
>$ vmware -s sound.present="TRUE" Windows_XP.vmx

... which doesn't work, but just to give an idea. I normally reset my sound card from the VM settings pop-up window, but for scripting purpose, I need it from the command line. Any ideas or is it possible at all ?

Thanks

Host ubuntu 9.10, WS 7.1.4, Win XP VM.

PS. Maybe it could be helpful attaching the relevant part of Win XP VM log, which shows the sound disappearance from the VM ( buffer overflow part - in pink ) and when I manually restart the sound card from the VM settings window ( Loading raw config - in blue ).


May 21 16:34:14.925: mks| MKS lost grab
May 21 16:35:56.063: vmx| SOUND 156.063801 ES1371PlayPoll dropping fragment 9201 on buffer overflow
May 21 16:35:58.562: vmx| SOUND 158.561980 ES1371PlayPoll dropping fragment 9301 on buffer overflow
May 21 16:36:01.084: vmx| SOUND 161.084287 ES1371PlayPoll dropping fragment 9401 on buffer overflow
May 21 16:36:03.680: vmx| SOUND 163.680084 ES1371PlayPoll dropping fragment 9501 on buffer overflow
May 21 16:36:06.326: vmx| SOUND 166.326778 ES1371PlayPoll dropping fragment 9601 on buffer overflow
May 21 16:36:08.856: vmx| SOUND 168.856149 ES1371PlayPoll dropping fragment 9701 on buffer overflow
May 21 16:36:11.410: vmx| SOUND 171.409997 ES1371PlayPoll dropping fragment 9801 on buffer overflow
May 21 16:36:13.977: vmx| SOUND 173.977582 ES1371PlayPoll dropping fragment 9901 on buffer overflow
May 21 16:36:16.547: vmx| SOUND 176.547813 ES1371PlayPoll dropping fragment 10001 on buffer overflow

May 21 16:37:00.750: mks| MKS lost grab
May 21 16:37:16.606: mks| MKS lost grab
May 21 16:37:17.862: vmx| TOOLS received request in VMX to set option 'synctime' -> '1'
May 21 16:37:17.908: vmx| VMXVmdb_LoadRawConfig: Loading raw config

May 21 16:43:37.886: mks| MKS lost grab
May 21 16:43:39.250: mks| MKS lost grab

0 Kudos
0 Replies