+ case "$PRODUCT" in
+ T10*TA)
+ modprobe ak8975
+ modprobe hci-uart
+ BTUART_PORT=/dev/ttyS1
+ brcm_patchram_plus -d --no2bytes --enable_hci --patchram /system/lib/firmware/brcm/bcm43241b4.hcd $BTUART_PORT
+ ;;
+ MacBookPro8*)
+ rmmod b43
+ modprobe b43 btcoex=0
+ modprobe btusb
+ ;;
+ *)
+ for bt in $(lsusb -v | awk ' /Class:.E0/ { print $9 } '); do
+ chown 1002.1002 $bt && chmod 660 $bt
+ done
+ modprobe btusb
+ ;;
+ esac
+
+ if [ -n "$BTUART_PORT" ]; then
+ set_property hal.bluetooth.uart $BTUART_PORT
+ chown bluetooth.bluetooth $BTUART_PORT
+ log -t hciconfig -p i "`hciconfig`"
+ fi