From 21262a32dd2dc74efc4b11731f8f06f75e25514c Mon Sep 17 00:00:00 2001 From: Stefan Seidel Date: Fri, 2 Mar 2012 11:40:31 +0100 Subject: [PATCH] clean up and add Speaker volume setting for x61t --- init.thinkpad_x41t.rc | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/init.thinkpad_x41t.rc b/init.thinkpad_x41t.rc index 03bf754..699abf7 100755 --- a/init.thinkpad_x41t.rc +++ b/init.thinkpad_x41t.rc @@ -13,22 +13,27 @@ on boot service wacom-input /system/bin/wacom-input disabled + oneshot service tablet-mode /system/bin/tablet-mode disabled oneshot -on property:sys.boot_completed=1 - start tablet-mode - service amixer-pcm /system/bin/alsa_amixer set PCM 100 on + disabled oneshot + +service amixer-speaker /system/bin/alsa_amixer set Speaker 100 on disabled + oneshot on property:dev.bootcomplete=1 start wacom-input -# start tablet-mode start amixer-pcm + start amixer-speaker chmod 660 /sys/class/rfkill/rfkill0/state chown system bluetooth /sys/class/rfkill/rfkill0/state + +on property:sys.boot_completed=1 + start tablet-mode