Hi, I'm trying to port wl1271 bluetooth from Android Gingerbread 2.3 to Android ICS. I have followed the suggested steps in http://processors.wiki.ti.com/index.php/TI-Android-ICS-PortingGuide#Bluetooth but yet I cannot turn on Bluetooth on the Settings menu. It is always force to OFF whenever I try to turn ON bluetooth. Here's the logcat message when I try to turn on bluetooth:
D/BluetoothAdapterStateMachine( 163): PowerOff process message: 1
D/BluetoothAdapterStateMachine( 163): Bluetooth state 10 -> 11
E/BluetoothAdapterStateMachine( 163): failed to prepare bluetooth, abort turning on
D/BluetoothAdapterStateMachine( 163): Bluetooth state 11 -> 10
V/BluetoothEventManager( 574): Received android.bluetooth.adapter.action.STATE_CHANGED
D/DockEventReceiver( 574): finishStartingService: stopping service
When debug, I found out that bt_enable() in mydroid/system/bluetooth/bluedroid/bluetooth.c returns false. Am I missing something in the HAL/ framework configurations? Appreciate any comments or replies. Thank you!