Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 656B8C64EC4 for ; Wed, 8 Mar 2023 05:55:31 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 5820C1747; Wed, 8 Mar 2023 06:54:38 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 5820C1747 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1678254928; bh=oyW0CNGtPeuIEN3WNW7DpjoT9mY81reUjYE3tBvJxvc=; h=Date:From:To:Subject:In-Reply-To:References:CC:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=S1B1e/LZHu28XoDG4d0TNVc8jumogac9EpnKkXHUm8rPy7x6FFP5JfxFlz+NJOq32 37QkV84v3wI/JqhJ6yBakPnGoC1YoskHjqZCVeQcTZ5Cw2QzCfP495M+fhqYGcwVq6 Hj0p284XAVVH31iD4zi2KfPRrbmGm4FcqD144Oro= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 08373F8042F; Wed, 8 Mar 2023 06:54:16 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 69D7AF8042F; Wed, 8 Mar 2023 06:54:11 +0100 (CET) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E475FF800DF for ; Wed, 8 Mar 2023 06:54:07 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E475FF800DF Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=OHhzqCHl; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=zFlA40Pl Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 3410B21A37; Wed, 8 Mar 2023 05:54:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1678254847; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WRph0MlMZ9SrWnexmzkHQlI+8YcXbcBj2+3PrBveAFU=; b=OHhzqCHlkPz6/VTQed6SvvTr38HW7fp/8ErB0PvZywbqTBMzr+Wy9ZQUrHTtrtPeoPyG0I z93QKe1PZnmGBBZ1fHx2eAVhtOJ+hJsAqBg/m876dXP8Ll1StUxKv6EoQtUOxB4Rrzh5bb N0JuqhUJ9SJS4AhPz3cc1Lcf9ALtM50= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1678254847; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WRph0MlMZ9SrWnexmzkHQlI+8YcXbcBj2+3PrBveAFU=; b=zFlA40PluklopShGGzZ54NuGAZlwsv1EIa1ejla4wrjPNlVlg5EofusUAMvNDEkAvle6gB JHh1FzWmdc9EYtBA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 197FB13596; Wed, 8 Mar 2023 05:54:07 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id VSFlBf8iCGSORgAAMHmgww (envelope-from ); Wed, 08 Mar 2023 05:54:07 +0000 Date: Wed, 08 Mar 2023 06:54:06 +0100 Message-ID: <87fsafiy9t.wl-tiwai@suse.de> From: Takashi Iwai To: Florian =?ISO-8859-1?Q?H=E4nel?= Subject: Re: TC-Helicon Blender In-Reply-To: <948733d5-cbea-2c9f-95c7-6e95fdcacaba@echtzeit.solutions> References: <948733d5-cbea-2c9f-95c7-6e95fdcacaba@echtzeit.solutions> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Message-ID-Hash: JEU65WI6S6OBHDW2WX4ZCE4FNPBAU6UV X-Message-ID-Hash: JEU65WI6S6OBHDW2WX4ZCE4FNPBAU6UV X-MailFrom: tiwai@suse.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: alsa-devel@alsa-project.org X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: <> List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Mon, 13 Feb 2023 08:57:19 +0100, Florian Hänel wrote: > > I have this USB device called TC-Helicon Blender which provides 12 > input streams, 8 output streams (6/4 stereo plugs), in addition to > some midi interface and internal playback and record channel. > > Bus 005 Device 016: ID 1220:8fe1 TC Electronic Blender > > If I power the device on while connected to a windows machine with its > driver installed, then plug it into my linux machine, it appears to > work correctly: > > arecord -D front:CARD=Blender  -r48000 -fS32_LE -c 12 blender.wav -d 20 > Recording WAVE 'blender.wav' : Signed 32 bit Little Endian, Rate 48000 > Hz, Channels 12 > > 46080044 blender.wav > > However if I have it on my linux machine while powering it on, I only > get timeouts and no samples from arecord: > > arecord -D front:CARD=Blender  -r48000 -fS32_LE -c 12 blender.wav -d 20 > Recording WAVE 'blender.wav' : Signed 32 bit Little Endian, Rate 48000 > Hz, Channels 12 > arecord: pcm_read:2221: read error: Input/output error > > 44 blender.wav So the device didn't give any data. > What can I do to try and get this device to init correctly under > linux? I have captured USB packets of the init phase using wireshark > on both windows and linux but comparing them is tedious if I don't > know what to look for. Are there quirks flags I can play around with? > This is my first time looking at a linux device driver issue like > this. Is it only about capture, i.e. playback works? Also, which kernel version are you testing? There are lots of quirks in USB-audio driver, take a look at sound/usb/quirks.c. You can apply the existing quirk for your device with quirk_alias module option. > Would it be ok to attach the usb captures on this mailing list? The size matters, so no big data please. Takashi