From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 877D2C4361B for ; Wed, 9 Dec 2020 06:59:29 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4BFB723B85 for ; Wed, 9 Dec 2020 06:59:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4BFB723B85 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 8505016D9; Wed, 9 Dec 2020 07:58:36 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8505016D9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1607497166; bh=G519REMpbaSc+PoJMmfEtm9vtSmpomPR7QxTv+qfUTE=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=RNsTVNft7MrHysuSyfWiSo9pMV8N7KM4ZNGP7ZmNYW14mkPTPoTI/NcXjhyvzRdrP fDWR4sodV2pbr6SR2dQQZHcVyl0g3O8ZDgoDwEjuY24GsP4xgBTAwBYEMoCt9eMXpq Ljj/Vzr0gjE468ufrnb0Kh5AbI0IIOgOdZD6cFxI= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id F116DF80217; Wed, 9 Dec 2020 07:58:35 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id EDBADF8026A; Wed, 9 Dec 2020 07:58:34 +0100 (CET) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id B3F05F80240 for ; Wed, 9 Dec 2020 07:58:28 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz B3F05F80240 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 6FE96ACE1; Wed, 9 Dec 2020 06:58:27 +0000 (UTC) Date: Wed, 09 Dec 2020 07:58:27 +0100 Message-ID: From: Takashi Iwai To: meschi@posteo.de Subject: Re: Steinberg UR22 Crackling and Clicks In-Reply-To: <4188489e2967b44e57653193cab9d1cb@posteo.de> References: <61da73624ff3855867b8e65936fc2e1c@posteo.de> <987d1956f52ba49dc3b587c33e08bfb2@posteo.de> <4188489e2967b44e57653193cab9d1cb@posteo.de> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: alsa-devel@alsa-project.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Tue, 08 Dec 2020 23:14:41 +0100, meschi@posteo.de wrote: > > >> >> >> > It's likely the issues with the implicit feedback. > >> >> >> > > >> >> >> > The latest development tree (either linux-next tree or > >> >> >> > topic/usb-audio-refactoring branch of my sound.git tree) contains the > >> >> >> > improvements of the implicit feedback mode. > >> >> >> > > >> >> >> > > >> >> >> > Takashi > >> >> When I try to play a file now this happens: > >> >> $ aplay -D plughw:CARD=UR22 ./file.wav > >> >> Playing WAVE './file.wav' : Signed 16 bit Little Endian, Rate 44100 > >> >> Hz, Stereo > >> >> aplay: set_params:1407: Unable to install hw params: > >> > > >> > It's a known side-effect of the implicit feedback mode, and the latest > >> > patchset I mentioned earlier addresses the issue. > >> > > >> > > >> > Takashi > >> > >> I'm already running the kernel built from the linux-next tree... > >> I built next-20201208 from > >> git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > >> Is there another patch set that I'm missing? > > > > Hm, strange. > > > > Please check the contents of /proc/asound/card*/stream* file. With > > the latest patches and the implicit feedback mode, you should see the > > lines like "Sync Endpoint: 0x...." and "Implicit Feedback Mode: yes". > > > > > > Takashi > > Yes, I see this: > > Yamaha Corporation Steinberg UR22 at usb-0000:00:1a.7-3, high speed : > USB Audio > > Playback: > Status: Stop > Interface 1 > Altset 1 > Format: S24_3LE > Channels: 2 > Endpoint: 0x07 (7 OUT) (ASYNC) > Rates: 44100, 48000 > Data packet interval: 125 us > Bits: 24 > Channel map: FL FR > Sync Endpoint: 0x81 (1 IN) > Sync EP Interface: 2 > Sync EP Altset: 1 > Implicit Feedback Mode: Yes > Interface 1 > Altset 2 > Format: S24_3LE > Channels: 2 > Endpoint: 0x07 (7 OUT) (ASYNC) > Rates: 88200, 96000 > Data packet interval: 125 us > Bits: 24 > Channel map: FL FR > Sync Endpoint: 0x81 (1 IN) > Sync EP Interface: 2 > Sync EP Altset: 1 > Implicit Feedback Mode: Yes > Interface 1 > Altset 3 > Format: S24_3LE > Channels: 2 > Endpoint: 0x07 (7 OUT) (ASYNC) > Rates: 176400, 192000 > Data packet interval: 125 us > Bits: 24 > Channel map: FL FR > Sync Endpoint: 0x81 (1 IN) > Sync EP Interface: 2 > Sync EP Altset: 1 > Implicit Feedback Mode: Yes > > Capture: > Status: Stop > Interface 2 > Altset 1 > Format: S24_3LE > Channels: 2 > Endpoint: 0x86 (6 IN) (ASYNC) > Rates: 44100, 48000 > Data packet interval: 125 us > Bits: 24 > Channel map: FL FR > Interface 2 > Altset 2 > Format: S24_3LE > Channels: 2 > Endpoint: 0x86 (6 IN) (ASYNC) > Rates: 88200, 96000 > Data packet interval: 125 us > Bits: 24 > Channel map: FL FR > Interface 2 > Altset 3 > Format: S24_3LE > Channels: 2 > Endpoint: 0x86 (6 IN) (ASYNC) > Rates: 176400, 192000 > Data packet interval: 125 us > Bits: 24 > Channel map: FL FR OK, then it means that your device isn't compatible with UR22C. It has a different endpoint assignment. What happens if you run this kernel without quirk_alias option? Is the implicit feedback still set? Takashi