Re: [PATCH] HID: quirks: ignore Sony cameras in USB charging mode

From: Jiri Kosina

Date: Tue Dec 01 2026 - 07:43:58 EST


On Tue, 24 Nov 2026, John Vrachnis via B4 Relay wrote:

> From: John Vrachnis <john.al.vra@xxxxxxxxx>
>
> When a Sony camera such as the ILCE-7M3 (A7 III) is switched off and
> connected over USB, it enumerates as 054c:0994 "Sony USB Charger" with a
> single HID interface. The same ID is used by other models in charging
> mode: usb.ids lists it for the ILCE-6000, while each model has its own
> IDs for its mass-storage and MTP modes.
>
> Its 19-byte report descriptor declares one 8-bit input with Generic
> Desktop usage 0x00 (undefined); the interface does nothing beyond letting
> the camera draw charging current.
>
> Sometimes the interface does not answer during probe. usbhid then gives
> up after 25 seconds, and the device disconnects:
>
> usb 1-1: Product: USB Charger
> usb 1-1: Manufacturer: Sony
> usbhid 1-1:1.0: can't add hid device: -110
> usbhid 1-1:1.0: probe with driver usbhid failed with error -110
> usb 1-1: USB disconnect, device number 25
>
> This happened in 2 of 6 connections on an AMD 600-series xHCI
> controller. When probing does succeed, a useless "Sony USB Charger"
> input device with a single ABS_MISC axis is created instead.
>
> Add the device to hid_ignore_list so usbhid does not bind to it.
>
> Tested on 7.3.4 (Fedora 45) with the equivalent boot parameter
> usbhid.quirks=0x054c:0x0994:0x4: 13 connections in charging mode, with
> no probe timeout and no input device, and the camera charged its
> battery to full.
>
> The problem was found, and this patch and its changelog were drafted,
> with the help of an AI assistant (Claude) that analysed the kernel log
> and the device's USB and HID descriptors; I reviewed and tested the
> change.
>
> Signed-off-by: John Vrachnis <john.al.vra@xxxxxxxxx>
> ---
> Side note: the older Sony NEX-5R exposes a similar "USB Charger" HID
> interface (054c:05b2, a consumer-control descriptor) in charging mode.
> It did not show the probe timeout in 6 connections on the same
> controller, so it is not included.

Applied, thanks.

--
Jiri Kosina
SUSE Labs