Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp425604rdh; Wed, 7 Feb 2024 08:37:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWEg4tvJsYVdk5NWIjIVRLuyOLHcWKhOeAtCrmfX7a72U/VY490sl3/VPgeLvkSbXZolu4MYTTsvOzdfAy0NkFDnAVciK5vXwXus0QVjA== X-Google-Smtp-Source: AGHT+IGeWdtBpeIuF1e9jjkV7qsBOpI4qZJ7A6xQ3UIRPiA0UGKSOSFrkS9csHr2K6/E1Iios2lW X-Received: by 2002:a05:620a:5307:b0:783:ab4c:39b9 with SMTP id oo7-20020a05620a530700b00783ab4c39b9mr6185424qkn.68.1707323867391; Wed, 07 Feb 2024 08:37:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707323867; cv=pass; d=google.com; s=arc-20160816; b=d7c6IzfE5RzgU3pOQFFQEFdcO5BKS5H4PtmFyKkBW5XOoaFj01f3W3o/oCKKWMLy5K 27vKxbQ52CwRkSDXE5q2A2B+FKq50gsspxiiskQ7oyBIcReGnY/1YGP5Q0SH4VjsSryu GIawpge/ZY4oyT459UzWP0EmcKkby+7p1XQfszlDSSJ9ksmtMTj1e4ikMW4Zwk+xWp+y 7xaobvFUtnTru5U4lo3MfOfII+YKNupNAcRpqVWCQ11qpzT7L2RF4Nf/RS9Q/E4FqOkB mfSFwl3XJQfsgnHqKP8EF1xlqlSj5gbYhFZWyXNI20Jn6zlcZ2xNvVdfw+T/70cGgONC gcAA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=7CQsCfDT3Lfw9A3gc2M78hk5IecY8XIKfDbVqMY02cM=; fh=baM68GC8grSn2So6EzS1bmOyYbOd18lc/WlBKklQRZU=; b=j16hBTVic0DuTKJLclZQrTL9T5AyOiMOHuGykGfC/5VVT0CN4K8yNz0vpoDYc+hIJ0 UFNFHY3zzbf5xRPkBQFf2eS1jyTfE/8kP0vMM7v9L1d86if4VD4WbOcoY5B+eVG/+xXu uMKN7HzTHuYyyP0YCIp6jPbbwuk496tfHz9Xl/73iSWM6iD9IT1+Wd5uLTJg/HUfou8g ljtsuuE45kzapet/gXEbAPEci9UuJEUquviYM24vAypOWXhPjDPVHiUC5SNCgplddSDe KShVmSVvZ+l9U/fPApBJ68KnOaxiFjDEETWik4ds9/hGEfcLJs3VPinHa5uUCqxOSjRE VPSA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=enpas.org); spf=pass (google.com: domain of linux-kernel+bounces-56776-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56776-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCWZhtaweXG4lruTloRM7FKN9HxxOlpVKzRMdVMvYZfN2dCPsbRxVneJJcTr3iwyfxNuTa9P/ZRv86Qm0BpWaRvapvz7SfbezW4EO2G1Tg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id b6-20020a05620a04e600b00783f756cb65si1394077qkh.606.2024.02.07.08.37.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 08:37:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56776-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=enpas.org); spf=pass (google.com: domain of linux-kernel+bounces-56776-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56776-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 26BFC1C2245C for ; Wed, 7 Feb 2024 16:37:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CBAD581AA9; Wed, 7 Feb 2024 16:37:39 +0000 (UTC) Received: from mail.enpas.org (zhong.enpas.org [46.38.239.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E6A42446C8; Wed, 7 Feb 2024 16:37:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.38.239.100 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707323859; cv=none; b=Ir3V5S7BtxV5cEBfxOnCqvtNPGpAHtxQlNaJkNHVCzd7I6+WiZiL084ybBJbKrOwGWs3S34ji8hzFA6A9E/E4fGct3g+IaSDMjSilqtnv8176bguJpqb8IsP8kJkP5bYBGQTp4CrCT3Va6wEI7GHFPpWj6zKppq6AC4rsDNWnoc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707323859; c=relaxed/simple; bh=XTPLse/pxfLkpk4yC3Bfz0Q5NTTh2ZLPQ8tOGCr2Onc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=LwsarsAUpkFMuF8uvR/dLCPFJDq1FVonJFNt4I+0JFPBDUbuJAgTzqeFYUEmf6/piIaWphB6plF+VNnY8D/ykC/OSrRLe03BiPdOfxqJ1FLDe2wQ27i0swODfXUxjkt6U6+MumHwOu+W6Jrjt90K5LR6TuOh8KBDBKmKnzYCoAU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=enpas.org; spf=pass smtp.mailfrom=enpas.org; arc=none smtp.client-ip=46.38.239.100 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=enpas.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=enpas.org Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.enpas.org (Postfix) with ESMTPSA id 86550100072; Wed, 7 Feb 2024 16:37:26 +0000 (UTC) From: Max Staudt To: Roderick Colenbrander , Jiri Kosina , Benjamin Tissoires Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, max@enpas.org Subject: [PATCH v2 0/5] HID: playstation: DS4: LED bugfix, third-party gamepad support Date: Thu, 8 Feb 2024 01:36:42 +0900 Message-Id: <20240207163647.15792-1-max@enpas.org> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Dear hid-playstation maintainers, Here is v2 of my patch series, with the discussed changes. Differences since v1: - Dropped patch for 7545:0104 (SZ-MYPOWER controllers) - Dropped patch for DS4 clones without a MAC address on USB - Changed hid_err() to hid_warn() where things are no longer fatal - Simplified goto as return in minimal report parsing I've included the patch to simplify the PID/VID mapping to controller types, since the previous discussion made it sound useful for future support of second-party controllers. Please feel free to drop it if you don't think it's relevant now. Thanks for your feedback! Max Patches in this series: [PATCH v2 1/5] HID: playstation: DS4: Fix LED blinking [PATCH v2 2/5] HID: playstation: DS4: Don't fail on FW/HW version [PATCH v2 3/5] HID: playstation: DS4: Don't fail on calibration data [PATCH v2 4/5] HID: playstation: DS4: Parse minimal report 0x01 [PATCH v2 5/5] HID: playstation: Simplify device type ID