Skip to contentSkip to conversation

HID: Lower message 'No inputs registered, leaving' to debug

PATCH Applied Mario Limonciello 2 participants 2 messages May 23, 2025 – Jun 10, 2025 HID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 HID: Lower message 'No inputs registered, leaving' to debug

From: Mario Limonciello <[email protected]>

Plugging in a "Blue snowball" microphone always shows the error 'No inputs registered, leaving', but the device functions as intended.

When a HID device is started using the function hid_hw_start() and the argument HID_CONNECT_DEFAULT it will try all various hid connect requests. Not all devices will create an input device and so the message is needlessly noisy. Decrease it to debug instead.

---
 drivers/hid/hid-input.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hid/hid-input.c +1 -1
index 9d80635a91ebd..ff1784b5c2a47 100644
@@ -2343,7 +2343,7 @@ int hidinput_connect(struct hid_device *hid, unsigned int force)
 	}
 
 	if (list_empty(&hid->inputs)) {
-		hid_err(hid, "No inputs registered, leaving\n");
+		hid_dbg(hid, "No inputs registered, leaving\n");
 		goto out_unwind;
 	}
 
Signature · 1 line
2.43.0
maintainer Applied
#1 lore raw
Quoted 6 lines · Mario Limonciello

From: Mario Limonciello <[email protected]>

Plugging in a "Blue snowball" microphone always shows the error 'No inputs registered, leaving', but the device functions as intended.

Quoted 6 lines

When a HID device is started using the function hid_hw_start() and the argument HID_CONNECT_DEFAULT it will try all various hid connect requests. Not all devices will create an input device and so the message is needlessly noisy. Decrease it to debug instead.

Indeed, that's way too verbose.

Applied to hid.git#for-6.16/upstream-fixes, thanks.

Signature · 2 lines
Jiri Kosina
SUSE Labs