Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have an Ubuntu Server which hosts VMs running on VMware Server 2.0. These VMs cannot get sound because VMware thinks there is no sound device on the host because it is not enabled, how do I get sound to work?
Ubuntu Server 9.04 x64
Chipset: nVidia nForce 4
person@place:~$ uname -a
Linux place 2.6.28-14-server #47-Ubuntu SMP Sat Jul 25 02:03:55 UTC 2009 x86_64 GNU/Linux
Sound information for the host:
person@place:~$ lspci -v|less
00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio Controller (rev a2)
Subsystem: Micro-Star International Co., Ltd. Device 7585
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
I/O ports at f000 [size=256]
I/O ports at ec00 [size=256]
Memory at fe02d000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: Intel ICH
Kernel modules: snd-intel8x0
person@place:~$ aplay -l
aplay: device_list:217: no soundcards found...
person@place:~$ sudo asoundconf list
Names of available sound cards:
CK804
person@place:~$ alsamixer
alsamixer: function snd_ctl_open failed for default: No such file or directory
I know I have to enable sound on the host; my question is how do I actually do it? I found a number of threads here and elsewhere of people asking the same thing, no one has said how to do it via command line though. (This server does not have a GUI)
Well enabling sound usually just needs to be done by having the appropriate driver loaded do you know what kind of audio hardware you have in the server? If not maybe you can post an lspci output and we can look into it with you.
person@place:~$ lspci -v|less
00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio Controller (rev a2)
Subsystem: Micro-Star International Co., Ltd. Device 7585
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
I/O ports at f000 [size=256]
I/O ports at ec00 [size=256]
Memory at fe02d000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: Intel ICH
Kernel modules: snd-intel8x0
I tried "sudo modprobe -a snd-intel8x0" which produced no errors, but when I try to add a sound adapter on a VM I get: Cannot connect virtual device sound. No corresponding device is available on the host.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.