# Authors: grml-team (grml.org), (c) Klaus Knopper <knopper@knopper.net>, (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
-# Latest change: Don Nov 15 11:46:04 CET 2007 [mika]
+# Latest change: Don Nov 15 22:01:50 CET 2007 [mika]
################################################################################
# {{{ path, variables, signals, umask, zsh
amixer set Front ${VOL}% 1>/dev/null
fi
fi
- ERROR=$(aumix -w $VOL -v $VOL -p $VOL -m $VOL 2>&1) ; RC=$?
+ # by default assume '0' as volume for microphone:
+ if checkbootparam micvol ; then
+ MICVOL="$(getbootparam 'micvol' 2>>$DEBUG)"
+ else
+ MICVOL=0
+ fi
+
+ # finally set the volumes:
+ ERROR=$(aumix -w $VOL -v $VOL -p $VOL -m $MICVOL 2>&1) ; RC=$?
if [ -n "$ERROR" ] ; then
eindent
eerror "Problem setting mixer volumes: $ERROR (no soundcard?)"
+grml-autoconfig (0.7.29) unstable; urgency=low
+
+ * New bootoption micvol (usage: micvol=$number) for setting mixer/
+ volume settings of microphone channel. Thanks to Ernst Ahlers
+ for the bugreport ("Rückkopplungspfeifen") and bringing up
+ the idea of setting it to '0' by default.
+
+ -- Michael Prokop <mika@grml.org> Thu, 15 Nov 2007 22:02:03 +0100
+
grml-autoconfig (0.7.28) unstable; urgency=low
* Drop the 'consolechars --tty=/dev/tty${vc} -d' stuff from