9front - general discussion about 9front
 help / color / mirror / Atom feed
From: emr <ernst.rohlicek@inode.at>
To: 9front <9front@googlegroups.com>
Subject: Sound in VMWare
Date: Wed, 13 Jun 2012 06:38:47 -0700 (PDT)	[thread overview]
Message-ID: <46b1960a-4d7d-49c7-b417-57f488c5d691@q2g2000vbv.googlegroups.com> (raw)

Hi, I got 9front up for testing :-)

I cant get audio working, though:

"rc: play cannot open /dev/audio: mounted directory forbids creation"

... meaning there is no /dev/audio device.

The 9front wiki lists AC97 on the features list (
http://code.google.com/p/plan9front/wiki/features ), but it seems like
the device and vendor ID of the card created by VMWare is not known to
plan9/9front.

This is the card created by VMWare Workstation 7.1:

test@ubuntu:~$ lspci -s 02:02.0 -v -nn
02:02.0 Multimedia audio controller [0401]: Ensoniq ES1371
[AudioPCI-97] [1274:1371] (rev 02)
	Subsystem: Ensoniq Creative Sound Blaster AudioPCI64V, AudioPCI128
[1274:1371]
	Flags: bus master, medium devsel, latency 64, IRQ 16
	I/O ports at 2080 [size=64]
	Kernel driver in use: ENS1371
	Kernel modules: snd-ens1371

With the es1371 / ac97 chip, I get the speaker symbol from VMWare turn
to green, but kernel output shows no audio chip detected.

Please add this device ID to the relevant source files (unless they
are already there, but I am doing it wrong).

I tried changing the virtual audio device in VMWare by editing
the .vmx file:

  sound.virtualDev = "hdaudio"

instead of the default

  sound.virtualDev = "es1371"

but still I receive same error message in plan9/9front. This is the
Intel HDA device created by VMWare:

test@ubuntu:~$ lspci -s 02:02.0 -v -nn
02:02.0 Audio device [0403]: Intel Corporation 631xESB/632xESB High
Definition Audio Controller [8086:269a] (rev 02)
	Flags: bus master, fast devsel, latency 64, IRQ 16
	Memory at d8900000 (32-bit, non-prefetchable) [size=16K]
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel

With HDA device, the VMWare speaker symbol does not show or turn to
green. Interestingly, the plan9 kernel shows "#A0: hda codec" etc.
Still same error message, though when trying to run "play
somesong.mp3".

Under virtual Linux, both device types work and I can play sound fine.

Any way to get these two cards working?

Greets, emr

             reply	other threads:[~2012-06-13 13:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-13 13:38 emr [this message]
2012-06-13 14:55 ` emr
2012-06-13 15:15   ` cinap_lenrek
2012-07-07 11:46 ` Ethan Grammatikidis
2012-07-07 11:49   ` Ethan Grammatikidis
2012-07-07 13:30     ` cinap_lenrek
2012-07-07 14:59       ` Matthew Veety
2012-07-07 15:50         ` Ethan Grammatikidis
2012-07-07 16:21         ` Julius Schmidt
2012-07-07 18:23         ` sl
2012-07-07 15:10       ` Sound in x61 (was VMWare) Ethan Grammatikidis
2012-07-07 18:19         ` sl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46b1960a-4d7d-49c7-b417-57f488c5d691@q2g2000vbv.googlegroups.com \
    --to=ernst.rohlicek@inode.at \
    --cc=9front@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).