[Touch-packages] [Bug 1887968] Re: Pairing with bluetooth mice fails
I've started bluetoothd with the debug option. Here's what happens when trying to pair with a bluetooth mouse: bluetoothd[5497]: src/agent.c:agent_ref() 0x559521027e80: ref=2 bluetoothd[5497]: src/device.c:bonding_request_new() Requesting bonding for E5:5B:67:2A:09:76 bluetoothd[5497]: src/agent.c:agent_ref() 0x559521027e80: ref=3 bluetoothd[5497]: src/agent.c:agent_unref() 0x559521027e80: ref=2 bluetoothd[5497]: src/adapter.c:suspend_discovery() bluetoothd[5497]: src/adapter.c:adapter_bonding_attempt() hci0 bdaddr E5:5B:67:2A:09:76 type 2 io_cap 0x04 bluetoothd[5497]: src/adapter.c:connected_callback() hci0 device E5:5B:67:2A:09:76 connected eir_len 26 bluetoothd[5497]: src/adapter.c:dev_disconnected() Device E5:5B:67:2A:09:76 disconnected, reason 0 bluetoothd[5497]: src/adapter.c:adapter_remove_connection() bluetoothd[5497]: plugins/policy.c:disconnect_cb() reason 0 bluetoothd[5497]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr E5:5B:67:2A:09:76 type 2 status 0xe bluetoothd[5497]: src/device.c:device_bonding_complete() bonding 0x55952102d670 status 0x0e bluetoothd[5497]: src/device.c:device_bonding_failed() status 14 bluetoothd[5497]: src/agent.c:agent_unref() 0x559521027e80: ref=1 bluetoothd[5497]: src/adapter.c:resume_discovery() bluetoothd[5497]: src/adapter.c:pair_device_complete() Failed (0x03) bluetoothd[5497]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr E5:5B:67:2A:09:76 type 2 status 0x3 bluetoothd[5497]: src/device.c:device_bonding_complete() bonding (nil) status 0x03 bluetoothd[5497]: src/device.c:device_bonding_failed() status 3 bluetoothd[5497]: src/adapter.c:resume_discovery() -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to bluez in Ubuntu. https://bugs.launchpad.net/bugs/1887968 Title: Pairing with bluetooth mice fails Status in bluez package in Ubuntu: Incomplete Bug description: I'm using Ubuntu 20.04 on a Huawei Matebook 13 AMD laptop which seems to use a Realtek RTL8822CE Wifi/Bluetooth combo adapter. I've been unsuccessful to pair with 2 different bluetooth mice. However bluetooth seems to work with other devices. I'm under the impression that this problem only happens with Bluetooth LE devices. Trying to pair using bluetoothctl fails with the org.bluez.Error.AuthenticationCanceled error: [bluetooth]# pair E5:5B:67:2A:09:76 Attempting to pair with E5:5B:67:2A:09:76 [CHG] Device E5:5B:67:2A:09:76 Connected: yes [CHG] Device E5:5B:67:2A:09:76 Connected: no Failed to pair: org.bluez.Error.AuthenticationCanceled A quick google search for org.bluez.Error.AuthenticationCanceled reported nothing relevant. Running btmon while trying to pair with the device gives me the following: Bluetooth monitor ver 5.53 = Note: Linux version 5.4.0-40-generic (x86_64) 0.998188 = Note: Bluetooth subsystem version 2.22 0.998193 = New Index: E8:6F:38:9C:2B:3C (Primary,USB,hci0) [hci0] 0.998194 = Open Index: E8:6F:38:9C:2B:3C [hci0] 0.998195 = Index Info: E8:6F:38:9C:2B:3C (Realtek Semiconductor Corporation) [hci0] 0.998197 @ MGMT Open: bluetoothd (privileged) version 1.14 {0x0001} 0.998198 @ MGMT Open: btmon (privileged) version 1.14 {0x0002} 0.998310 @ MGMT Command: Pair Device (0x0019) plen 8 {0x0001} [hci0] 8.162442 LE Address: E5:5B:67:2A:09:76 (Static) Capability: KeyboardDisplay (0x04) < HCI Command: LE Set Extended Scan Parameters (0x08|0x0041) plen 8 #1 [hci0] 8.162527 Own address type: Public (0x00) Filter policy: Ignore not in white list (0x01) PHYs: 0x01 Entry 0: LE 1M Type: Passive (0x00) Interval: 60.000 msec (0x0060) Window: 30.000 msec (0x0030) > HCI Event: Command Complete (0x0e) plen 4 #2 [hci0] 8.284618 LE Set Extended Scan Parameters (0x08|0x0041) ncmd 2 Status: Success (0x00) < HCI Command: LE Set Extended Scan Enable (0x08|0x0042) plen 6
[Touch-packages] [Bug 1887968] Re: Pairing with bluetooth mice fails
Hi Sebastien, journalctl log Attached. ** Attachment added: "journalctl.txt" https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1887968/+attachment/5393587/+files/journalctl.txt -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to bluez in Ubuntu. https://bugs.launchpad.net/bugs/1887968 Title: Pairing with bluetooth mice fails Status in bluez package in Ubuntu: Incomplete Bug description: I'm using Ubuntu 20.04 on a Huawei Matebook 13 AMD laptop which seems to use a Realtek RTL8822CE Wifi/Bluetooth combo adapter. I've been unsuccessful to pair with 2 different bluetooth mice. However bluetooth seems to work with other devices. I'm under the impression that this problem only happens with Bluetooth LE devices. Trying to pair using bluetoothctl fails with the org.bluez.Error.AuthenticationCanceled error: [bluetooth]# pair E5:5B:67:2A:09:76 Attempting to pair with E5:5B:67:2A:09:76 [CHG] Device E5:5B:67:2A:09:76 Connected: yes [CHG] Device E5:5B:67:2A:09:76 Connected: no Failed to pair: org.bluez.Error.AuthenticationCanceled A quick google search for org.bluez.Error.AuthenticationCanceled reported nothing relevant. Running btmon while trying to pair with the device gives me the following: Bluetooth monitor ver 5.53 = Note: Linux version 5.4.0-40-generic (x86_64) 0.998188 = Note: Bluetooth subsystem version 2.22 0.998193 = New Index: E8:6F:38:9C:2B:3C (Primary,USB,hci0) [hci0] 0.998194 = Open Index: E8:6F:38:9C:2B:3C [hci0] 0.998195 = Index Info: E8:6F:38:9C:2B:3C (Realtek Semiconductor Corporation) [hci0] 0.998197 @ MGMT Open: bluetoothd (privileged) version 1.14 {0x0001} 0.998198 @ MGMT Open: btmon (privileged) version 1.14 {0x0002} 0.998310 @ MGMT Command: Pair Device (0x0019) plen 8 {0x0001} [hci0] 8.162442 LE Address: E5:5B:67:2A:09:76 (Static) Capability: KeyboardDisplay (0x04) < HCI Command: LE Set Extended Scan Parameters (0x08|0x0041) plen 8 #1 [hci0] 8.162527 Own address type: Public (0x00) Filter policy: Ignore not in white list (0x01) PHYs: 0x01 Entry 0: LE 1M Type: Passive (0x00) Interval: 60.000 msec (0x0060) Window: 30.000 msec (0x0030) > HCI Event: Command Complete (0x0e) plen 4 #2 [hci0] 8.284618 LE Set Extended Scan Parameters (0x08|0x0041) ncmd 2 Status: Success (0x00) < HCI Command: LE Set Extended Scan Enable (0x08|0x0042) plen 6 #3 [hci0] 8.284654 Extended scan: Enabled (0x01) Filter duplicates: Enabled (0x01) Duration: 0 msec (0x) Period: 0.00 sec (0x) > HCI Event: Command Complete (0x0e) plen 4 #4 [hci0] 8.289616 LE Set Extended Scan Enable (0x08|0x0042) ncmd 2 Status: Success (0x00) > HCI Event: LE Meta Event (0x3e) plen 52 #5 [hci0] 8.343614 LE Extended Advertising Report (0x0d) Num reports: 1 Entry 0 Event type: 0x0013 Props: 0x0013 Connectable Scannable Use legacy advertising PDUs Data status: Complete Legacy PDU Type: ADV_IND (0x0013) Address type: Random (0x01) Address: E5:5B:67:2A:09:76 (Static) Primary PHY: LE 1M Secondary PHY: No packets SID: no ADI field (0xff) TX power: 127 dBm RSSI: -20 dBm (0xec) Periodic advertising invteral: 0.00 msec (0x) Direct address type: Public (0x00) Direct address: 00:00:00:00:00:00 (OUI 00-00-00) Data length: 0x1a 03 19 c2 03 02 01 05 03 03 12 18 0e 09 52 61 7a
[Touch-packages] [Bug 1887968] Re: Pairing with bluetooth mice fails
apport information ** Tags added: apport-collected focal ** Description changed: I'm using Ubuntu 20.04 on a Huawei Matebook 13 AMD laptop which seems to use a Realtek RTL8822CE Wifi/Bluetooth combo adapter. I've been unsuccessful to pair with 2 different bluetooth mice. However bluetooth seems to work with other devices. I'm under the impression that this problem only happens with Bluetooth LE devices. Trying to pair using bluetoothctl fails with the org.bluez.Error.AuthenticationCanceled error: [bluetooth]# pair E5:5B:67:2A:09:76 Attempting to pair with E5:5B:67:2A:09:76 [CHG] Device E5:5B:67:2A:09:76 Connected: yes [CHG] Device E5:5B:67:2A:09:76 Connected: no Failed to pair: org.bluez.Error.AuthenticationCanceled A quick google search for org.bluez.Error.AuthenticationCanceled reported nothing relevant. Running btmon while trying to pair with the device gives me the following: Bluetooth monitor ver 5.53 = Note: Linux version 5.4.0-40-generic (x86_64) 0.998188 = Note: Bluetooth subsystem version 2.22 0.998193 = New Index: E8:6F:38:9C:2B:3C (Primary,USB,hci0) [hci0] 0.998194 = Open Index: E8:6F:38:9C:2B:3C [hci0] 0.998195 = Index Info: E8:6F:38:9C:2B:3C (Realtek Semiconductor Corporation) [hci0] 0.998197 @ MGMT Open: bluetoothd (privileged) version 1.14 {0x0001} 0.998198 @ MGMT Open: btmon (privileged) version 1.14 {0x0002} 0.998310 @ MGMT Command: Pair Device (0x0019) plen 8 {0x0001} [hci0] 8.162442 LE Address: E5:5B:67:2A:09:76 (Static) Capability: KeyboardDisplay (0x04) < HCI Command: LE Set Extended Scan Parameters (0x08|0x0041) plen 8 #1 [hci0] 8.162527 Own address type: Public (0x00) Filter policy: Ignore not in white list (0x01) PHYs: 0x01 Entry 0: LE 1M Type: Passive (0x00) Interval: 60.000 msec (0x0060) Window: 30.000 msec (0x0030) > HCI Event: Command Complete (0x0e) plen 4 #2 [hci0] 8.284618 LE Set Extended Scan Parameters (0x08|0x0041) ncmd 2 Status: Success (0x00) < HCI Command: LE Set Extended Scan Enable (0x08|0x0042) plen 6 #3 [hci0] 8.284654 Extended scan: Enabled (0x01) Filter duplicates: Enabled (0x01) Duration: 0 msec (0x) Period: 0.00 sec (0x) > HCI Event: Command Complete (0x0e) plen 4 #4 [hci0] 8.289616 LE Set Extended Scan Enable (0x08|0x0042) ncmd 2 Status: Success (0x00) > HCI Event: LE Meta Event (0x3e) plen 52 #5 [hci0] 8.343614 LE Extended Advertising Report (0x0d) Num reports: 1 Entry 0 Event type: 0x0013 Props: 0x0013 Connectable Scannable Use legacy advertising PDUs Data status: Complete Legacy PDU Type: ADV_IND (0x0013) Address type: Random (0x01) Address: E5:5B:67:2A:09:76 (Static) Primary PHY: LE 1M Secondary PHY: No packets SID: no ADI field (0xff) TX power: 127 dBm RSSI: -20 dBm (0xec) Periodic advertising invteral: 0.00 msec (0x) Direct address type: Public (0x00) Direct address: 00:00:00:00:00:00 (OUI 00-00-00) Data length: 0x1a 03 19 c2 03 02 01 05 03 03 12 18 0e 09 52 61 7a .Raz 65 72 20 41 74 68 65 72 69 73er Atheris < HCI Command: LE Set Extended Scan Enable (0x08|0x0042) plen 6 #6 [hci0] 8.343656 Extended scan: Disabled (0x00) Filter duplicates: Disabled (0x00) Duration: 0 msec (0x)
[Touch-packages] [Bug 1887968] Re: Pairing with bluetooth mice fails
Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal: apport-collect 1887968 When reporting bugs in the future please use apport by using 'ubuntu- bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs. ** Changed in: bluez (Ubuntu) Importance: Undecided => Low ** Changed in: bluez (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to bluez in Ubuntu. https://bugs.launchpad.net/bugs/1887968 Title: Pairing with bluetooth mice fails Status in bluez package in Ubuntu: Incomplete Bug description: I'm using Ubuntu 20.04 on a Huawei Matebook 13 AMD laptop which seems to use a Realtek RTL8822CE Wifi/Bluetooth combo adapter. I've been unsuccessful to pair with 2 different bluetooth mice. However bluetooth seems to work with other devices. I'm under the impression that this problem only happens with Bluetooth LE devices. Trying to pair using bluetoothctl fails with the org.bluez.Error.AuthenticationCanceled error: [bluetooth]# pair E5:5B:67:2A:09:76 Attempting to pair with E5:5B:67:2A:09:76 [CHG] Device E5:5B:67:2A:09:76 Connected: yes [CHG] Device E5:5B:67:2A:09:76 Connected: no Failed to pair: org.bluez.Error.AuthenticationCanceled A quick google search for org.bluez.Error.AuthenticationCanceled reported nothing relevant. Running btmon while trying to pair with the device gives me the following: Bluetooth monitor ver 5.53 = Note: Linux version 5.4.0-40-generic (x86_64) 0.998188 = Note: Bluetooth subsystem version 2.22 0.998193 = New Index: E8:6F:38:9C:2B:3C (Primary,USB,hci0) [hci0] 0.998194 = Open Index: E8:6F:38:9C:2B:3C [hci0] 0.998195 = Index Info: E8:6F:38:9C:2B:3C (Realtek Semiconductor Corporation) [hci0] 0.998197 @ MGMT Open: bluetoothd (privileged) version 1.14 {0x0001} 0.998198 @ MGMT Open: btmon (privileged) version 1.14 {0x0002} 0.998310 @ MGMT Command: Pair Device (0x0019) plen 8 {0x0001} [hci0] 8.162442 LE Address: E5:5B:67:2A:09:76 (Static) Capability: KeyboardDisplay (0x04) < HCI Command: LE Set Extended Scan Parameters (0x08|0x0041) plen 8 #1 [hci0] 8.162527 Own address type: Public (0x00) Filter policy: Ignore not in white list (0x01) PHYs: 0x01 Entry 0: LE 1M Type: Passive (0x00) Interval: 60.000 msec (0x0060) Window: 30.000 msec (0x0030) > HCI Event: Command Complete (0x0e) plen 4 #2 [hci0] 8.284618 LE Set Extended Scan Parameters (0x08|0x0041) ncmd 2 Status: Success (0x00) < HCI Command: LE Set Extended Scan Enable (0x08|0x0042) plen 6 #3 [hci0] 8.284654 Extended scan: Enabled (0x01) Filter duplicates: Enabled (0x01) Duration: 0 msec (0x) Period: 0.00 sec (0x) > HCI Event: Command Complete (0x0e) plen 4 #4 [hci0] 8.289616 LE Set Extended Scan Enable (0x08|0x0042) ncmd 2 Status: Success (0x00) > HCI Event: LE Meta Event (0x3e) plen 52 #5 [hci0] 8.343614 LE Extended Advertising Report (0x0d) Num reports: 1 Entry 0 Event type: 0x0013 Props: 0x0013 Connectable Scannable Use legacy advertising PDUs Data status: Complete Legacy PDU Type: ADV_IND (0x0013) Address type: Random (0x01) Address: E5:5B:67:2A:09:76 (Static) Primary PHY: LE 1M Secondary PHY: No
[Touch-packages] [Bug 1887968] Re: Pairing with bluetooth mice fails
Could you also add your 'journalctl -b 0' after getting the issue? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to bluez in Ubuntu. https://bugs.launchpad.net/bugs/1887968 Title: Pairing with bluetooth mice fails Status in bluez package in Ubuntu: Incomplete Bug description: I'm using Ubuntu 20.04 on a Huawei Matebook 13 AMD laptop which seems to use a Realtek RTL8822CE Wifi/Bluetooth combo adapter. I've been unsuccessful to pair with 2 different bluetooth mice. However bluetooth seems to work with other devices. I'm under the impression that this problem only happens with Bluetooth LE devices. Trying to pair using bluetoothctl fails with the org.bluez.Error.AuthenticationCanceled error: [bluetooth]# pair E5:5B:67:2A:09:76 Attempting to pair with E5:5B:67:2A:09:76 [CHG] Device E5:5B:67:2A:09:76 Connected: yes [CHG] Device E5:5B:67:2A:09:76 Connected: no Failed to pair: org.bluez.Error.AuthenticationCanceled A quick google search for org.bluez.Error.AuthenticationCanceled reported nothing relevant. Running btmon while trying to pair with the device gives me the following: Bluetooth monitor ver 5.53 = Note: Linux version 5.4.0-40-generic (x86_64) 0.998188 = Note: Bluetooth subsystem version 2.22 0.998193 = New Index: E8:6F:38:9C:2B:3C (Primary,USB,hci0) [hci0] 0.998194 = Open Index: E8:6F:38:9C:2B:3C [hci0] 0.998195 = Index Info: E8:6F:38:9C:2B:3C (Realtek Semiconductor Corporation) [hci0] 0.998197 @ MGMT Open: bluetoothd (privileged) version 1.14 {0x0001} 0.998198 @ MGMT Open: btmon (privileged) version 1.14 {0x0002} 0.998310 @ MGMT Command: Pair Device (0x0019) plen 8 {0x0001} [hci0] 8.162442 LE Address: E5:5B:67:2A:09:76 (Static) Capability: KeyboardDisplay (0x04) < HCI Command: LE Set Extended Scan Parameters (0x08|0x0041) plen 8 #1 [hci0] 8.162527 Own address type: Public (0x00) Filter policy: Ignore not in white list (0x01) PHYs: 0x01 Entry 0: LE 1M Type: Passive (0x00) Interval: 60.000 msec (0x0060) Window: 30.000 msec (0x0030) > HCI Event: Command Complete (0x0e) plen 4 #2 [hci0] 8.284618 LE Set Extended Scan Parameters (0x08|0x0041) ncmd 2 Status: Success (0x00) < HCI Command: LE Set Extended Scan Enable (0x08|0x0042) plen 6 #3 [hci0] 8.284654 Extended scan: Enabled (0x01) Filter duplicates: Enabled (0x01) Duration: 0 msec (0x) Period: 0.00 sec (0x) > HCI Event: Command Complete (0x0e) plen 4 #4 [hci0] 8.289616 LE Set Extended Scan Enable (0x08|0x0042) ncmd 2 Status: Success (0x00) > HCI Event: LE Meta Event (0x3e) plen 52 #5 [hci0] 8.343614 LE Extended Advertising Report (0x0d) Num reports: 1 Entry 0 Event type: 0x0013 Props: 0x0013 Connectable Scannable Use legacy advertising PDUs Data status: Complete Legacy PDU Type: ADV_IND (0x0013) Address type: Random (0x01) Address: E5:5B:67:2A:09:76 (Static) Primary PHY: LE 1M Secondary PHY: No packets SID: no ADI field (0xff) TX power: 127 dBm RSSI: -20 dBm (0xec) Periodic advertising invteral: 0.00 msec (0x) Direct address type: Public (0x00) Direct address: 00:00:00:00:00:00 (OUI 00-00-00) Data length: 0x1a 03 19 c2 03 02 01 05 03 03 12 18 0e 09 52 61 7a .Raz 65 72 20 41 74 68 65 72 69 73er Atheris < HCI Command: LE Set