linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Carlos Pita <carlosjosepita@gmail.com>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: Alexandre Pereira Nunes <alexandre.nunes@gmail.com>,
	"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 05:53:02 -0300	[thread overview]
Message-ID: <CAELgYhcCBAUr6oQxTnmjBjQfkc8JeTbkXHea64PN+7cWQSqQ=Q@mail.gmail.com> (raw)
In-Reply-To: <CABBYNZLGgUL6W=-v+stoaukpN5kvt1AHFBQ_vEdh=sqU9JO0LQ@mail.gmail.com>

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

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: btmon.out --]
[-- Type: application/octet-stream, Size: 40235 bytes --]

~:: sudo btmon
Bluetooth monitor ver 5.50
= Note: Linux version 4.19.44-1-lts (x86_64)                                               0.232764
= Note: Bluetooth subsystem version 2.22                                                   0.232804
= New Index: 88:53:2E:39:25:B4 (Primary,USB,hci0)                                   [hci0] 0.232805
= Open Index: 88:53:2E:39:25:B4                                                     [hci0] 0.232805
= Index Info: 88:53:2E:39:25:B4 (Intel Corp.)                                       [hci0] 0.232806
@ MGMT Open: bluetoothd (privileged) version 1.14                                 {0x0001} 0.232807
@ MGMT Open: btmon (privileged) version 1.14                                      {0x0002} 0.232919
> HCI Event: Connect Request (0x04) plen 10                                     #1 [hci0] 21.095276
        Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
        Class: 0x240404
          Major class: Audio/Video (headset, speaker, stereo, video, vcr)
          Minor class: Wearable Headset Device
          Rendering (Printing, Speaker)
          Audio (Speaker, Microphone, Headset)
        Link type: ACL (0x01)
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7                   #2 [hci0] 21.095370
        Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
        Role: Master (0x00)
> HCI Event: Command Status (0x0f) plen 4                                       #3 [hci0] 21.097259
      Accept Connection Request (0x01|0x0009) ncmd 1
        Status: Success (0x00)
> HCI Event: Role Change (0x12) plen 8                                          #4 [hci0] 21.260315
        Status: Success (0x00)
        Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
        Role: Master (0x00)
> HCI Event: Connect Complete (0x03) plen 11                                    #5 [hci0] 21.282315
        Status: Success (0x00)
        Handle: 36
        Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
        Link type: ACL (0x01)
        Encryption: Disabled (0x00)
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2              #6 [hci0] 21.282553
        Handle: 36
> HCI Event: Page Scan Repetition Mode Change (0x20) plen 7                     #7 [hci0] 21.283231
        Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
        Page scan repetition mode: R1 (0x01)
> HCI Event: Command Status (0x0f) plen 4                                       #8 [hci0] 21.287208
      Read Remote Supported Features (0x01|0x001b) ncmd 0
        Status: Success (0x00)
> HCI Event: Max Slots Change (0x1b) plen 3                                     #9 [hci0] 21.289223
        Handle: 36
        Max slots: 5
> ACL Data RX: Handle 36 flags 0x02 dlen 12                                    #10 [hci0] 21.290971
      L2CAP: Connection Request (0x02) ident 1 len 4
        PSM: 1 (0x0001)
        Source CID: 193
> HCI Event: Command Status (0x0f) plen 4                                      #11 [hci0] 21.304246
      NOP (0x00|0x0000) ncmd 1
        Status: Success (0x00)
> HCI Event: Read Remote Supported Features (0x0b) plen 11                     #12 [hci0] 21.312326
        Status: Success (0x00)
        Handle: 36
        Features: 0xff 0xff 0x8f 0xfe 0xdb 0xff 0x5b 0x87
          3 slot packets
          5 slot packets
          Encryption
          Slot offset
          Timing accuracy
          Role switch
          Hold mode
          Sniff mode
          Park state
          Power control requests
          Channel quality driven data rate (CQDDR)
          SCO link
          HV2 packets
          HV3 packets
          u-law log synchronous data
          A-law log synchronous data
          CVSD synchronous data
          Paging parameter negotiation
          Power control
          Transparent synchronous data
          Broadcast Encryption
          Enhanced Data Rate ACL 2 Mbps mode
          Enhanced Data Rate ACL 3 Mbps mode
          Enhanced inquiry scan
          Interlaced inquiry scan
          Interlaced page scan
          RSSI with inquiry results
          Extended SCO link (EV3 packets)
          EV4 packets
          EV5 packets
          AFH capable slave
          AFH classification slave
          LE Supported (Controller)
          3-slot Enhanced Data Rate ACL packets
          5-slot Enhanced Data Rate ACL packets
          Sniff subrating
          Pause encryption
          AFH capable master
          AFH classification master
          Enhanced Data Rate eSCO 2 Mbps mode
          Enhanced Data Rate eSCO 3 Mbps mode
          3-slot Enhanced Data Rate eSCO packets
          Extended Inquiry Response
          Simultaneous LE and BR/EDR (Controller)
          Secure Simple Pairing
          Encapsulated PDU
          Non-flushable Packet Boundary Flag
          Link Supervision Timeout Changed Event
          Inquiry TX Power Level
          Enhanced Power Control
          Extended features
