From: Takashi Iwai <tiwai@suse.de>
To: Muni Sekhar <munisekharrms@gmail.com>
Cc: alsa-devel <alsa-devel@alsa-project.org>
Subject: Re: SNDRV_PCM_IOCTL_READI_FRAMES returns EIO
Date: Fri, 11 Jun 2021 09:49:58 +0200 [thread overview]
Message-ID: <s5heed896xl.wl-tiwai@suse.de> (raw)
In-Reply-To: <CAHhAz+iW30L0xsVaKD5V4P412L-hQ_5zZ-byd7qSW-MpSZB8AA@mail.gmail.com>
On Fri, 11 Jun 2021 09:02:44 +0200,
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".
>
> I noticed recording(arecord) audio data on a USB sound card fails at
> SNDRV_PCM_IOCTL_READI_FRAMES is giving EIO.
>
> Can someone please clarify when the kernel returns EIO for Ioctl
> SNDRV_PCM_IOCTL_READI_FRAMES? and is there a workaround for this?
It's a problem of either your device (e.g. USB device firmware) or the
kernel. Do you get any relevant kernel error messages?
Takashi
next prev parent reply other threads:[~2021-06-11 7:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-11 7:02 SNDRV_PCM_IOCTL_READI_FRAMES returns EIO Muni Sekhar
2021-06-11 7:49 ` Takashi Iwai [this message]
2021-06-11 8:43 ` Muni Sekhar
2021-06-11 9:55 ` Takashi Iwai
2021-06-11 10:24 ` Muni Sekhar
2021-06-11 10:32 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5heed896xl.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=munisekharrms@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox