From: Joakim Tjernlund <Joakim.Tjernlund@infinera.com>
To: "tiwai@suse.com" <tiwai@suse.com>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
"perex@perex.cz" <perex@perex.cz>
Subject: usb 1-2: 1:1: cannot set freq 44100 to ep 0x81 and potential fix
Date: Sun, 20 Aug 2017 13:14:57 +0000 [thread overview]
Message-ID: <1503234895.16771.4.camel@infinera.com> (raw)
I have two USB headsets (Logitech Inc Logitech Stereo H650e and
Jabra Jabra UC VOICE 550a) who both causes lots of:
usb 1-2: 1:1: cannot set freq 44100 to ep 0x81
errors when using them for pidgin audio chats. The actual freq
varies though.
I found that adding a small delay here:
diff -u sound/usb/clock.c.org sound/usb/clock.c
--- sound/usb/clock.c.org 2017-08-18 14:38:05.597977669 +0200
+++ sound/usb/clock.c 2017-08-18 14:20:14.653661513 +0200
@@ -304,6 +304,7 @@
iface, fmt->altsetting, rate, ep);
return err;
}
+ msleep(1);
/* Don't check the sample rate for devices which we know don't
* support reading */
it seems one cannot do these settings too fast
Ant better idea for a fix? kernel 4.9.44
Jocke
PS.
When starting a chat with pidgin-sipe, I see the same sample rate
freq setting twice, not sure where that comes from.
next reply other threads:[~2017-08-20 13:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-20 13:14 Joakim Tjernlund [this message]
2017-08-21 8:43 ` usb 1-2: 1:1: cannot set freq 44100 to ep 0x81 and potential fix Joakim Tjernlund
2017-08-22 6:06 ` Takashi Iwai
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=1503234895.16771.4.camel@infinera.com \
--to=joakim.tjernlund@infinera.com \
--cc=alsa-devel@alsa-project.org \
--cc=perex@perex.cz \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).