< HCI Command: Read Remote Extended Features (0x01|0x001c) plen 3              #13 [hci0] 21.312396
        Handle: 36
        Page: 1
> HCI Event: Command Status (0x0f) plen 4                                      #14 [hci0] 21.317234
      Read Remote Extended Features (0x01|0x001c) ncmd 1
        Status: Success (0x00)
> HCI Event: Read Remote Extended Features (0x23) plen 13                      #15 [hci0] 21.324085
        Status: Success (0x00)
        Handle: 36
        Page: 1/1
        Features: 0x03 0x00 0x00 0x00 0x00 0x00 0x00 0x00
          Secure Simple Pairing (Host Support)
          LE Supported (Host)
< HCI Command: Remote Name Request (0x01|0x0019) plen 10                       #16 [hci0] 21.324199
        Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
        Page scan repetition mode: R2 (0x02)
        Page scan mode: Mandatory (0x00)
        Clock offset: 0x0000
< ACL Data TX: Handle 36 flags 0x00 dlen 10                                    #17 [hci0] 21.324214
      L2CAP: Information Request (0x0a) ident 1 len 2
        Type: Extended features supported (0x0002)
@ MGMT Event: Device Connected (0x000b) plen 18                           {0x0002} [hci0] 21.324222
        BR/EDR Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
        Flags: 0x00000000
        Data length: 5
        Class: 0x240404
          Major class: Audio/Video (headset, speaker, stereo, video, vcr)
          Minor class: Wearable Headset Device
          Rendering (Printing, Speaker)
          Audio (Speaker, Microphone, Headset)
@ MGMT Event: Device Connected (0x000b) plen 18                           {0x0001} [hci0] 21.324222
        BR/EDR Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
        Flags: 0x00000000
        Data length: 5
        Class: 0x240404
          Major class: Audio/Video (headset, speaker, stereo, video, vcr)
          Minor class: Wearable Headset Device
          Rendering (Printing, Speaker)
          Audio (Speaker, Microphone, Headset)
< ACL Data TX: Handle 36 flags 0x00 dlen 16                                    #18 [hci0] 21.324251
      L2CAP: Connection Response (0x03) ident 1 len 8
        Destination CID: 64
        Source CID: 193
        Result: Connection pending (0x0001)
        Status: No further information available (0x0000)
< ACL Data TX: Handle 36 flags 0x00 dlen 10                                    #19 [hci0] 21.324256
      L2CAP: Information Request (0x0a) ident 2 len 2
        Type: Extended features supported (0x0002)
> HCI Event: Number of Completed Packets (0x13) plen 5                         #20 [hci0] 21.329222
        Num handles: 1
        Handle: 36
        Count: 1
> HCI Event: Number of Completed Packets (0x13) plen 5                         #21 [hci0] 21.330219
        Num handles: 1
        Handle: 36
        Count: 1
> ACL Data RX: Handle 36 flags 0x02 dlen 16                                    #22 [hci0] 21.330959
      L2CAP: Information Response (0x0b) ident 1 len 8
        Type: Extended features supported (0x0002)
        Result: Success (0x0000)
        Features: 0x000000b8
          Enhanced Retransmission Mode
          Streaming Mode
          FCS Option
          Fixed Channels
> HCI Event: Command Status (0x0f) plen 4                                      #23 [hci0] 21.331211
      Remote Name Request (0x01|0x0019) ncmd 1
        Status: Success (0x00)
> HCI Event: Number of Completed Packets (0x13) plen 5                         #24 [hci0] 21.332212
        Num handles: 1
        Handle: 36
        Count: 1
> ACL Data RX: Handle 36 flags 0x02 dlen 16                                    #25 [hci0] 21.332236
      L2CAP: Information Response (0x0b) ident 2 len 8
        Type: Extended features supported (0x0002)
        Result: Success (0x0000)
        Features: 0x000000b8
          Enhanced Retransmission Mode
          Streaming Mode
          FCS Option
          Fixed Channels
< ACL Data TX: Handle 36 flags 0x00 dlen 10                                    #26 [hci0] 21.332273
      L2CAP: Information Request (0x0a) ident 3 len 2
        Type: Fixed channels supported (0x0003)
> HCI Event: Number of Completed Packets (0x13) plen 5                         #27 [hci0] 21.336240
        Num handles: 1
        Handle: 36
        Count: 1
> ACL Data RX: Handle 36 flags 0x02 dlen 17                                    #28 [hci0] 21.337986
> ACL Data RX: Handle 36 flags 0x01 dlen 3                                     #29 [hci0] 21.339591
      L2CAP: Information Response (0x0b) ident 3 len 12
        Type: Fixed channels supported (0x0003)
        Result: Success (0x0000)
        Channels: 0x0000000000000076
          L2CAP Signaling (BR/EDR)
          Connectionless reception
          Attribute Protocol
          L2CAP Signaling (LE)
          Security Manager (LE)
< ACL Data TX: Handle 36 flags 0x00 dlen 16                                    #30 [hci0] 21.339641
      L2CAP: Connection Response (0x03) ident 1 len 8
        Destination CID: 64
        Source CID: 193
        Result: Connection successful (0x0000)
        Status: No further information available (0x0000)
