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=-2.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 1E860C4743E for ; Tue, 8 Jun 2021 12:47:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 066E26108D for ; Tue, 8 Jun 2021 12:47:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232566AbhFHMtE (ORCPT ); Tue, 8 Jun 2021 08:49:04 -0400 Received: from mail-lf1-f42.google.com ([209.85.167.42]:37813 "EHLO mail-lf1-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232339AbhFHMtE (ORCPT ); Tue, 8 Jun 2021 08:49:04 -0400 Received: by mail-lf1-f42.google.com with SMTP id f11so31732234lfq.4; Tue, 08 Jun 2021 05:47:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ea4fwkzCscgRVxwz+ttDu0ZWlCRxPg3hpkrwHQuS35Y=; b=oGS5p4AhGFi3SZLx3vt78ncDuACNxm8OyLHgrU6DrUOTANdpgtp2hx2Kej0+Sp2kxa pM7B7hedjYLvsmJfRiuueK1zu+PpTaKRzw/Gwa4SCHyzgLhFfvm5p/rRSZXvW/MXfI7J MaCeHq8n3g4Ur7aFszdvh3ziLwRNlXlCNJsmUbqqSyY4r1amOFH0xuaDC4fnBnytGHTt LYMJXxONmTVK/Ko6baeWz2QVkkz8qKU4XDc80t5Bf9+sThlqfu97AR5lW9bnPZDSmar2 gOEZHg7UA1lisMT16F4DL7uPXqA/0IwNcMGoEQilHKwPuw1dw6oDDsdDRww+8L4KDgI/ v7fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ea4fwkzCscgRVxwz+ttDu0ZWlCRxPg3hpkrwHQuS35Y=; b=QsVWTwqM8IqLgHMvlHEV/y1LO9MVCSZpWsk0kxwAgKivXBCYVoArarKl5NnOs32T2u Fhr+vZJFchznYgVDIl5vh6JKfJ6exqV6GJ7flmAF04MXwsVs21wwoEhIRsZrWh+1k+Ud 62gEXjl29wsybz+E2Kq2bv2vRtpl6Sr6TYuXrvjc5YJEDr5VkJzKCgmuxWhJWG7B3IBJ WohPWIMGHWubzwCn1FNdp+GxovfX01dlc4eirVDpaGl7w3HB3sVlFoXPgvy0Xa++Skj1 0bHid2xU3Q2FVovsgBwzTkMsK0s0k+KplPamC4pINq5GDc7fKi+qJXdE9isIlLlvNQqm ZZjg== X-Gm-Message-State: AOAM533Xj+rDg9imTQRQL93Zdn2YudPRiQahMNyZjyl4n9LdFedRNzXj +ZellGyu4YEvC0mHtCh+Cm/vKBXoe2BHAVMD9z0= X-Google-Smtp-Source: ABdhPJwaqX487JFDktM8Tf0hj/g/mTVe1LSbL0yr8Sr00IirfZo569XmptY2K2GsDwJKJxSJxT795XHblpojf+XlkLI= X-Received: by 2002:a19:7604:: with SMTP id c4mr10970752lff.398.1623156369353; Tue, 08 Jun 2021 05:46:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Muni Sekhar Date: Tue, 8 Jun 2021 18:15:57 +0530 Message-ID: Subject: Re: USB sound card issues To: Greg KH Cc: alsa-devel , linux-usb@vger.kernel.org, linux-sound@vger.kernel.org, kernelnewbies Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Tue, Jun 8, 2021 at 6:02 PM Greg KH wrote: > > On Tue, Jun 08, 2021 at 05:44:42PM +0530, Muni Sekhar wrote: > > On Tue, Jun 8, 2021 at 4:44 PM Greg KH wrote: > > > > > > On Tue, Jun 08, 2021 at 04:20:07PM +0530, Muni Sekhar wrote: > > > > Hi all, > > > > > > > > I am using a USB sound card(snd-usb-audio), and it fails while doing > > > > the audio recording "arecord: pcm_read:2032: read error: Input/output > > > > error". > > > > > > > > What could be the problem? and is there a workaround for this? > > > > > > > > $ arecord -l > > > > **** List of CAPTURE Hardware Devices **** > > > > card 1: BT_AG [BT_002], device 0: USB Audio [USB Audio] > > > > Subdevices: 1/1 > > > > Subdevice #0: subdevice #0 > > > > > > > > > > > > $ 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 > > > > > > What kernel version is this, and what other kernel messages are printed > > > when you plug your device in? > > > What kernel version is this? 4.15.0-54-generic > > > [12932.016672] usb 2-1: USB disconnect, device number 5 > > [12932.016683] usb 2-1.1: USB disconnect, device number 6 > > [12962.085766] usb 2-1: new full-speed USB device number 7 using xhci_hcd > > [12962.275849] usb 2-1: New USB device found, idVendor=0a12, idProduct=4010 > > [12962.275861] usb 2-1: New USB device strings: Mfr=0, Product=0, > > SerialNumber=0 > > [12962.276538] usb 2-1: ep 0x81 - rounding interval to 1024 microframes, ep > > desc says 2040 microframes > > [12962.279699] hub 2-1:1.0: USB hub found > > [12962.280663] hub 2-1:1.0: 4 ports detected > > [12962.875024] usb 2-1.1: new full-speed USB device number 8 using xhci_hcd > > [12962.980977] usb 2-1.1: New USB device found, idVendor=0a12, > > idProduct=4007 > > [12962.980991] usb 2-1.1: New USB device strings: Mfr=1, Product=2, > > SerialNumber=5 > > [12962.981000] usb 2-1.1: Product: BT_002 > > [12962.981008] usb 2-1.1: Manufacturer: Qualcomm > > [12962.981015] usb 2-1.1: SerialNumber: ABC4C25B > > [12962.992667] input: Qualcomm BT_002 as > > /devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1.1/2-1.1:1.0/0003:0A12:4007.0003/input/input6 > > [12963.048083] hid-generic 0003:0A12:4007.0003: input,hiddev0,hidraw0: USB > > HID v1.11 Device [Qualcomm BT_002] on usb-0000:00:14.0-1.1/input0 > > [12963.066910] hid-generic 0003:0A12:4007.0004: hiddev0,hidraw1: USB HID > > v1.11 Device [Qualcomm BT_002] on usb-0000:00:14.0-1.1/input1 > > > > Same error (arecord: pcm_read:2032: read error: Input/output error) > > observed on 4.4, 4.15 and 5.4 kernel version. > > What exact versions of these are you using? 4.4.0-66-generic 4.15.0-54-generic Ubuntu 20.04 > > And what about the latest 5.12.y release? I don't have this test setup. > > thanks, > > greg k-h -- Thanks, Sekhar 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=-0.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 4D95AC4743E for ; Tue, 8 Jun 2021 12:46:27 +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 CEA5861078 for ; Tue, 8 Jun 2021 12:46:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CEA5861078 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com 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 1lqb7V-0004Rd-Gh; Tue, 08 Jun 2021 08:46:13 -0400 Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1lqb7T-0004RK-2F for kernelnewbies@kernelnewbies.org; Tue, 08 Jun 2021 08:46:11 -0400 Received: by mail-lf1-x133.google.com with SMTP id p17so31093392lfc.6 for ; Tue, 08 Jun 2021 05:46:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ea4fwkzCscgRVxwz+ttDu0ZWlCRxPg3hpkrwHQuS35Y=; b=oGS5p4AhGFi3SZLx3vt78ncDuACNxm8OyLHgrU6DrUOTANdpgtp2hx2Kej0+Sp2kxa pM7B7hedjYLvsmJfRiuueK1zu+PpTaKRzw/Gwa4SCHyzgLhFfvm5p/rRSZXvW/MXfI7J MaCeHq8n3g4Ur7aFszdvh3ziLwRNlXlCNJsmUbqqSyY4r1amOFH0xuaDC4fnBnytGHTt LYMJXxONmTVK/Ko6baeWz2QVkkz8qKU4XDc80t5Bf9+sThlqfu97AR5lW9bnPZDSmar2 gOEZHg7UA1lisMT16F4DL7uPXqA/0IwNcMGoEQilHKwPuw1dw6oDDsdDRww+8L4KDgI/ v7fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ea4fwkzCscgRVxwz+ttDu0ZWlCRxPg3hpkrwHQuS35Y=; b=F6eXcR8c+X8mwsXIthKHj9QUnxtzK+mJ/YJo94m7nZE578QDMOSUwBYF8TGddz6dk6 djuWO7OpzdIloMavrI353YC8BojlvvoyfWpEuDA6CSN3iNsoTsNQcjqRTHYtgejvjVI1 e3lr3HOTe58BzF1QCzjZPC9VGwaaqzzLfNZuHoW71iZDya1p0kQK0u/hQa5F9CxqsO7q 5gSl5x+F+S9IHMUXOn1zve4ogSsIivASREfD9QmJNVuE/2QM1wxtnrpzkf0dwOV9Od1X UtfIb7L4ayfdUa9XAPiyT/PRDewXBZcZpqF6oPObTjMsiFGAXTXX1+LlbPQqu/2L4mRd 2C3w== X-Gm-Message-State: AOAM532nkNFsTYoeFd9k8jXd2EuYmUWY06uP4CXjCFT+FsMFlxxrMqZE 311sdYFaBUCP4dWKNOJU1NXdkfsS/NV4nsRIrZI= X-Google-Smtp-Source: ABdhPJwaqX487JFDktM8Tf0hj/g/mTVe1LSbL0yr8Sr00IirfZo569XmptY2K2GsDwJKJxSJxT795XHblpojf+XlkLI= X-Received: by 2002:a19:7604:: with SMTP id c4mr10970752lff.398.1623156369353; Tue, 08 Jun 2021 05:46:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Muni Sekhar Date: Tue, 8 Jun 2021 18:15:57 +0530 Message-ID: Subject: Re: USB sound card issues To: Greg KH 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org On Tue, Jun 8, 2021 at 6:02 PM Greg KH wrote: > > On Tue, Jun 08, 2021 at 05:44:42PM +0530, Muni Sekhar wrote: > > On Tue, Jun 8, 2021 at 4:44 PM Greg KH wrote: > > > > > > On Tue, Jun 08, 2021 at 04:20:07PM +0530, Muni Sekhar wrote: > > > > Hi all, > > > > > > > > I am using a USB sound card(snd-usb-audio), and it fails while doing > > > > the audio recording "arecord: pcm_read:2032: read error: Input/output > > > > error". > > > > > > > > What could be the problem? and is there a workaround for this? > > > > > > > > $ arecord -l > > > > **** List of CAPTURE Hardware Devices **** > > > > card 1: BT_AG [BT_002], device 0: USB Audio [USB Audio] > > > > Subdevices: 1/1 > > > > Subdevice #0: subdevice #0 > > > > > > > > > > > > $ 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 > > > > > > What kernel version is this, and what other kernel messages are printed > > > when you plug your device in? > > > What kernel version is this? 4.15.0-54-generic > > > [12932.016672] usb 2-1: USB disconnect, device number 5 > > [12932.016683] usb 2-1.1: USB disconnect, device number 6 > > [12962.085766] usb 2-1: new full-speed USB device number 7 using xhci_hcd > > [12962.275849] usb 2-1: New USB device found, idVendor=0a12, idProduct=4010 > > [12962.275861] usb 2-1: New USB device strings: Mfr=0, Product=0, > > SerialNumber=0 > > [12962.276538] usb 2-1: ep 0x81 - rounding interval to 1024 microframes, ep > > desc says 2040 microframes > > [12962.279699] hub 2-1:1.0: USB hub found > > [12962.280663] hub 2-1:1.0: 4 ports detected > > [12962.875024] usb 2-1.1: new full-speed USB device number 8 using xhci_hcd > > [12962.980977] usb 2-1.1: New USB device found, idVendor=0a12, > > idProduct=4007 > > [12962.980991] usb 2-1.1: New USB device strings: Mfr=1, Product=2, > > SerialNumber=5 > > [12962.981000] usb 2-1.1: Product: BT_002 > > [12962.981008] usb 2-1.1: Manufacturer: Qualcomm > > [12962.981015] usb 2-1.1: SerialNumber: ABC4C25B > > [12962.992667] input: Qualcomm BT_002 as > > /devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1.1/2-1.1:1.0/0003:0A12:4007.0003/input/input6 > > [12963.048083] hid-generic 0003:0A12:4007.0003: input,hiddev0,hidraw0: USB > > HID v1.11 Device [Qualcomm BT_002] on usb-0000:00:14.0-1.1/input0 > > [12963.066910] hid-generic 0003:0A12:4007.0004: hiddev0,hidraw1: USB HID > > v1.11 Device [Qualcomm BT_002] on usb-0000:00:14.0-1.1/input1 > > > > Same error (arecord: pcm_read:2032: read error: Input/output error) > > observed on 4.4, 4.15 and 5.4 kernel version. > > What exact versions of these are you using? 4.4.0-66-generic 4.15.0-54-generic Ubuntu 20.04 > > And what about the latest 5.12.y release? I don't have this test setup. > > thanks, > > greg k-h -- Thanks, Sekhar _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies From mboxrd@z Thu Jan 1 00:00:00 1970 From: Muni Sekhar Date: Tue, 08 Jun 2021 12:57:57 +0000 Subject: Re: USB sound card issues Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Greg KH Cc: alsa-devel , linux-usb@vger.kernel.org, linux-sound@vger.kernel.org, kernelnewbies On Tue, Jun 8, 2021 at 6:02 PM Greg KH wrote: > > On Tue, Jun 08, 2021 at 05:44:42PM +0530, Muni Sekhar wrote: > > On Tue, Jun 8, 2021 at 4:44 PM Greg KH wrote: > > > > > > On Tue, Jun 08, 2021 at 04:20:07PM +0530, Muni Sekhar wrote: > > > > Hi all, > > > > > > > > I am using a USB sound card(snd-usb-audio), and it fails while doing > > > > the audio recording "arecord: pcm_read:2032: read error: Input/output > > > > error". > > > > > > > > What could be the problem? and is there a workaround for this? > > > > > > > > $ arecord -l > > > > **** List of CAPTURE Hardware Devices **** > > > > card 1: BT_AG [BT_002], device 0: USB Audio [USB Audio] > > > > Subdevices: 1/1 > > > > Subdevice #0: subdevice #0 > > > > > > > > > > > > $ 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 > > > > > > What kernel version is this, and what other kernel messages are printed > > > when you plug your device in? > > > What kernel version is this? 4.15.0-54-generic > > > [12932.016672] usb 2-1: USB disconnect, device number 5 > > [12932.016683] usb 2-1.1: USB disconnect, device number 6 > > [12962.085766] usb 2-1: new full-speed USB device number 7 using xhci_hcd > > [12962.275849] usb 2-1: New USB device found, idVendor 12, idProduct@10 > > [12962.275861] usb 2-1: New USB device strings: Mfr=0, Product=0, > > SerialNumber=0 > > [12962.276538] usb 2-1: ep 0x81 - rounding interval to 1024 microframes, ep > > desc says 2040 microframes > > [12962.279699] hub 2-1:1.0: USB hub found > > [12962.280663] hub 2-1:1.0: 4 ports detected > > [12962.875024] usb 2-1.1: new full-speed USB device number 8 using xhci_hcd > > [12962.980977] usb 2-1.1: New USB device found, idVendor 12, > > idProduct@07 > > [12962.980991] usb 2-1.1: New USB device strings: Mfr=1, Product=2, > > SerialNumber=5 > > [12962.981000] usb 2-1.1: Product: BT_002 > > [12962.981008] usb 2-1.1: Manufacturer: Qualcomm > > [12962.981015] usb 2-1.1: SerialNumber: ABC4C25B > > [12962.992667] input: Qualcomm BT_002 as > > /devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1.1/2-1.1:1.0/0003:0A12:4007.0003/input/input6 > > [12963.048083] hid-generic 0003:0A12:4007.0003: input,hiddev0,hidraw0: USB > > HID v1.11 Device [Qualcomm BT_002] on usb-0000:00:14.0-1.1/input0 > > [12963.066910] hid-generic 0003:0A12:4007.0004: hiddev0,hidraw1: USB HID > > v1.11 Device [Qualcomm BT_002] on usb-0000:00:14.0-1.1/input1 > > > > Same error (arecord: pcm_read:2032: read error: Input/output error) > > observed on 4.4, 4.15 and 5.4 kernel version. > > What exact versions of these are you using? 4.4.0-66-generic 4.15.0-54-generic Ubuntu 20.04 > > And what about the latest 5.12.y release? I don't have this test setup. > > thanks, > > greg k-h -- Thanks, Sekhar