From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mta1.migadu.com (out-74.mta1.migadu.com [95.215.58.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 154623CF21D for ; Wed, 19 Aug 2026 19:58:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787169528; cv=none; b=HFQ/ql640c2OlE9TTBdZtUhzVzgUOrUNFqnsloCeBwoCBMjpT9ZjE+6rAATdEZTicxr+xGTbQMMgIm57epKqfdvnE9ajsZ7gGCwasa1Awh7KqejE9ZZK2KgkCzp9q20QC6tBcvOxgIMhuQhM9vPDo38/KvpKloK9XK2I0B1TXmc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787169528; c=relaxed/simple; bh=oeXaUn8Szz+Gd04+pFy8uvhhmYoKKM0fkrOYOXL8LrM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ty3YWHWGBjaYLvCy5CdDfcYQL4qR4A5lpJdxMx2Rfxy2TozsQjIcxSAYrfd1aGeM0vUbfknY4hgNA4quPR8M3DYZVTbELFKiSTDheenCBu8ydzlNxcksBhjvSpP2XIQyltyXSt4MO/7TFv1uxGP4Vjg/NCEnysuTbIpEBtvbi9w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=YgIbBwa/; arc=none smtp.client-ip=95.215.58.74 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="YgIbBwa/" X-Envelope-To: linux-kernel@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=oeXaUn8Szz+Gd04+pFy8uvhhmYoKKM0fkrOYOXL8LrM=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1787169521; v=1; x=1787774321; b=YgIbBwa/GZFdYaN7zMk8dFoVTPgKLeAQrvTc/vxZEkVgYuJMSRg5vau4RjcsASA2Ue06b6WG MDSWAg5/7a66ksPRYKAR1MpIBPnreDijZbQXUMUZdvTH6YGUvQppcGr444rYd2gTyrk+f1tPrUM fFPZkc9u4bvVPE9XEeGgW4xM= X-Envelope-To: linux-kernel@vger.kernel.org Received: from kernel.denis-pc.lan (151.61.14.130) by smtp.migadu.com with ESMTPS id 3212c3d8969eaee6; Wed, 19 Aug 2026 19:58:41 +0000 X-Mizu-Trace-ID: 3212c3d8969eaee6 X-Migadu-Flow: FLOW_OUT From: Denis Benato To: linux-kernel@vger.kernel.org Cc: linux-input@vger.kernel.org, "Benjamin Tissoires" , "Jiri Kosina" , "Luke D . Jones" , "Mateusz Schwartz" , "Denis Benato" , "Jonathan LoBue" , "Khamunetri Clark" , "Derek J. Clark" , Denis Benato Subject: [PATCH v2 00/12] HID: asus: add support for ROG Ally handhelds Date: Wed, 19 Aug 2026 19:58:23 +0000 Message-ID: <20260819195835.1649657-1-denis.benato@linux.dev> X-Mailer: git-send-email 2.47.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi all, This patch series adds support for ROG Ally handhelds in the HID driver for ASUS devices. The changes include reinitialization of the device after exiting a sleep state, gamepad configuration, vibration strength configuration, joysticks and triggers range configuration, anti-deadzone configuration, response curve support, force feedback support, gamepad mode support, turbo buttons support, and button remapping support. This driver is based on the original Luke's work, which was a great starting point and I have reworked it to be upstreamable, while keeping the original functionality intact and extending hid-asus to avoid regressions in functionality such as the backlight control. The ally support has been a surprisingly long task, spanning multiple years and being used in Steam OS and well as other distributions for quite a while, and I am happy to finally be submitting it. At this time LEDs are not part of the patch series as I have work in progress to unify LEDs handling across all ASUS devices, and I will submit that in a separate patch series when the userspace interface will be ready to express capabilities of these devices, but that will take some more time. This driver is the culmination of a lot of work, from many different people, and I want to thank Luke for his original work, as well as the many people that have helped me test and provide feedback on the driver: Khamunetri, Jonathan, Derek, Matthew and others that have helped during these years. Best regards, Denis Benato -v2 - HID: asus: add support for ROG Ally handhelds - Force release all vendor buttons (KEY_F19 and KEY_F20 were missing) to prevent "stuck" ghosting on resume - Fix misaligned continuation line in hid_asus_ally_raw_event() - Reword the 0x0B report comment to avoid a checkpatch "fallthrough" false positive - Normalize kernel-doc comments (function name with "()", parameters, Return sections) - HID: asus: add gamepad configuration - Normalize kernel-doc comments (ally_check_capability(), ally_get_config(), ally_config_create()) - HID: asus: add vibration strength configuration - Normalize the ally_set_vibration_intensity() kernel-doc comment - HID: asus: add joysticks inner and outer range configuration - Restructure the ally_set_joystick_thresholds() kernel-doc comment - HID: asus: add triggers inner and outer range configuration - Restructure the ally_set_trigger_ranges() kernel-doc comment - HID: asus: add joysticks anti-deadzone configuration - Normalize the ally_set_anti_deadzone() kernel-doc comment - HID: asus: add support for response curve - Normalize the ally_set_joystick_resp_curve() kernel-doc comment - HID: asus: add support to force feedback - Add a newline after input_set_capability(input, EV_FF, FF_RUMBLE); - Convert the ally_x_send_ff_report() comment to kernel-doc - HID: asus: add support for gamepad mode - Normalize the ally_set_gamepad_mode() kernel-doc comment and convert ally_apply_gamepad_mode() to kernel-doc - HID: asus: add support for turbo buttons - Normalize kernel-doc comments (ally_set_turbo_params(), ally_create_button_attributes(), ally_remove_button_attributes()) - HID: asus: add support for btn remapping - Convert the comments to kernel-doc - Fix an uninitialized variable warning by returning early when the button mappings allocation fails Denis Benato (12): HID: asus: reinitialize the device after exiting a sleep state HID: asus: add support for ROG Ally handhelds HID: asus: add gamepad configuration HID: asus: add vibration strength configuration HID: asus: add joysticks inner and outer range configuration HID: asus: add triggers inner and outer range configuration HID: asus: add joysticks anti-deadzone configuration HID: asus: add support for response curve HID: asus: add support to force feedback HID: asus: add support for gamepad mode HID: asus: add support for turbo buttons HID: asus: add support for btn remapping drivers/hid/hid-asus.c | 4686 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 4525 insertions(+), 161 deletions(-) -- 2.47.3