< ACL Data TX: Handle 36 flags 0x00 dlen 23                                    #31 [hci0] 21.339646
      L2CAP: Configure Request (0x04) ident 4 len 15
        Destination CID: 193
        Flags: 0x0000
        Option: Retransmission and Flow Control (0x04) [mandatory]
          Mode: Basic (0x00)
          TX window size: 0
          Max transmit: 0
          Retransmission timeout: 0
          Monitor timeout: 0
          Maximum PDU size: 0
> HCI Event: Number of Completed Packets (0x13) plen 5                         #32 [hci0] 21.344214
        Num handles: 1
        Handle: 36
        Count: 1
> HCI Event: Number of Completed Packets (0x13) plen 5                         #33 [hci0] 21.345285
        Num handles: 1
        Handle: 36
        Count: 1
> ACL Data RX: Handle 36 flags 0x02 dlen 16                                    #34 [hci0] 21.350381
      L2CAP: Configure Request (0x04) ident 2 len 8
        Destination CID: 64
        Flags: 0x0000
        Option: Maximum Transmission Unit (0x01) [mandatory]
          MTU: 48
< ACL Data TX: Handle 36 flags 0x00 dlen 18                                    #35 [hci0] 21.350469
      L2CAP: Configure Response (0x05) ident 2 len 10
        Source CID: 193
        Flags: 0x0000
        Result: Success (0x0000)
        Option: Maximum Transmission Unit (0x01) [mandatory]
          MTU: 48
> ACL Data RX: Handle 36 flags 0x02 dlen 14                                    #36 [hci0] 21.352203
      L2CAP: Configure Response (0x05) ident 4 len 6
        Source CID: 64
        Flags: 0x0000
        Result: Success (0x0000)
> ACL Data RX: Handle 36 flags 0x02 dlen 24                                    #37 [hci0] 21.358088
      Channel: 64 len 20 [PSM 1 mode 0] {chan 0}
      SDP: Service Search Attribute Request (0x06) tid 1 len 15
        Search pattern: [len 7]
          Sequence (6) with 5 bytes [8 extra bits] len 7
            UUID (3) with 4 bytes [0 extra bits] len 5
              Handsfree Audio Gateway (0x0000111f)
        Max record count: 38
        Attribute list: [len 5]
          Sequence (6) with 3 bytes [8 extra bits] len 5
            Unsigned Integer (1) with 2 bytes [0 extra bits] len 3
              0x0004
        Continuation state: 0
< ACL Data TX: Handle 36 flags 0x00 dlen 14                                    #38 [hci0] 21.358286
      Channel: 193 len 10 [PSM 1 mode 0] {chan 0}
      SDP: Service Search Attribute Response (0x07) tid 1 len 5
        Attribute bytes: 2
        Continuation state: 0
> HCI Event: Remote Name Req Complete (0x07) plen 255                          #39 [hci0] 21.362206
        Status: Success (0x00)
        Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
        Name: MINIJAMBOX by Jawbone
> HCI Event: Number of Completed Packets (0x13) plen 5                         #40 [hci0] 21.363284
        Num handles: 1
        Handle: 36
        Count: 1
> HCI Event: Number of Completed Packets (0x13) plen 5                         #41 [hci0] 21.364276
        Num handles: 1
        Handle: 36
        Count: 1
> ACL Data RX: Handle 36 flags 0x02 dlen 12                                    #42 [hci0] 21.368268
      L2CAP: Disconnection Request (0x06) ident 3 len 4
        Destination CID: 64
        Source CID: 193
< ACL Data TX: Handle 36 flags 0x00 dlen 12                                    #43 [hci0] 21.368418
      L2CAP: Disconnection Response (0x07) ident 3 len 4
        Destination CID: 64
        Source CID: 193
> HCI Event: Number of Completed Packets (0x13) plen 5                         #44 [hci0] 21.374249
        Num handles: 1
        Handle: 36
        Count: 1
> ACL Data RX: Handle 36 flags 0x02 dlen 12                                    #45 [hci0] 21.382022
      L2CAP: Connection Request (0x02) ident 4 len 4
        PSM: 1 (0x0001)
        Source CID: 256
< ACL Data TX: Handle 36 flags 0x00 dlen 16                                    #46 [hci0] 21.382133
      L2CAP: Connection Response (0x03) ident 4 len 8
        Destination CID: 64
        Source CID: 256
        Result: Connection successful (0x0000)
        Status: No further information available (0x0000)
< ACL Data TX: Handle 36 flags 0x00 dlen 23                                    #47 [hci0] 21.382144
      L2CAP: Configure Request (0x04) ident 5 len 15
        Destination CID: 256
        Flags: 0x0000
        Option: Retransmission and Flow Control (0x04) [mandatory]
          Mode: Basic (0x00)
          TX window size: 0
          Max transmit: 0
          Retransmission timeout: 0
          Monitor timeout: 0
          Maximum PDU size: 0
> HCI Event: Number of Completed Packets (0x13) plen 5                         #48 [hci0] 21.387218
        Num handles: 1
        Handle: 36
        Count: 1
> HCI Event: Number of Completed Packets (0x13) plen 5                         #49 [hci0] 21.389220
        Num handles: 1
        Handle: 36
        Count: 1
