No audio ubuntu 8.10 using Vmware 6.5.1

Asked by chong67

I am not getting any audio on my ubuntu.

Before I boot up, I did see something out of range on the audio. It was too quick for me to read up on it.

I am running Vmware Workstation 6.5.1 (on Vista) to run Ubuntu 8.10 Desktop.

Here is what I had done:
=============
philip@ubuntu:~$ asoundconf list
Names of available sound cards:
AudioPCI
philip@ubuntu:~$ cat /proc/asound/card*/codec* | grep Codec
cat: /proc/asound/card0/codec97#0: Is a directory
philip@ubuntu:~$ grep audio /etc/group
audio:x:29:pulse:root:philip
philip@ubuntu:~$ sudo aptitude install hwinfo
[sudo] password for philip:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Initializing package states... Done
Writing extended state information... Done
The following NEW packages will be installed:
  hwinfo libhd14{a}
The following packages will be REMOVED:
  linux-headers-2.6.27-7{u} linux-headers-2.6.27-7-generic{u}
0 packages upgraded, 2 newly installed, 2 to remove and 0 not upgraded.
Need to get 717kB of archives. After unpacking 50.0MB will be freed.
Do you want to continue? [Y/n/?] Y
Writing extended state information... Done
Get:1 http://us.archive.ubuntu.com intrepid/universe libhd14 14.19-2ubuntu1 [672kB]
Get:2 http://us.archive.ubuntu.com intrepid/universe hwinfo 14.19-2ubuntu1 [44.7kB]
Fetched 717kB in 58s (12.4kB/s)
(Reading database ... 117588 files and directories currently installed.)
Removing linux-headers-2.6.27-7-generic ...
Removing linux-headers-2.6.27-7 ...
Selecting previously deselected package libhd14.
(Reading database ... 104668 files and directories currently installed.)
Unpacking libhd14 (from .../libhd14_14.19-2ubuntu1_i386.deb) ...
Selecting previously deselected package hwinfo.
Unpacking hwinfo (from .../hwinfo_14.19-2ubuntu1_i386.deb) ...
Processing triggers for man-db ...
Setting up libhd14 (14.19-2ubuntu1) ...
Setting up hwinfo (14.19-2ubuntu1) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
philip@ubuntu:~$ hwinfo -sound
oops: don't know what to do with "sound"
philip@ubuntu:~$ hwinfo -sound
oops: don't know what to do with "sound"
philip@ubuntu:~$ hwinfo ~sound
oops: don't know what to do with "~sound"
philip@ubuntu:~$ hwinfo --sound
09: PCI 203.0: 0401 Multimedia audio controller
  [Created at pci.310]
  UDI: /org/freedesktop/Hal/devices/pci_1274_1371
  Unique ID: QOEa.FGsk7T8RAT9
  Parent ID: 7EWs.eZ8FqpBD02C
  SysFS ID: /devices/pci0000:00/0000:00:11.0/0000:02:03.0
  SysFS BusID: 0000:02:03.0
  Hardware Class: sound
  Model: "Ensoniq Creative Sound Blaster AudioPCI64V, AudioPCI128"
  Vendor: pci 0x1274 "Ensoniq"
  Device: pci 0x1371 "ES1371 [AudioPCI-97]"
  SubVendor: pci 0x1274 "Ensoniq"
  SubDevice: pci 0x1371 "Creative Sound Blaster AudioPCI64V, AudioPCI128"
  Revision: 0x02
  Driver: "ENS1371"
  Driver Modules: "snd_ens1371"
  I/O Ports: 0x2400-0x243f (rw)
  IRQ: 17 (15266 events)
  Module Alias: "pci:v00001274d00001371sv00001274sd00001371bc04sc01i00"
  Driver Info #0:
    Driver Status: snd_ens1371 is active
    Driver Activation Cmd: "modprobe snd_ens1371"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #45 (PCI bridge)
