[alsa-devel] [PATCH] MS Lifecam HD-5000: Don't attempt to get the sample rate

Joe Turner joe at oampo.co.uk
Fri Feb 13 20:35:19 CET 2015


Hi Folks,

This is my first time doing anything kernel-related, so apologies in
advance for any faux-pas which are to follow.  I hope this is at least
going to the correct place!

Currently after setting the sample rate of USB devices the driver tries to
get the sample rate back from the device, to check that the two match up.
The Lifecam doesn't support getting the sample rate, and so this operation
times-out, and we continue regardless.

Because the USB timeout is pretty long this causes issues with some apps,
which begin to doubt the ability of the device to produce audio before the
timeout is up and misbehave in various ways.  See
https://www.google.co.uk/search?q=%22cannot+get+freq+at+ep+0x82%22 for a
range of reports relating to this issue.

This patch adds a quirk so that rather than check the sample rate and
timeout, we don't bother checking at all.

Hope this all looks okay.

Cheers,
Joe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lifecam_5000_get_sample_rate.patch
Type: text/x-patch
Size: 1899 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150213/10a51aa5/attachment.bin>


More information about the Alsa-devel mailing list