Comment 6 for bug 18272

Revision history for this message
Ralph Corderoy (ralph-inputplus) wrote :

$ 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.