philip@ubuntu:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: AudioPCI [Ensoniq AudioPCI], device 0: ES1371/1 [ES1371 DAC2/ADC]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: AudioPCI [Ensoniq AudioPCI], device 1: ES1371/2 [ES1371 DAC1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
philip@ubuntu:~$ cat /dev/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.17 emulation code)
Kernel: Linux ubuntu 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
Ensoniq AudioPCI ENS1371 at 0x2400, irq 17
Audio devices:
0: ES1371 DAC2/ADC (DUPLEX)
Synth devices: NOT ENABLED IN CONFIG
Midi devices:
0: ES1371
Timers:
31: system timer
Mixers:
0: Cirrus Logic CS4297A rev 3
philip@ubuntu:~$ gksudo gedit /etc/modprobe.d/alsa-base
philip@ubuntu:~$ clear
philip@ubuntu:~$ asoundconf list
Names of available sound cards:
AudioPCI
philip@ubuntu:~$ sudo aptitude install hwinfo
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
philip@ubuntu:~$ hwinfo --sound
09: PCI 203.0: 0401 Multimedia audio controller
  [Created at pci.310]
  UDI: /org/freedesktop/Hal/devices/pci_1274_1371
  Unique ID: QOEa.FGsk7T8RAT9
  Parent ID: 7EWs.eZ8FqpBD02C
  SysFS ID: /devices/pci0000:00/0000:00:11.0/0000:02:03.0
  SysFS BusID: 0000:02:03.0
  Hardware Class: sound
  Model: "Ensoniq Creative Sound Blaster AudioPCI64V, AudioPCI128"
  Vendor: pci 0x1274 "Ensoniq"
  Device: pci 0x1371 "ES1371 [AudioPCI-97]"
  SubVendor: pci 0x1274 "Ensoniq"
  SubDevice: pci 0x1371 "Creative Sound Blaster AudioPCI64V, AudioPCI128"
  Revision: 0x02
  Driver: "ENS1371"
  Driver Modules: "snd_ens1371"
  I/O Ports: 0x2400-0x243f (rw)
  IRQ: 17 (16124 events)
  Module Alias: "pci:v00001274d00001371sv00001274sd00001371bc04sc01i00"
  Driver Info #0:
    Driver Status: snd_ens1371 is active
    Driver Activation Cmd: "modprobe snd_ens1371"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #45 (PCI bridge)
philip@ubuntu:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: AudioPCI [Ensoniq AudioPCI], device 0: ES1371/1 [ES1371 DAC2/ADC]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: AudioPCI [Ensoniq AudioPCI], device 1: ES1371/2 [ES1371 DAC1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
philip@ubuntu:~$ cat /dev/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.17 emulation code)
Kernel: Linux ubuntu 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
Ensoniq AudioPCI ENS1371 at 0x2400, irq 17
Audio devices:
0: ES1371 DAC2/ADC (DUPLEX)
Synth devices: NOT ENABLED IN CONFIG
Midi devices:
0: ES1371
Timers:
31: system timer
Mixers:
0: Cirrus Logic CS4297A rev 3
philip@ubuntu:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge [8086:7190] (rev 01)
00:01.0 PCI bridge [0604]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge [8086:7191] (rev 01)
00:07.0 ISA bridge [0601]: Intel Corporation 82371AB/EB/MB PIIX4 ISA [8086:7110] (rev 08)
00:07.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE [8086:7111] (rev 01)
00:07.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 08)
00:07.7 System peripheral [0880]: VMware Inc Virtual Machine Communication Interface [15ad:0740] (rev 10)
00:0f.0 VGA compatible controller [0300]: VMware Inc Abstract SVGA II Adapter [15ad:0405]
00:10.0 SCSI storage controller [0100]: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI [1000:0030] (rev 01)
00:11.0 PCI bridge [0604]: VMware Inc PCI bridge [15ad:0790] (rev 02)
00:15.0 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:15.1 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:15.2 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:15.3 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:15.4 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:15.5 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:15.6 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:15.7 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:16.0 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:16.1 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:16.2 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:16.3 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:16.4 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:16.5 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:16.6 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:16.7 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:17.0 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:17.1 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:17.2 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:17.3 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:17.4 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:17.5 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:17.6 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:17.7 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:18.0 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:18.1 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:18.2 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:18.3 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:18.4 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:18.5 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:18.6 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
00:18.7 PCI bridge [0604]: VMware Inc Device [15ad:07a0] (rev 01)
02:00.0 USB Controller [0c03]: Intel Corporation 82371AB/EB/MB PIIX4 USB [8086:7112]
02:01.0 Ethernet controller [0200]: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] [1022:2000] (rev 10)
02:02.0 Ethernet controller [0200]: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] [1022:2000] (rev 10)
02:03.0 Multimedia audio controller [0401]: Ensoniq ES1371 [AudioPCI-97] [1274:1371] (rev 02)
02:04.0 USB Controller [0c03]: VMware Inc Abstract USB2 EHCI Controller [15ad:0770]
philip@ubuntu:~$ cat /proc/asound/card*/codec* | grep Codec
cat: /proc/asound/card0/codec97#0: Is a directory
philip@ubuntu:~$ grep audio/etc/group
^C
philip@ubuntu:~$

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu alsa-driver Edit question
Assignee:
No assignee Edit question
Solved by:
chong67
Solved:
Last query:
Last reply:
Revision history for this message
Tom (tom6) said :
#1
Revision history for this message
chong67 (mrtoyota03) said :
#2

