Package: alsa-utils
Version: 1.0.20-1
Severity: normal

Hi,


/etc/init.d/alsa-utils unconditionally tries to reset the 'pcsp'
card from sanify_levels().  This is done either when called with the
'reset' argument to the init script or when restoring fails when
called with 'start' during the runlevel change
(e.g. when /var/lib/alsa/asound.state does not yet exist)

Running a kernel without the pcsp driver this leads to lots of
error messages.  This following snipped is from output of

   sh -x /etc/init.d/alsa-utils start

it repeats for every control that is being muted/zeroed from
mute_and_zero_levels_on_card()


....

+ amixer -c pcsp -q set Master 0% mute
+ filter_amixer_output
+ sed -e '/Unable to find simple control/d' -e '/Unknown playback setup/d' -e 
'/^$/d'
Invalid card number.
Usage: amixer <options> [command]
Available options:
  -h,--help       this help
  -c,--card N     select the card
  -D,--device N   select the device, default 'default'
  -d,--debug      debug mode
  -n,--nocheck    do not perform range checking
  -v,--version    print version of this program
  -q,--quiet      be quiet
  -i,--inactive   show also inactive controls
  -a,--abstract L select abstraction level (none or basic)
  -s,--stdin      Read and execute commands from stdin sequentially
Available commands:
  scontrols       show all mixer simple controls
  scontents       show contents of all mixer simple controls (default command)
  sset sID P      set contents for one mixer simple control
  sget sID        get contents for one mixer simple control
  controls        show all controls for given card
  contents        show contents of all controls for given card
  cset cID P      set control contents for one control
  cget cID        get control contents for one control

...


I suppose that hardcoding is not really necessary anyway as 'pcsp'
should be included when all cards are looped over (which is the case
when running from init.  And giving a specific card on the command line
one would not expect this to operate on a different card.


regards, ingo



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

Kernel: Linux 2.6.30-32 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages alsa-utils depends on:
ii  dialog                    1.1-20080819-1 Displays user-friendly dialog boxe
ii  libasound2                1.0.20-2       shared library for ALSA applicatio
ii  libc6                     2.9-13         GNU C Library: Shared libraries
ii  libncurses5               5.7+20090523-1 shared libraries for terminal hand
ii  linux-sound-base          1.0.20+dfsg-1  base package for ALSA and OSS soun
ii  lsb-base                  3.2-22         Linux Standard Base 3.2 init scrip
ii  module-init-tools         3.7-pre9-1     tools for managing Linux kernel mo
ii  whiptail                  0.52.10-3      Displays user-friendly dialog boxe

Versions of packages alsa-utils recommends:
ii  alsa-base                  1.0.20+dfsg-1 ALSA driver configuration files
ii  pciutils                   1:3.1.2-5     Linux PCI Utilities

alsa-utils suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to