Skip to content

Instantly share code, notes, and snippets.

@vansoest
Created January 27, 2016 21:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vansoest/84a012c7806a6ccf7d00 to your computer and use it in GitHub Desktop.
Save vansoest/84a012c7806a6ccf7d00 to your computer and use it in GitHub Desktop.
#!/bin/bash
CARD=`aplay -l | grep -i "ALC889 Analog" | cut -d ":" -f 1 | cut -d " " -f 2`
AMIXER="amixer --card $CARD"
$AMIXER set Master 100%
$AMIXER set Master unmute
$AMIXER set Headphone 70%
$AMIXER set Headphone unmute
$AMIXER set PCM 100%
$AMIXER set Front 90%
$AMIXER set Front unmute
$AMIXER set Surround 100%
$AMIXER set Surround unmute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment