--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: gnome-alsamixer: fails to detect all sound cards if numbering is non-consequetive
- From: Bas Zoetekouw <bas@debian.org>
- Date: Wed, 20 Aug 2008 13:40:13 +0200
- Message-id: <20080820114013.4514.39438.reportbug@Eleanor.baz.lan>
Package: gnome-alsamixer
Version: 0.9.7~cvs.20060916.ds.1-2
Severity: normal
I have the following alsa configuration:
[bas@Eleanor]~> cat /proc/asound/cards
0 [HDMI ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xf5010000 irq 17
2 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xf9000000 irq 22
However, gnome-alsamixer fails to find the card with index 2 (which is
my main card), because the number 1 is missing.
The culprit is the card detection part at lines 286-312 of
gam_app_constructor() in src/gam-app.c, which indeed termines as soon
as an index (in this case 1) does not correspond to an existing card.
Rather than trying this, I guess the program should simply read
/proc/asound/cards and parse the information available there.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26.2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gnome-alsamixer depends on:
ii gconf2 2.22.0-1 GNOME configuration database syste
ii libart-2.0-2 2.3.20-2 Library of functions for 2D graphi
ii libasound2 1.0.16-2 ALSA library
ii libatk1.0-0 1.22.0-1 The ATK accessibility toolkit
ii libbonobo2-0 2.22.0-1 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.22.0-1 The Bonobo UI library
ii libc6 2.7-13 GNU C Library: Shared libraries
ii libcairo2 1.6.4-3 The Cairo 2D vector graphics libra
ii libgconf2-4 2.22.0-1 GNOME configuration database syste
ii libglib2.0-0 2.16.5-1 The GLib library of C routines
ii libgnome2-0 2.20.1.1-1 The GNOME 2 library - runtime file
ii libgnomecanvas2-0 2.20.1.1-1 A powerful object-oriented display
ii libgnomeui-0 2.20.1.1-1 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 1:2.22.0-4 GNOME Virtual File System (runtime
ii libgtk2.0-0 2.12.11-3 The GTK+ graphical user interface
ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library
ii liborbit2 1:2.14.13-0.1 libraries for ORBit2 - a CORBA ORB
ii libpango1.0-0 1.20.5-1 Layout and rendering of internatio
ii libpopt0 1.14-4 lib for parsing cmdline parameters
ii libsm6 2:1.0.3-2 X11 Session Management library
gnome-alsamixer recommends no packages.
gnome-alsamixer suggests no packages.
-- no debconf information
--- End Message ---