done
case "$PRODUCT" in
- T10*TA)
- modprobe ak8975
- modprobe hci-uart
+ T10*TA|HP*Omni*)
BTUART_PORT=/dev/ttyS1
- brcm_patchram_plus -d --no2bytes --enable_hci --patchram /system/lib/firmware/brcm/bcm43241b4.hcd $BTUART_PORT
;;
MacBookPro8*)
rmmod b43
if [ -n "$BTUART_PORT" ]; then
set_property hal.bluetooth.uart $BTUART_PORT
chown bluetooth.bluetooth $BTUART_PORT
+ btattach -P bcm -B $BTUART_PORT &
log -t hciconfig -p i "`hciconfig`"
fi
}