> ACL Data RX: Handle 36 flags 0x02 dlen 16                                    #50 [hci0] 21.394509
      L2CAP: Configure Request (0x04) ident 5 len 8
        Destination CID: 64
        Flags: 0x0000
        Option: Maximum Transmission Unit (0x01) [mandatory]
          MTU: 48
< ACL Data TX: Handle 36 flags 0x00 dlen 18                                    #51 [hci0] 21.394642
      L2CAP: Configure Response (0x05) ident 5 len 10
        Source CID: 256
        Flags: 0x0000
        Result: Success (0x0000)
        Option: Maximum Transmission Unit (0x01) [mandatory]
          MTU: 48
> ACL Data RX: Handle 36 flags 0x02 dlen 14                                    #52 [hci0] 21.397263
      L2CAP: Configure Response (0x05) ident 5 len 6
        Source CID: 64
        Flags: 0x0000
        Result: Success (0x0000)
> HCI Event: Number of Completed Packets (0x13) plen 5                         #53 [hci0] 21.400259
        Num handles: 1
        Handle: 36
        Count: 1
> ACL Data RX: Handle 36 flags 0x02 dlen 24                                    #54 [hci0] 21.403151
      Channel: 64 len 20 [PSM 1 mode 0] {chan 0}
      SDP: Service Search Attribute Request (0x06) tid 1 len 15
        Search pattern: [len 7]
          Sequence (6) with 5 bytes [8 extra bits] len 7
            UUID (3) with 4 bytes [0 extra bits] len 5
              Headset AG (0x00001112)
        Max record count: 38
        Attribute list: [len 5]
          Sequence (6) with 3 bytes [8 extra bits] len 5
            Unsigned Integer (1) with 2 bytes [0 extra bits] len 3
              0x0004
        Continuation state: 0
< ACL Data TX: Handle 36 flags 0x00 dlen 33                                    #55 [hci0] 21.403446
      Channel: 256 len 29 [PSM 1 mode 0] {chan 0}
      SDP: Service Search Attribute Response (0x07) tid 1 len 24
        Attribute bytes: 21
          Attribute list: [len 17] {position 0}
            Attribute: Protocol Descriptor List (0x0004) [len 2]
              Sequence (6) with 3 bytes [8 extra bits] len 5
                UUID (3) with 2 bytes [0 extra bits] len 3
                  L2CAP (0x0100)
              Sequence (6) with 5 bytes [8 extra bits] len 7
                UUID (3) with 2 bytes [0 extra bits] len 3
                  RFCOMM (0x0003)
                Unsigned Integer (1) with 1 byte [0 extra bits] len 2
                  0x0c
        Continuation state: 0
> HCI Event: Number of Completed Packets (0x13) plen 5                         #56 [hci0] 21.409222
        Num handles: 1
        Handle: 36
        Count: 1
> ACL Data RX: Handle 36 flags 0x02 dlen 12                                    #57 [hci0] 21.414570
      L2CAP: Disconnection Request (0x06) ident 6 len 4
        Destination CID: 64
        Source CID: 256
< ACL Data TX: Handle 36 flags 0x00 dlen 12                                    #58 [hci0] 21.414732
      L2CAP: Disconnection Response (0x07) ident 6 len 4
        Destination CID: 64
        Source CID: 256
> HCI Event: Number of Completed Packets (0x13) plen 5                         #59 [hci0] 21.420248
        Num handles: 1
        Handle: 36
        Count: 1
> HCI Event: Link Key Request (0x17) plen 6                                    #60 [hci0] 21.429287
        Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22                    #61 [hci0] 21.429367
        Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
        Link key: 107d156bca3384e8a7de75e6d02dbc72
> HCI Event: Command Complete (0x0e) plen 10                                   #62 [hci0] 21.436241
      Link Key Request Reply (0x01|0x000b) ncmd 1
        Status: Success (0x00)
        Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
> ACL Data RX: Handle 36 flags 0x02 dlen 12                                    #63 [hci0] 21.464751
      L2CAP: Connection Request (0x02) ident 7 len 4
        PSM: 3 (0x0003)
        Source CID: 320
< ACL Data TX: Handle 36 flags 0x00 dlen 16                                    #64 [hci0] 21.464847
      L2CAP: Connection Response (0x03) ident 7 len 8
        Destination CID: 0
        Source CID: 320
        Result: Connection refused - security block (0x0003)
        Status: No further information available (0x0000)
> HCI Event: Encryption Change (0x08) plen 4                                   #65 [hci0] 21.466224
        Status: Success (0x00)
        Handle: 36
        Encryption: Enabled with E0 (0x01)
< HCI Command: Read Encryption Key Size (0x05|0x0008) plen 2                   #66 [hci0] 21.466318
        Handle: 36
> HCI Event: Number of Completed Packets (0x13) plen 5                         #67 [hci0] 21.469216
        Num handles: 1
        Handle: 36
        Count: 1
> HCI Event: Command Complete (0x0e) plen 7                                    #68 [hci0] 21.471256
      Read Encryption Key Size (0x05|0x0008) ncmd 1
        Status: Success (0x00)
        Handle: 36
        Key size: 16
