Hi, I am trying to make wl18xx bluetooth wok, but I am not able to turn on the bluetooth. The log is as follow.
--------- beginning of /dev/log/main
D/BluetoothManagerService( 324): enable(): mBluetooth =null mBinding = false
D/BluetoothManagerService( 324): Message: 1
D/BluetoothManagerService( 324): MESSAGE_ENABLE: mBluetooth = null
I/InputDispatcher( 324): Window 'Window{4106c4d0 u0 com.android.settings/com.android.settings.SubSettings}' spent 2156.8ms processing the las)
I/Choreographer( 549): Skipped 143 frames! The application may be doing too much work on its main thread.
--------- beginning of /dev/log/system
I/ActivityManager( 324): Start proc com.android.bluetooth for service com.android.bluetooth/.btservice.AdapterService: pid=659 uid=1002 gids=}
D/dalvikvm( 82): GC_EXPLICIT freed 36K, 14% free 404K/468K, paused 0ms+1ms, total 9ms
D/dalvikvm( 82): GC_EXPLICIT freed <1K, 14% free 405K/468K, paused 0ms+1ms, total 6ms
D/dalvikvm( 82): GC_EXPLICIT freed <1K, 14% free 405K/468K, paused 1ms+0ms, total 7ms
D/dalvikvm( 659): Note: class Landroid/app/ActivityManagerNative; has 157 unimplemented (abstract) methods
D/AdapterServiceConfig( 659): Adding HeadsetService
D/AdapterServiceConfig( 659): Adding A2dpService
D/AdapterServiceConfig( 659): Adding HidService
D/AdapterServiceConfig( 659): Adding HealthService
D/AdapterServiceConfig( 659): Adding PanService
D/BluetoothAdapterService( 659): REFCOUNT: CREATED. INSTANCE_COUNT1
D/BluetoothManagerService( 324): Message: 20
D/BluetoothManagerService( 324): Added callback: android.bluetooth.IBluetoothManagerCallback$Stub$Proxy@40f5c2a0:true
D/BluetoothAdapterState( 659): make
I/bluedroid( 659): init
I/bte_conf( 659): Attempt to load stack conf from /etc/bluetooth/bt_stack.conf
I/bluedroid( 659): get_profile_interface socket
D/BluetoothManagerService( 324): BluetoothServiceConnection: connected to AdapterService
D/BluetoothManagerService( 324): Message: 40
D/BluetoothManagerService( 324): MESSAGE_BLUETOOTH_SERVICE_CONNECTED
D/BluetoothManagerService( 324): Calling onBluetoothServiceUp callbacks
D/BluetoothManagerService( 324): Broadcasting onBluetoothServiceUp() to 5 receivers.
I/GKI_LINUX( 659): gki_task_entry: gki_task_entry task_id=1 [BTIF] starting
D/BluetoothAdapterService( 659): Broadcasting updateAdapterState() to 1 receivers.
D/BluetoothManagerService( 324): Message: 60
D/BluetoothManagerService( 324): MESSAGE_BLUETOOTH_STATE_CHANGE: prevState = 10, newState=11
D/BluetoothManagerService( 324): Bluetooth State Change Intent: 10 -> 11
D/BluetoothBondStateMachine( 659): make
D/BluetoothAdapterService(1089067384)( 659): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@40e9f8d0
D/BluetoothAdapterService(1089067384)( 659): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@40e9f8d0
D/BluetoothAdapterService(1089067384)( 659): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@40e9f8d0
D/BluetoothAdapterService(1089067384)( 659): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@40e9f8d0
D/dalvikvm( 659): GC_CONCURRENT freed 149K, 22% free 635K/812K, paused 1ms+5ms, total 50ms
I/BluetoothBondStateMachine( 659): StableState(): Entering Off State
D/BluetoothHeadset( 324): Proxy object connected
D/BluetoothHeadset( 482): Proxy object connected
D/BluetoothHeadset( 482): Proxy object connected
D/HeadsetService( 659): Received start request. Starting profile...
D/BluetoothAdapterService(1089067384)( 659): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@40e9f8d0
I/BluetoothHeadsetServiceJni( 659): classInitNative: succeeds
D/HeadsetStateMachine( 659): make
D/TelephonyManager( 659): No /proc/cmdline exception=java.io.FileNotFoundException: /proc/cmdline: open failed: EACCES (Permission denied)
D/TelephonyManager( 659): /proc/cmdline=
I/bluedroid( 659): get_profile_interface handsfree
E/bt-btif ( 659): btif_enable_service: current services:0x40
D/A2dpService( 659): Received start request. Starting profile...
I/BluetoothA2dpServiceJni( 659): classInitNative: succeeds
D/A2dpStateMachine( 659): make
I/bluedroid( 659): get_profile_interface a2dp
I/GKI_LINUX( 659): gki_task_entry: gki_task_entry task_id=2 [A2DP-MEDIA] starting
E/bt-btif ( 659): btif_enable_service: current services:0x40040
D/A2dpStateMachine( 659): Enter Disconnected: -2
I/BluetoothHidServiceJni( 659): classInitNative: succeeds
D/BluetoothInputDevice( 549): Proxy object connected
D/HidProfile( 549): Bluetooth service connected
D/HidService( 659): Received start request. Starting profile...
I/bluedroid( 659): get_profile_interface hidhost
E/bt-btif ( 659): btif_enable_service: current services:0x140040
I/BluetoothHealthServiceJni( 659): classInitNative: succeeds
D/HealthService( 659): Received start request. Starting profile...
I/bluedroid( 659): get_profile_interface health
I/BluetoothPanServiceJni( 659): classInitNative(L105): succeeds
D/PanService( 659): Received sta[ 112.324188] (hci_tty): inside hci_tty_open (cf3c9200, c3d53740)
rt request. Starting profile...
D/BluetoothPanServiceJni( 659): initializeNative(L110): pan
I/bluedroid( 659): get_profile_interface pan
D/BluetoothAdapterService( 659): Profile still not running:com.android.bluetooth.hdp.HealthService
D/HeadsetPhoneState( 659): sendDeviceStateChanged. mService=0 mSignal=0 mRoam=0 mBatteryCharge=5
D/BluetoothAdapterService( 659): Profile still not running:com.android.bluetooth.hdp.HealthService
D/BluetoothAdapterService( 659): Profile still not running:com.android.bluetooth.hdp.HealthService
D/BluetoothAdapterService( 659): Profile still not running:com.android.bluetooth.pan.PanService
I/bluedroid( 659): enable
I/bt_hci_bdroid( 659): init
I/ ( 659): vendor Init
D/BluetoothPan( 549): BluetoothPAN Proxy object connected
D/PanProfile( 549): Bluetooth service connected
I/GKI_LINUX( 659): gki_task_entry: gki_task_entry task_id=0 [BTU] starting
I/bt_hci_bdroid( 659): bt_hc_worker_thread started
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-89129639,-50000000) -- cpu overload ? #####
E/uim-sysfs( 78): uim: Inside st_uart_config
E/uim-sysfs( 78): uim:install set to 1
E/uim-sysfs( 78): uim: Inside set_baud_rate
E/uim-sysfs( 78): uim: set_baud_rate() done
E/uim-sysfs( 78): uim: Inside read_firmware_version
E/uim-sysfs( 78): uim: Inside read_hci_event
E/uim-sysfs( 78): uim: read_hci_event
D/BluetoothA2dp( 324): Proxy object connected
D/BluetoothAdapterService(1089067384)( 659): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@40e9f8d0
D/BluetoothManagerService( 324): Bluetooth Adapter name changed to AM335x EVM
D/BluetoothManagerService( 324): Stored Bluetooth name: AM335x EVM
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-88376465,-50000000) -- cpu overload ? #####
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-79719240,-50000000) -- cpu overload ? #####
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-70939943,-50000000) -- cpu overload ? #####
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-62160646,-50000000) -- cpu overload ? #####
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-53350831,-50000000) -- cpu overload ? #####
E/uim-sysfs( 78): uim:Failed to read init response (READ_LOCAL_VERSION_INFORMATION)
E/uim-sysfs( 78): uim: Setting speed to 3000000
E/uim-sysfs( 78): uim: Inside read_command_complete
E/uim-sysfs( 78): uim: Command complete started
E/uim-sysfs( 78): uim: Inside read_hci_event
E/uim-sysfs( 78): uim: read_hci_event
E/uim-sysfs( 78): uim: Invalid response
E/uim-sysfs( 78): uim:cleanup
[ 113.450408] (stk) :line disc installation timed out E/uim-sysfs( 78): uim: Inside st_uart_config
E/uim-sysfs( 78): uim: Un-Installed N_TI_WL Line displine
E/uim-sysfs( 78): uim: Inside st_uart_config
E/uim-sysfs( 78): uim:install set to 1
E/uim-sysfs( 78): uim: Inside set_baud_rate
E/uim-sysfs( 78): uim: set_baud_rate() done
E/uim-sysfs( 78): uim: Inside read_firmware_version
E/uim-sysfs( 78): uim: Inside read_hci_event
E/uim-sysfs( 78): uim: read_hci_event
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-96195069,-50000000) -- cpu overload ? #####
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-87324219,-50000000) -- cpu overload ? #####
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-78453370,-50000000) -- cpu overload ? #####
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-69613039,-50000000) -- cpu overload ? #####
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-60711671,-50000000) -- cpu overload ? #####
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-51840822,-50000000) -- cpu overload ? #####
E/uim-sysfs( 78): uim:Failed to read init response (READ_LOCAL_VERSION_INFORMATION)
E/uim-sysfs( 78): uim: Setting speed to 3000000
E/uim-sysfs( 78): uim: Inside read_command_complete
E/uim-sysfs( 78): uim: Command complete started
E/uim-sysfs( 78): uim: Inside read_hci_event
E/uim-sysfs( 78): uim: read_hci_event
E/uim-sysfs( 78): uim: Invalid response
E/uim-sysfs( 78): uim:cleanup
[ 115.570404] (stk) :line disc installation timed out E/uim-sysfs( 78): uim: Inside st_uart_config
E/uim-sysfs( 78): uim: Un-Installed N_TI_WL Line displine
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-94298096,-50000000) -- cpu overload ? #####
E/uim-sysfs( 78): uim: Inside st_uart_config
E/uim-sysfs( 78): uim:install set to 1
E/uim-sysfs( 78): uim: Inside set_baud_rate
E/uim-sysfs( 78): uim: set_baud_rate() done
E/uim-sysfs( 78): uim: Inside read_firmware_version
E/uim-sysfs( 78): uim: Inside read_hci_event
E/uim-sysfs( 78): uim: read_hci_event
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-85457764,-50000000) -- cpu overload ? #####
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-76617432,-50000000) -- cpu overload ? #####
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-67716065,-50000000) -- cpu overload ? #####
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-58845215,-50000000) -- cpu overload ? #####
W/ThrottleService( 324): unable to find stats for iface rmnet0
W/SocketClient( 79): write error (Broken pipe)
E/uim-sysfs( 78): uim:Failed to read init response (READ_LOCAL_VERSION_INFORMATION)
E/uim-sysfs( 78): uim: Setting speed to 3000000
E/uim-sysfs( 78): uim: Inside read_command_complete
E/uim-sysfs( 78): uim: Command complete started
E/uim-sysfs( 78): uim: Inside read_hci_event
E/uim-sysfs( 78): uim: read_hci_event
E/uim-sysfs( 78): uim: Invalid response
E/uim-sysfs( 78): uim:cleanup
[ 117.690399] (stk) :line disc installation timed out E/uim-sysfs( 78): uim: Inside st_uart_config
E/uim-sysfs( 78): uim: Un-Installed N_TI_WL Line displine
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-94293213,-50000000) -- cpu overload ? #####
E/uim-sysfs( 78): uim: Inside st_uart_config
E/uim-sysfs( 78): uim:install set to 1
E/uim-sysfs( 78): uim: Inside set_baud_rate
E/uim-sysfs( 78): uim: set_baud_rate() done
E/uim-sysfs( 78): uim: Inside read_firmware_version
E/uim-sysfs( 78): uim: Inside read_hci_event
E/uim-sysfs( 78): uim: read_hci_event
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-86826172,-50000000) -- cpu overload ? #####
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-78046875,-50000000) -- cpu overload ? #####
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-69176025,-50000000) -- cpu overload ? #####
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-60274659,-50000000) -- cpu overload ? #####
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-51403809,-50000000) -- cpu overload ? #####
E/uim-sysfs( 78): uim:Failed to read init response (READ_LOCAL_VERSION_INFORMATION)
E/uim-sysfs( 78): uim: Setting speed to 3000000
E/uim-sysfs( 78): uim: Inside read_command_complete
E/uim-sysfs( 78): uim: Command complete started
E/uim-sysfs( 78): uim: Inside read_hci_event
E/uim-sysfs( 78): uim: read_hci_event
E/uim-sysfs( 78): uim: Invalid response
E/uim-sysfs( 78): uim:cleanup
[ 119.810394] (stk) :line disc installation timed out E/uim-sysfs( 78): uim: Inside st_uart_config
E/uim-sysfs( 78): uim: Un-Installed N_TI_WL Line displine
E/BluetoothAdapterState( 659): Error enabling Bluetooth
D/BluetoothAdapterService( 659): Broadcasting updateAdapterState() to 1 receivers.
D/BluetoothManagerService( 324): Message: 60
D/BluetoothManagerService( 324): MESSAGE_BLUETOOTH_STATE_CHANGE: prevState = 11, newState=10
D/BluetoothManagerService( 324): Broadcasting onBluetoothStateChange(false) to 7 receivers.
D/BluetoothHeadset( 324): onBluetoothStateChange: up=false
D/BluetoothPbap( 549): onBluetoothStateChange: up=false
D/BluetoothHeadset( 482): onBluetoothStateChange: up=false
D/BluetoothA2dp( 324): onBluetoothStateChange: up=false
D/BluetoothInputDevice( 549): onBluetoothStateChange: up=false
D/BluetoothHeadset( 482): onBluetoothStateChange: up=false
D/BluetoothManagerService( 324): Bluetooth State Change Intent: 11 -> 10
D/BluetoothAdapterService(1089067384)( 659): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@40e9f8d0
D/BluetoothAdapterService(1089067384)( 659): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@40e9f8d0
D/BluetoothAdapterService(1089067384)( 659): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@40e9f8d0
D/BluetoothAdapterService(1089067384)( 659): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@40e9f8d0
W/ContextImpl( 549): Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1352 android.conte
D/DockEventReceiver( 549): finishStartingService: stopping service
D/BluetoothAdapterService(1089067384)( 659): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@40e9f8d0
E/uim-sysfs( 78): uim: Inside st_uart_config
E/uim-sysfs( 78): uim:install set to 1
E/uim-sysfs( 78): uim: Inside set_baud_rate
E/uim-sysfs( 78): uim: set_baud_rate() done
E/uim-sysfs( 78): uim: Inside read_firmware_version
E/uim-sysfs( 78): uim: Inside read_hci_event
E/uim-sysfs( 78): uim: read_hci_event
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-95722657,-50000000) -- cpu overload ? #####
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-86851807,-50000000) -- cpu overload ? #####
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-77980958,-50000000) -- cpu overload ? #####
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-69079590,-50000000) -- cpu overload ? #####
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-60178223,-50000000) -- cpu overload ? #####
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-51276856,-50000000) -- cpu overload ? #####
E/uim-sysfs( 78): uim:Failed to read init response (READ_LOCAL_VERSION_INFORMATION)
E/uim-sysfs( 78): uim: Setting speed to 3000000
E/uim-sysfs( 78): uim: Inside read_command_complete
E/uim-sysfs( 78): uim: Command complete started
E/uim-sysfs( 78): uim: Inside read_hci_event
E/uim-sysfs( 78): uim: read_hci_event
E/uim-sysfs( 78): uim: Invalid response
E/uim-sysfs( 78): uim:cleanup
[ 121.930419] (stk) :line disc installation timed out E/uim-sysfs( 78): uim: Inside st_uart_config
E/uim-sysfs( 78): uim: Un-Installed N_TI_WL Line displine
E/uim-sysfs( 78): uim: Inside st_uart_config
E/uim-sysfs( 78): uim:install set to 1
E/uim-sysfs( 78): uim: Inside set_baud_rate
E/uim-sysfs( 78): uim: set_baud_rate() done
E/uim-sysfs( 78): uim: Inside read_firmware_version
E/uim-sysfs( 78): uim: Inside read_hci_event
E/uim-sysfs( 78): uim: read_hci_event
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-95656739,-50000000) -- cpu overload ? #####
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-86816407,-50000000) -- cpu overload ? #####
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-77945557,-50000000) -- cpu overload ? #####
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-69044190,-50000000) -- cpu overload ? #####
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-60142823,-50000000) -- cpu overload ? #####
E/GKI_LINUX( 659): ##### ERROR : timer_thread: tick delayed > 5 slots (-51271974,-50000000) -- cpu overload ? #####
E/uim-sysfs( 78): uim:Failed to read init response (READ_LOCAL_VERSION_INFORMATION)
E/uim-sysfs( 78): uim: Setting speed to 3000000
E/uim-sysfs( 78): uim: Inside read_command_complete
E/uim-sysfs( 78): uim: Command complete started
E/uim-sysfs( 78): uim: Inside read_hci_event
E/uim-sysfs( 78): uim: read_hci_event
E/uim-sysfs( 78): uim: Invalid response
E/uim-sysfs( 78): uim:cleanup
[ 124.050415] (stk) :line disc installation timed out E/uim-sysfs( 78): uim: Inside st_uart_config
E/uim-sysfs( 78): uim: Un-Installed N_TI_WL Line displine
[ 125.050415] (hci_tty): st_register failed -22E/ ( 659): Can't open hci_tty
E/bt_userial( 659): userial_open: wrong numbers of open fd in vendor lib [-1]!
E/bt_userial( 659): userial_open: HCI UART expects only one open fd
I/ ( 659): BTE_InitTraceLevels -- TRC_HCI
I/ ( 659): BTE_InitTraceLevels -- TRC_L2CAP
I/ ( 659): BTE_InitTraceLevels -- TRC_RFCOMM
I/ ( 659): BTE_InitTraceLevels -- TRC_AVDT
I/ ( 659): BTE_InitTraceLevels -- TRC_AVRC
I/ ( 659): BTE_InitTraceLevels -- TRC_A2D
I/ ( 659): BTE_InitTraceLevels -- TRC_BNEP
I/ ( 659): BTE_InitTraceLevels -- TRC_BTM
I/ ( 659): BTE_InitTraceLevels -- TRC_PAN
I/ ( 659): BTE_InitTraceLevels -- TRC_SDP
I/ ( 659): BTE_InitTraceLevels -- TRC_BTAPP
I/ ( 659): BTE_InitTraceLevels -- TRC_BTIF