linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexandre Pereira Nunes <alexandre.nunes@gmail.com>
To: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Subject: Re: After kernel update: connect/disconnect forever while attempting to auto-reconnect
Date: Sat, 18 May 2019 11:08:56 -0300	[thread overview]
Message-ID: <CANxMttCqEYDZOwTriLqC-q39+JhEJ9KCOsPhRqkjZwE1h-64Gg@mail.gmail.com> (raw)
In-Reply-To: <CAELgYhcCBAUr6oQxTnmjBjQfkc8JeTbkXHea64PN+7cWQSqQ=Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 578 bytes --]

I've attached two btmon sessions: one captured from the text mode and
another with -w param.

Both on 5.1.2 kernel.

Em sáb, 18 de mai de 2019 às 05:53, Carlos Pita
<carlosjosepita@gmail.com> escreveu:
>
> Hi Luiz,
>
> I've attached the output for a single auto-reconnect/disconnect sequence.
>
> Notice this was using the 4.19.44 kernel, which is the LTS one in Arch
> Linux. As I've pointed out above, the problem seems like a regression,
> since it's happening both in older and latest kernels, but not
> in-between them.
>
> Best regards
> --
> Carlos

[-- Attachment #2: pqp.txt --]
[-- Type: text/plain, Size: 32431 bytes --]

Bluetooth monitor ver 5.48
= Note: Linux version 5.1.2-050102-generic (x86_64)                    0.946103
= Note: Bluetooth subsystem version 2.22                               0.946107
= New Index: C8:21:58:8E:EA:FD (Primary,USB,hci0)               [hci0] 0.946107
= Open Index: C8:21:58:8E:EA:FD                                 [hci0] 0.946108
= Index Info: C8:21:58:8E:EA:FD (Intel Corp.)                   [hci0] 0.946108
@ MGMT Open: bluetoothd (privileged) version 1.14             {0x0002} 0.946110
@ MGMT Open: bluetoothd (privileged) version 1.14             {0x0001} 0.946110
@ MGMT Open: btmon (privileged) version 1.14                  {0x0003} 0.946128
> HCI Event: Vendor (0xff) plen 2                            #1 [hci0] 5.401640
      Intel Scan Status (0x11)
        Inquiry scan: Enabled
        Page scan: Enabled
> HCI Event: Vendor (0xff) plen 2                            #2 [hci0] 5.402637
      Intel Scan Status (0x11)
        Inquiry scan: Enabled
        Page scan: Disabled
> HCI Event: Connect Request (0x04) plen 10                  #3 [hci0] 5.467599
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Class: 0x002580
          Major class: Peripheral (mouse, joystick, keyboards)
          Minor class: 0x20
          Limited Discoverable Mode
        Link type: ACL (0x01)
< HCI Command: Accept Connection Req.. (0x01|0x0009) plen 7  #4 [hci0] 5.467668
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Role: Master (0x00)
> HCI Event: Command Status (0x0f) plen 4                    #5 [hci0] 5.468631
      Accept Connection Request (0x01|0x0009) ncmd 1
        Status: Success (0x00)
> HCI Event: Connect Complete (0x03) plen 11                 #6 [hci0] 5.703492
        Status: Success (0x00)
        Handle: 512
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Link type: ACL (0x01)
        Encryption: Disabled (0x00)
< HCI Command: Read Remote Supported.. (0x01|0x001b) plen 2  #7 [hci0] 5.703737
        Handle: 512
> HCI Event: Command Status (0x0f) plen 4                    #8 [hci0] 5.704439
      Read Remote Supported Features (0x01|0x001b) ncmd 1
        Status: Success (0x00)
> HCI Event: Link Supervision Timeout Changed (0x38) plen 4  #9 [hci0] 5.707467
        Handle: 512
        Timeout: 2000.000 msec (0x0c80)
> HCI Event: Read Remote Supported Features (0x0b) plen 11  #10 [hci0] 5.714448
        Status: Success (0x00)
        Handle: 512
        Features: 0xfc 0x02 0x04 0x38 0x18 0x18 0x19 0x83
          Encryption
          Slot offset
          Timing accuracy
          Role switch
          Hold mode
          Sniff mode
          Power control requests
          Power control
          Enhanced inquiry scan
          Interlaced inquiry scan
          Interlaced page scan
          AFH capable slave
          AFH classification slave
          AFH capable master
          AFH classification master
          Extended Inquiry Response
          Secure Simple Pairing
          Encapsulated PDU
          Link Supervision Timeout Changed Event
          Inquiry TX Power Level
          Extended features
< HCI Command: Read Remote Extended.. (0x01|0x001c) plen 3  #11 [hci0] 5.714535
        Handle: 512
        Page: 1
> HCI Event: Command Status (0x0f) plen 4                   #12 [hci0] 5.715445
      Read Remote Extended Features (0x01|0x001c) ncmd 1
        Status: Success (0x00)
> HCI Event: Read Remote Extended Features (0x23) plen 13   #13 [hci0] 5.728475
        Status: Success (0x00)
        Handle: 512
        Page: 1/0
        Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
< HCI Command: Remote Name Request (0x01|0x0019) plen 10    #14 [hci0] 5.728565
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Page scan repetition mode: R2 (0x02)
        Page scan mode: Mandatory (0x00)
        Clock offset: 0x0000
< ACL Data TX: Handle 512 flags 0x00 dlen 10                #15 [hci0] 5.728582
      L2CAP: Information Request (0x0a) ident 1 len 2
        Type: Extended features supported (0x0002)
> HCI Event: Command Status (0x0f) plen 4                   #16 [hci0] 5.729447
      Remote Name Request (0x01|0x0019) ncmd 1
        Status: Success (0x00)
> HCI Event: Number of Completed Packets (0x13) plen 5      #17 [hci0] 5.740495
        Num handles: 1
        Handle: 512
        Count: 1
> ACL Data RX: Handle 512 flags 0x02 dlen 16                #18 [hci0] 5.746576
      L2CAP: Information Response (0x0b) ident 1 len 8
        Type: Extended features supported (0x0002)
        Result: Success (0x0000)
        Features: 0x00000000
> HCI Event: Remote Name Req Complete (0x07) plen 255       #19 [hci0] 5.781389
        Status: Success (0x00)
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Name: Bluetooth Mouse
@ MGMT Event: Device Connected (0x000b) plen 35        {0x0003} [hci0] 5.781439
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Flags: 0x00000000
        Data length: 22
        Name (complete): Bluetooth Mouse
        Class: 0x002580
          Major class: Peripheral (mouse, joystick, keyboards)
          Minor class: 0x20
          Limited Discoverable Mode
@ MGMT Event: Device Connected (0x000b) plen 35        {0x0002} [hci0] 5.781439
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Flags: 0x00000000
        Data length: 22
        Name (complete): Bluetooth Mouse
        Class: 0x002580
          Major class: Peripheral (mouse, joystick, keyboards)
          Minor class: 0x20
          Limited Discoverable Mode
@ MGMT Event: Device Connected (0x000b) plen 35        {0x0001} [hci0] 5.781439
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Flags: 0x00000000
        Data length: 22
        Name (complete): Bluetooth Mouse
        Class: 0x002580
          Major class: Peripheral (mouse, joystick, keyboards)
          Minor class: 0x20
          Limited Discoverable Mode
> HCI Event: Role Change (0x12) plen 8                      #20 [hci0] 6.058251
        Status: Success (0x00)
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Role: Master (0x00)
> ACL Data RX: Handle 512 flags 0x02 dlen 12                #21 [hci0] 6.088229
      L2CAP: Connection Request (0x02) ident 1 len 4
        PSM: 17 (0x0011)
        Source CID: 65
< ACL Data TX: Handle 512 flags 0x00 dlen 16                #22 [hci0] 6.088298
      L2CAP: Connection Response (0x03) ident 1 len 8
        Destination CID: 0
        Source CID: 65
        Result: Connection refused - security block (0x0003)
        Status: No further information available (0x0000)
> HCI Event: Number of Completed Packets (0x13) plen 5      #23 [hci0] 6.092240
        Num handles: 1
        Handle: 512
        Count: 1
> HCI Event: Disconnect Complete (0x05) plen 4              #24 [hci0] 6.295090
        Status: Success (0x00)
        Handle: 512
        Reason: Remote User Terminated Connection (0x13)
@ MGMT Event: Device Disconnected (0x000c) plen 8      {0x0003} [hci0] 6.295162
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Reason: Connection terminated by remote host (0x03)
@ MGMT Event: Device Disconnected (0x000c) plen 8      {0x0002} [hci0] 6.295162
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Reason: Connection terminated by remote host (0x03)
@ MGMT Event: Device Disconnected (0x000c) plen 8      {0x0001} [hci0] 6.295162
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Reason: Connection terminated by remote host (0x03)
> HCI Event: Vendor (0xff) plen 2                           #25 [hci0] 6.309063
      Intel Scan Status (0x11)
        Inquiry scan: Enabled
        Page scan: Enabled
> HCI Event: Vendor (0xff) plen 2                           #26 [hci0] 6.310059
      Intel Scan Status (0x11)
        Inquiry scan: Enabled
        Page scan: Disabled
> HCI Event: Connect Request (0x04) plen 10                 #27 [hci0] 6.402019
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Class: 0x002580
          Major class: Peripheral (mouse, joystick, keyboards)
          Minor class: 0x20
          Limited Discoverable Mode
        Link type: ACL (0x01)
< HCI Command: Accept Connection Re.. (0x01|0x0009) plen 7  #28 [hci0] 6.402116
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Role: Master (0x00)
> HCI Event: Command Status (0x0f) plen 4                   #29 [hci0] 6.403001
      Accept Connection Request (0x01|0x0009) ncmd 1
        Status: Success (0x00)
> HCI Event: Role Change (0x12) plen 8                      #30 [hci0] 6.548918
        Status: Success (0x00)
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Role: Master (0x00)
> HCI Event: Connect Complete (0x03) plen 11                #31 [hci0] 6.721817
        Status: Success (0x00)
        Handle: 512
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Link type: ACL (0x01)
        Encryption: Disabled (0x00)
< HCI Command: Read Remote Supporte.. (0x01|0x001b) plen 2  #32 [hci0] 6.722057
        Handle: 512
> HCI Event: Command Status (0x0f) plen 4                   #33 [hci0] 6.722805
      Read Remote Supported Features (0x01|0x001b) ncmd 1
        Status: Success (0x00)
> HCI Event: Read Remote Supported Features (0x0b) plen 11  #34 [hci0] 6.761840
        Status: Success (0x00)
        Handle: 512
        Features: 0xfc 0x02 0x04 0x38 0x18 0x18 0x19 0x83
          Encryption
          Slot offset
          Timing accuracy
          Role switch
          Hold mode
          Sniff mode
          Power control requests
          Power control
          Enhanced inquiry scan
          Interlaced inquiry scan
          Interlaced page scan
          AFH capable slave
          AFH classification slave
          AFH capable master
          AFH classification master
          Extended Inquiry Response
          Secure Simple Pairing
          Encapsulated PDU
          Link Supervision Timeout Changed Event
          Inquiry TX Power Level
          Extended features
< HCI Command: Read Remote Extended.. (0x01|0x001c) plen 3  #35 [hci0] 6.761937
        Handle: 512
        Page: 1
> ACL Data RX: Handle 512 flags 0x02 dlen 12                #36 [hci0] 6.762809
      L2CAP: Connection Request (0x02) ident 1 len 4
        PSM: 17 (0x0011)
        Source CID: 65
> HCI Event: Command Status (0x0f) plen 4                   #37 [hci0] 6.763774
      Read Remote Extended Features (0x01|0x001c) ncmd 1
        Status: Success (0x00)
> HCI Event: Read Remote Extended Features (0x23) plen 13   #38 [hci0] 6.773780
        Status: Success (0x00)
        Handle: 512
        Page: 1/0
        Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
< HCI Command: Remote Name Request (0x01|0x0019) plen 10    #39 [hci0] 6.773883
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Page scan repetition mode: R2 (0x02)
        Page scan mode: Mandatory (0x00)
        Clock offset: 0x0000
< ACL Data TX: Handle 512 flags 0x00 dlen 10                #40 [hci0] 6.773899
      L2CAP: Information Request (0x0a) ident 1 len 2
        Type: Extended features supported (0x0002)
@ MGMT Event: Device Connected (0x000b) plen 18        {0x0003} [hci0] 6.773912
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Flags: 0x00000000
        Data length: 5
        Class: 0x002580
          Major class: Peripheral (mouse, joystick, keyboards)
          Minor class: 0x20
          Limited Discoverable Mode
@ MGMT Event: Device Connected (0x000b) plen 18        {0x0002} [hci0] 6.773912
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Flags: 0x00000000
        Data length: 5
        Class: 0x002580
          Major class: Peripheral (mouse, joystick, keyboards)
          Minor class: 0x20
          Limited Discoverable Mode
@ MGMT Event: Device Connected (0x000b) plen 18        {0x0001} [hci0] 6.773912
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Flags: 0x00000000
        Data length: 5
        Class: 0x002580
          Major class: Peripheral (mouse, joystick, keyboards)
          Minor class: 0x20
          Limited Discoverable Mode
< ACL Data TX: Handle 512 flags 0x00 dlen 16                #41 [hci0] 6.773947
      L2CAP: Connection Response (0x03) ident 1 len 8
        Destination CID: 0
        Source CID: 65
        Result: Connection refused - security block (0x0003)
        Status: No further information available (0x0000)
> HCI Event: Command Status (0x0f) plen 4                   #42 [hci0] 6.774774
      Remote Name Request (0x01|0x0019) ncmd 1
        Status: Success (0x00)
> HCI Event: Number of Completed Packets (0x13) plen 5      #43 [hci0] 6.778791
        Num handles: 1
        Handle: 512
        Count: 1
> HCI Event: Number of Completed Packets (0x13) plen 5      #44 [hci0] 6.780810
        Num handles: 1
        Handle: 512
        Count: 1
> ACL Data RX: Handle 512 flags 0x02 dlen 16                #45 [hci0] 6.784043
      L2CAP: Information Response (0x0b) ident 1 len 8
        Type: Extended features supported (0x0002)
        Result: Success (0x0000)
        Features: 0x00000000
> HCI Event: Remote Name Req Complete (0x07) plen 255       #46 [hci0] 6.817780
        Status: Success (0x00)
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Name: Bluetooth Mouse
> HCI Event: Disconnect Complete (0x05) plen 4              #47 [hci0] 6.959663
        Status: Success (0x00)
        Handle: 512
        Reason: Remote User Terminated Connection (0x13)
@ MGMT Event: Device Disconnected (0x000c) plen 8      {0x0003} [hci0] 6.959714
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Reason: Connection terminated by remote host (0x03)
@ MGMT Event: Device Disconnected (0x000c) plen 8      {0x0002} [hci0] 6.959714
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Reason: Connection terminated by remote host (0x03)
@ MGMT Event: Device Disconnected (0x000c) plen 8      {0x0001} [hci0] 6.959714
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Reason: Connection terminated by remote host (0x03)
> HCI Event: Vendor (0xff) plen 2                           #48 [hci0] 8.827547
      Intel Scan Status (0x11)
        Inquiry scan: Enabled
        Page scan: Enabled
> HCI Event: Vendor (0xff) plen 2                           #49 [hci0] 8.828553
      Intel Scan Status (0x11)
        Inquiry scan: Enabled
        Page scan: Disabled
> HCI Event: Connect Request (0x04) plen 10                 #50 [hci0] 8.872543
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Class: 0x002580
          Major class: Peripheral (mouse, joystick, keyboards)
          Minor class: 0x20
          Limited Discoverable Mode
        Link type: ACL (0x01)
< HCI Command: Accept Connection Re.. (0x01|0x0009) plen 7  #51 [hci0] 8.872651
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Role: Master (0x00)
> HCI Event: Command Status (0x0f) plen 4                   #52 [hci0] 8.873528
      Accept Connection Request (0x01|0x0009) ncmd 1
        Status: Success (0x00)
> HCI Event: Role Change (0x12) plen 8                      #53 [hci0] 9.017440
        Status: Success (0x00)
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Role: Master (0x00)
> HCI Event: Connect Complete (0x03) plen 11                #54 [hci0] 9.187346
        Status: Success (0x00)
        Handle: 512
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Link type: ACL (0x01)
        Encryption: Disabled (0x00)
< HCI Command: Read Remote Supporte.. (0x01|0x001b) plen 2  #55 [hci0] 9.187549
        Handle: 512
> HCI Event: Command Status (0x0f) plen 4                   #56 [hci0] 9.188293
      Read Remote Supported Features (0x01|0x001b) ncmd 1
        Status: Success (0x00)
> HCI Event: Read Remote Supported Features (0x0b) plen 11  #57 [hci0] 9.233326
        Status: Success (0x00)
        Handle: 512
        Features: 0xfc 0x02 0x04 0x38 0x18 0x18 0x19 0x83
          Encryption
          Slot offset
          Timing accuracy
          Role switch
          Hold mode
          Sniff mode
          Power control requests
          Power control
          Enhanced inquiry scan
          Interlaced inquiry scan
          Interlaced page scan
          AFH capable slave
          AFH classification slave
          AFH capable master
          AFH classification master
          Extended Inquiry Response
          Secure Simple Pairing
          Encapsulated PDU
          Link Supervision Timeout Changed Event
          Inquiry TX Power Level
          Extended features
< HCI Command: Read Remote Extended.. (0x01|0x001c) plen 3  #58 [hci0] 9.233423
        Handle: 512
        Page: 1
> HCI Event: Command Status (0x0f) plen 4                   #59 [hci0] 9.234319
      Read Remote Extended Features (0x01|0x001c) ncmd 1
        Status: Success (0x00)
> ACL Data RX: Handle 512 flags 0x02 dlen 12                #60 [hci0] 9.235051
      L2CAP: Connection Request (0x02) ident 1 len 4
        PSM: 17 (0x0011)
        Source CID: 65
> HCI Event: Read Remote Extended Features (0x23) plen 13   #61 [hci0] 9.242314
        Status: Success (0x00)
        Handle: 512
        Page: 1/0
        Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
< HCI Command: Remote Name Request (0x01|0x0019) plen 10    #62 [hci0] 9.242419
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Page scan repetition mode: R2 (0x02)
        Page scan mode: Mandatory (0x00)
        Clock offset: 0x0000
< ACL Data TX: Handle 512 flags 0x00 dlen 10                #63 [hci0] 9.242435
      L2CAP: Information Request (0x0a) ident 1 len 2
        Type: Extended features supported (0x0002)
@ MGMT Event: Device Connected (0x000b) plen 18        {0x0003} [hci0] 9.242445
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Flags: 0x00000000
        Data length: 5
        Class: 0x002580
          Major class: Peripheral (mouse, joystick, keyboards)
          Minor class: 0x20
          Limited Discoverable Mode
@ MGMT Event: Device Connected (0x000b) plen 18        {0x0002} [hci0] 9.242445
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Flags: 0x00000000
        Data length: 5
        Class: 0x002580
          Major class: Peripheral (mouse, joystick, keyboards)
          Minor class: 0x20
          Limited Discoverable Mode
@ MGMT Event: Device Connected (0x000b) plen 18        {0x0001} [hci0] 9.242445
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Flags: 0x00000000
        Data length: 5
        Class: 0x002580
          Major class: Peripheral (mouse, joystick, keyboards)
          Minor class: 0x20
          Limited Discoverable Mode
< ACL Data TX: Handle 512 flags 0x00 dlen 16                #64 [hci0] 9.242475
      L2CAP: Connection Response (0x03) ident 1 len 8
        Destination CID: 0
        Source CID: 65
        Result: Connection refused - security block (0x0003)
        Status: No further information available (0x0000)
> HCI Event: Command Status (0x0f) plen 4                   #65 [hci0] 9.243270
      Remote Name Request (0x01|0x0019) ncmd 1
        Status: Success (0x00)
> HCI Event: Number of Completed Packets (0x13) plen 5      #66 [hci0] 9.247321
        Num handles: 1
        Handle: 512
        Count: 1
> HCI Event: Number of Completed Packets (0x13) plen 5      #67 [hci0] 9.249305
        Num handles: 1
        Handle: 512
        Count: 1
> ACL Data RX: Handle 512 flags 0x02 dlen 16                #68 [hci0] 9.253774
      L2CAP: Information Response (0x0b) ident 1 len 8
        Type: Extended features supported (0x0002)
        Result: Success (0x0000)
        Features: 0x00000000
> HCI Event: Remote Name Req Complete (0x07) plen 255       #69 [hci0] 9.286245
        Status: Success (0x00)
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Name: Bluetooth Mouse
> HCI Event: Disconnect Complete (0x05) plen 4              #70 [hci0] 9.430207
        Status: Success (0x00)
        Handle: 512
        Reason: Remote User Terminated Connection (0x13)
@ MGMT Event: Device Disconnected (0x000c) plen 8      {0x0003} [hci0] 9.430248
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Reason: Connection terminated by remote host (0x03)
@ MGMT Event: Device Disconnected (0x000c) plen 8      {0x0002} [hci0] 9.430248
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Reason: Connection terminated by remote host (0x03)
@ MGMT Event: Device Disconnected (0x000c) plen 8      {0x0001} [hci0] 9.430248
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Reason: Connection terminated by remote host (0x03)
> HCI Event: Vendor (0xff) plen 2                           #71 [hci0] 9.544090
      Intel Scan Status (0x11)
        Inquiry scan: Enabled
        Page scan: Enabled
> HCI Event: Vendor (0xff) plen 2                           #72 [hci0] 9.545115
      Intel Scan Status (0x11)
        Inquiry scan: Enabled
        Page scan: Disabled
> HCI Event: Connect Request (0x04) plen 10                 #73 [hci0] 9.590107
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Class: 0x002580
          Major class: Peripheral (mouse, joystick, keyboards)
          Minor class: 0x20
          Limited Discoverable Mode
        Link type: ACL (0x01)
< HCI Command: Accept Connection Re.. (0x01|0x0009) plen 7  #74 [hci0] 9.590204
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Role: Master (0x00)
> HCI Event: Command Status (0x0f) plen 4                   #75 [hci0] 9.591103
      Accept Connection Request (0x01|0x0009) ncmd 1
        Status: Success (0x00)
> HCI Event: Role Change (0x12) plen 8                      #76 [hci0] 9.734978
        Status: Success (0x00)
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Role: Master (0x00)
> HCI Event: Connect Complete (0x03) plen 11                #77 [hci0] 9.904878
        Status: Success (0x00)
        Handle: 512
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Link type: ACL (0x01)
        Encryption: Disabled (0x00)
< HCI Command: Read Remote Supporte.. (0x01|0x001b) plen 2  #78 [hci0] 9.905076
        Handle: 512
> HCI Event: Command Status (0x0f) plen 4                   #79 [hci0] 9.905866
      Read Remote Supported Features (0x01|0x001b) ncmd 1
        Status: Success (0x00)
> HCI Event: Read Remote Supported Features (0x0b) plen 11  #80 [hci0] 9.934920
        Status: Success (0x00)
        Handle: 512
        Features: 0xfc 0x02 0x04 0x38 0x18 0x18 0x19 0x83
          Encryption
          Slot offset
          Timing accuracy
          Role switch
          Hold mode
          Sniff mode
          Power control requests
          Power control
          Enhanced inquiry scan
          Interlaced inquiry scan
          Interlaced page scan
          AFH capable slave
          AFH classification slave
          AFH capable master
          AFH classification master
          Extended Inquiry Response
          Secure Simple Pairing
          Encapsulated PDU
          Link Supervision Timeout Changed Event
          Inquiry TX Power Level
          Extended features
< HCI Command: Read Remote Extended.. (0x01|0x001c) plen 3  #81 [hci0] 9.935007
        Handle: 512
        Page: 1
> HCI Event: Command Status (0x0f) plen 4                   #82 [hci0] 9.935881
      Read Remote Extended Features (0x01|0x001c) ncmd 1
        Status: Success (0x00)
> ACL Data RX: Handle 512 flags 0x02 dlen 12                #83 [hci0] 9.949622
      L2CAP: Connection Request (0x02) ident 1 len 4
        PSM: 17 (0x0011)
        Source CID: 65
> HCI Event: Read Remote Extended Features (0x23) plen 13   #84 [hci0] 9.952867
        Status: Success (0x00)
        Handle: 512
        Page: 1/0
        Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
< HCI Command: Remote Name Request (0x01|0x0019) plen 10    #85 [hci0] 9.952932
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Page scan repetition mode: R2 (0x02)
        Page scan mode: Mandatory (0x00)
        Clock offset: 0x0000
< ACL Data TX: Handle 512 flags 0x00 dlen 10                #86 [hci0] 9.952951
      L2CAP: Information Request (0x0a) ident 1 len 2
        Type: Extended features supported (0x0002)
@ MGMT Event: Device Connected (0x000b) plen 18        {0x0003} [hci0] 9.952960
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Flags: 0x00000000
        Data length: 5
        Class: 0x002580
          Major class: Peripheral (mouse, joystick, keyboards)
          Minor class: 0x20
          Limited Discoverable Mode
@ MGMT Event: Device Connected (0x000b) plen 18        {0x0002} [hci0] 9.952960
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Flags: 0x00000000
        Data length: 5
        Class: 0x002580
          Major class: Peripheral (mouse, joystick, keyboards)
          Minor class: 0x20
          Limited Discoverable Mode
@ MGMT Event: Device Connected (0x000b) plen 18        {0x0001} [hci0] 9.952960
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Flags: 0x00000000
        Data length: 5
        Class: 0x002580
          Major class: Peripheral (mouse, joystick, keyboards)
          Minor class: 0x20
          Limited Discoverable Mode
< ACL Data TX: Handle 512 flags 0x00 dlen 16                #87 [hci0] 9.952984
      L2CAP: Connection Response (0x03) ident 1 len 8
        Destination CID: 0
        Source CID: 65
        Result: Connection refused - security block (0x0003)
        Status: No further information available (0x0000)
> HCI Event: Command Status (0x0f) plen 4                   #88 [hci0] 9.953842
      Remote Name Request (0x01|0x0019) ncmd 1
        Status: Success (0x00)
> HCI Event: Number of Completed Packets (0x13) plen 5      #89 [hci0] 9.955842
        Num handles: 1
        Handle: 512
        Count: 1
> HCI Event: Number of Completed Packets (0x13) plen 5      #90 [hci0] 9.958882
        Num handles: 1
        Handle: 512
        Count: 1
> ACL Data RX: Handle 512 flags 0x02 dlen 16                #91 [hci0] 9.965917
      L2CAP: Information Response (0x0b) ident 1 len 8
        Type: Extended features supported (0x0002)
        Result: Success (0x0000)
        Features: 0x00000000
> HCI Event: Remote Name Req Complete (0x07) plen 255       #92 [hci0] 9.997858
        Status: Success (0x00)
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Name: Bluetooth Mouse
> HCI Event: Disconnect Complete (0x05) plen 4             #93 [hci0] 10.142773
        Status: Success (0x00)
        Handle: 512
        Reason: Remote User Terminated Connection (0x13)
@ MGMT Event: Device Disconnected (0x000c) plen 8     {0x0003} [hci0] 10.142829
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Reason: Connection terminated by remote host (0x03)
@ MGMT Event: Device Disconnected (0x000c) plen 8     {0x0002} [hci0] 10.142829
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Reason: Connection terminated by remote host (0x03)
@ MGMT Event: Device Disconnected (0x000c) plen 8     {0x0001} [hci0] 10.142829
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Reason: Connection terminated by remote host (0x03)
> HCI Event: Vendor (0xff) plen 2                          #94 [hci0] 10.836313
      Intel Scan Status (0x11)
        Inquiry scan: Enabled
        Page scan: Enabled
> HCI Event: Vendor (0xff) plen 2                          #95 [hci0] 10.837314
      Intel Scan Status (0x11)
        Inquiry scan: Enabled
        Page scan: Disabled
> HCI Event: Connect Request (0x04) plen 10                #96 [hci0] 10.891294
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Class: 0x002580
          Major class: Peripheral (mouse, joystick, keyboards)
          Minor class: 0x20
          Limited Discoverable Mode
        Link type: ACL (0x01)
< HCI Command: Accept Connection R.. (0x01|0x0009) plen 7  #97 [hci0] 10.891402
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Role: Master (0x00)
> HCI Event: Command Status (0x0f) plen 4                  #98 [hci0] 10.892280
      Accept Connection Request (0x01|0x0009) ncmd 1
        Status: Success (0x00)
> HCI Event: Role Change (0x12) plen 8                     #99 [hci0] 11.039224
        Status: Success (0x00)
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Role: Master (0x00)
> HCI Event: Connect Complete (0x03) plen 11              #100 [hci0] 11.207132
        Status: Success (0x00)
        Handle: 512
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Link type: ACL (0x01)
        Encryption: Disabled (0x00)
< HCI Command: Read Remote Suppor.. (0x01|0x001b) plen 2  #101 [hci0] 11.207333
        Handle: 512
> HCI Event: Command Status (0x0f) plen 4                 #102 [hci0] 11.208090
      Read Remote Supported Features (0x01|0x001b) ncmd 1
        Status: Success (0x00)
> HCI Event: Read Remote Supported Feat.. (0x0b) plen 11  #103 [hci0] 11.247138
        Status: Success (0x00)
        Handle: 512
        Features: 0xfc 0x02 0x04 0x38 0x18 0x18 0x19 0x83
          Encryption
          Slot offset
          Timing accuracy
          Role switch
          Hold mode
          Sniff mode
          Power control requests
          Power control
          Enhanced inquiry scan
          Interlaced inquiry scan
          Interlaced page scan
          AFH capable slave
          AFH classification slave
          AFH capable master
          AFH classification master
          Extended Inquiry Response
          Secure Simple Pairing
          Encapsulated PDU
          Link Supervision Timeout Changed Event
          Inquiry TX Power Level
          Extended features
< HCI Command: Read Remote Extend.. (0x01|0x001c) plen 3  #104 [hci0] 11.247209
        Handle: 512
        Page: 1
> HCI Event: Command Status (0x0f) plen 4                 #105 [hci0] 11.248125
      Read Remote Extended Features (0x01|0x001c) ncmd 1
        Status: Success (0x00)
> HCI Event: Read Remote Extended Featu.. (0x23) plen 13  #106 [hci0] 11.259113
        Status: Success (0x00)
        Handle: 512
        Page: 1/0
        Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
< HCI Command: Remote Name Request (0x01|0x0019) plen 10  #107 [hci0] 11.259197
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Page scan repetition mode: R2 (0x02)
        Page scan mode: Mandatory (0x00)
        Clock offset: 0x0000
< ACL Data TX: Handle 512 flags 0x00 dlen 10              #108 [hci0] 11.259211
      L2CAP: Information Request (0x0a) ident 1 len 2
        Type: Extended features supported (0x0002)
> HCI Event: Command Status (0x0f) plen 4                 #109 [hci0] 11.260107
      Remote Name Request (0x01|0x0019) ncmd 1
        Status: Success (0x00)
> HCI Event: Number of Completed Packets (0x13) plen 5    #110 [hci0] 11.265102
        Num handles: 1
        Handle: 512
        Count: 1
> ACL Data RX: Handle 512 flags 0x02 dlen 16              #111 [hci0] 11.270090
      L2CAP: Information Response (0x0b) ident 1 len 8
        Type: Extended features supported (0x0002)
        Result: Success (0x0000)
        Features: 0x00000000
> HCI Event: Remote Name Req Complete (0x07) plen 255     #112 [hci0] 11.303068
        Status: Success (0x00)
        Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Name: Bluetooth Mouse
@ MGMT Event: Device Connected (0x000b) plen 35       {0x0003} [hci0] 11.303133
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Flags: 0x00000000
        Data length: 22
        Name (complete): Bluetooth Mouse
        Class: 0x002580
          Major class: Peripheral (mouse, joystick, keyboards)
          Minor class: 0x20
          Limited Discoverable Mode
@ MGMT Event: Device Connected (0x000b) plen 35       {0x0002} [hci0] 11.303133
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Flags: 0x00000000
        Data length: 22
        Name (complete): Bluetooth Mouse
        Class: 0x002580
          Major class: Peripheral (mouse, joystick, keyboards)
          Minor class: 0x20
          Limited Discoverable Mode
@ MGMT Event: Device Connected (0x000b) plen 35       {0x0001} [hci0] 11.303133
        BR/EDR Address: 20:14:12:09:18:BD (OUI 20-14-12)
        Flags: 0x00000000
        Data length: 22
        Name (complete): Bluetooth Mouse
        Class: 0x002580
          Major class: Peripheral (mouse, joystick, keyboards)
          Minor class: 0x20
          Limited Discoverable Mode

[-- Attachment #3: pqp.trace --]
[-- Type: application/octet-stream, Size: 5536 bytes --]

  reply	other threads:[~2019-05-18 14:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-17  5:59 After kernel update: connect/disconnect forever while attempting to auto-reconnect Carlos Pita
2019-05-17 21:39 ` Alexandre Pereira Nunes
2019-05-18  5:33   ` Luiz Augusto von Dentz
2019-05-18  8:53     ` Carlos Pita
2019-05-18 14:08       ` Alexandre Pereira Nunes [this message]
2019-05-18 16:30         ` Luiz Augusto von Dentz
2019-05-18 18:08           ` Johan Hedberg
2019-05-19  8:39             ` Luiz Augusto von Dentz
2019-05-18 17:05         ` Johan Hedberg
2019-05-18 17:09           ` Johan Hedberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANxMttCqEYDZOwTriLqC-q39+JhEJ9KCOsPhRqkjZwE1h-64Gg@mail.gmail.com \
    --to=alexandre.nunes@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).