> HCI Event: Disconnect Complete (0x05) plen 4                                 #69 [hci0] 21.877431
        Status: Success (0x00)
        Handle: 36
        Reason: Remote User Terminated Connection (0x13)
@ MGMT Event: Device Disconnected (0x000c) plen 8                         {0x0002} [hci0] 21.877515
        BR/EDR Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
        Reason: Connection terminated by remote host (0x03)
@ MGMT Event: Device Disconnected (0x000c) plen 8                         {0x0001} [hci0] 21.877515
        BR/EDR Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
        Reason: Connection terminated by remote host (0x03)
> HCI Event: Connect Request (0x04) plen 10                                    #70 [hci0] 38.055238
        Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
        Class: 0x240404
          Major class: Audio/Video (headset, speaker, stereo, video, vcr)
          Minor class: Wearable Headset Device
          Rendering (Printing, Speaker)
          Audio (Speaker, Microphone, Headset)
        Link type: ACL (0x01)
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7                  #71 [hci0] 38.055328
        Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
        Role: Master (0x00)
> HCI Event: Command Status (0x0f) plen 4                                      #72 [hci0] 38.057151
      Accept Connection Request (0x01|0x0009) ncmd 1
        Status: Success (0x00)
> HCI Event: Role Change (0x12) plen 8                                         #73 [hci0] 38.219338
        Status: Success (0x00)
        Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
        Role: Master (0x00)
> HCI Event: Connect Complete (0x03) plen 11                                   #74 [hci0] 38.241260
        Status: Success (0x00)
        Handle: 36
        Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
        Link type: ACL (0x01)
        Encryption: Disabled (0x00)
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2             #75 [hci0] 38.241499
        Handle: 36
> HCI Event: Page Scan Repetition Mode Change (0x20) plen 7                    #76 [hci0] 38.242181
        Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
        Page scan repetition mode: R1 (0x01)
> HCI Event: Command Status (0x0f) plen 4                                      #77 [hci0] 38.246174
      Read Remote Supported Features (0x01|0x001b) ncmd 0
        Status: Success (0x00)
> HCI Event: Max Slots Change (0x1b) plen 3                                    #78 [hci0] 38.248182
        Handle: 36
        Max slots: 5
> ACL Data RX: Handle 36 flags 0x02 dlen 12                                    #79 [hci0] 38.249675
      L2CAP: Connection Request (0x02) ident 1 len 4
        PSM: 1 (0x0001)
        Source CID: 448
> HCI Event: Command Status (0x0f) plen 4                                      #80 [hci0] 38.263277
      NOP (0x00|0x0000) ncmd 1
        Status: Success (0x00)
> HCI Event: Read Remote Supported Features (0x0b) plen 11                     #81 [hci0] 38.271261
        Status: Success (0x00)
        Handle: 36
        Features: 0xff 0xff 0x8f 0xfe 0xdb 0xff 0x5b 0x87
          3 slot packets
          5 slot packets
          Encryption
          Slot offset
          Timing accuracy
          Role switch
          Hold mode
          Sniff mode
          Park state
          Power control requests
          Channel quality driven data rate (CQDDR)
          SCO link
          HV2 packets
          HV3 packets
          u-law log synchronous data
          A-law log synchronous data
          CVSD synchronous data
          Paging parameter negotiation
          Power control
          Transparent synchronous data
          Broadcast Encryption
          Enhanced Data Rate ACL 2 Mbps mode
          Enhanced Data Rate ACL 3 Mbps mode
          Enhanced inquiry scan
          Interlaced inquiry scan
          Interlaced page scan
          RSSI with inquiry results
          Extended SCO link (EV3 packets)
          EV4 packets
          EV5 packets
          AFH capable slave
          AFH classification slave
          LE Supported (Controller)
          3-slot Enhanced Data Rate ACL packets
          5-slot Enhanced Data Rate ACL packets
          Sniff subrating
          Pause encryption
          AFH capable master
          AFH classification master
          Enhanced Data Rate eSCO 2 Mbps mode
          Enhanced Data Rate eSCO 3 Mbps mode
          3-slot Enhanced Data Rate eSCO packets
          Extended Inquiry Response
          Simultaneous LE and BR/EDR (Controller)
          Secure Simple Pairing
          Encapsulated PDU
          Non-flushable Packet Boundary Flag
          Link Supervision Timeout Changed Event
          Inquiry TX Power Level
          Enhanced Power Control
          Extended features
< HCI Command: Read Remote Extended Features (0x01|0x001c) plen 3              #82 [hci0] 38.271373
        Handle: 36
        Page: 1
> HCI Event: Command Status (0x0f) plen 4                                      #83 [hci0] 38.276219
      Read Remote Extended Features (0x01|0x001c) ncmd 1
        Status: Success (0x00)
> HCI Event: Read Remote Extended Features (0x23) plen 13                      #84 [hci0] 38.283222
        Status: Success (0x00)
        Handle: 36
        Page: 1/1
        Features: 0x03 0x00 0x00 0x00 0x00 0x00 0x00 0x00
          Secure Simple Pairing (Host Support)
          LE Supported (Host)
< HCI Command: Remote Name Request (0x01|0x0019) plen 10                       #85 [hci0] 38.283290
        Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
        Page scan repetition mode: R2 (0x02)
        Page scan mode: Mandatory (0x00)
        Clock offset: 0x0000
