From f396adf4e97ecb1a0535545fcbd54d877d35c27d Mon Sep 17 00:00:00 2001 From: Andres Diaz Date: Mon, 31 Aug 2026 16:28:13 -0600 Subject: [PATCH] hwdb: do not tag the G502 X Lightspeed macro interface as a keyboard Its full keyboard descriptor gets it ID_INPUT_KEYBOARD, which makes UPower show the mouse battery as a keyboard. --- hwdb.d/60-input-id.hwdb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hwdb.d/60-input-id.hwdb b/hwdb.d/60-input-id.hwdb index 1ce9e23b1f..1062b23561 100644 --- a/hwdb.d/60-input-id.hwdb +++ b/hwdb.d/60-input-id.hwdb @@ -93,6 +93,10 @@ id-input:modalias:input:b0005v045Ep0B22e0517* id-input:modalias:input:b0003v04B3p301Ee0100-e0,1,2,4* ID_INPUT_POINTINGSTICK=1 +# Logitech G502 X Lightspeed (wired); the macro/G-key interface is not a keyboard +id-input:modalias:input:b0003v046DpC098e0111-e0,1,2,3,* + ID_INPUT_KEYBOARD=0 + # Logitech G915 TKL Keyboard (Bluetooth) id-input:modalias:input:b0005v046DpB35Fe0022* ID_INPUT_MOUSE=0