Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3079205pxu; Tue, 8 Dec 2020 03:03:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJxDFc3GObqZk+F4W/ZX99oVzbO7MF8gp67XpsBY3ZB3aim0ZC1pZukpYG4GbisvWKu8qHrj X-Received: by 2002:a50:9b58:: with SMTP id a24mr23460124edj.22.1607425406728; Tue, 08 Dec 2020 03:03:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607425406; cv=none; d=google.com; s=arc-20160816; b=djUb0YrEWB/FbyMna3Y+uHkLV/697hNgwnBK3QHwESVaqDiMhp6MNvr4zNUWRpAGRl V0Wpq+/fAI7cJZYHbCZMhPTlJtTWD65jcvqDo8kPTrgzAOyeXoP0Ll7m/qrB/bcJCEi4 +34CS4VuXfuP5/oJXFhp/bBSxBqYAcA49p0ThjmHnydlOZz5v7Ikp/cEi5vk7UCvBDF+ nwdeKfP8h8l9mcmY5JRzmqNhzNrdl2X2uI7JBgnd4d+/yBsfIZQD4ean/dbUbjn54115 CMI41T9A6YzPSbJb148LurTHlLvUhaLvdYBkroU/nWFEKm6Y7MC7oE7wTjf68kPiK/gN UOVA== 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:cc:to:from:subject :message-id; bh=Rm2cU2QOt69piAFJayHf0y6cTLBtTtINJvxSylcMC28=; b=P4dtNyMd8lt7SP+YhBR9VT5fE68lKql6nAiB91jzpxRm7R2sUULRi5FGog5PM4rJM/ tQBVCwWEdWQQcWTYA2rzP4LbvzYLo07x1ynTuz3F8+cyWMnG8zvB2zXtRKju5WQ6GyFo fFzaBNZk0tRJHovmFye8MneonaVpD//mZ1wFRMJP1D3WuZVG36vtrn4Cdk5WhkXb+Tq+ 6JgqYjFmdjUEqLnX1eavkeQxGcs717Q/VP2YeDADQDxeI8c5clEscUDXTkOzhX7uASYa YYtYRdT2hoxTcJ/v+CEyQxIcK6f4yb3blp+AvkDlyQpTJfFUx9IRaKjut99kNW9LTP69 iM9w== 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 w10si10091145edv.243.2020.12.08.03.02.51; Tue, 08 Dec 2020 03:03:26 -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 S1727845AbgLHK7l (ORCPT + 99 others); Tue, 8 Dec 2020 05:59:41 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:36417 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728780AbgLHK7l (ORCPT ); Tue, 8 Dec 2020 05:59:41 -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 BE254E0004; Tue, 8 Dec 2020 10:58:59 +0000 (UTC) Message-ID: <42a369804808a2be8012b950a7db9f6ab8f27936.camel@hadess.net> Subject: Re: sixaxis patch proposal From: Bastien Nocera To: Lionel Jeanson Cc: linux-bluetooth@vger.kernel.org Date: Tue, 08 Dec 2020 11:58:59 +0100 In-Reply-To: References: <2fb922ffced103ba09571567366968d5462f9267.camel@hadess.net> <699f55a2f9d574943af0b5cc80c47d08d48953f7.camel@hadess.net> 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 Tue, 2020-12-08 at 11:46 +0100, Lionel Jeanson wrote: > Cleaned known devices. > Restart bluetooth service. > déc. 08 11:36:11      Plugged sixaxis on USB, new device, pair, yes. > Checked that it is working. >  déc. 08 11:36:47     Plugged back sixaxis on USB while on, all went > fine. > Unplugged. > Turned six axis off (long press on PS button). > déc. 08 11:37:03      Plugged back in USB -> Authorize service > etc..., > in bluetoothctl, didn't answer, request canceled     <--- this > shouldn't happen > Unplugged. > déc. 08 11:39:39      Tried to connect using BT, won't connect > (normal, it's nor paired anymore) > > > déc. 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/hidraw/hidraw0) > déc. 08 11:36:11 lionelux bluetoothd[8616]: sixaxis: setting up new > device > déc. 08 11:36:14 lionelux bluetoothd[8616]: Set device flags return > status: Unknown Command Looks like you didn't enable debug, as we can't see the response from the sixaxis plugin. It's supposed to send either: "Agent replied negatively, removing temporary device" or: "remote %s old_master %s new_master %s"