< ACL Data TX: Handle 36 flags 0x00 dlen 10                                    #86 [hci0] 38.283304
      L2CAP: Information Request (0x0a) ident 1 len 2
        Type: Extended features supported (0x0002)
@ MGMT Event: Device Connected (0x000b) plen 18                           {0x0002} [hci0] 38.283315
        BR/EDR Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
        Flags: 0x00000000
        Data length: 5
        Class: 0x240404
          Major class: Audio/Video (headset, speaker, stereo, video, vcr)
          Minor class: Wearable Headset Device
          Rendering (Printing, Speaker)
          Audio (Speaker, Microphone, Headset)
@ MGMT Event: Device Connected (0x000b) plen 18                           {0x0001} [hci0] 38.283315
        BR/EDR Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
        Flags: 0x00000000
        Data length: 5
        Class: 0x240404
          Major class: Audio/Video (headset, speaker, stereo, video, vcr)
          Minor class: Wearable Headset Device
          Rendering (Printing, Speaker)
          Audio (Speaker, Microphone, Headset)
< ACL Data TX: Handle 36 flags 0x00 dlen 16                                    #87 [hci0] 38.283353
      L2CAP: Connection Response (0x03) ident 1 len 8
        Destination CID: 64
        Source CID: 448
        Result: Connection pending (0x0001)
        Status: No further information available (0x0000)
< ACL Data TX: Handle 36 flags 0x00 dlen 10                                    #88 [hci0] 38.283359
      L2CAP: Information Request (0x0a) ident 2 len 2
        Type: Extended features supported (0x0002)
> HCI Event: Number of Completed Packets (0x13) plen 5                         #89 [hci0] 38.288224
        Num handles: 1
        Handle: 36
        Count: 1
> HCI Event: Number of Completed Packets (0x13) plen 5                         #90 [hci0] 38.289194
        Num handles: 1
        Handle: 36
        Count: 1
> ACL Data RX: Handle 36 flags 0x02 dlen 16                                    #91 [hci0] 38.289832
      L2CAP: Information Response (0x0b) ident 1 len 8
        Type: Extended features supported (0x0002)
        Result: Success (0x0000)
        Features: 0x000000b8
          Enhanced Retransmission Mode
          Streaming Mode
          FCS Option
          Fixed Channels
> HCI Event: Command Status (0x0f) plen 4                                      #92 [hci0] 38.290171
      Remote Name Request (0x01|0x0019) ncmd 1
        Status: Success (0x00)
> HCI Event: Number of Completed Packets (0x13) plen 5                         #93 [hci0] 38.291171
        Num handles: 1
        Handle: 36
        Count: 1
> ACL Data RX: Handle 36 flags 0x02 dlen 16                                    #94 [hci0] 38.291177
      L2CAP: Information Response (0x0b) ident 2 len 8
        Type: Extended features supported (0x0002)
        Result: Success (0x0000)
        Features: 0x000000b8
          Enhanced Retransmission Mode
          Streaming Mode
          FCS Option
          Fixed Channels
< ACL Data TX: Handle 36 flags 0x00 dlen 10                                    #95 [hci0] 38.291203
      L2CAP: Information Request (0x0a) ident 3 len 2
        Type: Fixed channels supported (0x0003)
> HCI Event: Number of Completed Packets (0x13) plen 5                         #96 [hci0] 38.295174
        Num handles: 1
        Handle: 36
        Count: 1
> ACL Data RX: Handle 36 flags 0x02 dlen 20                                    #97 [hci0] 38.297206
      L2CAP: Information Response (0x0b) ident 3 len 12
        Type: Fixed channels supported (0x0003)
        Result: Success (0x0000)
        Channels: 0x0000000000000076
          L2CAP Signaling (BR/EDR)
          Connectionless reception
          Attribute Protocol
          L2CAP Signaling (LE)
          Security Manager (LE)
< ACL Data TX: Handle 36 flags 0x00 dlen 16                                    #98 [hci0] 38.297239
      L2CAP: Connection Response (0x03) ident 1 len 8
        Destination CID: 64
        Source CID: 448
        Result: Connection successful (0x0000)
        Status: No further information available (0x0000)
< ACL Data TX: Handle 36 flags 0x00 dlen 23                                    #99 [hci0] 38.297246
      L2CAP: Configure Request (0x04) ident 4 len 15
        Destination CID: 448
        Flags: 0x0000
        Option: Retransmission and Flow Control (0x04) [mandatory]
          Mode: Basic (0x00)
          TX window size: 0
          Max transmit: 0
          Retransmission timeout: 0
          Monitor timeout: 0
          Maximum PDU size: 0
> HCI Event: Number of Completed Packets (0x13) plen 5                        #100 [hci0] 38.301190
        Num handles: 1
        Handle: 36
        Count: 1
> HCI Event: Number of Completed Packets (0x13) plen 5                        #101 [hci0] 38.303242
        Num handles: 1
        Handle: 36
        Count: 1
> ACL Data RX: Handle 36 flags 0x02 dlen 16                                   #102 [hci0] 38.306841
      L2CAP: Configure Request (0x04) ident 2 len 8
        Destination CID: 64
        Flags: 0x0000
        Option: Maximum Transmission Unit (0x01) [mandatory]
          MTU: 48
