← Back to team overview

desktop-packages team mailing list archive

[Bug 18272] Re: amixer beeps on argv[] processing errors.

 

** Changed in: alsa-utils (Debian)
       Status: Confirmed => New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-utils in Ubuntu.
https://bugs.launchpad.net/bugs/18272

Title:
  amixer beeps on argv[] processing errors.

Status in alsa-utils package in Ubuntu:
  Fix Released
Status in alsa-utils package in Debian:
  New

Bug description:
  $ pwd
  alsa-utils-1.0.8
  $ find -name '*.c' | xargs grep '\\0[0-9]'
  ./alsamixer/alsamixer.c:    case '\014':
  ./amixer/amixer.c:                                      fprintf(stderr,
  "\07Invalid card number.\n");
  ./amixer/amixer.c:                      fprintf(stderr, "\07Invalid switch or
  option needs an argument.\n");
  $

  alsa-utils's amixer beeps on a couple of argv[] related error messages.
  It should be silent, like /bin/false.  shutdown(8) has good reason to
  beep.

  What makes this particularly annoying is this fresh install of 5.04's
  /etc/init.d/alsa cause amixer with illegal arguments about a dozen times
  on start and stop causing much loud beeping.  I'll open another bug on
  that as I continue to investigate but amixer shouldn't beep regardless.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-utils/+bug/18272/+subscriptions