Bluetooth not getting turned on when setting to On via Settings

809 views
Skip to first unread message

fbdf...@gmail.com

unread,
Nov 30, 2016, 2:49:33 PM11/30/16
to Android-rpi
I've just burned the 11/30 build to a 16GB SD card, and booted up in my RPi3.  (Prior to this I was running the 11/04 build, and although the response to turning Bluetooth on was slow, it would get enabled).  
I've probably missed some setup or configuration step.  Here's what I'm doing: 
1) Launch Settings app
2) Click on Bluetooth line
3) Bluetooth section shows up with the text Off in upper-left, and the slider on right is grayed and in the left position.  Text says "When Bluetooth is turned on, your device can communicate with other nearby Bluetooth devices."
4) Click on the slider, moves to right position - goes light green then gray as it moves into the right position.
5)  Wait - no change.  If I exit from Settings and come back in the scene is the same as the first time, Bluetooth is not enabled. 

Logcat shows this, repeated:
11-30 19:32:06.889   443   443 D BluetoothManagerService: Bluetooth Adapter name changed to RPI3
11-30 19:32:06.889   443   443 D BluetoothManagerService: Stored Bluetooth name: RPI3
11-30 19:32:06.889  3711  3731 D BluetoothAdapterProperties: Name is: RPI3
11-30 19:32:06.894   443   443 D BluetoothManagerService: BluetoothServiceConnection: com.android.bluetooth.btservice.AdapterService
11-30 19:32:06.894   443   463 D BluetoothManagerService: Message: 40
11-30 19:32:06.894   443   463 D BluetoothManagerService: MESSAGE_BLUETOOTH_SERVICE_CONNECTED: 1
11-30 19:32:06.897  3711  3723 I bt_btif : config_hci_snoop_log
11-30 19:32:06.901   443   463 D BluetoothManagerService: Calling onBluetoothServiceUp callbacks
11-30 19:32:06.901   443   463 D BluetoothManagerService: Broadcasting onBluetoothServiceUp() to 5 receivers.
11-30 19:32:06.904  3711  3725 D BluetoothAdapterState: Current state: OFF, message: 0
11-30 19:32:06.904  3711  3725 D BluetoothAdapterProperties: Setting state to 14
11-30 19:32:06.904  3711  3725 I BluetoothAdapterState: Bluetooth adapter state changed: 10-> 14
11-30 19:32:06.905   443   463 D BluetoothManagerService: Message: 60
11-30 19:32:06.905   443   463 D BluetoothManagerService: MESSAGE_BLUETOOTH_STATE_CHANGE: prevState = 10, newState=14
11-30 19:32:06.905   443   463 D BluetoothManagerService: BLE State Change Intent: 10 -> 14
11-30 19:32:06.908  3711  3725 D BluetoothBondStateMachine: make
11-30 19:32:06.912  3711  3733 I BluetoothBondStateMachine: StableState(): Entering Off State
11-30 19:32:06.918  3711  3725 I BluetoothAdapterState: Entering PendingCommandState
11-30 19:32:06.919  3711  3711 I BtGatt.JNI: classInitNative(L922): classInitNative: Success!
11-30 19:32:06.925  3711  3711 D BtGatt.DebugUtils: handleDebugAction() action=null
11-30 19:32:06.925  3711  3711 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@611d493
11-30 19:32:06.926  3711  3711 D BtGatt.GattService: Received start request. Starting profile...
11-30 19:32:06.926  3711  3711 D BtGatt.GattService: start()
11-30 19:32:06.926  3711  3711 I bt_btif : get_profile_interface gatt
11-30 19:32:06.927  3711  3711 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@611d493
11-30 19:32:06.927  3711  3711 D BtGatt.AdvertiseManager: advertise manager created
11-30 19:32:06.936  3711  3711 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@611d493
11-30 19:32:06.937  3711  3711 V BluetoothAdapterState: isTurningOff()=false
11-30 19:32:06.937  3711  3711 V BluetoothAdapterState: isTurningOn()=false
11-30 19:32:06.937  3711  3711 V BluetoothAdapterState: isBleTurningOn()=true
11-30 19:32:06.937  3711  3711 V BluetoothAdapterState: isBleTurningOff()=false
11-30 19:32:06.937  3711  3725 D BluetoothAdapterState: Current state: PENDING_COMMAND, message: 4
11-30 19:32:06.939  3711  3725 I bt_btif : enable: start restricted = 0
11-30 19:32:06.939  3711  3726 I bt_stack_manager: event_start_up_stack is bringing up the stack
11-30 19:32:06.940  3711  3726 I bt_core_module: module_start_up Starting module "btif_config_module"
11-30 19:32:06.940  3711  3726 I bt_core_module: module_start_up Started module "btif_config_module"
11-30 19:32:06.940  3711  3726 I bt_core_module: module_start_up Starting module "btsnoop_module"
11-30 19:32:06.940  3711  3726 I bt_core_module: module_start_up Started module "btsnoop_module"
11-30 19:32:06.941  3711  3726 I bt_core_module: module_start_up Starting module "hci_module"
11-30 19:32:06.941  3711  3726 I bt_hci  : start_up
11-30 19:32:06.942  3711  3736 W bt_osi_thread: run_thread: thread id 3736, thread name hci_thread started
11-30 19:32:06.946  3711  3726 I bt_vendor: alloc value 0x90b1d201
11-30 19:32:06.946  3711  3726 I bt_vendor: init
11-30 19:32:06.946  3711  3726 I bt_vnd_conf: Attempt to load conf from /etc/bluetooth/bt_vendor.conf
11-30 19:32:06.946  3711  3726 D bt_hci  : start_up starting async portion
11-30 19:32:06.946  3711  3736 I bt_hci  : event_finish_startup
11-30 19:32:06.946  3711  3736 I bt_hci_h4: hal_open
11-30 19:32:06.946  3711  3736 I bt_userial_vendor: userial vendor open: opening /dev/ttyAMA0
11-30 19:32:06.946  3711  3736 I bt_userial_vendor: device fd = 73 open
11-30 19:32:06.947  3711  3737 W bt_osi_thread: run_thread: thread id 3737, thread name hci_single_chann started
11-30 19:32:06.953  3711  3736 I bt_hwcfg: bt vendor lib: set UART baud 921600
11-30 19:32:06.957  3711  3736 I bt_hwcfg: FW patchfile: /lib/firmware/brcm/BCM43430A1.hcd
11-30 19:32:07.452  3711  3736 I bt_hwcfg: bt vendor lib: set UART baud 115200
11-30 19:32:07.452  3711  3736 I bt_hwcfg: Setting fw settlement delay to 100 
11-30 19:32:14.948  3711  3729 E bt_hci  : startup_timer_expired
11-30 19:32:14.949  3711  3726 E bt_core_module: module_start_up Failed to start up module "hci_module"
11-30 19:32:14.949  3711  3738 W bt_osi_thread: run_thread: thread id 3738, thread name bt_workqueue started
11-30 19:32:14.950  3711  3738 I bt_btu  : btu_task pending for preload complete event
11-30 19:32:14.950  3711  3738 I bt_btu_task: Bluetooth chip preload is complete
11-30 19:32:14.950  3711  3738 I bt_btu  : btu_task received preload complete event
11-30 19:32:14.953  3711  3738 I bt_core_module: module_init Initializing module "bte_logmsg_module"
11-30 19:32:14.953  3711  3738 I bt_bte  : BTE_InitTraceLevels -- TRC_HCI
11-30 19:32:14.953  3711  3738 I bt_bte  : BTE_InitTraceLevels -- TRC_L2CAP
11-30 19:32:14.953  3711  3738 I bt_bte  : BTE_InitTraceLevels -- TRC_RFCOMM
11-30 19:32:14.953  3711  3738 I bt_bte  : BTE_InitTraceLevels -- TRC_AVDT
11-30 19:32:14.953  3711  3738 I bt_bte  : BTE_InitTraceLevels -- TRC_AVRC
11-30 19:32:14.953  3711  3738 I bt_bte  : BTE_InitTraceLevels -- TRC_A2D
11-30 19:32:14.953  3711  3738 I bt_bte  : BTE_InitTraceLevels -- TRC_BNEP
11-30 19:32:14.953  3711  3738 I bt_bte  : BTE_InitTraceLevels -- TRC_BTM
11-30 19:32:14.953  3711  3738 I bt_bte  : BTE_InitTraceLevels -- TRC_GAP
11-30 19:32:14.953  3711  3738 I bt_bte  : BTE_InitTraceLevels -- TRC_PAN
11-30 19:32:14.953  3711  3738 I bt_bte  : BTE_InitTraceLevels -- TRC_SDP
11-30 19:32:14.953  3711  3738 I bt_bte  : BTE_InitTraceLevels -- TRC_GATT
11-30 19:32:14.953  3711  3738 I bt_bte  : BTE_InitTraceLevels -- TRC_SMP
11-30 19:32:14.953  3711  3738 I bt_bte  : BTE_InitTraceLevels -- TRC_BTAPP
11-30 19:32:14.953  3711  3738 I bt_bte  : BTE_InitTraceLevels -- TRC_BTIF
11-30 19:32:14.954  3711  3738 I bt_core_module: module_init Initialized module "bte_logmsg_module"
11-30 19:32:14.956  3711  3739 W bt_osi_thread: run_thread: thread id 3739, thread name module_wrapper started
11-30 19:32:14.956  3711  3739 I bt_core_module: module_start_up Starting module "controller_module"
11-30 19:32:15.562  3711  3729 E bt_hci  : command_timed_out hci layer timeout waiting for response to a command. opcode: 0xc03
11-30 19:32:15.562  3711  3729 E bt_hci  : command_timed_out restarting the bluetooth process.
11-30 19:32:15.593   443  2857 I ActivityManager: Process com.android.bluetooth (pid 3711) has died
11-30 19:32:15.593   443  2857 D ActivityManager: cleanUpApplicationRecord -- 3711
11-30 19:32:15.593   443   443 D BluetoothManagerService: BluetoothServiceConnection, disconnected: com.android.bluetooth.btservice.AdapterService
11-30 19:32:15.594   443   463 D BluetoothManagerService: Message: 41
11-30 19:32:15.594   443   463 E BluetoothManagerService: MESSAGE_BLUETOOTH_SERVICE_DISCONNECTED: 1
11-30 19:32:15.594   443   463 D BluetoothManagerService: Calling onBluetoothServiceDown callbacks
11-30 19:32:15.594   443  2857 W ActivityManager: Scheduling restart of crashed service com.android.bluetooth/.btservice.AdapterService in 1000ms
11-30 19:32:15.594   443   463 D BluetoothManagerService: Broadcasting onBluetoothServiceDown() to 4 receivers.
11-30 19:32:15.594   443  2857 W ActivityManager: Scheduling restart of crashed service com.android.bluetooth/.gatt.GattService in 11000ms

fbdf...@gmail.com

unread,
Nov 30, 2016, 3:20:05 PM11/30/16
to Android-rpi, fbdf...@gmail.com
After re-boot problem apparently resolved.  Sorry for the red herring.

kosuy...@gmail.com

unread,
Dec 1, 2016, 3:51:59 AM12/1/16
to Android-rpi
Could you give the link to the image file. Thanks!
I use the image file for Android TV 7.1 Nougat  called "rpi3and7-1tv-2016-11-07.img" from the website:http://www.mediafire.com/file/q2kw1qcz8xc0h4y/RapiAnd7.1TV.7z
But I could not turn on the Bluetooth.




kosuy...@gmail.com

unread,
Dec 4, 2016, 11:25:08 PM12/4/16
to Android-rpi, kosuy...@gmail.com


kosuy...@gmail.com於 2016年12月1日星期四 UTC+8下午4時51分59秒寫道:
Reply all
Reply to author
Forward
0 new messages