Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3071867pxu; Tue, 8 Dec 2020 02:48:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJwYYhBXi5RAh/7x51Z1Y4A9BHGYl48yWCavbyzu9+iUbFWGiGZIBUGl8AzoSc+qAcqXb4qG X-Received: by 2002:a17:906:9613:: with SMTP id s19mr22849625ejx.351.1607424521181; Tue, 08 Dec 2020 02:48:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607424521; cv=none; d=google.com; s=arc-20160816; b=VDDP8UVAgOz2y3onTFUT8Qs619+F30Q3RXO+p/0XMr+or18aGsUH66XZzyfIOOnKWL 1bBHA45qhG5hEf6wIPXQVgQgPkFUHTqc3KoedzkZBdUWlnwzSQp7+NuGTuY7I7FYtWb9 4jKIN5cmMSEfZtb5t9xXa28c1VlO1gHzptX4/i6iCCS+rlbWCkpMz6GdbKiuwRIYopfH Nwkh/+lR52wU2l0uMJlomtLYVgqe8Hzv8LRB4p+GGNJRqTEVJiTW7PEHhVLTsdxQfXfO 0X5muYZ3V6lmsHGm4dhj0QZ7bUD3+Q/MRzJtgBDl8u4u9BVfUq6mo/kyfb5LDqXhhmNO RcwQ== 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=2Zp5FHH0IFwKzP2QOuNN5XOCjtnIIzwwM07ruJZHKzE=; b=b/WFV1EKyBNoj9Vzm6AMFd0DSsvu5t0rpVT2SZHqtMpBzlAs3X1R1gXpTVCvB6gFwe mnAV1pXI6iKOg1Nx/vgcgNxvAOT74ha9xSp+CGf+tJrTItpBhTfOnaiP2ScLELUZ4gCy xtPKT5wvXz723+dLgjYt7Gwv6rv6usaoPpE6hk5QxX4LfKnpCs2htplJb2lvCOa5iUgu 0aafadJrfkXiLivgXfR4SjnaxALw7DDUeN0q+phknSSFh/IbPaUu8hcleVzJYHE/Hisz idfBGp1O22XVCq5j+G1QQ/I7u2M3HWe5CJbzMPw/l7xXo2DjcZKN+OpjI/S2PxTnNK1m 6sbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=D0hbyE43; 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 y2si9382354edu.601.2020.12.08.02.48.05; Tue, 08 Dec 2020 02:48:41 -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=D0hbyE43; 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 S1727754AbgLHKr1 (ORCPT + 99 others); Tue, 8 Dec 2020 05:47:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726890AbgLHKr1 (ORCPT ); Tue, 8 Dec 2020 05:47:27 -0500 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 593A6C0617A6 for ; Tue, 8 Dec 2020 02:46:43 -0800 (PST) Received: by mail-lj1-x235.google.com with SMTP id o24so18562837ljj.6 for ; Tue, 08 Dec 2020 02:46:43 -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=2Zp5FHH0IFwKzP2QOuNN5XOCjtnIIzwwM07ruJZHKzE=; b=D0hbyE43YYgmF5NJ9q29OdN81XM39faUnFzsHvg3tfAUkLaGJGGzFHZyEXnChR6htY F74y1mZ62KmtUDFExWbq8DkZsIwPnSrtDqEovGSgY1BMzt1IrFHYmefaYrIMSPftAoJO shMzpKwBHgzCMlzJkUah8DI4lXjL6OJyXmv0cZ4GxRB4OewgN1c4WWWquhJwKzrPFmSN H3EDVqtAd1R/wgBfNJ+Fh3bmUZuKEApZNgiQ6A6kdUTErBZmV2Gm7a9LzEhHAjZEOwuz pDRNtNamtWX69KdaxjrDxLUXlrPefLcFeapUMk0xAxep+42p9vYAafrzk95lAXiSmyFV t9ag== 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=2Zp5FHH0IFwKzP2QOuNN5XOCjtnIIzwwM07ruJZHKzE=; b=DdKL/Duw0OExk+iYEaHltHh1ApM5zxMVirYdfY8chlcLG5cAHVDykRUFECcnJkkt8b xadIFAo1QbKYNGVIdsk3E/kbKeSiR6ugT02sWqqWJfvkO9uaZSfRi5Ap37/32D8iJWvf k+aeC0k8NQYAWTEWYgcXCAlcL+k+wnGIyBiyLuhkMcRQ9VqDF8JIHihn4tVOZvik2S7x t8GZfI1Hiwhfvwm9pTL2PT81U9Ur1J8433kRghaIv7G0R+KLrNFIf/p36PwfwhZcmYU0 3jb8fGWfozxTYJayEdv7sK0f5YYqo1MMbmL+MHk/3wYzLuR2Su7fU+ieSb5lUBdL24SR WBHQ== X-Gm-Message-State: AOAM530yOagj6HAfzh2Oaa8HcJVWdxWe7iWptu3Z0zqF5iJXK+6VVXiZ UolmAgbUYDsdrN9RuX66C8YGFDOWD13cFWZ8JgRfTvfkhz+RSg== X-Received: by 2002:a2e:8745:: with SMTP id q5mr173579ljj.77.1607424400711; Tue, 08 Dec 2020 02:46:40 -0800 (PST) MIME-Version: 1.0 References: <2fb922ffced103ba09571567366968d5462f9267.camel@hadess.net> <699f55a2f9d574943af0b5cc80c47d08d48953f7.camel@hadess.net> In-Reply-To: <699f55a2f9d574943af0b5cc80c47d08d48953f7.camel@hadess.net> From: Lionel Jeanson Date: Tue, 8 Dec 2020 11:46:29 +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 Cleaned known devices. Restart bluetooth service. d=C3=A9c. 08 11:36:11 Plugged sixaxis on USB, new device, pair, yes. Checked that it is working. d=C3=A9c. 08 11:36:47 Plugged back sixaxis on USB while on, all went f= ine. Unplugged. Turned six axis off (long press on PS button). d=C3=A9c. 08 11:37:03 Plugged back in USB -> Authorize service etc..., in bluetoothctl, didn't answer, request canceled <--- this shouldn't happen Unplugged. d=C3=A9c. 08 11:39:39 Tried to connect using BT, won't connect (normal, it's nor paired anymore) d=C3=A9c. 08 11:36:11 lionelux bluetoothd[8616]: sixaxis: compatible device connected: Sony PLAYSTATION(R)3 Controller (054C:0268 /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:054C:0268.0005/h= idraw/hidraw0) d=C3=A9c. 08 11:36:11 lionelux bluetoothd[8616]: sixaxis: setting up new de= vice d=C3=A9c. 08 11:36:14 lionelux bluetoothd[8616]: Set device flags return status: Unknown Command d=C3=A9c. 08 11:36:47 lionelux bluetoothd[8616]: sixaxis: compatible device connected: Sony PLAYSTATION(R)3 Controller (054C:0268 /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:054C:0268.0008/h= idraw/hidraw4) d=C3=A9c. 08 11:37:03 lionelux bluetoothd[8616]: sixaxis: compatible device connected: Sony PLAYSTATION(R)3 Controller (054C:0268 /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:054C:0268.0009/h= idraw/hidraw0) d=C3=A9c. 08 11:37:03 lionelux bluetoothd[8616]: sixaxis: setting up new de= vice d=C3=A9c. 08 11:39:39 lionelux bluetoothd[8616]: profiles/input/server.c:connect_event_cb() Refusing input device connect: No such file or directory (2) d=C3=A9c. 08 11:39:39 lionelux bluetoothd[8616]: profiles/input/server.c:confirm_event_cb() Refusing connection from 44:D8:32:7E:6B:6A: unknown device Le mar. 8 d=C3=A9c. 2020 =C3=A0 10:53, Bastien Nocera a= =C3=A9crit : > > On Tue, 2020-12-08 at 10:45 +0100, Lionel Jeanson wrote: > > 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. > > 1. Start bluetoothctl > 2. Plug in the device > 3. Answer yes when bluetoothctl asks to pair > > The same should work using GNOME's Bluetooth Settings. > > If it doesn't work, send the bluetoothd logs when reproducing the > problem. >