[alsa-devel] no analog playback device for HDA STAC9221 inside VirtualBox 4.2.14

Raymond Yau superquad.vortex2 at gmail.com
Wed Jul 3 10:13:26 CEST 2013


> > > > > > >
> > > > > > > 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.
>
>
>
Thanks, analog playback device appear after specify model=intel-mac-v3

Audio still work with opensuse 12.1 Live CD

speaker-test hang and no sound with opensuse 12.2 Live CD

Only headphone playback volume and master playback volume of the emulated
STAC9221 affect the volume in 11.4 and 12.1 , the speaker playback have no
effect

And the emulated codec alway report headphone jack present

seem change in hda-intel.c (between opensuse 12.1 and 12.2)  cause the hang
problem


More information about the Alsa-devel mailing list