Comment 58 for bug 1487168

Revision history for this message
Gene Soo (genesoo77072) wrote : Re: [Bug 1487168] Re: [Emulated AD1980 AC97 inside Virualbox 5.0, playback] volume slider problem

I'm sorry, I don't know how to proceed with this issue.

Early on, you asked for Verbose Logging from Virtualbox. I supplied the
Machine Log for the failing Guest and I knew Verbose was probably Defaulted
to Off.
Since then, I have found the commands to change the running machine
"VBoxManage debugvm" however the VirtualBox Documentation is weak on
descriptions and examples of how to turn on the Verbose logging for Audio
issues. I can see in some of their supporting Code Snippets that Group 2
Logging maybe applicable. I cannot find any "VBoxManage debugvm" examples
controlling setting verbose by group.

I am also having difficulty in understanding what coding changes needs to
be done in order to address your last couple of updates.

So here is the difficulties I am facing.

I would feel more comfortable if we pursued tracing the problem rather than
making code changes.

If you are unable to direct me toward specifying the correct commands to
accomplish this then I can try getting help from the VirtualBox Forum site.
I will say they have not been very helpful so far regarding this issue.

Short of these two options, I am prepared to drop the issue entirely and
someone else with the same problem and is better up to speed with working
with this code and these tools can pickup the effort.

On Tue, Sep 1, 2015 at 12:07 PM, Raymond <email address hidden> wrote:

> http://git.alsa-project.org/?p=alsa-
> kmirror.git;a=commitdiff_plain;h=bb9a16dc52281d98dfb525552d29d8939845d8e2
>
>
> it was this patch change master mono from mono to stereo
>
>
>
> /* build master mono controls */
> if (snd_ac97_try_volume_mix(ac97, AC97_MASTER_MONO)) {
> - if ((err = snd_ctl_add(card,
> snd_ac97_cnew(&snd_ac97_controls_master_mono[0], ac97))) < 0)
> + if ((err = snd_ac97_cmix_new(card, "Master Mono Playback",
> AC97_MASTER_MONO, ac97)) < 0)
> return err;
> - if ((err = snd_ctl_add(card, kctl =
> snd_ac97_cnew(&snd_ac97_controls_master_mono[1], ac97))) < 0)
> - return err;
> - snd_ac97_change_volume_params1(ac97, AC97_MASTER_MONO,
> &max);
> - kctl->private_value &= ~(0xff << 16);
> - kctl->private_value |= (int)max << 16;
> - snd_ac97_write_cache(ac97, AC97_MASTER_MONO, 0x8000 | max);
> }
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1487168
>
> Title:
> [Emulated AD1980 AC97 inside Virualbox 5.0, playback] volume slider
> problem
>
> Status in Virtualbox:
> New
> Status in alsa-driver package in Ubuntu:
> Incomplete
> Status in virtualbox package in Ubuntu:
> Confirmed
>
> Bug description:
> Volume Slider is only controlling PCM channel and is not controlling
> Master. In effect, Master is restricting the audio level to the
> default of approximately 45 Percent. In order to raise the Master
> Volume Level, alsamixer is capable of changing Master. Without
> manually raising Master to Max Volume, Volume Slider can only control
> volume from 0-45% which is the default level of Master.
>
> Description: Ubuntu Wily Werewolf (development branch)
> Release: 15.10
>
> ProblemType: Bug
> DistroRelease: Ubuntu 15.10
> Package: alsa-base 1.0.25+dfsg-0ubuntu5
> ProcVersionSignature: Ubuntu 4.1.0-3.3-generic 4.1.3
> Uname: Linux 4.1.0-3-generic x86_64
> ApportVersion: 2.18-0ubuntu7
> Architecture: amd64
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: gene 1330 F.... pulseaudio
> gene 1922 F.... alsamixer
> CurrentDesktop: Unity
> Date: Thu Aug 20 13:00:57 2015
> InstallationDate: Installed on 2015-08-19 (1 days ago)
> InstallationMedia: Edubuntu 15.10 "Wily Werewolf" - Alpha amd64
> (20150819)
> PackageArchitecture: all
> SourcePackage: alsa-driver
> Symptom: audio
> Symptom_Card: Built-in Audio - Intel 82801AA-ICH
> Symptom_Type: Volume slider, or mixer problems
> Title: [ICH - Intel 82801AA-ICH, playback] volume slider problem
> UpgradeStatus: No upgrade log present (probably fresh install)
> dmi.bios.date: 12/01/2006
> dmi.bios.vendor: innotek GmbH
> dmi.bios.version: VirtualBox
> dmi.board.name: VirtualBox
> dmi.board.vendor: Oracle Corporation
> dmi.board.version: 1.2
> dmi.chassis.type: 1
> dmi.chassis.vendor: Oracle Corporation
> dmi.modalias:
> dmi:bvninnotekGmbH:bvrVirtualBox:bd12/01/2006:svninnotekGmbH:pnVirtualBox:pvr1.2:rvnOracleCorporation:rnVirtualBox:rvr1.2:cvnOracleCorporation:ct1:cvr:
> dmi.product.name: VirtualBox
> dmi.product.version: 1.2
> dmi.sys.vendor: innotek GmbH
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/virtualbox/+bug/1487168/+subscriptions
>