linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Rodrigo Lugathe da Conceição Alves" <lugathe2@gmail.com>
To: linuxhid@cosmicgizmosystems.com
Cc: bentiss@kernel.org, dmitry.torokhov@gmail.com, jikos@kernel.org,
	linux-input@vger.kernel.org, linux-sound@vger.kernel.org,
	linux-usb@vger.kernel.org, linuxsound@cosmicgizmosystems.com,
	lugathe2@gmail.com, michal.pecio@gmail.com,
	stern@rowland.harvard.edu
Subject: [PATCH] The Edifier QR30 USB speaker, identified as: Jieli Technology EDIFIER Hal0 2.0 SE 2d99:a101, reports a HID interface that needs HID_QUIRK_ALWAYS_POLL to ensure it does not crash when changing the RGB brightness with the physical knob.
Date: Tue, 11 Nov 2025 04:42:05 -0300	[thread overview]
Message-ID: <20251111074205.1533558-1-lugathe2@gmail.com> (raw)
In-Reply-To: <c6d506f7-f13b-4d57-a522-a2ccd09e7a1f@cosmicgizmosystems.com>

Add a new vendor and product ID entry in hid-ids.h and register
the corresponding device in hid-quirks.c with the required quirk.

Signed-off-by: Rodrigo Lugathe da Conceição Alves <lugathe2@gmail.com>
---
 drivers/hid/hid-ids.h    | 3 +++
 drivers/hid/hid-quirks.c | 1 +
 2 files changed, 4 insertions(+)

diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 0723b4b1c9ec..ece1bea0faa5 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -734,6 +734,9 @@
 #define USB_VENDOR_ID_JESS2		0x0f30
 #define USB_DEVICE_ID_JESS2_COLOR_RUMBLE_PAD 0x0111
 
+#define USB_VENDOR_ID_JIELI_TECHNOLOGY		0x2d99
+#define USB_DEVICE_ID_EDIFIER_QR30	0xa101	/* EDIFIER Hal0 2.0 SE */
+
 #define USB_VENDOR_ID_KBGEAR		0x084e
 #define USB_DEVICE_ID_KBGEAR_JAMSTUDIO	0x1001
 
diff --git a/drivers/hid/hid-quirks.c b/drivers/hid/hid-quirks.c
index bcd4bccf1a7c..d104f4829d93 100644
--- a/drivers/hid/hid-quirks.c
+++ b/drivers/hid/hid-quirks.c
@@ -110,6 +110,7 @@ static const struct hid_device_id hid_quirks[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_HP, USB_PRODUCT_ID_HP_PIXART_OEM_USB_OPTICAL_MOUSE_1f4a), HID_QUIRK_ALWAYS_POLL },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_IDEACOM, USB_DEVICE_ID_IDEACOM_IDC6680), HID_QUIRK_MULTI_INPUT },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_INNOMEDIA, USB_DEVICE_ID_INNEX_GENESIS_ATARI), HID_QUIRK_MULTI_INPUT },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_JIELI_TECHNOLOGY, USB_DEVICE_ID_EDIFIER_QR30), HID_QUIRK_ALWAYS_POLL },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_PIXART_USB_OPTICAL_MOUSE_ID2), HID_QUIRK_ALWAYS_POLL },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_EASYPEN_M406), HID_QUIRK_MULTI_INPUT },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_EASYPEN_M506), HID_QUIRK_MULTI_INPUT },
-- 
2.51.2


  reply	other threads:[~2025-11-11  7:43 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CALvgqEAq8ZWgG4Dyg_oL7_+nUDy+LUoTXi+-6aceO-AKtBS3Mg@mail.gmail.com>
2025-11-08  4:41 ` [BUG] Edifier QR30 (2d99:a101, Jieli Technology) reboots itself when RGB brightness button is used under Linux Terry Junge
2025-11-08 18:18   ` The-Luga
2025-11-08 20:48     ` Alan Stern
2025-11-09  0:15       ` The-Luga
2025-11-09  3:22         ` Alan Stern
2025-11-09  5:18           ` The-Luga
2025-11-09  8:24             ` Michal Pecio
2025-11-09 14:25               ` The-Luga
2025-11-09 15:32                 ` Alan Stern
2025-11-09 16:44                   ` The-Luga
2025-11-09 20:30                     ` Alan Stern
2025-11-09 22:17                       ` The-Luga
2025-11-09 22:49                         ` Terry Junge
2025-11-10  0:56                           ` The-Luga
2025-11-10  4:00                             ` Terry Junge
2025-11-10  2:20                           ` Alan Stern
2025-11-10  4:56                             ` Dmitry Torokhov
2025-11-10  5:40                               ` The-Luga
2025-11-10  6:54                                 ` The-Luga
2025-11-10 19:57                                   ` Terry Junge
2025-11-10 20:10                                     ` Alan Stern
2025-11-10 23:48                                       ` The-Luga
2025-11-11  1:59                                         ` The-Luga
2025-11-11  3:42                                         ` Alan Stern
2025-11-11  5:11                                         ` Terry Junge
2025-11-11  7:42                                           ` Rodrigo Lugathe da Conceição Alves [this message]
2025-11-11  8:08                                             ` [PATCH] The Edifier QR30 USB speaker, identified as: Jieli Technology EDIFIER Hal0 2.0 SE 2d99:a101, reports a HID interface that needs HID_QUIRK_ALWAYS_POLL to ensure it does not crash when changing the RGB brightness with the physical knob The-Luga
2025-11-11 19:33                                             ` Michal Pecio
2025-11-12  1:53                                               ` [PATCH v2] Apply the quirk HID_QUIRK_ALWAYS_POLL to the Edifier QR30 (2d99:a101) Rodrigo Lugathe da Conceição Alves
2025-11-12  5:20                                                 ` Terry Junge
2025-11-12 17:25                                                   ` Alan Stern
2025-11-13 15:45                                                     ` The-Luga
2025-11-13 17:45                                                       ` Terry Junge
2025-11-11  9:16                                           ` [BUG] Edifier QR30 (2d99:a101, Jieli Technology) reboots itself when RGB brightness button is used under Linux Oliver Neukum
2025-11-11 15:08                                           ` Alan Stern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251111074205.1533558-1-lugathe2@gmail.com \
    --to=lugathe2@gmail.com \
    --cc=bentiss@kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=jikos@kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=linuxhid@cosmicgizmosystems.com \
    --cc=linuxsound@cosmicgizmosystems.com \
    --cc=michal.pecio@gmail.com \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).