Activity log for bug #1887968

Date Who What changed Old value New value Message
2020-07-17 14:06:41 Julian bug added bug
2020-07-17 14:18:56 Sebastien Bacher bluez (Ubuntu): importance Undecided Low
2020-07-17 14:18:56 Sebastien Bacher bluez (Ubuntu): status New Incomplete
2020-07-17 14:47:40 Julian tags apport-collected focal
2020-07-17 14:47:43 Julian 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 (0x0000) Period: 0.00 sec (0x0000) > 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 (0x0000) 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 73 er 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 (0x0000) Period: 0.00 sec (0x0000) > HCI Event: Command Complete (0x0e) plen 4 #7 [hci0] 8.345617 LE Set Extended Scan Enable (0x08|0x0042) ncmd 2 Status: Success (0x00) < HCI Command: LE Extended Create Connection (0x08|0x0043) plen 26 #8 [hci0] 8.345680 Filter policy: White list is not used (0x00) Own address type: Public (0x00) Peer address type: Random (0x01) Peer address: E5:5B:67:2A:09:76 (Static) Initiating PHYs: 0x01 Entry 0: LE 1M Scan interval: 60.000 msec (0x0060) Scan window: 60.000 msec (0x0060) Min connection interval: 30.00 msec (0x0018) Max connection interval: 50.00 msec (0x0028) Connection latency: 0 (0x0000) Supervision timeout: 420 msec (0x002a) Min connection length: 0.000 msec (0x0000) Max connection length: 0.000 msec (0x0000) > HCI Event: Command Status (0x0f) plen 4 #9 [hci0] 8.348616 LE Extended Create Connection (0x08|0x0043) ncmd 2 Status: Success (0x00) > HCI Event: LE Meta Event (0x3e) plen 31 #10 [hci0] 8.390589 LE Enhanced Connection Complete (0x0a) Status: Success (0x00) Handle: 16 Role: Master (0x00) Peer address type: Random (0x01) Peer address: E5:5B:67:2A:09:76 (Static) Local resolvable private address: 00:00:00:00:00:00 (Non-Resolvable) Peer resolvable private address: 00:00:00:00:00:00 (Non-Resolvable) Connection interval: 45.00 msec (0x0024) Connection latency: 0 (0x0000) Supervision timeout: 420 msec (0x002a) Master clock accuracy: 0x00 @ MGMT Event: Device Connected (0x000b) plen 39 {0x0002} [hci0] 8.390620 LE Address: E5:5B:67:2A:09:76 (Static) Flags: 0x00000000 Data length: 26 Appearance: Mouse (0x03c2) Flags: 0x05 LE Limited Discoverable Mode BR/EDR Not Supported 16-bit Service UUIDs (complete): 1 entry Human Interface Device (0x1812) Name (complete): Razer Atheris @ MGMT Event: Device Connected (0x000b) plen 39 {0x0001} [hci0] 8.390620 LE Address: E5:5B:67:2A:09:76 (Static) Flags: 0x00000000 Data length: 26 Appearance: Mouse (0x03c2) Flags: 0x05 LE Limited Discoverable Mode BR/EDR Not Supported 16-bit Service UUIDs (complete): 1 entry Human Interface Device (0x1812) Name (complete): Razer Atheris < HCI Command: LE Read Remote Used Features (0x08|0x0016) plen 2 #11 [hci0] 8.390716 Handle: 16 > HCI Event: Command Status (0x0f) plen 4 #12 [hci0] 8.392604 LE Read Remote Used Features (0x08|0x0016) ncmd 2 Status: Success (0x00) > HCI Event: LE Meta Event (0x3e) plen 4 #13 [hci0] 8.413604 LE Channel Selection Algorithm (0x14) Handle: 16 Algorithm: #1 (0x00) > HCI Event: Disconnect Complete (0x05) plen 4 #14 [hci0] 8.638621 Status: Success (0x00) Handle: 16 Reason: Connection Failed to be Established (0x3e) @ MGMT Event: Device Disconnected (0x000c) plen 8 {0x0002} [hci0] 8.638728 LE Address: E5:5B:67:2A:09:76 (Static) Reason: Unspecified (0x00) @ MGMT Event: Device Disconnected (0x000c) plen 8 {0x0001} [hci0] 8.638728 LE Address: E5:5B:67:2A:09:76 (Static) Reason: Unspecified (0x00) @ MGMT Event: Command Complete (0x0001) plen 10 {0x0001} [hci0] 8.638743 Pair Device (0x0019) plen 7 Status: Failed (0x03) LE Address: E5:5B:67:2A:09:76 (Static) My system is using bluez 5.53-0ubuntu3 Thanks for your help. 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 (0x0000) Period: 0.00 sec (0x0000) > 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 (0x0000) 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 73 er 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 (0x0000) Period: 0.00 sec (0x0000) > HCI Event: Command Complete (0x0e) plen 4 #7 [hci0] 8.345617 LE Set Extended Scan Enable (0x08|0x0042) ncmd 2 Status: Success (0x00) < HCI Command: LE Extended Create Connection (0x08|0x0043) plen 26 #8 [hci0] 8.345680 Filter policy: White list is not used (0x00) Own address type: Public (0x00) Peer address type: Random (0x01) Peer address: E5:5B:67:2A:09:76 (Static) Initiating PHYs: 0x01 Entry 0: LE 1M Scan interval: 60.000 msec (0x0060) Scan window: 60.000 msec (0x0060) Min connection interval: 30.00 msec (0x0018) Max connection interval: 50.00 msec (0x0028) Connection latency: 0 (0x0000) Supervision timeout: 420 msec (0x002a) Min connection length: 0.000 msec (0x0000) Max connection length: 0.000 msec (0x0000) > HCI Event: Command Status (0x0f) plen 4 #9 [hci0] 8.348616 LE Extended Create Connection (0x08|0x0043) ncmd 2 Status: Success (0x00) > HCI Event: LE Meta Event (0x3e) plen 31 #10 [hci0] 8.390589 LE Enhanced Connection Complete (0x0a) Status: Success (0x00) Handle: 16 Role: Master (0x00) Peer address type: Random (0x01) Peer address: E5:5B:67:2A:09:76 (Static) Local resolvable private address: 00:00:00:00:00:00 (Non-Resolvable) Peer resolvable private address: 00:00:00:00:00:00 (Non-Resolvable) Connection interval: 45.00 msec (0x0024) Connection latency: 0 (0x0000) Supervision timeout: 420 msec (0x002a) Master clock accuracy: 0x00 @ MGMT Event: Device Connected (0x000b) plen 39 {0x0002} [hci0] 8.390620 LE Address: E5:5B:67:2A:09:76 (Static) Flags: 0x00000000 Data length: 26 Appearance: Mouse (0x03c2) Flags: 0x05 LE Limited Discoverable Mode BR/EDR Not Supported 16-bit Service UUIDs (complete): 1 entry Human Interface Device (0x1812) Name (complete): Razer Atheris @ MGMT Event: Device Connected (0x000b) plen 39 {0x0001} [hci0] 8.390620 LE Address: E5:5B:67:2A:09:76 (Static) Flags: 0x00000000 Data length: 26 Appearance: Mouse (0x03c2) Flags: 0x05 LE Limited Discoverable Mode BR/EDR Not Supported 16-bit Service UUIDs (complete): 1 entry Human Interface Device (0x1812) Name (complete): Razer Atheris < HCI Command: LE Read Remote Used Features (0x08|0x0016) plen 2 #11 [hci0] 8.390716 Handle: 16 > HCI Event: Command Status (0x0f) plen 4 #12 [hci0] 8.392604 LE Read Remote Used Features (0x08|0x0016) ncmd 2 Status: Success (0x00) > HCI Event: LE Meta Event (0x3e) plen 4 #13 [hci0] 8.413604 LE Channel Selection Algorithm (0x14) Handle: 16 Algorithm: #1 (0x00) > HCI Event: Disconnect Complete (0x05) plen 4 #14 [hci0] 8.638621 Status: Success (0x00) Handle: 16 Reason: Connection Failed to be Established (0x3e) @ MGMT Event: Device Disconnected (0x000c) plen 8 {0x0002} [hci0] 8.638728 LE Address: E5:5B:67:2A:09:76 (Static) Reason: Unspecified (0x00) @ MGMT Event: Device Disconnected (0x000c) plen 8 {0x0001} [hci0] 8.638728 LE Address: E5:5B:67:2A:09:76 (Static) Reason: Unspecified (0x00) @ MGMT Event: Command Complete (0x0001) plen 10 {0x0001} [hci0] 8.638743 Pair Device (0x0019) plen 7 Status: Failed (0x03) LE Address: E5:5B:67:2A:09:76 (Static) My system is using bluez 5.53-0ubuntu3 Thanks for your help. --- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu27.4 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: XFCE DistroRelease: Ubuntu 20.04 InstallationDate: Installed on 2020-06-17 (29 days ago) InstallationMedia: Xubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) InterestingModules: rfcomm bnep btusb bluetooth MachineType: HUAWEI HN-WX9X NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair Package: bluez 5.53-0ubuntu3 PackageArchitecture: amd64 ProcKernelCmdLine: BOOT_IMAGE=/BOOT/ubuntu_369zzd@/vmlinuz-5.4.0-40-generic root=ZFS=rpool/ROOT/ubuntu_369zzd ro quiet splash vt.handoff=1 ProcVersionSignature: Ubuntu 5.4.0-40.44-generic 5.4.44 Tags: focal Uname: Linux 5.4.0-40-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip docker lpadmin lxd plugdev sambashare sudo _MarkForUpload: True dmi.bios.date: 12/25/2019 dmi.bios.vendor: HUAWEI dmi.bios.version: 1.11 dmi.board.asset.tag: N/A dmi.board.name: HN-WX9X-PCB dmi.board.vendor: HUAWEI dmi.board.version: M1020 dmi.chassis.asset.tag: N/A dmi.chassis.type: 10 dmi.chassis.vendor: HUAWEI dmi.chassis.version: M1020 dmi.modalias: dmi:bvnHUAWEI:bvr1.11:bd12/25/2019:svnHUAWEI:pnHN-WX9X:pvrM1020:rvnHUAWEI:rnHN-WX9X-PCB:rvrM1020:cvnHUAWEI:ct10:cvrM1020: dmi.product.family: MateBook dmi.product.name: HN-WX9X dmi.product.sku: C233 dmi.product.version: M1020 dmi.sys.vendor: HUAWEI hciconfig: hci0: Type: Primary Bus: USB BD Address: E8:6F:38:9C:2B:3C ACL MTU: 1021:6 SCO MTU: 255:12 UP RUNNING PSCAN RX bytes:1181 acl:0 sco:0 events:101 errors:0 TX bytes:7568 acl:0 sco:0 commands:93 errors:0
2020-07-17 14:47:47 Julian attachment added CurrentDmesg.txt https://bugs.launchpad.net/bugs/1887968/+attachment/5393573/+files/CurrentDmesg.txt
2020-07-17 14:47:48 Julian attachment added Dependencies.txt https://bugs.launchpad.net/bugs/1887968/+attachment/5393574/+files/Dependencies.txt
2020-07-17 14:47:50 Julian attachment added Lspci.txt https://bugs.launchpad.net/bugs/1887968/+attachment/5393575/+files/Lspci.txt
2020-07-17 14:47:53 Julian attachment added Lspci-vt.txt https://bugs.launchpad.net/bugs/1887968/+attachment/5393576/+files/Lspci-vt.txt
2020-07-17 14:47:55 Julian attachment added Lsusb.txt https://bugs.launchpad.net/bugs/1887968/+attachment/5393577/+files/Lsusb.txt
2020-07-17 14:47:57 Julian attachment added Lsusb-t.txt https://bugs.launchpad.net/bugs/1887968/+attachment/5393578/+files/Lsusb-t.txt
2020-07-17 14:48:00 Julian attachment added Lsusb-v.txt https://bugs.launchpad.net/bugs/1887968/+attachment/5393579/+files/Lsusb-v.txt
2020-07-17 14:48:01 Julian attachment added ProcCpuinfo.txt https://bugs.launchpad.net/bugs/1887968/+attachment/5393580/+files/ProcCpuinfo.txt
2020-07-17 14:48:03 Julian attachment added ProcCpuinfoMinimal.txt https://bugs.launchpad.net/bugs/1887968/+attachment/5393581/+files/ProcCpuinfoMinimal.txt
2020-07-17 14:48:04 Julian attachment added ProcEnviron.txt https://bugs.launchpad.net/bugs/1887968/+attachment/5393582/+files/ProcEnviron.txt
2020-07-17 14:48:07 Julian attachment added ProcInterrupts.txt https://bugs.launchpad.net/bugs/1887968/+attachment/5393583/+files/ProcInterrupts.txt
2020-07-17 14:48:24 Julian attachment added ProcModules.txt https://bugs.launchpad.net/bugs/1887968/+attachment/5393584/+files/ProcModules.txt
2020-07-17 14:49:09 Julian attachment added UdevDb.txt https://bugs.launchpad.net/bugs/1887968/+attachment/5393585/+files/UdevDb.txt
2020-07-17 14:53:51 Julian attachment added journalctl.txt https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1887968/+attachment/5393587/+files/journalctl.txt
2020-07-20 05:41:58 Daniel van Vugt summary Pairing with bluetooth mice fails Pairing with Bluetooth LE mice fails on a Huawei Matebook 13 AMD laptop with Realtek RTL8822CE Wifi/Bluetooth combo adapter
2020-07-20 05:42:05 Daniel van Vugt bluez (Ubuntu): status Incomplete New
2020-07-20 20:49:51 Carlos J Alba P bug added subscriber Carlos J Alba P
2020-07-20 20:59:14 Launchpad Janitor bluez (Ubuntu): status New Confirmed
2020-09-14 20:12:51 moguchev bug added subscriber moguchev
2020-09-24 18:03:03 Jakub Niemczuk bug added subscriber Jakub Niemczuk
2020-10-10 09:44:46 Julian bug watch added https://bugzilla.kernel.org/show_bug.cgi?id=208965
2020-10-12 02:48:46 Daniel van Vugt bug task added linux (Ubuntu)
2020-10-12 02:48:54 Daniel van Vugt bug task added linux
2020-10-23 04:25:51 Bug Watch Updater linux: status Unknown Confirmed
2020-10-23 04:25:51 Bug Watch Updater linux: importance Unknown High
2020-11-28 18:07:54 Launchpad Janitor linux (Ubuntu): status New Confirmed
2020-12-03 18:39:56 Maksim Moskalik bug added subscriber Maksim Moskalik
2020-12-19 20:02:58 Olivier V bug watch added https://bugzilla.kernel.org/show_bug.cgi?id=210453
2020-12-19 20:06:21 Olivier V bug added subscriber Olivier V
2021-01-04 03:43:14 Daniel van Vugt bug task deleted bluez (Ubuntu)
2021-01-04 03:43:20 Daniel van Vugt bug added subscriber Daniel van Vugt