< ACL Data TX: Handle 36 flags 0x00 dlen 18                                   #103 [hci0] 38.306894
      L2CAP: Configure Response (0x05) ident 2 len 10
        Source CID: 448
        Flags: 0x0000
        Result: Success (0x0000)
        Option: Maximum Transmission Unit (0x01) [mandatory]
          MTU: 48
> ACL Data RX: Handle 36 flags 0x02 dlen 14                                   #104 [hci0] 38.308581
      L2CAP: Configure Response (0x05) ident 4 len 6
        Source CID: 64
        Flags: 0x0000
        Result: Success (0x0000)
> ACL Data RX: Handle 36 flags 0x02 dlen 24                                   #105 [hci0] 38.315474
      Channel: 64 len 20 [PSM 1 mode 0] {chan 1}
      SDP: Service Search Attribute Request (0x06) tid 1 len 15
        Search pattern: [len 7]
          Sequence (6) with 5 bytes [8 extra bits] len 7
            UUID (3) with 4 bytes [0 extra bits] len 5
              Handsfree Audio Gateway (0x0000111f)
        Max record count: 38
        Attribute list: [len 5]
          Sequence (6) with 3 bytes [8 extra bits] len 5
            Unsigned Integer (1) with 2 bytes [0 extra bits] len 3
              0x0004
        Continuation state: 0
< ACL Data TX: Handle 36 flags 0x00 dlen 14                                   #106 [hci0] 38.315690
      Channel: 448 len 10 [PSM 1 mode 0] {chan 1}
      SDP: Service Search Attribute Response (0x07) tid 1 len 5
        Attribute bytes: 2
        Continuation state: 0
> HCI Event: Remote Name Req Complete (0x07) plen 255                         #107 [hci0] 38.321259
        Status: Success (0x00)
        Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
        Name: MINIJAMBOX by Jawbone
> HCI Event: Number of Completed Packets (0x13) plen 5                        #108 [hci0] 38.323251
        Num handles: 1
        Handle: 36
        Count: 1
> HCI Event: Number of Completed Packets (0x13) plen 5                        #109 [hci0] 38.324185
        Num handles: 1
        Handle: 36
        Count: 1
> ACL Data RX: Handle 36 flags 0x02 dlen 12                                   #110 [hci0] 38.324603
      L2CAP: Disconnection Request (0x06) ident 3 len 4
        Destination CID: 64
        Source CID: 448
< ACL Data TX: Handle 36 flags 0x00 dlen 12                                   #111 [hci0] 38.324668
      L2CAP: Disconnection Response (0x07) ident 3 len 4
        Destination CID: 64
        Source CID: 448
> HCI Event: Number of Completed Packets (0x13) plen 5                        #112 [hci0] 38.331170
        Num handles: 1
        Handle: 36
        Count: 1
> ACL Data RX: Handle 36 flags 0x02 dlen 12                                   #113 [hci0] 38.337072
      L2CAP: Connection Request (0x02) ident 4 len 4
        PSM: 1 (0x0001)
        Source CID: 512
< ACL Data TX: Handle 36 flags 0x00 dlen 16                                   #114 [hci0] 38.337242
      L2CAP: Connection Response (0x03) ident 4 len 8
        Destination CID: 64
        Source CID: 512
        Result: Connection successful (0x0000)
        Status: No further information available (0x0000)
< ACL Data TX: Handle 36 flags 0x00 dlen 23                                   #115 [hci0] 38.337255
      L2CAP: Configure Request (0x04) ident 5 len 15
        Destination CID: 512
        Flags: 0x0000
        Option: Retransmission and Flow Control (0x04) [mandatory]
          Mode: Basic (0x00)
          TX window size: 0
          Max transmit: 0
          Retransmission timeout: 0
          Monitor timeout: 0
          Maximum PDU size: 0
> HCI Event: Number of Completed Packets (0x13) plen 5                        #116 [hci0] 38.344260
        Num handles: 1
        Handle: 36
        Count: 1
> HCI Event: Number of Completed Packets (0x13) plen 5                        #117 [hci0] 38.345226
        Num handles: 1
        Handle: 36
        Count: 1
> ACL Data RX: Handle 36 flags 0x02 dlen 16                                   #118 [hci0] 38.350804
      L2CAP: Configure Request (0x04) ident 5 len 8
        Destination CID: 64
        Flags: 0x0000
        Option: Maximum Transmission Unit (0x01) [mandatory]
          MTU: 48
< ACL Data TX: Handle 36 flags 0x00 dlen 18                                   #119 [hci0] 38.350872
      L2CAP: Configure Response (0x05) ident 5 len 10
        Source CID: 512
        Flags: 0x0000
        Result: Success (0x0000)
        Option: Maximum Transmission Unit (0x01) [mandatory]
          MTU: 48
> ACL Data RX: Handle 36 flags 0x02 dlen 14                                   #120 [hci0] 38.353623
      L2CAP: Configure Response (0x05) ident 5 len 6
        Source CID: 64
        Flags: 0x0000
        Result: Success (0x0000)
