Thank you for taking the time to report this bug and helping to make
Ubuntu better. Please execute the following command only once, as it
will automatically gather debugging information, in a terminal:

  apport-collect 1962769

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)
       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/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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1962769/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to