From: Takashi Iwai <tiwai@suse.de>
To: silvio.unkovic@pm.me
Cc: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ALSA: usb-audio: Add quirks for Sony PlayStation Eye
Date: Tue, 01 Dec 2026 08:57:15 +0100 [thread overview]
Message-ID: <871p811lic.wl-tiwai@suse.de> (raw)
In-Reply-To: <20261128-pseye-audio-v1-1-b751d7911847@pm.me>
On Sat, 28 Nov 2026 02:22:30 +0100,
Silvio Unkovic via B4 Relay wrote:
>
> From: Silvio Unkovic <silvio.unkovic@pm.me>
>
> 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@pm.me>
Applied to for-next branch. Thanks.
Takashi
prev parent reply other threads:[~2026-12-01 7:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-28 1:22 [PATCH] ALSA: usb-audio: Add quirks for Sony PlayStation Eye Silvio Unkovic
2026-11-28 1:22 ` Silvio Unkovic via B4 Relay
2026-12-01 7:57 ` Takashi Iwai [this message]
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=871p811lic.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=silvio.unkovic@pm.me \
--cc=tiwai@suse.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.