Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3042813pxu; Tue, 8 Dec 2020 01:47:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJwggPb0o+29Lriti+mmh3W6t0qv93/QFS9G5z43a032iGXkpW0EtERaJR9y+foxAYuPbtYm X-Received: by 2002:a17:906:339a:: with SMTP id v26mr22167432eja.107.1607420851265; Tue, 08 Dec 2020 01:47:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607420851; cv=none; d=google.com; s=arc-20160816; b=QXH/kytxuZdWq+ElIYWDiFptmhZcNc3q65wG2HqywlBdNGkw7zNIUwmYzM3k6R4dH3 levtIXwT7InMMf6PiGRaEih3o+0yJQcASLIgOG2cPdUdUjD7oZneWB1+7AHYI+VObitG Vv317np6Wuzf+0XaDa4e+7H/bVVg28QJqa5c52A3071Stvrts4eV9yIXyLc2JXM0hqVC mb8gFcdBdbiMKNvwLT/raZi9IJzsmO+qXbw8nN5DnUdB71Woob4AyCJB0CGax7lDPFwM f8SEFjzGSHxtuCdEU+EdYxIzCSQTbDBZ9Ve6A5jQ7P9TEym8UsWLWOxqM+fYTkXWGZVn 0rRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=FRYH9Hyx/aZNKicgnri3k65K8p4xSP9nQJX2DWGaBIc=; b=nsxE1h8tdrRJH3MyN4Ornv/2JqcgBFt2UEx/Phw8RxErgwvfKVfQ7Dy+dafjGKU7LA SSoWzlTRaFR5gYjgriUoKKUmTzO67yy56wVyPhdgdnXKn2tzri2owq9iKx4TwDJ8vDqi 4xtoMWYeQPZBjVGduTuYd2kebyAFAkJj1zynMr9MdLtujbCnXSB5w/fFf/A35dLfy+iP YXZMyAUmQn5wl7kpvJMpLcaEcjpCSkAUlgycQRAA9mj0G/yuqjDKEiApwbwU32PT6a8/ ansjyC3M1deWiRJ31wKpU5QhPLG2+fFGs0HrA5Yirihjz68cl84gsVjVZVzQMPDGnNQf bh1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hGhwAV3h; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m2si7814831ejj.36.2020.12.08.01.46.52; Tue, 08 Dec 2020 01:47:31 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=hGhwAV3h; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727839AbgLHJqs (ORCPT + 99 others); Tue, 8 Dec 2020 04:46:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727418AbgLHJqr (ORCPT ); Tue, 8 Dec 2020 04:46:47 -0500 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 701EAC061749 for ; Tue, 8 Dec 2020 01:46:07 -0800 (PST) Received: by mail-lf1-x130.google.com with SMTP id m19so2316878lfb.1 for ; Tue, 08 Dec 2020 01:46:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=FRYH9Hyx/aZNKicgnri3k65K8p4xSP9nQJX2DWGaBIc=; b=hGhwAV3hjlRozJu4S6YLClAGidnzJYoi0OtgKZtCt9S1CNSaSC3emH9K9gLEr8auEv x76pmpex4lbt2fmfQpcnKa/xfksiiQ4rM7mb2YuNqnwksMuxYIFnaQH7O/vPVn1TZAWp C1es74lTV78w2+ewVudj5Ao5Ot90npW2jIWYnVDgUm82bLyUzoXuU5FokDdau/O6nWGI guoxq67yDhSUOs1N6hiBi5KbdSQMBzYXoe/BS9T6HF1ESF4BLLym3D2XkTb2VqIcXYfZ baTbNcVQtmG4xMrxNBUlhu1/NuMYtpNllP9t8s31TUbWt4+Lptt3WEInpV/0xBT6ATbM 5nNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=FRYH9Hyx/aZNKicgnri3k65K8p4xSP9nQJX2DWGaBIc=; b=LhLVQPHIZ2ieF953dtiMcfO2cOEk8HHOMcTt8eQt3ACND3FQOKp+mEYMLLSTbg3Obn 1GQ8BeQ8Fog4ElQTxvXO1Jm8s+93VjeQEzEiiZG+1FUxqpC1SWyIgrA82BAtMbJB1Qc/ KjBi7fz4OPznrQ+ozIyLyhJ2lNJJpq9Y9d2cOujUpmJDA8qURm2NbS+l1MlL6ImxCMP6 M31/hYlyyT0UjN8cbSZcF9rU6SX82Uyp78gF6fJSYKh/Km7IzmToz39x2GZDnBlAYNE/ CHJrrmUQG0+bt+Lf1dJOZu8aMIkaUAeX0QOZNTQz7HFSVfqeDUvwehfPqefK6XoDHDFq LXdw== X-Gm-Message-State: AOAM531OjIlSDQijbTsXyJbieuZTzZvQwIxPxlEJoT+DiRLTm+ifIE6I /GDMNZXBCKJqcWlzWKYhYQEbz2Xkl12b6qG807hd5p2is7M= X-Received: by 2002:a19:ee13:: with SMTP id g19mr39896lfb.637.1607420765991; Tue, 08 Dec 2020 01:46:05 -0800 (PST) MIME-Version: 1.0 References: <2fb922ffced103ba09571567366968d5462f9267.camel@hadess.net> In-Reply-To: <2fb922ffced103ba09571567366968d5462f9267.camel@hadess.net> From: Lionel Jeanson Date: Tue, 8 Dec 2020 10:45:54 +0100 Message-ID: Subject: Re: sixaxis patch proposal To: Bastien Nocera Cc: linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi; yes, I've seen your commit, and actually I don't get it, since it was integrated, and bluez updated, sixaxis pads are not working as well as they used to, I need to repair the device again and again. I tried to do it with the pairing agent using bluetoothctl but couldn't get it to work as expected, any hint? I can't find anything on google or anywhere else. Merci; Lionel Le mar. 8 d=C3=A9c. 2020 =C3=A0 10:01, Bastien Nocera a= =C3=A9crit : > > On Mon, 2020-12-07 at 18:04 +0100, Lionel Jeanson wrote: > > Hi; > > > > I'd like to propose the following patch to fix the following issue : > > > > - if an already paired PS3 DualShock is plugged to USB, while it is > > turned off (PS button wasn't pushed or no more battery for instance), > > then it's connection will be reset and it will have to be paired > > again > > > > - to fix this, I removed the device connection check > > > > - tested on Ubuntu 20.x (bluez-5.53 and bluez-5.55) and works fine > > in > > all cases. > > It doesn't have to be paired again if the pairing agent doesn't accept > the pairing. > > Also, see 7bb73f092a. >