[Pkg-alsa-devel] Bug#238278: alsa-base: no hotplug here but same problem

Thomas Augenstein Thomas Augenstein <t.augenstein@hispeed.ch>, 238278@bugs.debian.org
Fri, 16 Apr 2004 11:12:10 +0200


Package: alsa-base
Version: 1.0.4-1
Severity: normal
Followup-For: Bug #238278

I have no hotplug installed but also had no sound on reboot. It seems
that discover detected and loaded the module snd-bt87x, the sound driver 
for by bttv tv card. The bt87x driver then got slot 0 (/proc/asound/card0)
and not slot 1 as with the alsa-script. This let the script /etc/init.d/alsa 
to the wrong assumption, that the drivers where compiled in statically.
A /etc/init.d/alsa restart made sound work, but on reboot the same problem 
appeared again.

The problem is solved here by adding the line skip="snd-bt87x" in 
/etc/discover-modprobe.conf. Now the /etc/init.d/alsa loads the modules
in correct order on system boot and sound just works fine again.

Another solution is to put snd-cmipci and snd-bt87x in /etc/modules so
the modules get loaded before discover does the wrong thing.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.5
Locale: LANG=de_CH, LC_CTYPE=de_CH

Versions of packages alsa-base depends on:
ii  alsa-utils                   1.0.4-1     Advanced Linux Sound Architecture 
ii  debconf                      1.4.22      Debian configuration management sy
ii  debianutils                  2.8.1       Miscellaneous utilities specific t
ii  lsof                         4.71-1      List open files.
ii  module-init-tools            3.0-pre10-2 tools for managing Linux kernel mo
ii  modutils                     2.4.26-1    Linux module utilities
ii  procps                       1:3.2.1-2   The /proc file system utilities
ii  psmisc                       21.4-1      Utilities that use the proc filesy

-- debconf information:
  alsa-common/card-list: 
* alsa-base/current_card: done
* alsa-base/force_stop_alsa_before_suspend: none
* alsa-base/alsactl_store_on_shutdown: true
  alsa-base/card_list: cmipci bt87x done