[Pkg-alsa-devel] Bug#519414: alsa-base: Card lookup fails after post-Lenny updates

Christoph Burgmer chrislb at gmx.de
Thu Mar 12 11:47:54 UTC 2009


Package: alsa-base
Version: 1.0.17.dfsg-4
Severity: important

Atfer updating to the latest unstable's packages alsa breaks for most
software. alsaplayer, alsamixer and iceweasel flash for example or unable to
produce any sound, though Qt's Phonon based applications work reporting a
change away from the default settings.

The system was initially setup as to have the built in soundcard mapped to
card 1 while an optional external usb soundcard was mapped to 0:

$ cat /etc/modprobe.d/sound.usb
alias snd-card-1 snd-intel8x0
options snd-intel8x0 index=1
alias snd-card-0 snd-usb-audio
options snd-usb-audio index=0

It might be that additional settings existed in file "sound" setting
snd-intel8x0 to be snd-card-0 but it is now unclear if this setting was ever
applied.

After upgrading multiple packages from post-Lenny's unstable (within libc6
and libasound2) this setting stopped working and only after swaping the
cards made sound working again in all programs. I don't know which package
caused the original setup to suddenly fail, downgrading to either
libasound2_1.0.16-2 or module-init-tools_3.4-1 did not help.

I'll append further output to document the system's status before making
sound work again by swapping the card order:

Setup mostely used:

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: I82801DBICH4 [Intel 82801DB-ICH4], device 0: Intel ICH [Intel
82801DB-ICH4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: I82801DBICH4 [Intel 82801DB-ICH4], device 4: Intel ICH - IEC958
[Intel 82801DB-ICH4 - IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Additional usb:

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: External [SB Live! 24-bit External], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: I82801DBICH4 [Intel 82801DB-ICH4], device 0: Intel ICH [Intel
82801DB-ICH4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: I82801DBICH4 [Intel 82801DB-ICH4], device 4: Intel ICH - IEC958
[Intel 82801DB-ICH4 - IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

$ alsamixer

alsamixer: function snd_ctl_open failed for default: No such device

$ lsmod | grep snd
snd_usb_audio          70272  2
snd_usb_lib            13440  1 snd_usb_audio
snd_hwdep               6212  1 snd_usb_audio
snd_intel8x0           26268  1
snd_ac97_codec         88484  1 snd_intel8x0
ac97_bus                1728  1 snd_ac97_codec
snd_pcm_oss            32800  0
snd_mixer_oss          12320  2 snd_pcm_oss
snd_pcm                62596  4
snd_usb_audio,snd_intel8x0,snd_ac97_codec,snd_pc
m_oss
snd_page_alloc          7816  2 snd_intel8x0,snd_pcm
snd_seq_midi            5728  0
snd_rawmidi            18496  2 snd_usb_lib,snd_seq_midi
snd_seq_midi_event      6432  1 snd_seq_midi
snd_seq                41456  2 snd_seq_midi,snd_seq_midi_event
snd_timer              17800  2 snd_pcm,snd_seq
snd_seq_device          6380  3 snd_seq_midi,snd_rawmidi,snd_seq
snd                    45604  15
snd_usb_audio,snd_hwdep,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               6368  2 snd
usbcore               118160  6
snd_usb_audio,snd_usb_lib,usbhid,ehci_hcd,uhci_hcd

$ cat /proc/asound/cards
 0 [External       ]: USB-Audio - SB Live! 24-bit External
                      Creative Technology SB Live! 24-bit External at
usb-0000:00:1d.1-2, full speed
 1 [I82801DBICH4   ]: ICH4 - Intel 82801DB-ICH4
                      Intel 82801DB-ICH4 with AD1981B at irq 11

Even after adding the usb sound card audio would fail for the programs
listed.
This bug is fixed for me using the action described above, but as the setup
before worked fine and suddenly broke I still feel that this is worth
reporting.

Feel free to ask for more output.

Christoph

-- Package-specific info:
--- Begin additional package status ---
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/Fehlgeschl. Konfiguration/
         Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/Halten/R=Neuinst notw/X=beide (Status, Fehler: GROSS=schlecht)
||/ Name           Version        Beschreibung
+++-==============-==============-============================================
ii  libasound2     1.0.19-1       shared library for ALSA applications
--- End additional package status ---
--- Begin /proc/asound/version ---
Advanced Linux Sound Architecture Driver Version 1.0.16.
--- End /proc/asound/version ---
--- Begin /proc/asound/cards ---
 0 [I82801DBICH4   ]: ICH4 - Intel 82801DB-ICH4
                      Intel 82801DB-ICH4 with AD1981B at irq 11
 1 [Modem          ]: ICH-MODEM - Intel 82801DB-ICH4 Modem
                      Intel 82801DB-ICH4 Modem at irq 11
--- End /proc/asound/cards ---
--- Begin /dev/snd/ listing ---
insgesamt 0
crw-rw---- 1 root audio 116,  0 12. M�19:12 controlC0
crw-rw---- 1 root audio 116, 32 12. M�19:12 controlC1
crw-rw---- 1 root audio 116, 24 12. M�19:12 pcmC0D0c
crw-rw---- 1 root audio 116, 16 12. M�19:29 pcmC0D0p
crw-rw---- 1 root audio 116, 25 12. M�19:12 pcmC0D1c
crw-rw---- 1 root audio 116, 26 12. M�19:12 pcmC0D2c
crw-rw---- 1 root audio 116, 27 12. M�19:12 pcmC0D3c
crw-rw---- 1 root audio 116, 20 12. M�19:12 pcmC0D4p
crw-rw---- 1 root audio 116, 56 12. M�19:12 pcmC1D0c
crw-rw---- 1 root audio 116, 48 12. M�19:12 pcmC1D0p
crw-rw---- 1 root audio 116,  1 12. M�19:12 seq
crw-rw---- 1 root audio 116, 33 12. M�19:12 timer
--- End /dev/snd/ listing ---

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages alsa-base depends on:
ii  linux-sound-base           1.0.17.dfsg-4 base package for ALSA and OSS soun
ii  lsof                       4.81.dfsg.1-1 List open files
ii  module-init-tools          3.7-pre5-1    tools for managing Linux kernel mo

Versions of packages alsa-base recommends:
ii  alsa-utils                    1.0.16-2   ALSA utilities

Versions of packages alsa-base suggests:
pn  alsa-oss                      <none>     (no description available)
pn  apmd                          <none>     (no description available)
ii  oss-compat                    0.0.4+nmu2 OSS compatibility package

Versions of packages libasound2 depends on:
ii  libc6                         2.9-4      GNU C Library: Shared libraries

-- debconf information:
  alsa-base/alsactl_store_on_shutdown: never autosave





More information about the Pkg-alsa-devel mailing list