On Fri, May 19, 2006 at 07:03:13PM +0200, Elimar Riesebieter wrote: > Should it be something like: > ...
Yeah, though I guess Snapper should stay there. The following works: # $1 <card ID> preinit_levels_on_card() { CARDOPT="-c $1" # Silly dance to activate internal speakers by default on PowerMac # Snapper and Tumbler id=`cat /proc/asound/card$1/id 2>/dev/null` if [ "$id" = "Snapper" -o "$id" = "Tumbler" ]; then switch_control "Auto Mute" off switch_control "PC Speaker" off switch_control "Auto Mute" on fi } greetings, markus -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]