
VMware, Inc. 177
Chapter 7 Getting Started with Virtual Machines
Obtaining Sound Card Information
YoucanobtaininformationaboutthesoundcardsonyourLinuxhostsystemfromthe
commandline.
To obtain sound card information by using the command line
Atacommandprompt,enteroneofthefollowingcommands.
Ifthecurrentuserdoesnothavepermissions,anerrorsimilartothefollowingmessage
appears:
alsamixer: function snd_ctl_open failed for default: No such device.
Givetheuserread,write,andexecutepermissionstothedi
rectorycontainingthe
ASL
Asounddevice.Typically ,theALSAsounddeviceisfoundin/dev/snd/,butthis
locationmayvary,dependingonyourdistributionofLinux.
Using ALSA in a Virtual Machine
YoucanconfigureyourvirtualmachinetouseALSAintheVirtualMachineSettings
dialogbox.
To use ALSA in a virtual machine
1 SelectVM>Settings.
2OntheHardwaretab,sel
ectSou
ndCard.
3MakesurethattheConnectedandConnectatpoweroncheckboxesarechecked.
4 SelectoneoftheConnectioncheckboxes.
5ClickSave.
Command Description
lspci | grep -i audio Tolistthenameandtypeofthesoundchipsetonyourhost
machine
cat /proc/asound/cards Tolistthesoundcardsonyourhostmachine
alsamixer Todeterminewhetherthecurrentuserhastheappropriate
permissionstoaccessthesounddevice
Command Description
Usedefaulthostsoundcard TohaveWorkstationdetectthehostsoundcard
Sp
ecif
yhostsoundcard Tochooseasoundcard.Makeaselectionfromthe
drop‐downmenu.Thedrop‐downmenudisplays
PCMdevicesforeverysoundcardonthehostsystem.
Kommentare zu diesen Handbüchern