Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp4333103ybz; Mon, 20 Apr 2020 21:28:10 -0700 (PDT) X-Google-Smtp-Source: APiQypJahxk25WO+c5YRN6cE1iTLK1EFj29iI3O4EvU8LeuCp7BKWa0KYzMOVPcQc3YQ2hV6TfMS X-Received: by 2002:a17:906:355b:: with SMTP id s27mr19855117eja.184.1587443290645; Mon, 20 Apr 2020 21:28:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587443290; cv=none; d=google.com; s=arc-20160816; b=mprepsu7wLPYrQ8LaclWgFDBJ3WyXdSYl0rloa202hhjKzYk/Q5QoTSTRrlr5bgchd TCQ6GB0gSADtpiUQHCucohOXnYOWxOp83/l0etyZ17Lh3gW3IQ/CkNw84CO65IOYc+s3 PVZ5mQS4BRV4xRWdDqRTlDceMg/h8na2e/rDim4Hp1mbDAB9PCkZTOMdheQy8AQGuEB3 6pdy5ZhPQHCFPslaWn+OKtuXzRclZbHU+oA+s5Vni2hXfkqK3aFM4SHRRryVroWUqiSB B4uNUn2kQ3Anjp38gunkxyC8Eq6TDaiHQvfUi6078JyXfWa6m+wHK6YOhMIuvobEKqAh uUlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :mime-version:dkim-signature; bh=1wv+mM3FaICu4qZIPsYweTEvloXG2IsKb5hRnj674ck=; b=dxZAkTrN1e7F4YwDB74prFiReL9BzHIQM96wpvb/f4CsYnIubcigEHxWlwO41p6uCk +g80nL4F0rKHK+lBx3NWgaLGbP4uV42s1ycg5SRG2inJvsbiKZS4ClyEbev+Lvmvdg6Z 2uMpQnQuqzm/ylM2Dxx0X3UZ4XWAjoLTNJ3xohLVkL22nglJFhHxgZ3lh84Jp2jmx8zF OlvanbI6RDhujAuBXwYAOCB2mCWWRVWgE5kZexaOa3c2NRbSCyy7sJVG39lzHkaw25Sv wRNdavhprSg1zk867bz3moNjymleQy9YlwIVMHh4z6CYkHo7bozGzrt/kB+MrsYhXD/v QqKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=BE4WwCBg; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q20si1000007edb.36.2020.04.20.21.27.31; Mon, 20 Apr 2020 21:28:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=BE4WwCBg; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726558AbgDUE0N (ORCPT + 99 others); Tue, 21 Apr 2020 00:26:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725904AbgDUE0N (ORCPT ); Tue, 21 Apr 2020 00:26:13 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED4F5C061A0F for ; Mon, 20 Apr 2020 21:26:12 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id rh22so9892442ejb.12 for ; Mon, 20 Apr 2020 21:26:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=1wv+mM3FaICu4qZIPsYweTEvloXG2IsKb5hRnj674ck=; b=BE4WwCBgISSm69rVdwWui3573xDfllLyQZZ60emXT9o7ScUCG5PQ+NVhEVQeHRjJYm 4++ql5PVcqPsKppeyU2/DXNLL5AtAA5IyY8AOymqsk8Ry6ftSKoih79LJTNvBb7zljai 7qmOAqqoJKeYDza2XvwhMVq4YeVOqRgERLRWvp4wu4RBsbezjywq/myKNbDf1e1Y3xlj Ysf1daQ1kPSUq69lCmA7hsByKbjtWd3/S3gNGeA8f4wQfw9xdzI744d8aqhvmiium3Mz ZN+QlYCnmkxiXwD/raLtmKnB/0omwQkzKkxZQ3t6USzbAXgoP4Y84LUpXCRzC/sNrxQ1 fUAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=1wv+mM3FaICu4qZIPsYweTEvloXG2IsKb5hRnj674ck=; b=J9e1BwOKyplAmEuPr6CiUchG0e3UiGoBdvv3ADygq0OXtJm7UhZiLk9wQOfPsfwo/A +1UGYgvAc3461o27Lod2vmLwYGgyp52kBCZk8Jy/5gTTwRo+vv0KNw0ygEK+Ul7ac4x0 GpOsKoS+sBN8toveIUxevJ+gTb3mHR7ogbQAdT43meevwShynyNXfWLaFL6Hf61YfQFB 4K+GvljTzhQ+dCpnk7qlX4IcTwHDi7xpPf+gyCfvYD7xBr+JNO1WO17ejk50SQPY6HcB 8GUOnsVb7s7lMBoQLBPnhLkTBGoI3AHQrjYii9DldReGk3vocHutqbiip2zPBomcHs4f hUMw== X-Gm-Message-State: AGi0PuZpeKRZ61KvYP7uELGbbZFSmboZZFtlrxPWKvjELcSn4asRRK81 DR71kIctoRmLpE6PX6ttsWxPzMSMkHE1lvC/TsHeAwCYhrA= X-Received: by 2002:a17:906:4bc3:: with SMTP id x3mr19697847ejv.38.1587443171222; Mon, 20 Apr 2020 21:26:11 -0700 (PDT) MIME-Version: 1.0 From: Yun-hao Chung Date: Tue, 21 Apr 2020 12:26:00 +0800 Message-ID: Subject: Auto-connect after disconnection from user on trusted devices To: Bluez mailing list Cc: Sonny Sasaka Content-Type: text/plain; charset="UTF-8" Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi linux-bluetooth, Bluez doesn't disable auto-connect for trusted devices even in device.Disconnect. This causes users can't disconnect from peripherals unless they untrust the device. The behavior seems to change into this way intentionally after this change: https://www.spinics.net/lists/linux-bluetooth/msg72898.html I would like to understand why this change is needed and what is the suggestion to disconnect a trusted device. Thanks. Howard