opengapps icon indicating copy to clipboard operation
opengapps copied to clipboard

Lineage 17.1 on pi4 cannot pair any Bluetooth remote controller

Open charomges opened this issue 4 years ago • 2 comments

I cannot pair any Bluetooth remote controller after install Google apps. Firth run needs to pair, but even I use nexus rc always not paired. What rcs are compatible? How to pair? I have lineage os 17.1 and raspberry Pi 4. Simple system can pair.

charomges avatar Apr 04 '21 10:04 charomges

I am also facing this issue. Did a logcat and this is the result, hope you guys get any smarter from it. If I need to test something else, feel free to ask. This is on 18.1.

logcat2.txt

12-14 13:04:01.103   690   690 D BluetoothDevicePairer: Adding A2dp device criteria for pairing
12-14 13:04:01.106   524  3075 D BluetoothAdapterService: startDiscovery
12-14 13:04:01.108   524   916 E bt_btif : bte_scan_filt_param_cfg_evt, 1
12-14 13:04:01.108   524   916 E bt_btif : bte_scan_filt_param_cfg_evt, 1
12-14 13:04:01.108   524   916 W bt_btif : bta_dm_check_av:0
12-14 13:04:01.110   690   690 D BluetoothScanner: startListening
12-14 13:04:01.161   395   420 I ActivityTaskManager: Displayed com.android.tv.settings/.accessories.AddAccessoryActivity: +126ms
12-14 13:04:01.217   231   231 D hdmi_cec: hdmicec_send_message: tx_status=36
12-14 13:04:01.218   231   231 D hdmi_cec: hdmicec_send_message: len=1
12-14 13:04:01.218   395   395 W Looper  : Slow dispatch took 138ms main h=android.os.Handler c=com.android.server.hdmi.HdmiControlService$BinderService$5@83efe4b m=0
12-14 13:04:01.272   236   353 W APM::AudioPolicyEngine: getDevicesForStrategy() unknown strategy: -1
12-14 13:04:01.272   395  3629 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
12-14 13:04:01.360   231   231 D hdmi_cec: hdmicec_send_message: tx_status=36
12-14 13:04:01.361   395   500 W HdmiCecController: Failed to send <Text View On> 40:0D with errorCode=3
12-14 13:04:01.361   231   231 D hdmi_cec: hdmicec_send_message: len=3
12-14 13:04:01.413   219   276 I WVCdm   : [cdm_engine.cpp(114):OpenSession] Opening session
12-14 13:04:01.414   219   276 D WVCdm   : [crypto_session.cpp(718):Open] Opening crypto session: requested_security_level = Default
12-14 13:04:01.418   219   276 I WVCdm   : [cdm_engine.cpp(148):OpenSession] New session ID: sid14
12-14 13:04:01.418   219   276 I WVCdm   : [cdm_engine.cpp(861):QueryOemCryptoSessionId] Querying OEMCrypto Session ID: session_id = sid14
12-14 13:04:01.420   219   276 I WVCdm   : [cdm_engine.cpp(194):CloseSession] Closing session: session_id = sid14
12-14 13:04:01.421  2400  2736 I cr_ClientAuthCredsWidevine: ensureProvisioned: already provisioned, nothing more to do.
12-14 13:04:01.421   219   276 I WVCdm   : [cdm_engine.cpp(901):GetProvisioningRequest] Getting provisioning request
12-14 13:04:01.422   219   276 D WVCdm   : [crypto_session.cpp(718):Open] Opening crypto session: requested_security_level = Default
12-14 13:04:01.471   231   231 D hdmi_cec: hdmicec_send_message: len=2
12-14 13:04:01.495  2400  2736 D cr_ClientAuthCredsWidevine: [ClientAuthCredsWidevine.java:276] PostRequest:https://www.googleapis.com/certificateprovisioning/v1/devicecertificates/create?key=AIzaSyB-5OLKTx2iU5mko18DfdwK5611JIjbUhE&signedRequest=CqgZEgRSOmo-GhMIARIPY2FzdC5nb29nbGUuY29tKugYCgx3aWRldmluZS5jb20SEFFDT-KkTHY7zCyCai1u-acasBZNlLbx7PhtjIcBrJMFquK2l-B2wmbzIBJ3oF8A2sV03qeJlv7TSIdo_lEneXBtvh0AOQdLd66nm9_yLdvZnzqdyCc4BQD6fD1c5PM4zL8R0jewlVqbiWrz6Qu6KozO5Pq5MwwkMrAijWYLRSf9gh3yxj7K5shCngAkCTLd0_SQij8XhXmbl_tlNVmzIRmbWftLmcVtLS3IdVxXJx3Wt5Fs8OwfyDRn0gJm18HNlZ8iz-zLH3bOImqEchaEYA2X7OWy3ymfQZxrw89XQh01LdlkRgcp8_r5KIa6o1Yb1Z_tKeXInQukckAtjUTsgwNklqN7K2zEV0HEsdMXBAHdu6qyCUPcDb66OQP8LhWMaq7JWHwa_qJeWhVvqiOICoIPnqs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xuWWVgPU_Bld8glQLBzmGcpMkXJlV8of9gbFrAMXT-TcCl5hxMI0jqVaGwDzkZ05E8vII5WSRa84169HQoAeF4_n1EF9XiB8Z0R8GDBcuJ0KE84jxv0DTRASowcPA_c05dolsyLK2ByIeM0ksfUuLb9OVBGx7-5t
12-14 13:04:01.618   231   231 D hdmi_cec: hdmicec_send_message: tx_status=36
12-14 13:04:01.618   231   231 D hdmi_cec: hdmicec_send_message: len=2
12-14 13:04:01.761   231   231 D hdmi_cec: hdmicec_send_message: tx_status=36
12-14 13:04:01.761   395   500 W HdmiCecController: Failed to send <Menu Status> 40:8E:00 with errorCode=3
12-14 13:04:01.762   231   231 D hdmi_cec: hdmicec_send_message: len=1
12-14 13:04:01.798   524   916 W bt_btm_ble: btm_ble_process_adv_pkt_cont device no longer discoverable, discarding advertising packet
12-14 13:04:01.903   231   231 D hdmi_cec: hdmicec_send_message: tx_status=36
12-14 13:04:01.904   231   231 D hdmi_cec: hdmicec_send_message: len=1
12-14 13:04:02.046   231   231 D hdmi_cec: hdmicec_send_message: tx_status=36
12-14 13:04:02.047   395   500 W HdmiCecController: Failed to send <Give Device Power Status> 40:8F with errorCode=3
12-14 13:04:02.081  2400  2736 E cr_ClientAuthCredsWidevine: Server returned HTTP error code 400
12-14 13:04:02.082  2400  2736 E cr_ClientAuthCredsWidevine: attemptCredsProvisioning. Received null response.
12-14 13:04:02.082  2400  2736 I cr_ClientAuthCredsProvisioning: ClientAuthCredsProvisioning. Next attempt(secs): 60
12-14 13:04:02.753   395  4351 D WifiNl80211Manager: Scan result ready event
12-14 13:04:02.753   395  4351 D WifiNative: Scan result ready event
12-14 13:04:02.755   395   412 I EthernetTracker: interfaceLinkStateChanged, iface: wlan0, up: true
12-14 13:04:02.762   395   472 D WificondScannerImpl: Filtering out 1 scan results.
12-14 13:04:03.219   231   231 D hdmi_cec: hdmicec_send_message: len=1
12-14 13:04:03.353   231   231 D hdmi_cec: hdmicec_send_message: tx_status=36
12-14 13:04:03.353   231   231 D hdmi_cec: hdmicec_send_message: len=1
12-14 13:04:03.496   231   231 D hdmi_cec: hdmicec_send_message: tx_status=36
12-14 13:04:04.127   395  4351 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
12-14 13:04:04.696  1085  1125 W System  : A resource failed to call release. 
12-14 13:04:05.222   231   231 D hdmi_cec: hdmicec_send_message: len=1
12-14 13:04:05.355   231   231 D hdmi_cec: hdmicec_send_message: tx_status=36
12-14 13:04:05.356   231   231 D hdmi_cec: hdmicec_send_message: len=1
12-14 13:04:05.498   231   231 D hdmi_cec: hdmicec_send_message: tx_status=36
12-14 13:04:06.023   524   866 D bt_btif_config: btif_get_device_type: Device [60:98:66:e2:f0:d0] type 2
12-14 13:04:06.030   690   690 D BluetoothDevicePairer: Adding device: 60:98:66:E2:F0:D0
12-14 13:04:06.032   690   690 D BluetoothDevicePairer: Added device to visible list. Name = Chromecast Remote , class = 1344
12-14 13:04:07.223   231   231 D hdmi_cec: hdmicec_send_message: len=1
12-14 13:04:07.356   231   231 D hdmi_cec: hdmicec_send_message: tx_status=36
12-14 13:04:07.357   231   231 D hdmi_cec: hdmicec_send_message: len=1
12-14 13:04:07.499   231   231 D hdmi_cec: hdmicec_send_message: tx_status=36
12-14 13:04:08.498   209  3426 W StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
12-14 13:04:08.499   395   410 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
12-14 13:04:08.500   395   410 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
12-14 13:04:08.509   209  3426 W StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
12-14 13:04:08.520   209  3426 W StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
12-14 13:04:08.550   236   358 D AudioFlinger: mixer(0xb4000074434a1040) throttle end: throttle time(29)
12-14 13:04:08.672   236   353 W APM::AudioPolicyEngine: getDevicesForStrategy() unknown strategy: -1
12-14 13:04:08.673   395   410 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
12-14 13:04:09.223   231   231 D hdmi_cec: hdmicec_send_message: len=1
12-14 13:04:09.356   231   231 D hdmi_cec: hdmicec_send_message: tx_status=36
12-14 13:04:09.357   231   231 D hdmi_cec: hdmicec_send_message: len=1
12-14 13:04:09.499   231   231 D hdmi_cec: hdmicec_send_message: tx_status=36
12-14 13:04:09.543   524   916 W bt_btm_ble: btm_ble_process_adv_pkt_cont device no longer discoverable, discarding advertising packet
12-14 13:04:11.225   231   231 D hdmi_cec: hdmicec_send_message: len=1
12-14 13:04:11.359   231   231 D hdmi_cec: hdmicec_send_message: tx_status=36
12-14 13:04:11.360   231   231 D hdmi_cec: hdmicec_send_message: len=1
12-14 13:04:11.502   231   231 D hdmi_cec: hdmicec_send_message: tx_status=36
12-14 13:04:11.543   395   410 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
01-01 01:13:04.317     0     0 I usb 2-1 : USB disconnect, device number 5
12-14 13:04:09.500   395   500 I chatty  : uid=1000(system) Hdmi Control Io identical 4 lines
12-14 13:04:11.502   395   500 W HdmiCecController: Failed to send <Give Device Power Status> 40:8F with errorCode=3
12-14 13:04:12.037   395   544 D UsbHostManager: Removed device at /dev/bus/usb/002/005 was already gone
01-01 01:13:04.355     0     0 I usb 1-1.1: USB disconnect, device number 16
01-01 01:13:04.361     0     0 I usb 1-1.1.2: USB disconnect, device number 17
12-14 13:04:12.078   395   455 I EventHub: Removing device C505 HD Webcam due to epoll hang-up event.
12-14 13:04:12.078   395   455 I EventHub: Removed device: path=/dev/input/event5 name=C505 HD Webcam id=24 fd=273 classes=0x80000001
12-14 13:04:12.103   395   455 I InputReader: Device removed: id=25, eventHubId=24, name='C505 HD Webcam', descriptor='4561690973fe485f24cd46c9f323ba6c4945d0cc', sources=0x00000101
12-14 13:04:12.104   395   455 I EventHub: Removing device '/dev/input/event5' due to inotify event
12-14 13:04:12.120   395   544 D UsbHostManager: Removed device at /dev/bus/usb/001/017: C505 HD Webcam
12-14 13:04:12.120   395   544 I UsbAlsaManager: USB Audio Device Removed: UsbAlsaDevice: [card: 2, device: 0, name: USB-Audio - C505 HD Webcam, hasOutput: false, hasInput: true]
12-14 13:04:12.120   395   544 I UsbAlsaDevice: INPUT JACK connected: true
12-14 13:04:12.122   395   544 W UsbVCInterface: Unknown Video Class Interface subtype: 0xd
12-14 13:04:12.122   395   544 W UsbVCInterface: Unknown Video Class Interface subtype: 0x7
01-01 01:13:04.408     0     0 I usb 1-1.1.3: USB disconnect, device number 18
12-14 13:04:12.123   395   544 I chatty  : uid=1000(system) UsbService host identical 7 lines
12-14 13:04:12.123   395   544 W UsbVCInterface: Unknown Video Class Interface subtype: 0x7
12-14 13:04:12.123   236  3633 W APM::AudioPolicyEngine: getDevicesForStrategy() unknown strategy: -1
12-14 13:04:12.123   395   544 W UsbVCInterface: Unknown Video Class Interface subtype: 0x7
12-14 13:04:12.123   236  3633 W APM::AudioPolicyEngine: getDevicesForStrategy() unknown strategy: -1
12-14 13:04:12.123   395   544 W UsbVCInterface: Unknown Video Class Interface subtype: 0x7
12-14 13:04:12.124   395   544 I chatty  : uid=1000(system) UsbService host identical 7 lines
12-14 13:04:12.124   395   544 W UsbVCInterface: Unknown Video Class Interface subtype: 0x7
12-14 13:04:12.124   395   544 W UsbVCInterface: Unknown Video Class Interface subtype: 0xd
12-14 13:04:12.163   395   455 I EventHub: Removing device HOLDCHIP USB Gaming Keyboard due to epoll hang-up event.
12-14 13:04:12.163   395   455 I EventHub: Removed device: path=/dev/input/event6 name=HOLDCHIP USB Gaming Keyboard id=25 fd=276 classes=0x80000083
12-14 13:04:12.178   860   860 D BoundBrokerSvc: onUnbind: Intent { act=com.google.android.gms.auth.account.workaccount.START cmp=com.google.android.gms/.chimera.PersistentApiService }
12-14 13:04:12.187   395   455 I InputReader: Device removed: id=26, eventHubId=25, name='HOLDCHIP USB Gaming Keyboard', descriptor='27651af4c2cb9bdd66751ada60422b7fef683220', sources=0x80000101
12-14 13:04:12.188   395   455 I EventHub: Removing device '/dev/input/event6' due to inotify event
12-14 13:04:12.197   395   455 I EventHub: Removing device HOLDCHIP USB Gaming Keyboard System Control due to epoll hang-up event.
12-14 13:04:12.197   395   455 I EventHub: Removed device: path=/dev/input/event7 name=HOLDCHIP USB Gaming Keyboard System Control id=26 fd=279 classes=0x80000001
12-14 13:04:12.215   395   455 I InputReader: Device removed: id=27, eventHubId=26, name='HOLDCHIP USB Gaming Keyboard System Control', descriptor='032814124266d4750d01dc2f6689f525297a1d1c', sources=0x00000101
12-14 13:04:12.216   395   455 I EventHub: Removing device '/dev/input/event7' due to inotify event
12-14 13:04:12.216   395   455 I EventHub: Removing device HOLDCHIP USB Gaming Keyboard Consumer Control due to epoll hang-up event.
12-14 13:04:12.216   395   455 I EventHub: Removed device: path=/dev/input/event8 name=HOLDCHIP USB Gaming Keyboard Consumer Control id=27 fd=280 classes=0x80000001
12-14 13:04:12.231   395   455 I InputReader: Device removed: id=29, eventHubId=27, name='HOLDCHIP USB Gaming Keyboard Consumer Control', descriptor='cabcc8bb192eb51847679e502977a096ce1e218b', sources=0x00000101
12-14 13:04:12.231   395   454 W InputReader: Ignoring invalid device id 29.
12-14 13:04:12.232   395   455 I EventHub: Removing device '/dev/input/event8' due to inotify event
12-14 13:04:12.234   395   455 I EventHub: Removing device HOLDCHIP USB Gaming Keyboard due to epoll hang-up event.
12-14 13:04:12.234   395   455 I EventHub: Removed device: path=/dev/input/event9 name=HOLDCHIP USB Gaming Keyboard id=28 fd=281 classes=0x80000003
12-14 13:04:12.259   395   455 I InputReader: Device removed: id=28, eventHubId=28, name='HOLDCHIP USB Gaming Keyboard', descriptor='c09af012864d5aabbb16b2358fdc0eafc12dc22f', sources=0x00000101
12-14 13:04:12.260   395   455 I EventHub: Removing device '/dev/input/event9' due to inotify event
12-14 13:04:12.261   395   454 W ActivityTaskManager: Current config: {1.0 ?mcc?mnc [en_US] ldltr sw720dp w1280dp h720dp 240dpi xlrg long land television night -touch qwerty/v/v dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.283} unchanged for IME proc com.google.android.leanback.ime
12-14 13:04:12.263   395   454 I ActivityTaskManager: Config changes=30 {1.0 ?mcc?mnc [en_US] ldltr sw720dp w1280dp h720dp 240dpi xlrg long land television night -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.283}
12-14 13:04:12.265   395   395 W TelecomManager: Telecom Service not found.
12-14 13:04:12.269   395   544 D UsbHostManager: Removed device at /dev/bus/usb/001/018: USB Gaming Keyboard
01-01 01:13:04.554     0     0 I usb 1-1.1.4: USB disconnect, device number 19
12-14 13:04:12.269   395   544 I UsbAlsaManager: USB Audio Device Removed: null
12-14 13:04:12.273   395   455 I EventHub: Removing device '/dev/input/mouse0' due to inotify event
12-14 13:04:12.280   395   454 W ActivityTaskManager: Current config: {1.0 ?mcc?mnc [en_US] ldltr sw720dp w1280dp h720dp 240dpi xlrg long land television night -touch qwerty/v/v dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.283} unchanged for IME proc com.google.android.leanback.ime
12-14 13:04:12.294   395   454 I WindowManager: Override config changes=30 {1.0 ?mcc?mnc [en_US] ldltr sw720dp w1280dp h720dp 240dpi xlrg long land television night -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.283} for displayId=0
12-14 13:04:12.295   395   454 V ActivityTaskManager: Sending to IME proc com.google.android.leanback.ime new config {1.0 ?mcc?mnc [en_US] ldltr sw720dp w1280dp h720dp 240dpi xlrg long land television night -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.283}
12-14 13:04:12.295   395   454 W ActivityTaskManager: Current config: {1.0 ?mcc?mnc [en_US] ldltr sw720dp w1280dp h720dp 240dpi xlrg long land television night -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.283} unchanged for IME proc com.google.android.leanback.ime
12-14 13:04:12.305   395   455 I EventHub: Removing device Razer Razer DeathAdder due to epoll hang-up event.
12-14 13:04:12.306   395   455 I EventHub: Removed device: path=/dev/input/event10 name=Razer Razer DeathAdder id=29 fd=243 classes=0x80000008
12-14 13:04:12.332   395   544 D UsbHostManager: Removed device at /dev/bus/usb/001/019 was already gone
12-14 13:04:12.338   395   544 D UsbHostManager: Removed device at /dev/bus/usb/001/016 was already gone
12-14 13:04:12.339   395   455 I InputReader: Device removed: id=30, eventHubId=29, name='Razer Razer DeathAdder', descriptor='0037ad6597b3be41dea4d202ba7f81c56723474c', sources=0x00002002
12-14 13:04:12.343   395   455 I EventHub: Removing device '/dev/input/event10' due to inotify event
12-14 13:04:12.345  1085  1085 W ViewRootImpl[MainActivity]: Cancelling event due to no window focus: MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=1727.1431, y[0]=64.80397, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=784632, downTime=771057, deviceId=30, source=0x2002, displayId=0 }
12-14 13:04:12.345  1085  1085 I chatty  : uid=10025(com.google.android.tvlauncher) identical 2 lines
12-14 13:04:12.346  1085  1085 W ViewRootImpl[MainActivity]: Cancelling event due to no window focus: MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=1727.1431, y[0]=64.80397, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=784632, downTime=771057, deviceId=30, source=0x2002, displayId=0 }
12-14 13:04:12.360   690   690 W ViewRootImpl[MainSettings]: Cancelling event due to no window focus: MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=257.79498, y[0]=830.03973, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=784632, downTime=773233, deviceId=30, source=0x2002, displayId=0 }
12-14 13:04:13.225   231   231 D hdmi_cec: hdmicec_send_message: len=1
12-14 13:04:13.358   231   231 D hdmi_cec: hdmicec_send_message: tx_status=36
12-14 13:04:13.359   231   231 D hdmi_cec: hdmicec_send_message: len=1
12-14 13:04:13.495   690   690 D BluetoothScanner: stopListening sReceiver=com.android.tv.settings.util.bluetooth.BluetoothScanner$Receiver@95c678a
12-14 13:04:13.495   690   690 D BluetoothScanner: mStopTask.run()
12-14 13:04:13.496   524  1055 D BluetoothAdapterService: cancelDiscovery
12-14 13:04:13.497   524   916 E bt_btif : bte_scan_filt_param_cfg_evt, 1
12-14 13:04:13.500   524   916 E bt_btif : bte_scan_filt_param_cfg_evt, 1
12-14 13:04:13.502   231   231 D hdmi_cec: hdmicec_send_message: tx_status=36
12-14 13:04:13.503   524   891 I BluetoothBondStateMachine: Bond address is:60:98:66:E2:F0:D0
12-14 13:04:13.503   524   891 D bt_btif_config: btif_get_device_type: Device [60:98:66:e2:f0:d0] type 2
12-14 13:04:13.503   524   891 I bt_btif_dm: get_cod remote_cod = 0x00000540
12-14 13:04:12.361   690   690 I chatty  : uid=1000(system) com.android.tv.settings identical 2 lines
12-14 13:04:12.361   690   690 W ViewRootImpl[MainSettings]: Cancelling event due to no window focus: MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=257.79498, y[0]=830.03973, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=784632, downTime=773233, deviceId=30, source=0x2002, displayId=0 }
12-14 13:04:13.503   395   500 W HdmiCecController: Failed to send <Give Device Power Status> 40:8F with errorCode=3
12-14 13:04:13.504   524   916 E bt_btif : bte_scan_filt_param_cfg_evt, 1
12-14 13:04:13.505   524   891 I BluetoothBondStateMachine: Entering PendingCommandState State
12-14 13:04:13.506   524   866 I bt_btif_dm: get_cod remote_cod = 0x00000540
12-14 13:04:13.506   524   866 D bt_btif_config: btif_get_device_type: Device [60:98:66:e2:f0:d0] type 2
12-14 13:04:13.506   524   866 I bt_btif_dm: get_cod remote_cod = 0x00000540
12-14 13:04:13.506   524   866 I BluetoothBondStateMachine: bondStateChangeCallback: Status: 0 Address: 60:98:66:E2:F0:D0 newState: 1
12-14 13:04:13.506   524   866 D bt_btif_config: btif_get_device_type: Device [60:98:66:e2:f0:d0] type 2
12-14 13:04:13.512   524   891 I BluetoothBondStateMachine: Bond State Change Intent:60:98:66:E2:F0:D0 BOND_NONE => BOND_BONDING
12-14 13:04:13.513   395   421 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.bluetooth.device.action.BOND_STATE_CHANGED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
12-14 13:04:13.514   524   524 D BluetoothDatabase: updateDatabase 60:98:66:E2:F0:D0
12-14 13:04:13.514   524   524 D A2dpService: Bond state changed for device: 60:98:66:E2:F0:D0 state: 11
12-14 13:04:13.528   690   690 D BluetoothDevicePairer: There was a link status change for: 60:98:66:E2:F0:D0
12-14 13:04:13.529   690   690 D BluetoothDevicePairer: Bond states: old = 10, new = 11
12-14 13:04:13.537   524   896 W bt_hci  : filter_incoming_event command complete event with no matching command (opcode: 0x2016).
12-14 13:04:13.540   395  1466 W ActivityManager: Unable to start service Intent { act=android.bluetooth.device.action.BOND_STATE_CHANGED cmp=com.google.android.gms/.nearby.discovery.service.DiscoveryService (has extras) } U=0: not found
12-14 13:04:13.876   524   916 W bt_smp  : io_cap = 4
12-14 13:04:13.876   524   916 W bt_smp  : rcvd auth_req: 0x2d, io_cap: 4 loc_oob_flag: 0 loc_enc_size: 16, local_i_key: 0x0f, local_r_key: 0x0f
12-14 13:04:13.876   524   916 W bt_smp  : lmp_version_below LMP version 8 < 8
12-14 13:04:13.876   524   916 W bt_smp  : lmp_version_below LMP version 8 < 9
12-14 13:04:13.876   524   916 W bt_smp  : set auth_req: 0x0d, local_i_key: 0x0f, local_r_key: 0x0f
12-14 13:04:13.876   524   916 W bt_btif : bta_dm_acl_change info: 0x0
12-14 13:04:13.877   524   866 D bt_btif_dm: remote version info [60:98:66:e2:f0:d0]: 0, 0, 0
12-14 13:04:13.883   524   524 E BluetoothPhonePolicy: Received unexpected intent, action=android.bluetooth.device.action.ACL_CONNECTED
12-14 13:04:13.884   524   524 I BluetoothPhonePolicy: processDeviceConnected, device=60:98:66:E2:F0:D0
12-14 13:04:13.884   524   524 D BluetoothDatabase: setConnection: device=60:98:66:E2:F0:D0 and isA2dpDevice=false
12-14 13:04:13.884   524   524 D BluetoothDatabase: Updating last connected time for device: 60:98:66:E2:F0:D0 to 3
12-14 13:04:13.884   524   524 D BluetoothDatabase: updateDatabase 60:98:66:E2:F0:D0
12-14 13:04:13.902   395   410 W ActivityManager: Unable to start service Intent { act=android.bluetooth.device.action.ACL_CONNECTED cmp=com.google.android.gms/.nearby.discovery.service.DiscoveryService (has extras) } U=0: not found
12-14 13:04:14.509   524   916 I bt_stack: [INFO:btsnoop.cc(323)] clear_l2cap_whitelist: Clearing whitelist from l2cap channel. conn_handle=65 cid=6:6
12-14 13:04:14.511   524   866 D bt_btif_config: btif_get_device_type: Device [60:98:66:e2:f0:d0] type 2
12-14 13:04:14.511   524   866 I bt_btif_dm: get_cod remote_cod = 0x00000540
12-14 13:04:14.511   524   866 E bt_stack: [ERROR:metric_id_allocator.cc(181)] BluetoothMetricIdAllocatorFailed to forget device because device is not in paired_device_cache_
12-14 13:04:14.511   524   866 I BluetoothBondStateMachine: bondStateChangeCallback: Status: 1 Address: 60:98:66:E2:F0:D0 newState: 0
12-14 13:04:14.511   524   866 D bt_btif_config: btif_get_device_type: Device [60:98:66:e2:f0:d0] type 2
12-14 13:04:14.514   524   891 D AdapterProperties: Failed to remove device: 60:98:66:E2:F0:D0
12-14 13:04:14.517   395   421 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.bluetooth.device.action.BOND_STATE_CHANGED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
12-14 13:04:14.517   690   690 D BluetoothDevicePairer: There was a link status change for: 60:98:66:E2:F0:D0
12-14 13:04:14.517   524   891 I BluetoothBondStateMachine: Bond State Change Intent:60:98:66:E2:F0:D0 BOND_BONDING => BOND_NONE
12-14 13:04:14.517   690   690 D BluetoothDevicePairer: Bond states: old = 11, new = 10
12-14 13:04:14.519   524   524 D A2dpService: Bond state changed for device: 60:98:66:E2:F0:D0 state: 10
12-14 13:04:14.519   524   891 W HeadsetClientService: getHeadsetClientService(): service is null
12-14 13:04:14.519   524   891 W PbapClientService: getPbapClientService(): service is null
12-14 13:04:14.519   524   891 D BluetoothAdapterService: getAdapterService() - returning com.android.bluetooth.btservice.AdapterService@3b07f0a
12-14 13:04:14.520   524   891 D A2dpService: Saved connectionPolicy 60:98:66:E2:F0:D0 = -1
12-14 13:04:14.521   524   891 I HeadsetService: setConnectionPolicy: device=60:98:66:E2:F0:D0, connectionPolicy=-1, uid/pid=1002/524
12-14 13:04:14.521   524   891 I BluetoothBondStateMachine: StableState(): Entering Off State
12-14 13:04:14.522   690   690 W BluetoothDevicePairer: There was an error bonding with the device.
12-14 13:04:14.534   545   903 W BluetoothEventManager: showUnbondMessage: Not displaying any message for reason: 9
12-14 13:04:14.547   395  1466 W ActivityManager: Unable to start service Intent { act=android.bluetooth.device.action.BOND_STATE_CHANGED cmp=com.google.android.gms/.nearby.discovery.service.DiscoveryService (has extras) } U=0: not found
12-14 13:04:15.226   231   231 D hdmi_cec: hdmicec_send_message: len=1
12-14 13:04:15.359   231   231 D hdmi_cec: hdmicec_send_message: tx_status=36
12-14 13:04:15.360   231   231 D hdmi_cec: hdmicec_send_message: len=1
12-14 13:04:15.502   231   231 D hdmi_cec: hdmicec_send_message: tx_status=36
12-14 13:04:15.503   395   500 W HdmiCecController: Failed to send <Give Device Power Status> 40:8F with errorCode=3
12-14 13:04:16.720  2400  2730 E chromium: [2400:2730:ERROR:https_ssl_server_socket.cc(107)] ClientAuthSigner has not been initialized.
12-14 13:04:17.227   231   231 D hdmi_cec: hdmicec_send_message: len=1
12-14 13:04:17.361   231   231 D hdmi_cec: hdmicec_send_message: tx_status=36
12-14 13:04:17.361   231   231 D hdmi_cec: hdmicec_send_message: len=1
12-14 13:04:17.504   231   231 D hdmi_cec: hdmicec_send_message: tx_status=36
12-14 13:04:17.512   395  1466 E LightsService: Light requested not available on this device. 2
12-14 13:04:17.532   524   916 W bt_stack: [WARNING:bta_gattc_act.cc(1044)] bta_gattc_conn_cback: cif=3 connected=0 conn_id=0x0003 reason=0x0016
12-14 13:04:17.533   524   916 W bt_stack: [WARNING:bta_gattc_act.cc(1044)] bta_gattc_conn_cback: cif=4 connected=0 conn_id=0x0004 reason=0x0016
12-14 13:04:17.533   524   916 I bt_btm_sec: btm_sec_disconnected clearing pending flag handle:65 reason:22
12-14 13:04:17.533   524   916 E bt_stack: [ERROR:bta_gattc_utils.cc(433)] bta_gattc_mark_bg_conn unable to find the bg connection mask for bd_addr=60:98:66:e2:f0:d0
12-14 13:04:17.533   524   866 I btif_av : btif_av_acl_disconnected: Peer 60:98:66:e2:f0:d0 : ACL Disconnected
12-14 13:04:17.534   524   916 I btif_av : BtifAvPeer *BtifAvSource::FindOrCreatePeer(const RawAddress &, tBTA_AV_HNDL): Create peer: peer_address=60:98:66:e2:f0:d0 bta_handle=0x41 peer_id=0
12-14 13:04:17.534   524   916 W bt_btif : btif_av_get_peer_sep: No active peer found
12-14 13:04:17.534   524   916 I bt_btif_a2dp: btif_a2dp_on_idle: ## ON A2DP IDLE ## peer_sep = 1
12-14 13:04:17.534   524   916 W bt_btif : btif_av_get_peer_sep: No active peer found
12-14 13:04:17.534   524   916 I bt_btif_a2dp_source: btif_a2dp_source_on_idle: state=STATE_OFF
12-14 13:04:17.534   524   916 W bt_btif : btif_av_get_peer_sep: No active peer found
12-14 13:04:17.534   524   916 I bt_btif_a2dp: btif_a2dp_on_idle: ## ON A2DP IDLE ## peer_sep = 1
12-14 13:04:17.534   524   916 W bt_btif : btif_av_get_peer_sep: No active peer found
12-14 13:04:17.534   524   916 I bt_btif_a2dp_source: btif_a2dp_source_on_idle: state=STATE_OFF
12-14 13:04:17.534   524   916 I btif_av : DeleteIdlePeers: Deleting idle peer: 60:98:66:e2:f0:d0 bta_handle=0x41
12-14 13:04:17.504   395   500 W HdmiCecController: Failed to send <Give Device Power Status> 40:8F with errorCode=3
12-14 13:04:17.550   395  1466 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
12-14 13:04:19.230   231   231 D hdmi_cec: hdmicec_send_message: len=1
12-14 13:04:19.364   231   231 D hdmi_cec: hdmicec_send_message: tx_status=36
12-14 13:04:19.364   231   231 D hdmi_cec: hdmicec_send_message: len=1
12-14 13:04:19.507   231   231 D hdmi_cec: hdmicec_send_message: tx_status=36
12-14 13:04:19.507   395   500 W HdmiCecController: Failed to send <Give Device Power Status> 40:8F with errorCode=3
12-14 13:04:19.529   524  3075 D BluetoothAdapterService: startDiscovery
12-14 13:04:19.530   524   916 E bt_btif : bte_scan_filt_param_cfg_evt, 1
12-14 13:04:19.530   524   916 E bt_btif : bte_scan_filt_param_cfg_evt, 1
12-14 13:04:19.530   690   690 D BluetoothScanner: startListening
12-14 13:04:19.530   524   916 W bt_btif : bta_dm_check_av:0
12-14 13:04:19.889   524   916 W bt_btm_ble: btm_ble_process_adv_pkt_cont device no longer discoverable, discarding advertising packet
12-14 13:04:20.217   524   916 W bt_btm_ble: btm_ble_process_adv_pkt_cont device no longer discoverable, discarding advertising packet
12-14 13:04:21.231   231   231 D hdmi_cec: hdmicec_send_message: len=1
12-14 13:04:21.365   231   231 D hdmi_cec: hdmicec_send_message: tx_status=36
12-14 13:04:21.366   231   231 D hdmi_cec: hdmicec_send_message: len=1
12-14 13:04:21.508   231   231 D hdmi_cec: hdmicec_send_message: tx_status=36
12-14 13:04:23.234   690  4177 I AddAccessoryActivity: One Touch Play failed