I have done all I could.

I have done everything and had gone past "Saving Sound Settings".

I still dont have sound.

Puzzling.

I am using the built in audio on my Dell XPS420.

It pick Ensoniq "es1371" and thats what I use.

Revision history for this message
Luke H (luke-h) said :
#3

At the moment it is known of and in 8.10 and up no sound is currently avaliable for me my friends you and some other community members.

Revision history for this message
chong67 (mrtoyota03) said :
#4

I just update to the latest Vmware Workstation 6.5.2 for Window and now I got sound on my Ubuntu 8.10.

Hoooray!

Thanks everyone!

Revision history for this message
Tom (tom6) said :
#5

Congrats, nicely done! Welcome to linux-land, especially the Ubuntu corner of it ;)
Good luck and regards from
Tom :)

Revision history for this message
Mario (mperron) said :
#6

I have the same problem as Philip described. However, I'm running VMware Server (free edition) on Windows 7 (64-bits).

My Ubuntu (64-bits) is patched at the latest level - same for my VMware Server.

Do you "linux geeks" have some special three-line-long-single-command I can execute on my VM so I can finally convince my family to convert to linux??

Thanks!

Revision history for this message
Tom (tom6) said :
#7

Please install linux as part of a proper dual-boot
https://help.ubuntu.com/community/WindowsDualBoot

If you really want to try a test version or demo version of linux then please try running a LiveCd session (bootable Cd)
https://help.ubuntu.com/community/LiveCD
Note that running your OS from a Cd will be very much slowre than a proper install, such as the dual boot, but it will probably still be a lot faster than an existing Windows installed onto a hard-drive.

Installing a linux inside a Virtual Machine inside Windows or using the Wubi may initially seem like a good way to explore linux. It isn't. In these scenarios

1. Windows must be working perfectly (does this ever happen?)
2. The VmWare (or equivalent) must be working perfectly
3. The interface between Windows and the VmWare must be working smoothly
4. The interface between the VmWare and the Linux must be smooth
5. Windows must be fully co-operating with the Linux

Any slight glitches anywhere in there and the system wont work. To factor out a few of those try installing another version of Windows into a vmware machine on your Windows. Again many configurations will be a real struggle to get working decently. Presumably you have a lot of Windows knowledge and could possibly nudge the whole wobbly tower into some semblance of working apparently properly.

