Hello, is anyone here using a bluetooth remote with Android TV on the Rock Pi? Have you had any disconnect issues with it?
I successfully paired and connected the remote from my Phillips Smart TV to Rock Pi running Android TV 9 - the remote works flawlessly for a couple of minutes after connecting, but then abruptly stops - it looks like the remote disconnects or suspends and never wakes up.
On BT-related note, I’m also using bluetooth-connected speaker set with the rock pi, and that seems to work without issues.
Any hints where I should start troubleshooting this? I’m aware of Android’s logcat facility, but haven’t yet tried it with rock pi and I am not sure if/how to target just the components relevant to bluetooth, whenever I did use logcat the output was enormous.
EDIT: I think this is the problematic event:
08-13 20:41:56.385 563 924 W bt_stack: [WARNING:bta_gattc_act.cc(1040)] bta_gattc_conn_cback: cif=3 connected=0 conn_id=0x0003 reason=0x0013
08-13 20:41:56.386 563 924 W bt_stack: [WARNING:bta_gattc_act.cc(1040)] bta_gattc_conn_cback: cif=4 connected=0 conn_id=0x0004 reason=0x0013
08-13 20:41:56.386 563 924 I bt_btm_sec: btm_sec_disconnected clearing pending flag handle:65 reason:19
08-13 20:41:56.387 563 924 E bt_stack: [ERROR:bta_gattc_api.cc(722)] BTA_GATTC_DeregisterForNotifications registration not found bd_addr=7c:ec:79:5a:97:88
08-13 20:41:56.387 563 924 E bt_stack: [ERROR:bta_gattc_api.cc(722)] BTA_GATTC_DeregisterForNotifications registration not found bd_addr=7c:ec:79:5a:97:88
08-13 20:41:56.387 563 924 W bt_btif : bta_hh_co_close: dev_handle = 16, app_id = 255
08-13 20:41:56.387 563 924 W bt_btif : bta_hh_co_close: Found an existing device with the same handle dev_status = 0, dev_handle =16
08-13 20:41:56.387 255 255 E bt_upio : upio_set : open(/proc/bluetooth/sleep/btwrite) for write failed: Permission denied (13)
08-13 20:41:56.388 563 685 I btif_av : btif_av_acl_disconnected: Peer 7c:ec:79:5a:97:88 : ACL Disconnected
08-13 20:41:56.397 563 563 D BluetoothMapService: onReceive: android.bluetooth.device.action.ACL_DISCONNECTED
08-13 20:41:56.402 433 447 E memtrack: Couldn’t load memtrack module
08-13 20:41:56.402 433 447 W android.os.Debug: failed to get memory consumption info: -1
08-13 20:41:56.413 433 2731 W ActivityManager: Unable to start service Intent { act=android.bluetooth.device.action.ACL_DISCONNECTED cmp=com.google.android.gms/.nearby.discovery.service.DiscoveryService (has extras) } U=0: not found
08-13 20:41:56.436 563 924 I bt_stack: [INFO:gatt_api.cc(1149)] GATT_CancelConnect: gatt_if=0
08-13 20:41:56.437 563 924 I btif_av : BtifAvPeer *BtifAvSource::FindOrCreatePeer(const RawAddress &, tBTA_AV_HNDL): Create peer: peer_address=7c:ec:79:5a:97:88 bta_handle=0x41 peer_id=0
08-13 20:41:56.437 563 924 W bt_btif : btif_av_get_peer_sep: No active peer found
08-13 20:41:56.437 563 924 I bt_btif_a2dp: btif_a2dp_on_idle: ## ON A2DP IDLE ## peer_sep = 1
08-13 20:41:56.437 563 924 W bt_btif : btif_av_get_peer_sep: No active peer found
08-13 20:41:56.437 563 924 I bt_btif_a2dp_source: btif_a2dp_source_on_idle: state=STATE_OFF
08-13 20:41:56.437 563 924 W bt_btif : btif_av_get_peer_sep: No active peer found
08-13 20:41:56.437 563 924 I bt_btif_a2dp: btif_a2dp_on_idle: ## ON A2DP IDLE ## peer_sep = 1
08-13 20:41:56.437 563 924 W bt_btif : btif_av_get_peer_sep: No active peer found
08-13 20:41:56.437 563 924 I bt_btif_a2dp_source: btif_a2dp_source_on_idle: state=STATE_OFF
08-13 20:41:56.437 563 924 I btif_av : DeleteIdlePeers: Deleting idle peer: 7c:ec:79:5a:97:88 bta_handle=0x41
08-13 20:41:56.455 433 513 I EventHub: Removing device PHLRC due to epoll hang-up event.
08-13 20:41:56.455 433 513 I EventHub: Removed device: path=/dev/input/event6 name=PHLRC id=7 fd=174 classes=0x80004023