[Pkg-alsa-devel] Bug#625233: alsa-base: alsa force-unload

Torquil Macdonald Sørensen torquil at gmail.com
Mon May 2 17:22:34 UTC 2011


Package: alsa-base
Version: 1.0.23+dfsg-3
Severity: normal

I'm not sure if this is a Debian or upstream bug, because I don't
know if the script /usr/sbin/alsa is Debian specific or from
upstream. But here goes anyway:

The command "alsa force-unload" fails to kill the running process
xfce4-volumed that is using /dev/snd/controlC1. Looking at
/usr/sbin/alsa, it only kills processes that uses /dev/snd/pcm*. It
seems that this is not enough?

The result is that the "modprobe -r" command run later by the script
fails. If I kill xfce4-volumed manually, "alsa force-unload" fails
on the first execution, but then running it again removes all the
snd_* modules. Could that last problem (need to run twice) arise
because it tries to remove in the wrong order?

I'll check once more if the first execution of alsa force-unload
has any effect on the list of modules, and report back here.

Sory about the /dev/snd listing that is supposed to be in this
bug report. I'm writing it after having removed the modules. If it
is important, I'll include it in a follow-up.

Best regards
Torquil Sørensen

-- Package-specific info:
--- Begin additional package status ---
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                               Version                            Description
+++-==================================-==================================-====================================================================================
ii  libasound2                         1.0.23-3                           shared library for ALSA applications
--- End additional package status ---
--- Begin /dev/snd/ listing ---
ls: cannot access /dev/snd: No such file or directory
--- End /dev/snd/ listing ---

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38.4 (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 alsa-base depends on:
ii  linux-sound-base           1.0.23+dfsg-3 base package for ALSA and OSS soun
ii  module-init-tools          3.12-1        tools for managing Linux kernel mo
ii  udev                       168-1         /dev/ and hotplug management daemo

Versions of packages alsa-base recommends:
ii  alsa-utils                    1.0.23-4   Utilities for configuring and usin

Versions of packages alsa-base suggests:
ii  alsa-oss                      1.0.17-4   ALSA wrapper for OSS applications
pn  apmd                          <none>     (no description available)
ii  oss-compat                    0.0.4+nmu3 OSS compatibility package

Versions of packages libasound2 depends on:
ii  libc6                         2.13-1     Embedded GNU C Library: Shared lib

Versions of packages libasound2 suggests:
ii  libasound2-plugins            1.0.23-2   ALSA library additional plugins

-- Configuration Files:
/etc/modprobe.d/alsa-base-blacklist.conf changed:
blacklist snd-pcsp
blacklist snd_hda_codec_hdmi

/etc/modprobe.d/alsa-base.conf changed:
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; /sbin/modprobe --quiet snd-seq ; }
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && { /sbin/modprobe --quiet snd-emu10k1-synth ; : ; }
options bt87x index=-2
options cx88_alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-pcsp index=-2
options snd-usb-audio nrpacks=1
options snd-hda-intel model=auto
options snd slots=snd-usb-audio,snd-hda-intel


-- no debconf information





More information about the Pkg-alsa-devel mailing list