Another problem of try to balance Linux on top of a wobbly vmware machine on top of a wobbly Windows is that the usual major advantages of linux are not present. Linux is carefully developed to be secure and stable in a way Windows cannot hope to copy. No one in the Linux world makes money from selling anti-virus or anti-malware and so there are only 300 known linux malware, and most of those were carefully developed to test system security in a variety of scenarios. Also the types of partitions developed for use by linux (ext2, ext3, ext4 even reiserfs and many more) were designed with stability and security as top priorities. People in the linux world are more interested in developing new ideas rather than in wasting time fixing recurring boring old problems. The aim of linux is not to trick people into needing to keep buying the same answers over and over again = instead it develops answers that can then propagate freely through the entire linux world. By installing linux onto a partition that is ultimately sitting on an ntfs, fat32 or fat16 partition you make the linux vulnerable to the same problems Windows faces. Similarly with viruses. While linux itself wont be affected by a Windows virus such a virus might cause troubles with point 1 (or any of those) listed above.

Windows does not want to stop making money and so it is not in their best interest to make linux work easily on top of a Windows system. There has been some grudging co-operation when Microsoft realised that having linux work easily inside a Windows system was preferable to having people leave Windows entirely. However, Microsoft's efforts to remove some of the barriers it has in place has been done with typical Windows finesse and actually created more problems than before. It might look fine on the surface but scratch even a little deeper and you will find a lot of problems.

Windows tends to be very resource hungry, i haven't tried Windows7 yet which is apparently a step in the right direction but linux programs by their very nature use very much less ram space and other resources. With linux 2Gb ram for a proper dual-boot install means the system flies along. If the linux is sitting on top of a Windows then the Windows is going to need to use up more ram than normal, and then the vmware will need some and then the linux will get whatever is left over. Since Ram is often a key factor of slow-downs in a Windows system then not giving enough ram to Windows can ultimately affect linux - if you have linux running in vmware.

The swap space, linux-swap (or pagefile.sys in Windows) that is meant to help the ram deal with larger usage is again much more efficiently designed in linux. Linux world is not interested in forcing you to buy newer and more powerful kit to run the same stuff you could run quite easily a few years ago on cheaper equipment. In linux the only reason for buying newer kit is to run much more powerful apps and more apps at the same time. Once you start using linux you find it much easier to multi-task and getting greedy for running more and more programs all at the same time.

Launchpad is designed to be better at answering new fresh questions so if you want good answers it is better to post a new question yourself rather than to tag something at the bottom of an old question
https://answers.launchpad.net/ubuntu/+source/alsa-driver/+addquestion

The previous questions database here is to help people hopefully find something to nudge them in the right direction or to copy in answers they might have found elsewhere or finally put a question to rest after some time researching the problem or some time writing code to help solve an issue.

All forums work slightly differently and Launchpad doesnt make it totally clear about the best of its own systems, we are working on that tho :)

Thanks for trying linux and i hope you get as much relief and pleasure from it as i have. Don't worry about evangelising linux. If others dont want to try it then do not force them. Just be smug about watching them struggle with slowdowns and other Windows problems. It can be frustrating but is actually quite amusing when you step back and look at how much they suffer while trying to tell you that they couldn't possibly work with linux despite having had no experience of it.

One of the myths about linux is that you have to be a geek to use linux. However, as soon as people pick up a linux cd or say the word "linux" people instantly find themselves classified as a geek, even if they still know nothing about it.

Good luck and regards from
Tom :)

Revision history for this message
Tom (tom6) said :
#8

Hi :)

Have you been able to test the new Ubuntu 10.04 before it gets officially released?
http://www.ubuntulinux.org/testing/lucid/beta1
Trying it as a LiveCd or as an extra dual/multi-boot would be ideal. Developers and everyone are keen to try to iron out any problems before 10.04 gets officially released so you might find faster & more effective answers to your bug reports which would make 10.04 work better on your system for you

Thanks and regards from
Tom :)