[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#295770: snd_azx driver + kmix - system tray volume controls heaphones



Package: kmix
Version: 4:3.3.1-1
Severity: normal



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-bs-686
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)

Versions of packages kmix depends on:
ii  kdelibs4                 4:3.3.2-1       KDE core libraries
ii  libart-2.0-2             2.3.17-1        Library of functions for 2D graphi
ii  libasound2               1.0.8-1         ALSA library
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  libfam0c102              2.7.0-6         client library to control the FAM 
ii  libgcc1                  1:3.4.3-6       GCC support library
ii  libice6                  4.3.0.dfsg.1-10 Inter-Client Exchange library
ii  libidn11                 0.5.2-3         GNU libidn library, implementation
ii  libpng12-0               1.2.8rel-1      PNG library - runtime
ii  libqt3c102-mt            3:3.3.3-8       Qt GUI Library (Threaded runtime v
ii  libsm6                   4.3.0.dfsg.1-10 X Window System Session Management
ii  libstdc++5               1:3.3.5-8       The GNU Standard C++ Library v3
ii  libx11-6                 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxext6                 4.3.0.dfsg.1-10 X Window System miscellaneous exte
ii  libxrender1              0.8.3-7         X Rendering Extension client libra
ii  xlibs                    4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-3       compression library - runtime

-- no debconf information
I have an Intel Motherboard D915PGN, which uses the I915P chipset.
In order to get the sound working I had to install and compiled the alsa-source package. (driver is azx).
||/ Name                         Version
Description
+++-============================-============================-=======
ii  alsa-source                  1.0.8-4         ALSA driver sources

The mixer shows the following output sliders:
Headphones, PCM, Front, Surround,Center,LFE,Line,CD,Mic-1,Mic-2,PC
Speaker.
The Slider labelled "Front" is a bit of a misnomer, as it appears to be
the master volume control.

The problem is the system tray volume control adjusts the Headphones
channel rather than master volume ("Front").

It appears this is set in Mixer_ALSA::identify when a device called
"Master" is found. m_masterDevice = snd_mixer_selem_id_get_index( sid
);
Since m_masterDevice is assigned 0 as default value in mixer.cpp the
first device will be used as master if the ALSA driver does not provide
one called "Master". 

Clearly this does not work for all drivers (or does this mean the driver
is broken rather than kmix?)

Perhaps what Kmix needs is an option for the user to select the channel that will
be controlled by the systray volume control, since Kmix can't guess the
correct device 100% of the time.



Reply to: