Totem does not respect global sound volume

Bug #65865 reported by agro1986
6
Affects Status Importance Assigned to Milestone
linux-source-2.6.15 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: totem

1) Open a media file (mp3, avi, etc) using totem and set the sound volume in totem to nonzero
2) Open the sound control panel (double click its icon on the top right)
3) In my system (VIA 8235 (Alsa mixer)) there are sliders for: Master, Headphone, PCM, and PC Speaker
4) Changing the "Master" slider, even muting it, won't affect totem
5) Changing the "Headphone" slider will affect Totem's volume

Expected behavior: Master volume should affect all applications.

Revision history for this message
agro1986 (agro1986) wrote :

I',m using dapper btw

Revision history for this message
Malcolm Parsons (malcolm-parsons) wrote :

Thanks for your bug report.

There is a post on the ALSA driver page for the VIA 8235 suggesting a module option to swap the "Headphone" and "Master" controls:

From http://www.alsa-project.org/alsa-doc/doc-php/template.php?company=VIA&card=VIA+southbridge+AC97+audio.&chip=VIA82C686%2C+VIA8233%2C+VIA8233A%2C+VIA8235%2C+VIA8237&module=via82xx

"You can use the 'ac97_quirk'-option if your volume-level is very low (probably
due to some switching of the headphone and master controls). The options:
    ac97_quirk - AC'97 workaround for strange hardware (-1 = default)
                    -1 = default, don't override
                     0 = disable
                     1 = use headphone control as master
                     2 = swap headphone and master controls
                     3 = for AD1985, turn on OMS bit and use headphone"

This does not look like a Totem bug.

Does this module option fix the problem?

Changed in totem:
status: Unconfirmed → Needs Info
Revision history for this message
agro1986 (agro1986) wrote :

I would like to test it out. However, how do I pass the option?

After reading around, the file /etc/modprobe.d/alsa-base seems to be the one to tinker with... Here's the contents...

=====

# autoloader aliases
install sound-slot-0 modprobe snd-card-0
install sound-slot-1 modprobe snd-card-1
install sound-slot-2 modprobe snd-card-2
install sound-slot-3 modprobe snd-card-3
install sound-slot-4 modprobe snd-card-4
install sound-slot-5 modprobe snd-card-5
install sound-slot-6 modprobe snd-card-6
install sound-slot-7 modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd modprobe --ignore-install snd $CMDLINE_OPTS && { modprobe -Qb snd-ioctl32 ; : ; }
install snd-pcm modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { modprobe -Qb snd-pcm-oss ; : ; }
install snd-mixer modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { modprobe -Qb snd-mixer-oss ; : ; }
install snd-seq modprobe --ignore-install snd-seq $CMDLINE_OPTS && { modprobe -Qba snd-seq-midi snd-seq-oss ; : ; }

# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { modprobe -Qb snd-emu10k1-synth ; }
install snd-via82xx modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { modprobe -Qb snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 modprobe --ignore-install saa7134 $CMDLINE_OPTS && { modprobe -Qb saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options snd-bt87x index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2

=====

Which parts do I need to modify?

Thanks

Revision history for this message
Malcolm Parsons (malcolm-parsons) wrote : Re: [Bug 65865] Re: Totem does not respect global sound volume

On 10/13/06, agro1986 <email address hidden> wrote:
> I would like to test it out. However, how do I pass the option?

Add this line to /etc/modprobe.d/options :

options snd-via82xx ac97_quirk=2

--
Malcolm Parsons

Revision history for this message
agro1986 (agro1986) wrote :

Works like a charm.

Now in the "volume control" applet there are only 3 entries in the "playback" tab: master, pcm, and pc speaker. The master slider works as expected.

This should be the default for my hardware (setting ac97_quirk=2). If there are any additional info that I should send so that making it default is possible, just drop a message here.

Thanks

Revision history for this message
Daniel T Chen (crimsun) wrote :

(This corresponds to the 'swap_hp' name.)

Please attach the output from ``lspci -vn''.

Revision history for this message
agro1986 (agro1986) wrote :
Revision history for this message
agro1986 (agro1986) wrote :

This time lspci is run using sudo. Power management info is shown.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux-source-2.6.15 (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.