Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


  Search this Thread
Old 07-20-2018, 08:57 AM   #1
Senior Member
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 1,799

Rep: Reputation: 125Reputation: 125
Sound card isue VMWare workstation/player and CentOS 7.5 guest

I am running VMWare player/workstation 12.5 on CentOS 7.5. I have a couple of CentOS 7.5 VMs which were built a few months back. They work fine including sound. More recently built VMs have no working sound. Here is my build process:

Install CentOS minimal (command line)
yum update
install yum-priorities and elep-release
set CentOS-Base repos priority=1 and epel priority=10
yum groupinstall "X Window system" mate-desktop-environment
systemctl set-default

Examining the sound settings under the control center on the working VMs I find this hardware

ES1371/ES1373 / Creative Labs CT2518 (Audio PCI 64V/128/5200 / Creative CT4810/CT5803/CT5806 [Sound Blaster PCI])
1 Output / 2 Inputs
Analog Stereo Duplex
and on the silent machines

Ensoniq AudioPCI
1 Output / 1 Input
But it gets more interesting...

I built another VM using the same iso file but I selected Gnome Desktop rather than minimal install. This time I have sound and I find the Sound Blaster audio "hardware." Finally I just completed building a "Server with GUI" VM and it also has the Sound Blaster.

My questions are:

Why does anaconda(?) detect different hardware in the same virtual environment?

More importantly, how can I "change" the sound card in the silent VMs?

I have tried removing the sound card using Virtual Machine Settings (in VMWare player) and then adding back a sound card. I have tried the 3 "Use physical sound card" choices Auto Detect, ALSA: Default sound card and ALSA: HDA Intel PCH. The first two give me the non-working card and the third says something to the effect card not found.


Old 07-20-2018, 06:55 PM   #2
Senior Member
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 1,799

Original Poster
Rep: Reputation: 125Reputation: 125
I did some further looking on both VMs. These results are identical.
02:02.0 Multimedia audio controller: Ensoniq ES1371/ES1373 / Creative Labs CT2518 (rev 02)

sudo lsmod | grep snd
snd_seq_midi           13565  0 
snd_seq_midi_event     14899  1 snd_seq_midi
snd_ens1371            25076  3 
snd_rawmidi            31294  2 snd_ens1371,snd_seq_midi
snd_ac97_codec        130556  1 snd_ens1371
ac97_bus               12730  1 snd_ac97_codec
snd_seq                62785  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         14356  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_pcm               101643  2 snd_ac97_codec,snd_ens1371
snd_timer              29810  2 snd_pcm,snd_seq
snd                    79215  13 snd_ac97_codec,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_ens1371,snd_seq_device
soundcore              15047  1 snd
Only the Sound Preferences applet under Control Center; Hardware shows a difference. And of course on the no sound VM I cannot configure the bogus sound device in Sound Preferences.

Old 07-22-2018, 03:07 PM   #3
Senior Member
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 1,799

Original Poster
Rep: Reputation: 125Reputation: 125
One of the great benefits of these forums is that, even when an answer is not forthcoming, the process of writing an intelligent question helps me to focus on what I am after. It helps to clarify things in my mind. In doing some more research I came across a web site which made a comment to the effect that installing CentOS minimal, then X Window system and then the desired desktop environment sometimes left out some packages. I suspected that something was missing or wrong. So...

I determined the packages installed on the working VM (rpm -q -l | sort > working.txt) and did the same on the silent VM. I compared the two lists with my favorite comparison utility Beyond Compare ( and looked for anything which smelled like a sound related package. The guilty missing package was pulseaudio. I installed that package on the silent VM (from CentOS-Base) and, after adjusting the output sound level above 0, I had sound

I have no idea why this package used to be installed but is not any longer. However, I do know how to make my silent VMs speak!




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] vmware workstation pro 14.1 Slackware64-current guest, Autofit guest not working. Daedra Slackware 3 05-13-2018 02:19 AM
Slackware 14.2 on VMware Workstation guest : VMware Tools doesn't work marky9074 Slackware 12 09-24-2016 03:57 PM
Unable to install Centos 64 bit as guest in VMware workstation amit.kanade1983 Linux - Hardware 2 08-23-2014 04:05 PM
[SOLVED] VMware Workstation 8 - No sound in Win7x64 Guest bcl00 Slackware 4 08-23-2012 08:17 PM
Anyone running VMWare Player or Workstation on CentOS 6.2 with an ATI card? taylorkh Linux - Virtualization and Cloud 1 06-22-2012 02:30 PM > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 01:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration