[alsa-devel] no analog playback device for HDA STAC9221 inside VirtualBox 4.2.14
Takashi Iwai
tiwai at suse.de
Tue Jul 2 15:52:34 CEST 2013
At Tue, 02 Jul 2013 15:11:07 +0200,
Takashi Iwai wrote:
>
> At Tue, 2 Jul 2013 20:47:21 +0800,
> Raymond Yau wrote:
> >
> > > > > >
> > > > > > HDA STAC9221 audio work for (64bit) Fedora 16, Ubuntu 11.10 and
> > > Opensuse
> > > > > > 11.4 Live CD inside virtualbox 4.2.14
> > > > > >
> > > > > > no sound for this emulated HDA sound card since Ubuntu 12.04 Live CD
> > > > > >
> > > > > > No analog playback device for Saucy or Fedora 19 Live CD
> > > > >
> > > > > It looks strange that VirtualBox sets up the pins for 5.1 speaker +
> > > > > headphone. Is this really the wanted setup as a virtual machine?
> > > > >
> > > > > Some truncated control names found in alsa-info.sh output should have
> > > > > been fixed in sound git tree now.
> > > > >
> > > > >
> > > > it work with opensuse 11.4 for both HDA and AC97 , but no sound card
> > > > modules loaded in opensuse 12.3 Live CD
> > >
> > > Well, it doesn't clarify whether the culprit is VirtualBox's change or
> > > HD-audio driver's change at all... How did 11.4 work? Did it work
> > > with 5.1 + headphone setup in VME?
> > >
> >
> > it only support stereo in 11.4
> >
> > analog playback device still appear in Ubuntu 13.04 (before sigmtel use
> > auto generic parser)
>
> Are you really sure that it's due to the generic parser?
> Judging from alsa-info.sh output, the pin default config values are
> different between working and non-working cases. This has nothing to
> do with which parse to use.
>
> Try the later kernel with the working environment.
Looking at the alsa-info output from openSUSE 11.4 again, this seems
to be the case where the old parser did handle wrongly. Namely, it
took the pin config for STAC_INTEL_MAC_V3 as fallback since it has the
same PCI SSID although it has no proper codec SSID for Apple. Thus on
old kernels, it overrides the pin config for Intel-Mac, eventually
worked more or less better than the default pin config VirtualBox
provides.
That being said, this is highly likely a bug in VirtualBox BIOS.
You can try to load snd-hda-intel with model=intel-mac-v3. This sets
the pin config the old kernel used.
Takashi
>
> Takashi
>
>
> > https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/patch_sigmatel.c?id=0a4278464eba4bf98c0d6304c62a1116553125d3
> >
> > https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Devices/Audio/DevIchHdaCodec.cpp
> >
> > https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Devices/Audio/DevIchHda.cpp
More information about the Alsa-devel
mailing list