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.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 EA5B7C48BE6 for ; Fri, 11 Jun 2021 23:47:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CDD5C6136D for ; Fri, 11 Jun 2021 23:47:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230187AbhFKXtq (ORCPT ); Fri, 11 Jun 2021 19:49:46 -0400 Received: from mail-qt1-f178.google.com ([209.85.160.178]:39692 "EHLO mail-qt1-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229540AbhFKXtq (ORCPT ); Fri, 11 Jun 2021 19:49:46 -0400 Received: by mail-qt1-f178.google.com with SMTP id p21so3923404qtw.6 for ; Fri, 11 Jun 2021 16:47:36 -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=9k5XTuzdGjpcIWll5aNtcDOwxzv06WPFRNlOE7yNKzU=; b=hWWOILzIj3GVS133jYfWoDePKUXOfR6PPnuTZGbbkuQzy0ANnotLLpzqCt7AspwSR6 TWFcnYKNczG36U7xSyWIXJclofsB5ZxG/0ElGlUTeG8EOmK5iSeOYJaGVDtf/ptUuYcg TY/k9bbaI1XRc0QpMUMduMNO70tspZ9S6ZiM4Tqsf+qjuv/oZcpKGiX7bDqrxlWumkel /xm26vs9qCY+d2N6JeNCysnExHSUp79owoYY4CO+T+N4hhKcKcRFCacbRUg8o1FedqAu mVpL3uCCSjOl2LsrFjXv3L/3EnZT20j8QONlw6gXrNjdGTuiM3/Ed6ntDQFrZpqSBmDu a8HQ== 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=9k5XTuzdGjpcIWll5aNtcDOwxzv06WPFRNlOE7yNKzU=; b=bG3xCvi9RbCaxCikx9Cd0pLxcc4n/jjBxx7neK8OKpt+Fw1WFlEaYAFHXZqlO0nMmO 1ksiaW7ApEzzru5CRTrDDfH7cJbLBz2MF0hRsyysZdPDKrSQPneo46Jx8h0uN9TfFed6 oTI6eWN9ZOFKMSmAkvWFgUUOnlChL+Vrvq7HCVF8Sdl0arv6PcAqv59Ok/4IQ2xCW/2j 8ww7l/qA0+vnEAefGzT4grKESIqlkE184c371wV1+m7zO1YNT+Scu0cdtbg/SxKu2JMv wsjEv8v3FY73vmrHXeVurrhKyMS7QfFrnE8LaIa89jHF+yux5olQCjtqlbvG26om68dX rBpQ== X-Gm-Message-State: AOAM532G8gptL/XLRR3wQHpmuLAtQtlFiZgoBAUqnNm1hmsuJ8sP/mU/ slxBJVsFwfUv2HYU6lhk94W+Fg== X-Google-Smtp-Source: ABdhPJxDo9CKPwfYYQ62I6co+RpPSdFHSZp0VsmTQ8KneCoKgTbWkekdRlvpRjBbJ2rtjB3lgfF5MA== X-Received: by 2002:ac8:5ed5:: with SMTP id s21mr6420142qtx.87.1623455196302; Fri, 11 Jun 2021 16:46:36 -0700 (PDT) Received: from turing-police ([2601:5c0:c380:d61::359]) by smtp.gmail.com with ESMTPSA id g5sm5496121qke.101.2021.06.11.16.46.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Jun 2021 16:46:35 -0700 (PDT) Sender: Valdis Kletnieks 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 Cc: linux-sound@vger.kernel.org, linux-usb@vger.kernel.org, alsa-devel , kernelnewbies Subject: Re: USB sound card issues In-Reply-To: References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1623455194_23653P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Fri, 11 Jun 2021 19:46:34 -0400 Message-ID: <26698.1623455194@turing-police> Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org --==_Exmh_1623455194_23653P Content-Type: text/plain; charset=us-ascii On Tue, 08 Jun 2021 16:20:07 +0530, Muni Sekhar said: > $ arecord --device hw:1,0 --channels 1 --format S16_LE --rate 32000_Hz x.wav > Recording WAVE 'x.wav' : Signed 16 bit Little Endian, Rate 32000 Hz, Mono > arecord: pcm_read:2032: read error: Input/output error Always check the obvious stuff first does the card support S16_LE 32Khz data? And if it's configurable for multiple formats, was it set for the correct one? Does wireshark or other USB snoop program show any traffic at all? Does the record die immediately, or hang for a few seconds and timeout? Does 'arecord -v' or arecord -vv' tell us anything more about the situation? --==_Exmh_1623455194_23653P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Comment: Exmh version 2.9.0 11/07/2018 iQIVAwUBYMP12gdmEQWDXROgAQLIDg/+OTEH8NUNHBi0Z0ZAwqC40hjQlz5u+K/x /1Lm/4vfMZo5O9Xs3S1pgtTkElRWkKls5gErziSPTOFsKF9yAWsz+rTxKT4+NKNt OK8DQicMfmbzKYNslThtm6V5JTLRJMGDtho6tK9K2V8n9C3WJTJHclvuTyWBXyLE ZeJQa//b95ce8q+9e4MmYv9KU1Nyf7uKTleQPUWMNBcYC2MvB6okb/D6Q3N0zSZV wWbMMC00oilqfkJxBw0AvjhdpQ+0Yc2dbx58NaIwirAs/okE1z1uPJoW05XoSdwo unQuKKa6qoN85wwo4qkKjN2H4Ev9ao5+427M+xPPc2AjhBoctNzA7CQJeg9ZmyTI T1ewBD8sxNrharNeZ0BLtMTgpfcFhpXCLOcaMbUqIqu9iE6hDypACSWYSLZgN1ee fJr8tkIe6qUx75VbbY1f0H+UfRqVrogp/EFqJYQaiXL461Ls0Lc4PyzqRMEMEjwR vRMjOci0Q1tbEO0UXjaw7XSs8lKE0IcBYHGOBGanrPNDfDlMu0RCbAeWiHgC0vxn ZFZ4m37nJN0Pj9mQiuyk1RAzTMyOCc/t213dNjOElYb8ZpvqjyHngIxTtAHzCSVG g1l5m6gXxWM54gN6pDn/4sk40TPmwPHNcCaYpzkUa2/8xudTs/zZ+lQoc8Znd4nx LxU/hQOag6s= =1MM3 -----END PGP SIGNATURE----- --==_Exmh_1623455194_23653P-- 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.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 B7296C48BE5 for ; Fri, 11 Jun 2021 23:47:40 +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 63ABA613B8 for ; Fri, 11 Jun 2021 23:47:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 63ABA613B8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=vt.edu 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 E36B21AAD; Sat, 12 Jun 2021 01:46:46 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E36B21AAD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1623455257; bh=7snQ1lsR3Jw5YSnjnAIoqMzvNLQa6McMpm/xBm5nPpc=; h=From:To:Subject:In-Reply-To:References:Date:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=llG5Z/cbzaZtuG9K2xuIjuitHDiynYnZukGxsksYFpyf9qg3ARoAi8ID92tDrLO14 hnrHTLJybENxTilqSa9NHIF/FQqpa4Y/RKmcweQjvsanm4ElNEJsppMv47Qh9sbl8S W4TxIjsDzHnU5Gwf2A/EykHfaIn3DiMFxosl9F84= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 65D11F80212; Sat, 12 Jun 2021 01:46:46 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id CCF0FF8026C; Sat, 12 Jun 2021 01:46:43 +0200 (CEST) Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 6A058F800FB for ; Sat, 12 Jun 2021 01:46:39 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 6A058F800FB Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=vt-edu.20150623.gappssmtp.com header.i=@vt-edu.20150623.gappssmtp.com header.b="hWWOILzI" Received: by mail-qt1-x834.google.com with SMTP id a15so3898127qtx.13 for ; Fri, 11 Jun 2021 16:46:39 -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=9k5XTuzdGjpcIWll5aNtcDOwxzv06WPFRNlOE7yNKzU=; b=hWWOILzIj3GVS133jYfWoDePKUXOfR6PPnuTZGbbkuQzy0ANnotLLpzqCt7AspwSR6 TWFcnYKNczG36U7xSyWIXJclofsB5ZxG/0ElGlUTeG8EOmK5iSeOYJaGVDtf/ptUuYcg TY/k9bbaI1XRc0QpMUMduMNO70tspZ9S6ZiM4Tqsf+qjuv/oZcpKGiX7bDqrxlWumkel /xm26vs9qCY+d2N6JeNCysnExHSUp79owoYY4CO+T+N4hhKcKcRFCacbRUg8o1FedqAu mVpL3uCCSjOl2LsrFjXv3L/3EnZT20j8QONlw6gXrNjdGTuiM3/Ed6ntDQFrZpqSBmDu a8HQ== 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=9k5XTuzdGjpcIWll5aNtcDOwxzv06WPFRNlOE7yNKzU=; b=Zz3LA9ruuV7n+4lNwlt3mTTGvmaq7X6skkUpbsLey972YPrQ8pzY1SGij0uvLDiAy1 E8lR6AxegRXaFPesG41pAxXM5Jik5ig+FVoZClX108WkdFYQWIsh/R77ugls0e4+LBfe 9ck1EWHHDHoXvXN3X0lhVCSNZqz8nMikjNnjnUJKsIW03GGJtFAy4XENOjOXlEZLHBn+ 9gLO4mED3hhAwW53GtDON5VMKGwRd+IAtezRJfrOAzcwbBMzi3cVh8LpFRcDrIPhLiI6 u0paiYQ836z+B731tuVM3JPW+IIcghJzYO2HyVSfv1FGKehM85Fx5OK0aiu+2ZLy09A2 JVDg== X-Gm-Message-State: AOAM532asthyY9xxwoy7SifIwy4HvFkIqoFbYsL5QJTZltmvhkO38vW7 vkQzs9ZD3Mty7l1nvKqNQKXBQg== X-Google-Smtp-Source: ABdhPJxDo9CKPwfYYQ62I6co+RpPSdFHSZp0VsmTQ8KneCoKgTbWkekdRlvpRjBbJ2rtjB3lgfF5MA== X-Received: by 2002:ac8:5ed5:: with SMTP id s21mr6420142qtx.87.1623455196302; Fri, 11 Jun 2021 16:46:36 -0700 (PDT) Received: from turing-police ([2601:5c0:c380:d61::359]) by smtp.gmail.com with ESMTPSA id g5sm5496121qke.101.2021.06.11.16.46.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Jun 2021 16:46:35 -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: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1623455194_23653P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Fri, 11 Jun 2021 19:46:34 -0400 Message-ID: <26698.1623455194@turing-police> Cc: alsa-devel , linux-usb@vger.kernel.org, linux-sound@vger.kernel.org, kernelnewbies 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" --==_Exmh_1623455194_23653P Content-Type: text/plain; charset=us-ascii On Tue, 08 Jun 2021 16:20:07 +0530, Muni Sekhar said: > $ arecord --device hw:1,0 --channels 1 --format S16_LE --rate 32000_Hz x.wav > Recording WAVE 'x.wav' : Signed 16 bit Little Endian, Rate 32000 Hz, Mono > arecord: pcm_read:2032: read error: Input/output error Always check the obvious stuff first does the card support S16_LE 32Khz data? And if it's configurable for multiple formats, was it set for the correct one? Does wireshark or other USB snoop program show any traffic at all? Does the record die immediately, or hang for a few seconds and timeout? Does 'arecord -v' or arecord -vv' tell us anything more about the situation? --==_Exmh_1623455194_23653P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Comment: Exmh version 2.9.0 11/07/2018 iQIVAwUBYMP12gdmEQWDXROgAQLIDg/+OTEH8NUNHBi0Z0ZAwqC40hjQlz5u+K/x /1Lm/4vfMZo5O9Xs3S1pgtTkElRWkKls5gErziSPTOFsKF9yAWsz+rTxKT4+NKNt OK8DQicMfmbzKYNslThtm6V5JTLRJMGDtho6tK9K2V8n9C3WJTJHclvuTyWBXyLE ZeJQa//b95ce8q+9e4MmYv9KU1Nyf7uKTleQPUWMNBcYC2MvB6okb/D6Q3N0zSZV wWbMMC00oilqfkJxBw0AvjhdpQ+0Yc2dbx58NaIwirAs/okE1z1uPJoW05XoSdwo unQuKKa6qoN85wwo4qkKjN2H4Ev9ao5+427M+xPPc2AjhBoctNzA7CQJeg9ZmyTI T1ewBD8sxNrharNeZ0BLtMTgpfcFhpXCLOcaMbUqIqu9iE6hDypACSWYSLZgN1ee fJr8tkIe6qUx75VbbY1f0H+UfRqVrogp/EFqJYQaiXL461Ls0Lc4PyzqRMEMEjwR vRMjOci0Q1tbEO0UXjaw7XSs8lKE0IcBYHGOBGanrPNDfDlMu0RCbAeWiHgC0vxn ZFZ4m37nJN0Pj9mQiuyk1RAzTMyOCc/t213dNjOElYb8ZpvqjyHngIxTtAHzCSVG g1l5m6gXxWM54gN6pDn/4sk40TPmwPHNcCaYpzkUa2/8xudTs/zZ+lQoc8Znd4nx LxU/hQOag6s= =1MM3 -----END PGP SIGNATURE----- --==_Exmh_1623455194_23653P-- 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 747D5C48BD1 for ; Fri, 11 Jun 2021 23:47:12 +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 141006136D for ; Fri, 11 Jun 2021 23:47:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 141006136D 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 1lrqrK-0005Y0-5r; Fri, 11 Jun 2021 19:46:42 -0400 Received: from mail-qt1-x833.google.com ([2607:f8b0:4864:20::833]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1lrqrH-0005XZ-2c for kernelnewbies@kernelnewbies.org; Fri, 11 Jun 2021 19:46:39 -0400 Received: by mail-qt1-x833.google.com with SMTP id r20so3933242qtp.3 for ; Fri, 11 Jun 2021 16:46:38 -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=9k5XTuzdGjpcIWll5aNtcDOwxzv06WPFRNlOE7yNKzU=; b=hWWOILzIj3GVS133jYfWoDePKUXOfR6PPnuTZGbbkuQzy0ANnotLLpzqCt7AspwSR6 TWFcnYKNczG36U7xSyWIXJclofsB5ZxG/0ElGlUTeG8EOmK5iSeOYJaGVDtf/ptUuYcg TY/k9bbaI1XRc0QpMUMduMNO70tspZ9S6ZiM4Tqsf+qjuv/oZcpKGiX7bDqrxlWumkel /xm26vs9qCY+d2N6JeNCysnExHSUp79owoYY4CO+T+N4hhKcKcRFCacbRUg8o1FedqAu mVpL3uCCSjOl2LsrFjXv3L/3EnZT20j8QONlw6gXrNjdGTuiM3/Ed6ntDQFrZpqSBmDu a8HQ== 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=9k5XTuzdGjpcIWll5aNtcDOwxzv06WPFRNlOE7yNKzU=; b=obAS1r4eNC1ecVnadtasJQMHmWDjf0esZbtBdYxoMOEPwzBJoiH8rru3B1X5grxoAq MQZnwtWj5Yyg37xpao8xBa3n1DADW5C4CKorJ6/E+IscrC5bPr8U+/ikAntNSCrcxIwl lgz1ZRIGwgKLoabC6sl/VpSQ8hQPcPE1LpcYQ1HTwkmRMGoO8d1J2GYrzLJYa/B9NGLq wYugbptuTmp3R5VXVTWDGjXD3EGNaAgapOdXzcwyGM7Vtya8P0PXhJuCOxlO83eNvZQ9 YaNm8+Ua/HNZThUMLQWJzHJOojDxEbgyNdp+seKqXSadLrc5bKwRRl5iYUQpBy0tsXRf qC+g== X-Gm-Message-State: AOAM533EAbcf6E/XAv72V8p8S2zpmqet39gWXKIUw7jvN1v+dbWUmsM5 SW3iNfxdXgkZApefDtzwIcb5Bg== X-Google-Smtp-Source: ABdhPJxDo9CKPwfYYQ62I6co+RpPSdFHSZp0VsmTQ8KneCoKgTbWkekdRlvpRjBbJ2rtjB3lgfF5MA== X-Received: by 2002:ac8:5ed5:: with SMTP id s21mr6420142qtx.87.1623455196302; Fri, 11 Jun 2021 16:46:36 -0700 (PDT) Received: from turing-police ([2601:5c0:c380:d61::359]) by smtp.gmail.com with ESMTPSA id g5sm5496121qke.101.2021.06.11.16.46.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Jun 2021 16:46:35 -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: Mime-Version: 1.0 Date: Fri, 11 Jun 2021 19:46:34 -0400 Message-ID: <26698.1623455194@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="===============5236476908411461901==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============5236476908411461901== Content-Type: multipart/signed; boundary="==_Exmh_1623455194_23653P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --==_Exmh_1623455194_23653P Content-Type: text/plain; charset=us-ascii On Tue, 08 Jun 2021 16:20:07 +0530, Muni Sekhar said: > $ arecord --device hw:1,0 --channels 1 --format S16_LE --rate 32000_Hz x.wav > Recording WAVE 'x.wav' : Signed 16 bit Little Endian, Rate 32000 Hz, Mono > arecord: pcm_read:2032: read error: Input/output error Always check the obvious stuff first does the card support S16_LE 32Khz data? And if it's configurable for multiple formats, was it set for the correct one? Does wireshark or other USB snoop program show any traffic at all? Does the record die immediately, or hang for a few seconds and timeout? Does 'arecord -v' or arecord -vv' tell us anything more about the situation? --==_Exmh_1623455194_23653P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Comment: Exmh version 2.9.0 11/07/2018 iQIVAwUBYMP12gdmEQWDXROgAQLIDg/+OTEH8NUNHBi0Z0ZAwqC40hjQlz5u+K/x /1Lm/4vfMZo5O9Xs3S1pgtTkElRWkKls5gErziSPTOFsKF9yAWsz+rTxKT4+NKNt OK8DQicMfmbzKYNslThtm6V5JTLRJMGDtho6tK9K2V8n9C3WJTJHclvuTyWBXyLE ZeJQa//b95ce8q+9e4MmYv9KU1Nyf7uKTleQPUWMNBcYC2MvB6okb/D6Q3N0zSZV wWbMMC00oilqfkJxBw0AvjhdpQ+0Yc2dbx58NaIwirAs/okE1z1uPJoW05XoSdwo unQuKKa6qoN85wwo4qkKjN2H4Ev9ao5+427M+xPPc2AjhBoctNzA7CQJeg9ZmyTI T1ewBD8sxNrharNeZ0BLtMTgpfcFhpXCLOcaMbUqIqu9iE6hDypACSWYSLZgN1ee fJr8tkIe6qUx75VbbY1f0H+UfRqVrogp/EFqJYQaiXL461Ls0Lc4PyzqRMEMEjwR vRMjOci0Q1tbEO0UXjaw7XSs8lKE0IcBYHGOBGanrPNDfDlMu0RCbAeWiHgC0vxn ZFZ4m37nJN0Pj9mQiuyk1RAzTMyOCc/t213dNjOElYb8ZpvqjyHngIxTtAHzCSVG g1l5m6gXxWM54gN6pDn/4sk40TPmwPHNcCaYpzkUa2/8xudTs/zZ+lQoc8Znd4nx LxU/hQOag6s= =1MM3 -----END PGP SIGNATURE----- --==_Exmh_1623455194_23653P-- --===============5236476908411461901== 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 --===============5236476908411461901==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" Date: Fri, 11 Jun 2021 23:46:34 +0000 Subject: Re: USB sound card issues Message-Id: <26698.1623455194@turing-police> MIME-Version: 1 Content-Type: multipart/mixed; boundary="==_Exmh_1623455194_23653P" List-Id: References: In-Reply-To: To: Muni Sekhar Cc: linux-sound@vger.kernel.org, linux-usb@vger.kernel.org, alsa-devel , kernelnewbies --==_Exmh_1623455194_23653P Content-Type: text/plain; charset=us-ascii On Tue, 08 Jun 2021 16:20:07 +0530, Muni Sekhar said: > $ arecord --device hw:1,0 --channels 1 --format S16_LE --rate 32000_Hz x.wav > Recording WAVE 'x.wav' : Signed 16 bit Little Endian, Rate 32000 Hz, Mono > arecord: pcm_read:2032: read error: Input/output error Always check the obvious stuff first does the card support S16_LE 32Khz data? And if it's configurable for multiple formats, was it set for the correct one? Does wireshark or other USB snoop program show any traffic at all? Does the record die immediately, or hang for a few seconds and timeout? Does 'arecord -v' or arecord -vv' tell us anything more about the situation? --==_Exmh_1623455194_23653P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Comment: Exmh version 2.9.0 11/07/2018 iQIVAwUBYMP12gdmEQWDXROgAQLIDg/+OTEH8NUNHBi0Z0ZAwqC40hjQlz5u+K/x /1Lm/4vfMZo5O9Xs3S1pgtTkElRWkKls5gErziSPTOFsKF9yAWsz+rTxKT4+NKNt OK8DQicMfmbzKYNslThtm6V5JTLRJMGDtho6tK9K2V8n9C3WJTJHclvuTyWBXyLE ZeJQa//b95ce8q+9e4MmYv9KU1Nyf7uKTleQPUWMNBcYC2MvB6okb/D6Q3N0zSZV wWbMMC00oilqfkJxBw0AvjhdpQ+0Yc2dbx58NaIwirAs/okE1z1uPJoW05XoSdwo unQuKKa6qoN85wwo4qkKjN2H4Ev9ao5+427M+xPPc2AjhBoctNzA7CQJeg9ZmyTI T1ewBD8sxNrharNeZ0BLtMTgpfcFhpXCLOcaMbUqIqu9iE6hDypACSWYSLZgN1ee fJr8tkIe6qUx75VbbY1f0H+UfRqVrogp/EFqJYQaiXL461Ls0Lc4PyzqRMEMEjwR vRMjOci0Q1tbEO0UXjaw7XSs8lKE0IcBYHGOBGanrPNDfDlMu0RCbAeWiHgC0vxn ZFZ4m37nJN0Pj9mQiuyk1RAzTMyOCc/t213dNjOElYb8ZpvqjyHngIxTtAHzCSVG g1l5m6gXxWM54gN6pDn/4sk40TPmwPHNcCaYpzkUa2/8xudTs/zZ+lQoc8Znd4nx LxU/hQOag6s= =1MM3 -----END PGP SIGNATURE----- --==_Exmh_1623455194_23653P--