cambiph avatar Dec 14 '21 12:12 cambiph

Had the same issue with the following on my Rpi 4-B 8G :

  • Lineage 18.1 from KonstaKANG version 20220512
  • Open GApps tvmini 11.0 ARM64 version 20220215

Pairing Xbox Wireless Controller model 1914 latest firmware worked with original Lineage BUT failed after tvmini flash.

Nevertheless, founded a workaround by downsizing Open GApps tvmini install (see wiki) to install only its Core app which gives "only" the Google Play Store (which I needed only). The crude steps are :

  • install Lineage 18.1, setup ADB via USB or other
  • make a config file named gapps-config.txt as per the wiki, ADB push it to /sdcard
  • install Open GApps tvmini : it will automatically detect your config file and only install the Core app (or others depending on your config file)

At this stage I don't need any other apps from the tvmini package, but I guess you can fiddle the same way to include more and use the debug tar generated by the installation (where you put your config file in /sdcard), especially the System_Files_After.txt and System_Files_Before.txt logs, to verify if the system bluetooth files or other have been changed and thus know which part of the tvmini package is messing the original working bluetooth from Lineage.

gapps-config.txt

Include
Core

Mingala avatar Sep 04 '22 16:09 Mingala

Care to narrow down what the faulty package was? We can't fix this on such an unusual setup without you testing further and finding the issue.

osm0sis avatar Jan 22 '23 00:01 osm0sis