[Pkg-alsa-devel] Bug#640478: alsa-base: race condition on loaded the correct kernel module for VIA's VT1708/A

hennr hennr at hennr.name
Mon Sep 5 07:46:25 UTC 2011


Package: alsa-base
Version: 1.0.23+dfsg-4
Severity: important

I own the AsRock 4CoreDual-SATA2 R2.0 which has the follwowing onboard sound
card:
80:01.0 Audio device: VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA High
Definition Audio Controller) (rev 10)

When booting two kernel modules register that hardware, the one that was faster
gets used as the standard card but does not work properly, so I don't have
sound from time to time.

Arranging the order of both modules does solve the problem for me:

cat /etc/modprobe.d/alsa.conf

# Setup the card order
alias snd-card-0 snd-via82xx
options snd-vt82xx index=0
alias snd-card-1 snd-hda-intel
options snd-hda-intel index=1

Anyway, there might be a way to prevent snd-hda-intel from getting loaded for
this card at all.



-- 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.24.1-3     shared library for ALSA applications
--- End additional package status ---
--- Begin /proc/asound/version ---
Advanced Linux Sound Architecture Driver Version 1.0.24.
--- End /proc/asound/version ---
--- Begin /proc/asound/cards ---
 0 [VT82xx         ]: HDA-Intel - HDA VIA VT82xx
                      HDA VIA VT82xx at 0xfebfc000 irq 65
 1 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfeafc000 irq 25
--- End /proc/asound/cards ---
--- Begin /dev/snd/ listing ---
total 0
drwxr-xr-x  2 root root       80 Sep  5 08:08 by-path
crw-rw----+ 1 root audio 116, 15 Sep  5 08:08 controlC0
crw-rw----+ 1 root audio 116, 10 Sep  5 08:08 controlC1
crw-rw----+ 1 root audio 116, 14 Sep  5 08:08 hwC0D0
crw-rw----+ 1 root audio 116,  9 Sep  5 08:08 hwC1D0
crw-rw----+ 1 root audio 116,  8 Sep  5 08:08 hwC1D1
crw-rw----+ 1 root audio 116,  7 Sep  5 08:08 hwC1D2
crw-rw----+ 1 root audio 116,  6 Sep  5 08:08 hwC1D3
crw-rw----+ 1 root audio 116, 13 Sep  5 09:06 pcmC0D0c
crw-rw----+ 1 root audio 116, 12 Sep  5 09:06 pcmC0D0p
crw-rw----+ 1 root audio 116, 11 Sep  5 08:08 pcmC0D1p
crw-rw----+ 1 root audio 116,  5 Sep  5 08:08 pcmC1D3p
crw-rw----+ 1 root audio 116,  4 Sep  5 08:08 pcmC1D7p
crw-rw----+ 1 root audio 116,  3 Sep  5 08:08 pcmC1D8p
crw-rw----+ 1 root audio 116,  2 Sep  5 08:08 pcmC1D9p
crw-rw----+ 1 root audio 116,  1 Sep  5 08:08 seq
crw-rw----+ 1 root audio 116, 33 Sep  5 08:08 timer
--- End /dev/snd/ listing ---

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable'), (500, 'stable-updates'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores)
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-4 base package for ALSA and OSS soun
ii  module-init-tools          3.16-1        tools for managing Linux kernel mo
ii  udev                       172-1         /dev/ and hotplug management daemo

Versions of packages alsa-base recommends:
ii  alsa-utils                    1.0.24.2-1 Utilities for configuring and usin

Versions of packages alsa-base suggests:
pn  alsa-oss                      <none>     (no description available)
pn  apmd                          <none>     (no description available)
pn  oss-compat                    <none>     (no description available)

Versions of packages libasound2 depends on:
ii  libc6                         2.13-16    Embedded GNU C Library: Shared lib
ii  multiarch-support             2.13-16    Transitional package to ensure mul

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

-- no debconf information





More information about the Pkg-alsa-devel mailing list