> HCI Event: Number of Completed Packets (0x13) plen 5                        #121 [hci0] 38.356198
        Num handles: 1
        Handle: 36
        Count: 1
> ACL Data RX: Handle 36 flags 0x02 dlen 24                                   #122 [hci0] 38.359486
      Channel: 64 len 20 [PSM 1 mode 0] {chan 1}
      SDP: Service Search Attribute Request (0x06) tid 1 len 15
        Search pattern: [len 7]
          Sequence (6) with 5 bytes [8 extra bits] len 7
            UUID (3) with 4 bytes [0 extra bits] len 5
              Headset AG (0x00001112)
        Max record count: 38
        Attribute list: [len 5]
          Sequence (6) with 3 bytes [8 extra bits] len 5
            Unsigned Integer (1) with 2 bytes [0 extra bits] len 3
              0x0004
        Continuation state: 0
< ACL Data TX: Handle 36 flags 0x00 dlen 33                                   #123 [hci0] 38.359731
      Channel: 512 len 29 [PSM 1 mode 0] {chan 1}
      SDP: Service Search Attribute Response (0x07) tid 1 len 24
        Attribute bytes: 21
          Attribute list: [len 17] {position 0}
            Attribute: Protocol Descriptor List (0x0004) [len 2]
              Sequence (6) with 3 bytes [8 extra bits] len 5
                UUID (3) with 2 bytes [0 extra bits] len 3
                  L2CAP (0x0100)
              Sequence (6) with 5 bytes [8 extra bits] len 7
                UUID (3) with 2 bytes [0 extra bits] len 3
                  RFCOMM (0x0003)
                Unsigned Integer (1) with 1 byte [0 extra bits] len 2
                  0x0c
        Continuation state: 0
> HCI Event: Number of Completed Packets (0x13) plen 5                        #124 [hci0] 38.365228
        Num handles: 1
        Handle: 36
        Count: 1
> ACL Data RX: Handle 36 flags 0x02 dlen 12                                   #125 [hci0] 38.370866
      L2CAP: Disconnection Request (0x06) ident 6 len 4
        Destination CID: 64
        Source CID: 512
< ACL Data TX: Handle 36 flags 0x00 dlen 12                                   #126 [hci0] 38.370939
      L2CAP: Disconnection Response (0x07) ident 6 len 4
        Destination CID: 64
        Source CID: 512
> HCI Event: Number of Completed Packets (0x13) plen 5                        #127 [hci0] 38.376361
        Num handles: 1
        Handle: 36
        Count: 1
> HCI Event: Link Key Request (0x17) plen 6                                   #128 [hci0] 38.385361
        Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22                   #129 [hci0] 38.385452
        Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
        Link key: 107d156bca3384e8a7de75e6d02dbc72
> HCI Event: Command Complete (0x0e) plen 10                                  #130 [hci0] 38.392234
      Link Key Request Reply (0x01|0x000b) ncmd 1
        Status: Success (0x00)
        Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
> ACL Data RX: Handle 36 flags 0x02 dlen 12                                   #131 [hci0] 38.421133
      L2CAP: Connection Request (0x02) ident 7 len 4
        PSM: 3 (0x0003)
        Source CID: 576
< ACL Data TX: Handle 36 flags 0x00 dlen 16                                   #132 [hci0] 38.421241
      L2CAP: Connection Response (0x03) ident 7 len 8
        Destination CID: 0
        Source CID: 576
        Result: Connection refused - security block (0x0003)
        Status: No further information available (0x0000)
> HCI Event: Encryption Change (0x08) plen 4                                  #133 [hci0] 38.422257
        Status: Success (0x00)
        Handle: 36
        Encryption: Enabled with E0 (0x01)
< HCI Command: Read Encryption Key Size (0x05|0x0008) plen 2                  #134 [hci0] 38.422324
        Handle: 36
> HCI Event: Number of Completed Packets (0x13) plen 5                        #135 [hci0] 38.425213
        Num handles: 1
        Handle: 36
        Count: 1
> HCI Event: Command Complete (0x0e) plen 7                                   #136 [hci0] 38.427267
      Read Encryption Key Size (0x05|0x0008) ncmd 1
        Status: Success (0x00)
        Handle: 36
        Key size: 16
> HCI Event: Disconnect Complete (0x05) plen 4                                #137 [hci0] 38.834248
        Status: Success (0x00)
        Handle: 36
        Reason: Remote User Terminated Connection (0x13)
@ MGMT Event: Device Disconnected (0x000c) plen 8                         {0x0002} [hci0] 38.834297
        BR/EDR Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
        Reason: Connection terminated by remote host (0x03)
@ MGMT Event: Device Disconnected (0x000c) plen 8                         {0x0001} [hci0] 38.834297
        BR/EDR Address: E0:D1:E6:07:62:E1 (Aliph dba Jawbone)
        Reason: Connection terminated by remote host (0x03)




  reply	other threads:[~2019-05-18  8:53 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 [this message]
2019-05-18 14:08       ` Alexandre Pereira Nunes
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='CAELgYhcCBAUr6oQxTnmjBjQfkc8JeTbkXHea64PN+7cWQSqQ=Q@mail.gmail.com' \
    --to=carlosjosepita@gmail.com \
    --cc=alexandre.nunes@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    /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).