! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Panel volume control not responding with dual sound cards.
Status:
RESOLVED: INVALID
Product:
Xfce4-mixer
Component:
Panel Plugin

Comments

Description laurent pichler 2006-10-09 12:52:44 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.8.0.7) Gecko/20060921 Firefox
Build Identifier: 

I have installed two soundcards on my system. When I try to set the volume by clicking on the volume bar in the panel, it does not work. 
To get it to work, I have to go to the Properties dialog of the applet and reselect the soundcard I want to set the volume of after each restart of Xfce.

This is getting quite tiresome.

Reproducible: Always

Steps to Reproduce:
1.Install two soundcards
2.Try clicking on the volume bar in the panel
3.Volume does not change
4.Go to properties dialog, select device
5.Volume control works until X is restarted.




$ glib-config --version
1.2.10
$ gtk-config --version
1.2.10

$ dpkg -l|grep xfce
ii  xfce4-mixer                            4.3.90.1svn+r21697-0ubuntu2            Xfce4 Mixer frontend
ii  xfce4-mixer-alsa                       4.3.90.1svn+r21697-0ubuntu2            Xfce4 Mixer ALSA backend
ii  gtk2-engines-xfce                      2.3.0cvs20050306-2                     Gtk+-2.0 theme engine for Xfce
ii  libxfce4mcs-client3                    4.3.90.1svn+r21132-0ubuntu2            Client library for Xfce4 configure interface
ii  libxfce4mcs-manager3                   4.3.90.1svn+r21132-0ubuntu2            Manager library for Xfce4 configure interfac
ii  libxfce4util4                          4.3.90.2svn+r21550-0ubuntu1            Utility functions library for Xfce4
ii  libxfcegui4-4                          4.3.90.2svn+r21598-0ubuntu2            Basic GUI C functions for Xfce4
ii  xfce4-appfinder                        4.3.90.1svn+r21281-0ubuntu3            Application finder for the Xfce4 Desktop Env
ii  xfce4-battery-plugin                   0.4.0-0ubuntu4                         battery monitor plugin for the Xfce4 panel
ii  xfce4-clipman-plugin                   0.6.1-0ubuntu4                         clipboard history plugin for the Xfce4 panel
ii  xfce4-cpugraph-plugin                  0.3.0-0ubuntu4                         CPU load graph plugin for the Xfce4 panel
ii  xfce4-fsguard-plugin                   0.3.0-0ubuntu5                         filesystem monitor plugin for the Xfce4 pane
ii  xfce4-icon-theme                       4.3.0svn+r19908-0ubuntu1               Xfce Standard icon theme
ii  xfce4-mailwatch-plugin                 1.0.0-0ubuntu4                         mail watcher plugin for the Xfce4 panel
ii  xfce4-mcs-manager                      4.3.90.1svn+r21604-0ubuntu2            Settings manager for Xfce4
ii  xfce4-mcs-plugins                      4.3.90.1svn+r21633-0ubuntu1            Special modules for the xfce4-mcs-manager
ii  xfce4-mount-plugin                     0.4.5-0ubuntu6                         mount plugin for the Xfce4 panel
ii  xfce4-netload-plugin                   0.4.0-0ubuntu5                         network load monitor plugin for the Xfce4 pa
ii  xfce4-panel                            4.3.90.1svn+r21633-0ubuntu2            The Xfce4 desktop environment panel
ii  xfce4-quicklauncher-plugin             1.9.1+r1149-0ubuntu5                   rapid launcher plugin for the Xfce4 panel
ii  xfce4-screenshooter-plugin             1.0.0-0ubuntu6                         xfce4-panel plugin to take screenshots
ii  xfce4-sensors-plugin                   0.9.0-0ubuntu5                         hardware sensors plugin for the Xfce4 panel
ii  xfce4-session                          4.3.90.1svn+r21697-0ubuntu1            Xfce4 Session Manager
ii  xfce4-systemload-plugin                0.4.0-0ubuntu5                         system load monitor plugin for the Xfce4 pan
ii  xfce4-taskmanager                      0.3.1-0ubuntu6                         taskmanager for xfce
ii  xfce4-terminal                         0.2.5+r21674-0ubuntu2                  Xfce terminal emulator
ii  xfce4-utils                            4.3.90.1svn+r21673-0ubuntu2            Various tools for Xfce
ii  xfce4-verve-plugin                     0.2.0-0ubuntu3                         Command line plugin for the Xfce panel
ii  xfce4-weather-plugin                   0.5.0-0ubuntu6                         weather information plugin for the Xfce4 pan
ii  xfce4-xkb-plugin                       0.4.1-0ubuntu5                         xkb layout switch plugin for the Xfce4 panel
Comment 1 Constantin 2009-01-08 22:27:20 CET
I have same effect on FreeBSD-7.1 amd64. I have two sound devices (hdmi audio and hd soundcard) on my notebook and soundcard is second (pcm1). every time after system boot up I need to reopen Properties of xfce4-mixer (v. 4.4.3) to have correct control.
Comment 2 dannym editbugs 2009-01-10 10:15:40 CET
Is that via the ALSA or the OSS driver?
i.e. how is the sound device called in the property dialog?
Comment 3 dannym editbugs 2009-01-10 10:19:07 CET
There is a file "xfce4-mixer-"* in directory ".config/xfce4/panel" (or whereever your XDG_CONFIG_HOME is). What does it contain? Does it contain a proper value for "Device"?
Comment 4 Constantin 2009-01-10 17:24:47 CET
1. I have OSS sound system. ALSA not supported by FreeBSD.

2. This is my xfce-mixer-xxxxxxxxxx.rc:

[mixer-plugin]
Device=/dev/mixer1
LauncherCommand=xfce4-mixer
LauncherRunInTerminal=false
LauncherUseStartupNotification=false
MasterControl=Pcm

All settings seems valid and not changes after system started up and reopen Properties.
Comment 5 dannym editbugs 2009-01-11 20:13:19 CET
In "panel-plugin/mixer-prefbox.gob" line 141, there is:
             txt = gtk_entry_get_text (GTK_ENTRY (self->device_cb->entry));
Please add the following right after it:
    g_warning ("setting device: \"%s\"", txt ? txt : "");
$ ./gobs
$ make
$ make install
$ xfce4-panel
check what it outputs...

With this, we know whether it even tries to set it in the high-level layer and thus find out in which part to start searching for the bug.
Thanks.
Comment 6 Guido Berhoerster 2012-09-28 11:32:12 CEST
Can you please check whether this is still a problem with version 4.9.0? If so please enable the runtime debugging mode as follows:

xfce4-panel -q
export PANEL_DEBUG=xfce4-mixer-plugin
xfce4-panel

and attach the output it here.

Bug #2391

Reported by:
laurent pichler
Reported on: 2006-10-09
Last modified on: 2020-05-21

People

CC List:
3 users

Version

Attachments

Additional information