OSDN Git Service

generic_x86: adjust mixer
authorChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 22 Feb 2012 09:01:02 +0000 (17:01 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 22 Feb 2012 09:01:02 +0000 (17:01 +0800)
generic_x86/init.sh

index 017b286..8386848 100644 (file)
@@ -5,13 +5,16 @@ DMIPATH=/sys/class/dmi/id
 board=`cat $DMIPATH/product_name`
 case "$board" in
        *)
-               alsa_amixer set Master on
                ;;
 esac
 
+alsa_amixer set Master on
 alsa_amixer set Master 100
 alsa_amixer set Headphone 100
 alsa_amixer set Speaker 100
+alsa_amixer set Capture 100
+alsa_amixer set Capture cap
+alsa_amixer set 'Mic Boost' 2
 
 # import cmdline variables
 for c in `cat /proc/cmdline`; do