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=-3.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no 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 8DC63C48BDF for ; Tue, 15 Jun 2021 06:14:43 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (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 2BFA861059 for ; Tue, 15 Jun 2021 06:14:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2BFA861059 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=vt.edu Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94.2) (envelope-from ) id 1lt2LD-0005R0-QZ; Tue, 15 Jun 2021 02:14:27 -0400 Received: from mail-qv1-xf2a.google.com ([2607:f8b0:4864:20::f2a]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1lt2LA-0005QI-IY for kernelnewbies@kernelnewbies.org; Tue, 15 Jun 2021 02:14:24 -0400 Received: by mail-qv1-xf2a.google.com with SMTP id u13so21808016qvt.7 for ; Mon, 14 Jun 2021 23:14:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vt-edu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:in-reply-to:references:mime-version :content-transfer-encoding:date:message-id; bh=5p6r7tT6JpnFVOCQc0t32V8ptgw1D+osB0n0nDQ9dZU=; b=T2bnSnYNFfcwYBnxPxx2HOKCb0V6e+i0YyfI7rzyxiD5eF8+LeGZqMdv6Br3Mv6YDo jiWnTvbaLy8JONXsbpg4jTXZHgJTV9j5bLBjqNANfEHpjMLF4iPM1BYbz0WUj67zJejR kMz2QQBmzxq6o2c3yd/Ml2IIlFQCItgG9zEnxqwoA3fpfRznf1LY8KrcObSCH83Lavit WkRsAD7krZzpsBlSJFFStB+LWq3LxyDRA085FpTBfzcllEiYg4o7KPAJzXu8gldIkdUz pIh97MFFN1kNR95Yq7i5S91vj+2nRuAQ5PeR46FeHTAJXael3ddOt2Q4Q9BBpLg9pY4J 6fng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :mime-version:content-transfer-encoding:date:message-id; bh=5p6r7tT6JpnFVOCQc0t32V8ptgw1D+osB0n0nDQ9dZU=; b=F47Ow8lp3nrcdrKKPJqzHb7YFjfHuXKGbQYk5/4KEdYMR2C71I82oxCbE+fFpATcjW 8jiirw8t9iXSvkFXf8wtV27Q92O1dzVdtDHWxTvpX2B3gQjdBedDlfRrFyI6Z6D+FEHt kloiSQQvOTkkFdz1cMyfq41BGvVA8vdDvkRsRt7FN4htcWU50k89mqVygxufXmGCKQjQ pkp2takqr/q4zCnSHbhXj5YSAO3M/yKxSvkPICTwhnC+RxiCnzNzKODgMKfg5pbbBVwW /R/3cTSl3QsryPeR0pEImzFuiVpBQontt0ZhVUdLNDWkhYeGyTDSrqni/N8JNIrvqJuZ TlQw== X-Gm-Message-State: AOAM533po6wLexqpl09/kP3CR3ZLw+6/41ejtzjBn/42NHKtpbAggO+J FRKPAUcmt9MyKXbJgWbIOA+iSQ== X-Google-Smtp-Source: ABdhPJxMAdHu3UVivt6CyjfIbsc13nvBGRaXL9cOxzuyGEdMnuynC8A7XlRVCPMCQBrHGUpWEqlprg== X-Received: by 2002:ad4:4513:: with SMTP id k19mr3455852qvu.10.1623737662368; Mon, 14 Jun 2021 23:14:22 -0700 (PDT) Received: from turing-police ([2601:5c0:c380:d61::359]) by smtp.gmail.com with ESMTPSA id d10sm9126220qko.73.2021.06.14.23.14.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Jun 2021 23:14:21 -0700 (PDT) From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Google-Original-From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7+dev To: Muni Sekhar Subject: Re: USB sound card issues In-Reply-To: References: <26698.1623455194@turing-police> Mime-Version: 1.0 Date: Tue, 15 Jun 2021 02:14:20 -0400 Message-ID: <27987.1623737660@turing-police> Cc: alsa-devel , linux-usb@vger.kernel.org, linux-sound@vger.kernel.org, kernelnewbies X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============7373212732449162801==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============7373212732449162801== Content-Type: multipart/signed; boundary="==_Exmh_1623737660_27061P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --==_Exmh_1623737660_27061P Content-Type: text/plain; charset=us-ascii On Sat, 12 Jun 2021 16:45:00 +0530, Muni Sekhar said: > > And if it's configurable for multiple formats, was it set for the correct one? > Is there a way to verify was it set for the correct one or not? arecord -v gives what it thinks the setup is. > > Does the record die immediately, or hang for a few seconds and timeout? > What is the difference between these two ways? An immediate failure is usually related to a "Can't do it" situation where the USB interaction to configure the device has failed, while a timeout usually indicates that the configuration at least *claimed* to succeed, but is failing to properly transfer valid data. > For my hardware, I noticed that it hangs for a few seconds and gives EIO (arecord: > pcm_read:2032: read error: Input/output error). Given that the usbmon output ran to several megabytes, that's tending to point at "the card was returning lots of packets, but they weren't actually the format/data that arecord was expecting. --==_Exmh_1623737660_27061P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Comment: Exmh version 2.9.0 11/07/2018 iQIVAwUBYMhFPAdmEQWDXROgAQLflRAAs+j4NzJsZvDoYyONGr7oogKXJeN9xOeC MZ4TriWfaNZFsJjF4vZLASaJHchFooza6IVmfXyydw5eaDqiMjY29248qWt3Udcn pX0riM8ss4f1PZHJJ1wxXUB7xyWllk8B7rSUCQVQzleBa869EnUBL8scgZo4wfFR bLcIWoB6MOYzCWUCAH46qKVBlDfuF21vH3X/njcPoYVDFkBzrWBdtf7EZRNUD4eF OZECVvE6Wlf7FrAhMX7Z25MKEtvFk/5/3XO18vMvB+iI/4mcqgYhhTbL9T20kHxn X5Z4diY31QZNRitK7uQvBCv70moH0gyP5wmP1qaEV6NV3PojwBsC2UlvkKx0Rq8q Yj/+3BEhaJI3lmKnFzNKaAlxSoWLtkfaiYz3fq0s04kQg36j05eV+UuzvKMe6Nvi PiB/QPhDAqpnxWCEQ8vAi9CXV/pM46ZdPFJlZtLZZe0RcwCRKKUfGKFVK9i19cRX ifhZOMUtHdcQi8j7cDuauFQYd4j+M8wLsTEd7E4G0vEcp+hebC66s+cWMP0Ofg0f OVRT4jHovw4UQuimQ5M7dc0B+MAqLUYv8caoHgBI3/Wvy7de/b7tSGwoEt8uZbha opHBCfQ+5lxTwMn66g6GGMEarC1CCjD0D9DtaT4DaDHzx/ZUNg9w+rxS/sKJen+i Q40iY/MKlhU= =3wIB -----END PGP SIGNATURE----- --==_Exmh_1623737660_27061P-- --===============7373212732449162801== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============7373212732449162801==--