From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joakim Tjernlund 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 Message-ID: <1503234895.16771.4.camel@infinera.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0047.outbound.protection.outlook.com [104.47.40.47]) by alsa0.perex.cz (Postfix) with ESMTP id 0F94D266EB0 for ; Sun, 20 Aug 2017 15:15:03 +0200 (CEST) Content-Language: en-US Content-ID: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: "tiwai@suse.com" , "alsa-devel@alsa-project.org" , "perex@perex.cz" List-Id: alsa-devel@alsa-project.org 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.