Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3019715pxu; Tue, 8 Dec 2020 01:02:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJy9ZHqzlIkOa+yyJ3hxHtxD3BeDNv7QOJsunOQvR60pee6HKC4FFizvGQc9BQgaMJIYHyTj X-Received: by 2002:a05:6402:4d2:: with SMTP id n18mr23373366edw.169.1607418148921; Tue, 08 Dec 2020 01:02:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607418148; cv=none; d=google.com; s=arc-20160816; b=ZInA6B5s6+RBFyjFjxFyDjxSxLtGgFd+dh9gNXrcus+QLSLblRrFhInuEsPwcIOq6o VGGiVLfdFwDxMRQbfABrIV5tja+L624AZw98d++/hF0YtliHNfoEAOHRNv5UrSf+plst Dv6j/jgmTxa4qanAfKzOzTC/sBhjpYn15ukd6MkBUunFAfPL5Et64kyYQ01lbG+uLEfx XJlb0zDSGnyBoeA2dyIBQQULJXIPJS7Q/a9ohY71ZOuF/Q6QM+g5ZEzq4rqvaD1CoQkE phiPezWhGj7Q/ep1LGFfrn5mlxrKrToH0dELSzLWRD6O++pgXvL/AUVVsoVdNphy+8cQ 3UEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:to:from:subject:message-id; bh=Ox93hNqMwUMP6ady/myxdzg4a81eG0KEwLO03rLIKW0=; b=xK9vhhDsD6LzasklHx2didczN7mM/LomZE9eOpmfYZl09j9aMDt3glJl6rYH/6kATN BrRLr4xOjUWYaosqw5B41mXIRc4Fewcl+FGMW5cEIvCDioVs++9cr1SX2m9qjtft0RBs O0jPKBa26IiKBPBUlrrIt8NE+9131R7u30b2HBmpMkR99oOjWl9ZhGjx7w6jhuyh/tHj 5IfGGifxtol3UEffbMzXaCGaEgSkAZ7REibGdBNXtYINOOdeVYBqB83hvNTCFtkBwBdT lfIVPHPrIEOR1jt4J7iK9avjaEAUmkC7IT7XjrYwa1yqaonUsEUwhEoINkAvKnBpMAM0 N12A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n2si11307202edi.362.2020.12.08.01.02.03; Tue, 08 Dec 2020 01:02:28 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726734AbgLHJBq (ORCPT + 99 others); Tue, 8 Dec 2020 04:01:46 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:59087 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725927AbgLHJBq (ORCPT ); Tue, 8 Dec 2020 04:01:46 -0500 X-Originating-IP: 82.255.60.242 Received: from [192.168.0.28] (lns-bzn-39-82-255-60-242.adsl.proxad.net [82.255.60.242]) (Authenticated sender: hadess@hadess.net) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id EB304E000D; Tue, 8 Dec 2020 09:01:03 +0000 (UTC) Message-ID: <2fb922ffced103ba09571567366968d5462f9267.camel@hadess.net> Subject: Re: sixaxis patch proposal From: Bastien Nocera To: Lionel Jeanson , linux-bluetooth@vger.kernel.org Date: Tue, 08 Dec 2020 10:01:03 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.1 (3.38.1-1.fc33) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org 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.