Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3195031yba; Sat, 18 May 2019 11:15:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqzomOClu9mBn1CpArRl2SzQoABjLgxeCbBCFkMmDi5ohuTG8XJLGyxOenp6fIFJd+/i+SNG X-Received: by 2002:a63:309:: with SMTP id 9mr65496725pgd.49.1558203302715; Sat, 18 May 2019 11:15:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558203302; cv=none; d=google.com; s=arc-20160816; b=E19jtZG1iVQFD0zXhC/FLSk3mUhBdAEdXjCpvd+tF0NYGA6afVxCC32xSRFSeHB5pH nzlcCYKpKVSkMfu3xKxbaXDX3T1FZamthuEubh+R2Bj2V+R9GTby9jVLjBlDSYQ/k20O n28wUA0qOHIczwmJaGL+lxvW8XGblWAmUDXjjGcYv1l0LbxAVTVbWnHsDT2jq1VToGr8 qh9Ywa/fbXR8Z/Y4BeXBySzwR0S2rp08qYTTlOLvnpfUPfROOQqZemT1i7floAR184Gm jj20EQt3bwQD9xdraAbuSjhIfYEmhKppEEwz/RuKR3TDBVPaVO2s4CnLHxy/S2t/m7Sb bBoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=HD35hMh/PWO3VCJL9dkQrTtSq7LnaqLwyRHNSJD9z2o=; b=zM/9hafVhd54K763n5FwDN4CA3+yLx3ijQqEQx03o1c/XKPSH53p6SsSnG3AIDc0OY l1Ge0uXRggCXVR314QWDHgJM4Nxx1kqzonm1jLyUeneMZ3dNwPQYEtL8u+jLmDit9V60 XViYf9jDCHXL+/6kAaxxLzQ/Rn+cZLzVVv4f7zB5gFt33iXVY10FxIRG7BsL6d01+Ick CuKmtwUkRpoy52xsJNw+zOs9FCUh0SPLG0aqYcurgK0dpbW1FxKRsrkF9kpyKSbklbS+ HU0YZ+nikZql9eOVumeYb77g3fcUKW37rh2c6HjAzVg1cTUm0ER9h9roq/TNXHgTm6XK K8Kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VL1yF9Mv; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 32si12283072pld.6.2019.05.18.11.14.34; Sat, 18 May 2019 11:15:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VL1yF9Mv; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729573AbfERSId (ORCPT + 99 others); Sat, 18 May 2019 14:08:33 -0400 Received: from mail-pf1-f175.google.com ([209.85.210.175]:43646 "EHLO mail-pf1-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728283AbfERSId (ORCPT ); Sat, 18 May 2019 14:08:33 -0400 Received: by mail-pf1-f175.google.com with SMTP id c6so5201259pfa.10 for ; Sat, 18 May 2019 11:08:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=HD35hMh/PWO3VCJL9dkQrTtSq7LnaqLwyRHNSJD9z2o=; b=VL1yF9Mv0HtTqhm1BRor7ZzDZM4nUlu61m8XIYlGNgRHNCqa9XlqdrJjImwtn6lPYx F6Ad2LLsg5PNYSFh7QirqyI1TPZ/P9o5UKq7qw8s3Z291moBxVHrPmwz1w4eJDjVvUmL CCrmZdfDYMuSdSxSE785yli5NT5J/jYsk64uIpXtXTHiEEUGOQrOS3Oxq4mdFfqZMmdj KlGDAASWnYUWcjmQKguojha51qrz8lIpyOteS5DoLsyHZZxBpo3iCj/Jq3LZ4ZIVbsgA E/NZp2BnedquZ4J7xQ/w0B4hqt8hLIAHMC/bvLvkiaUdJ3QPH+OysPNT2JoAqL0V5RDV 8lmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=HD35hMh/PWO3VCJL9dkQrTtSq7LnaqLwyRHNSJD9z2o=; b=HgJ+yeiaDmqv6n+0rnIypvtqWN6VEgPc1cVgPHkP/knW1+FCzZTlcRbgTI5r5Eh9LM 79TYKdjvthusRaDRbYPAy1lCPRP+ifaLeagco504+Y5kjmLo4QTRNdAUfzv/34GkEkFb JupYH81wczbvyDPuxv8DJMXFMjBPO2iYES9qHN60pTFGu/KPDj0IBSt3S3wux6TA0tSY H6g6EnVoJrSyyh1khwdHvQBBaiHIwN8Hcbvl7O84YnC/9QLbhIL8SUaoUFFUFB2b/Xi6 5u5BxtKqqZ4cOWos3BiXdYwF8JRhXVI4wjvVGGCNcgPJl+/sDBiuZkVWLM/P9sCQI7/i USOw== X-Gm-Message-State: APjAAAV4KmlYevN6hxvrG9OqcuhoUQG8RxyFdPrQ3KGfcicY4ufPs8fM cTbtE5Dh1ceCKVpIn/JrhZE= X-Received: by 2002:a63:6fce:: with SMTP id k197mr65769191pgc.140.1558202912902; Sat, 18 May 2019 11:08:32 -0700 (PDT) Received: from canella-mobl.ger.corp.intel.com ([192.55.54.41]) by smtp.gmail.com with ESMTPSA id 85sm16852466pgb.52.2019.05.18.11.08.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 May 2019 11:08:32 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: After kernel update: connect/disconnect forever while attempting to auto-reconnect From: Johan Hedberg In-Reply-To: Date: Sat, 18 May 2019 21:08:28 +0300 Cc: Alexandre Pereira Nunes , "linux-bluetooth@vger.kernel.org" Content-Transfer-Encoding: quoted-printable Message-Id: <0FBE6EB8-B42A-4D24-ACAB-80AB47316B97@gmail.com> References: To: Luiz Von Dentz X-Mailer: Apple Mail (2.3445.104.11) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Luiz, On 18 May 2019, at 19.30, Luiz Augusto von Dentz = wrote: > The problem seems to be here: >=20 > < 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) >=20 > Ruling out encryption since HID don't require it: When both devices support SSP, encryption is required for any non-SDP = PSM. The kernel enforces this regardless of what kind of options were = set for the socket. Johan=