From: Chih-Wei Huang Date: Sat, 14 May 2016 18:16:29 +0000 (+0800) Subject: Change btattach to be a standard android service X-Git-Tag: android-x86-6.0-r1~30 X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fdevice-generic-common.git;a=commitdiff_plain;h=6d541ffa81dc1af2b84c623f9c2656669e207ee0 Change btattach to be a standard android service --- diff --git a/init.sh b/init.sh index 7ed51de..eacf3bb 100644 --- a/init.sh +++ b/init.sh @@ -61,7 +61,7 @@ function init_hal_bluetooth() if [ -n "$BTUART_PORT" ]; then set_property hal.bluetooth.uart $BTUART_PORT chown bluetooth.bluetooth $BTUART_PORT - btattach -P bcm -B $BTUART_PORT & + start btattach:-B$BTUART_PORT log -t hciconfig -p i "`hciconfig`" fi } diff --git a/init.x86.rc b/init.x86.rc index 3c6a43b..c9671b1 100644 --- a/init.x86.rc +++ b/init.x86.rc @@ -99,6 +99,11 @@ service powerbtnd /system/bin/powerbtnd service logcat /system/bin/logcat -v threadtime -f /data/log.txt class debug +service btattach /system/bin/btattach -Pbcm + class main + disabled + oneshot + service wacom-input /system/bin/wacom-input disabled oneshot