public inbox for linux-sound@vger.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: "Vittorio G (VittGam)" <linuxbugs@vittgam.net>
Cc: linux-sound@vger.kernel.org, alsa-devel@alsa-project.org,
	stable@vger.kernel.org, Jaroslav Kysela <perex@perex.cz>
Subject: Re: [PATCH] ALSA: usb-audio: Add quirk for MS LifeCam HD-3000
Date: Sun, 24 May 2015 06:35:09 +0000	[thread overview]
Message-ID: <s5hbnha32le.wl-tiwai@suse.de> (raw)
In-Reply-To: <fffbee5b1d6a62456b10a9ca132298fb@vittgam.net>

At Fri, 22 May 2015 21:15:19 +0200,
Vittorio G (VittGam) wrote:
> 
> Microsoft LifeCam HD-3000 (045e:0779) needs a similar quirk for
> suppressing the unsupported sample rate inquiry.
> 
> Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id˜481
> Cc: <stable@vger.kernel.org>
> Cc: Jaroslav Kysela <perex@perex.cz>
> Cc: Takashi Iwai <tiwai@suse.de>
> Signed-off-by: Vittorio Gambaletta <linuxbugs@vittgam.net>
> ---
> 
> The dmesg is showing this every time the ALSA audio is opened
> by the application:
> 
> [3759907.370000] 2:3:1: cannot get freq at ep 0x82
> 
> And in fact I had to initialize ALSA and v4l2 in a specific order
> in my application in order for them to both work.

Applied, thanks.


Takashi

> 
> diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
> index 46facfc..2917534 100644
> --- a/sound/usb/quirks.c
> +++ b/sound/usb/quirks.c
> @@ -1118,6 +1118,7 @@ bool snd_usb_get_sample_rate_quirk(struct snd_usb_audio *chip)
>   	case USB_ID(0x045E, 0x075D): /* MS Lifecam Cinema  */
>   	case USB_ID(0x045E, 0x076D): /* MS Lifecam HD-5000 */
>   	case USB_ID(0x045E, 0x0772): /* MS Lifecam Studio */
> +	case USB_ID(0x045E, 0x0779): /* MS Lifecam HD-3000 */
>   	case USB_ID(0x04D8, 0xFEEA): /* Benchmark DAC1 Pre */
>   		return true;
>   	}
> 

      reply	other threads:[~2015-05-24  6:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-22 19:15 [PATCH] ALSA: usb-audio: Add quirk for MS LifeCam HD-3000 Vittorio G (VittGam)
2015-05-24  6:35 ` 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=s5hbnha32le.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=linuxbugs@vittgam.net \
    --cc=perex@perex.cz \
    --cc=stable@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox