apport information ** Attachment added: "rfkill.txt" https://bugs.launchpad.net/bugs/1962769/+attachment/5565133/+files/rfkill.txt
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to bluez in Ubuntu. https://bugs.launchpad.net/bugs/1962769 Title: Could not receive advertising events: Broken pipe Status in bluez package in Ubuntu: Incomplete Bug description: If a host has 2 adapters, the scanner run for a few second then get an error msg Could not receive advertising events: Broken pipe, then hci0 turns down when I run hciconfig hci0: Type: Primary Bus: USB BD Address: 00:1A:7D:DA:71:13 ACL MTU: 310:10 SCO MTU: 64:8 DOWN RX bytes:574 acl:0 sco:0 events:30 errors:0 TX bytes:368 acl:0 sco:0 commands:30 errors:0 hci1: Type: Primary Bus: USB BD Address: 00:1A:7D:DA:71:13 ACL MTU: 310:10 SCO MTU: 64:8 UP RUNNING RX bytes:221883 acl:0 sco:0 events:8327 errors:0 TX bytes:1027 acl:0 sco:0 commands:67 errors:0 This happend after I updated bluez from 5.62 to 5.63. If I do scan again, everything works fine with one adapter. As both adapters use the same mac address, I changed the address of hci0 hci0: Type: Primary Bus: USB BD Address: 00:01:07:00:47:0E ACL MTU: 310:10 SCO MTU: 64:8 UP RUNNING RX bytes:1184 acl:0 sco:0 events:66 errors:0 TX bytes:1072 acl:0 sco:0 commands:66 errors:0 hci1: Type: Primary Bus: USB BD Address: 00:1A:7D:DA:71:13 ACL MTU: 310:10 SCO MTU: 64:8 UP RUNNING RX bytes:221961 acl:0 sco:0 events:8340 errors:0 TX bytes:3078 acl:0 sco:0 commands:80 errors:0 but the old address keeps reverted back which was not the case in 5.62 I ran scan again while running btmon @ MGMT Event: Command Complete (0x0001) plen 283 {0x0001} [hci0] 1052.238244 Read Controller Information (0x0004) plen 280 Status: Success (0x00) Address: 00:1A:7D:DA:71:13 (cyber-blue(HK)Ltd) Version: Bluetooth 4.0 (0x06) Manufacturer: Cambridge Silicon Radio (10) Supported settings: 0x0001beff Powered Connectable Fast Connectable Discoverable Bondable Link Security Secure Simple Pairing BR/EDR Low Energy Advertising Secure Connections Debug Keys Privacy Static Address PHY Configuration Current settings: 0x00000080 BR/EDR Class: 0x000000 Major class: Miscellaneous Minor class: 0x00 Name: CSR8510 A10 Short name: = bluetoothd: Failed to start listening: l2cap_bind: Address al.. 1052.238720 = bluetoothd: Failed to create GATT database for adapter [hci0] 1052.238742 = bluetoothd: Unable to register new adapter [hci0] 1052.238761 = Close Index: 00:1A:7D:DA:71:13 [hci0] 1054.246981 @ MGMT Event: Index Added (0x0004) plen 0 {0x0001} [hci0] 98.950611 @ MGMT Command: Read Controller Information (0x0004) plen 0 {0x0001} [hci0] 98.950707 @ MGMT Event: Command Complete (0x0001) plen 283 {0x0001} [hci0] 98.950714 Read Controller Information (0x0004) plen 280 Status: Success (0x00) Address: 00:1A:7D:DA:71:13 (cyber-blue(HK)Ltd) Version: Bluetooth 4.0 (0x06) Manufacturer: Cambridge Silicon Radio (10) Supported settings: 0x0001beff Powered Connectable Fast Connectable Discoverable Bondable Link Security Secure Simple Pairing BR/EDR Low Energy Advertising Secure Connections Debug Keys Privacy Static Address PHY Configuration Current settings: 0x00000080 BR/EDR Class: 0x000000 Major class: Miscellaneous Minor class: 0x00 Name: CSR8510 A10 Short name: = bluetoothd: Failed to start listening: l2cap_bind: Address already in use (98) 98.951201 = bluetoothd: Failed to create GATT database for adapter [hci0] 98.951229 = bluetoothd: Unable to register new adapter [hci0] 98.951248 = Close Index: 00:1A:7D:DA:71:13 [hci0] 100.967001 --- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu27.21 Architecture: amd64 CasperMD5CheckResult: skip DistroRelease: Ubuntu 20.04 InterestingModules: bnep btusb bluetooth MachineType: Dell Inc. OptiPlex 980 Package: bluez 5.53-0ubuntu3.4 [modified: usr/bin/bluemoon usr/bin/bluetoothctl usr/bin/btattach usr/bin/btmon usr/bin/hex2hcd usr/bin/l2ping usr/bin/l2test usr/bin/rctest] PackageArchitecture: amd64 ProcEnviron: TERM=xterm PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-91-generic root=UUID=efa9b1c2-c6aa-11e8-a90c-b8ac6f9e2c98 ro ProcVersionSignature: Ubuntu 5.4.0-91.102-generic 5.4.151 Tags: focal uec-images Uname: Linux 5.4.0-91-generic x86_64 UpgradeStatus: Upgraded to focal on 2020-09-06 (542 days ago) UserGroups: adm cdrom dip docker lxd netdev plugdev sudo _MarkForUpload: True acpidump: Error: command ['pkexec', '/usr/share/apport/dump_acpi_tables.py'] failed with exit code 127: Error executing command as another user: Not authorized This incident has been reported. dmi.bios.date: 02/16/2010 dmi.bios.vendor: Dell Inc. dmi.bios.version: A01 dmi.board.name: 0D441T dmi.board.vendor: Dell Inc. dmi.board.version: A00 dmi.chassis.type: 6 dmi.chassis.vendor: Dell Inc. dmi.modalias: dmi:bvnDellInc.:bvrA01:bd02/16/2010:svnDellInc.:pnOptiPlex980:pvr:rvnDellInc.:rn0D441T:rvrA00:cvnDellInc.:ct6:cvr: dmi.product.name: OptiPlex 980 dmi.sys.vendor: Dell Inc. mtime.conffile..etc.bluetooth.main.conf: 2022-03-02T10:48:10.933611 mtime.conffile..etc.dbus-1.system.d.bluetooth.conf: 2022-03-02T10:47:40.322184 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1962769/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp