Based on a patch provided by Li Xin <lixin@phoenixos.com>.
chown bluetooth.bluetooth $BTUART_PORT
start btattach
fi
+
+ # rtl8723bs bluetooth
+ if dmesg -t | grep -qE '8723bs.*BT'; then
+ TTYSTRING=`dmesg -t | grep -E 'tty.*MMIO' | awk '{print $2}' | head -1`
+ if [ -n "$TTYSTRING" ]; then
+ echo "RTL8723BS BT uses $TTYSTRING for Bluetooth."
+ ln -sf $TTYSTRING /dev/rtk_h5
+ start rtk_hciattach
+ fi
+ fi
}
function init_hal_camera()
disabled
oneshot
+service rtk_hciattach /vendor/bin/rtk_hciattach -n -s 115200 /dev/rtk_h5 rtk_h5
+ class main
+ disabled
+ oneshot
+
service wacom-input /system/bin/wacom-input
disabled
oneshot
make_ext4fs \
parted \
power.x86 \
+ rtk_hciattach \
scp \
sensors.hsb \
sftp \