Hello All,
My board is based on iMX6DL, running Android kitktat and has broadcom 43340 bluetooth. When, I power up my board, the bluedroid tried to bring up and rans for several x times (dumps the error below) before it has successfully enable it. W/bt-btu ( 1628): btu_task start abort! D/BluetoothAdapterState( 1628): CURRENT_STATE=PENDING, MESSAGE = DISABLED, isTurningOn=true, isTurningOff=false E/BluetoothAdapterState( 1628): Error enabling Bluetooth - hardware init failed D/A2dpStateMachine( 1628): Exit Disconnected: -1 W/BluetoothHeadsetServiceJni( 1628): Cleaning up Bluetooth Handsfree Interface... W/BluetoothHeadsetServiceJni( 1628): Cleaning up Bluetooth Handsfree callback object D/HidService( 1628): Received stop request...Stopping profile... D/BluetoothAdapterProperties( 1628): Setting state to 10 I/BluetoothAdapterState( 1628): Bluetooth adapter state changed: 11-> 10 D/BluetoothAdapterService( 1628): Broadcasting updateAdapterState() to 1 receivers. D/BluetoothManagerService( 438): Message: 60 D/BluetoothManagerService( 438): MESSAGE_BLUETOOTH_STATE_CHANGE: prevState = 11, newState=10 D/BluetoothManagerService( 438): Broadcasting onBluetoothStateChange(false) to 12 receivers. D/BluetoothInputDevice( 711): onBluetoothStateChange: up=false D/HealthService( 1628): Received stop request...Stopping profile... E/BluetoothInputDevice( 711): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothInputDevice$2@2d1a6700 E/BluetoothInputDevice( 711): at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:922) E/BluetoothInputDevice( 711): at android.app.ContextImpl.unbindService(ContextImpl.java:1603) E/BluetoothInputDevice( 711): at android.content.ContextWrapper.unbindService(ContextWrapper.java:529) E/BluetoothInputDevice( 711): at android.bluetooth.BluetoothInputDevice$1.onBluetoothStateChange(BluetoothInputDevice.java:199) E/BluetoothInputDevice( 711): at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55) E/BluetoothInputDevice( 711): at android.os.Binder.execTransact(Binder.java:404) E/BluetoothInputDevice( 711): at dalvik.system.NativeStart.run(Native Method) Then, when I click the bluetooth button (off then on), the bluedroid couldn't bring the interface back. I would like to know if anyone here got a similar problem and able to fix it?. Regards, John -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.