Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2702764pxb; Sat, 30 Jan 2021 11:14:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJyM39sM6M/PiHUd6w4vv4ltcXdNwvCcCYTTf5oEfKG2mFQSLb9OgBBzbXAPgDUlHbaUciAT X-Received: by 2002:a05:6402:31bb:: with SMTP id dj27mr11354777edb.285.1612034078667; Sat, 30 Jan 2021 11:14:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612034078; cv=none; d=google.com; s=arc-20160816; b=G8h0vY7044b1ANkuvzd9sHJ+4AeOyCPVyEI0Rr4GwPzaJqEf0W5IJg/RAn644Zis/+ HtohaLdqNmb2rBMaIm3EiU6sDNEfTfDwuhvH8aarwRFl8Yn+ovDIa/T4C8lLqU0MAzX7 VueOlAOkoLHUdOCRg5yxpF13/LiVXuLrLHxx/Gd5tleroNxt4zJkgUSSLjFGJQogmBkT OFQwEuuhzKN/vruyZp+6PULRXrC6TTBGibjeHDUZJOjhLNizDpTFTuoa44n6svggtbh0 eGHy/UEgSD/XTNDJZoNtC3lX3MVeGDP/FyPCRsDJCbySq37RHVjFkrmc8i13YEQHzYB2 VgQg== 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 :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=b826KHVfAP92XNLPbv2NhgYvU4eRpKPywAcsISgN4KI=; b=qdNL1E3+NbgkCRN32slulQGEtEyX9W9di/icf0o21gzWIycKZbqdzvVGO0B6cBODI8 7PXlviidcsNOQFHv/VPqlT/btbwpe1CK4XrH87UCcuu44pIC8PTv9XA5tM2zJ5O0nxTe Ke1RTKwET36Hn1llseeuCFkXmgRTCXOzhKn1fg8wbctO007FMrW4oHITtvYn3DkJmi0D g0eSsT2TbDAHDchvvvowPFgNA+PWOhXHAp19hGJBDYYBp83hxnog9FJssrZZVeU+R8xY Adz7T7xXObGWnX8mqGxwMdzGj93W8nW8nrvdbbNNVO4fQC1a/5ZeYd7R3tw87791yGQ5 z4PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@archlinux.org header.s=dkim-rsa header.b=ZT+XiBp4; dkim=neutral (no key) header.i=@archlinux.org header.s=dkim-ed25519 header.b=qjyaQNqT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=archlinux.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z15si7653896edl.252.2021.01.30.11.14.14; Sat, 30 Jan 2021 11:14:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=@archlinux.org header.s=dkim-rsa header.b=ZT+XiBp4; dkim=neutral (no key) header.i=@archlinux.org header.s=dkim-ed25519 header.b=qjyaQNqT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=archlinux.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231969AbhA3TLX (ORCPT + 99 others); Sat, 30 Jan 2021 14:11:23 -0500 Received: from mail.archlinux.org ([95.216.189.61]:44394 "EHLO mail.archlinux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230036AbhA3TLW (ORCPT ); Sat, 30 Jan 2021 14:11:22 -0500 Received: from localhost.localdomain (unknown [188.251.63.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: ffy00) by mail.archlinux.org (Postfix) with ESMTPSA id 396F63AEDBB; Sat, 30 Jan 2021 19:10:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=archlinux.org; s=dkim-rsa; t=1612033840; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=b826KHVfAP92XNLPbv2NhgYvU4eRpKPywAcsISgN4KI=; b=ZT+XiBp4cqJMVZwDnavGIVWYBLEVnn39p1BvvfEOnMJOPriADhzaOPGOuW0NVNcynexX8a mosuNyjPaWBfYZVzlTDKWSUI6LULL9qs1GKT4e61UKcDXvqr8q4ZxuaM0OO4DmvhaIa6Tp curE5v3bKMkfINr61MZld6LdTeOrM7cJN2F9sx+rUxokNrRzV4f0Y1ZkeR3sCqSwLMTKpM vYrLsHcQMKdJ12gdr8NZCuRF0QkIuHOIq6bqizljjhbcG9i19KbAJdCvGx4l21aNrt9rTi Wi7iAMz6DTyO28cgTtWyDv1tUgMZfOM0fMJu12F/rR561Mygs9xIJ2ja4ECU5qAQ6YBmNo PgpZ3s7TXGqY4GKcCp35VP8TwK14WH5gXXXr7IYaYdhhLKDQ//B7CgPGwj4cqHsOijozoY 4HCyFFMNtCEMk7AIPWLKjfHZEjgQAEZTL5TQyu34kRgwWTLoo5GiJ/6tmWsK+gsb4qIWmv ep3P7aYmS8gqrBDz3q/MabzVV2CV/k8ulk8dbGOlMVk0b/zGFaNZYLtb04uDlDHgTqdQPR TPsNNBaF3H7VFFa8bD8Hriy//smvy3dtNeJZ2t3hRdPIDb5+h1U60ZecPhk0E2efNpC4/F ab9ons3zuLE3X+Mvw7oJNGPrGdI3n8mHflidX5oqp0KRZ7tjyl/Mg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=archlinux.org; s=dkim-ed25519; t=1612033840; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=b826KHVfAP92XNLPbv2NhgYvU4eRpKPywAcsISgN4KI=; b=qjyaQNqTKq1nX0XyVPhXG2eHwjdFDs1YL1K149p1TO9jXtVFPJHPKmWVX33P1nj/nFybj3 L0GcbjV1S9yOh6Dg== From: =?UTF-8?q?Filipe=20La=C3=ADns?= To: Jiri Kosina , Benjamin Tissoires , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Hans de Goede Cc: =?UTF-8?q?Filipe=20La=C3=ADns?= Subject: [PATCH] HID: logitech-dj: add support for keyboard events in eQUAD step 4 Gaming Date: Sat, 30 Jan 2021 19:10:27 +0000 Message-Id: <20210130191027.1225465-1-lains@archlinux.org> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Authentication-Results: mail.archlinux.org; auth=pass smtp.auth=ffy00 smtp.mailfrom=lains@archlinux.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Filipe Laíns In e400071a805d6229223a98899e9da8c6233704a1 I added support for the receiver that comes with the G602 device, but unfortunately I screwed up during testing and it seems the keyboard events were actually not being sent to userspace. This resulted in keyboard events being broken in userspace, please backport the fix. The receiver uses the normal 0x01 Logitech keyboard report descriptor, as expected, so it is just a matter of flagging it as supported. Reported in https://github.com/libratbag/libratbag/issues/1124 Signed-off-by: Filipe Laíns --- drivers/hid/hid-logitech-dj.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hid/hid-logitech-dj.c b/drivers/hid/hid-logitech-dj.c index 6596c81947a8..2703333edc34 100644 --- a/drivers/hid/hid-logitech-dj.c +++ b/drivers/hid/hid-logitech-dj.c @@ -981,6 +981,7 @@ static void logi_hidpp_recv_queue_notif(struct hid_device *hdev, case 0x07: device_type = "eQUAD step 4 Gaming"; logi_hidpp_dev_conn_notif_equad(hdev, hidpp_report, &workitem); + workitem.reports_supported |= STD_KEYBOARD; break; case 0x08: device_type = "eQUAD step 4 for gamepads"; -- 2.30.0