Re: [PATCH] ALSA: usb-audio: Add quirks for Sony PlayStation Eye
From: Takashi Iwai
Date: Tue Dec 01 2026 - 02:57:28 EST
On Sat, 28 Nov 2026 02:22:30 +0100,
Silvio Unkovic via B4 Relay wrote:
>
> From: Silvio Unkovic <silvio.unkovic@xxxxx>
>
> The Sony PlayStation Eye camera (1415:2000) has a UAC1 four-microphone
> array capture interface with a single 16 kHz rate.
>
> Reading back the sampling frequency from its endpoint returns garbage
> (e.g. 33186, 17004 or 2199316 instead of 16000), producing a "current
> rate ... is different from the runtime rate" warning on every stream
> start. This was already reported in 2012 [1]. Set
> QUIRK_FLAG_GET_SAMPLE_RATE to skip the read.
>
> Its feature unit 3 advertises a per-channel volume control, but the
> device answers GET_MIN, GET_MAX, GET_RES and GET_CUR with a single zero
> byte instead of two bytes, so the driver logs "cannot get min/max
> values" and creates a "Mic Capture Volume" control with a fallback 0..1
> range that returns -EINVAL on read. SET_CUR is accepted for any value,
> but the capture level does not change: with a fixed range forced in the
> driver, recordings stayed at the same level for every setting from
> -80 dB to +60 dB. Skip the control via a mixer map.
>
> [1] "Usb audio - unsuported sampling rates", alsa-devel, 2012-07-10
>
> Assisted-by: Claude:claude-fable-5-2
> Signed-off-by: Silvio Unkovic <silvio.unkovic@xxxxx>
Applied to for-next branch. Thanks.
Takashi