All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Lucas <jaffa225man@gmail.com>
Cc: alsa-devel@alsa-project.org,
	"Keith A . Milner" <maillist@superlative.org>,
	Mike Oliphant <oliphant@nostatic.org>
Subject: Re: [PATCH 2/2] ALSA: usb-audio: Generic application of implicit fb to Roland/BOSS devices
Date: Fri, 23 Apr 2021 09:47:19 +0200	[thread overview]
Message-ID: <s5hlf99788o.wl-tiwai@suse.de> (raw)
In-Reply-To: <CAOsVg8rAkwLgLP_LSj6CfYG+1R2oB5-sV4KQhLJMqCEqL2wDQA@mail.gmail.com>

On Fri, 23 Apr 2021 08:49:22 +0200,
Lucas wrote:
> 
> Most everything seems to be working, but I ran into a couple of, hopefully,
> simple issues:
> 
> 1. The UA-101 in its full speed (USB 1.1) mode times out for both capture and
> playback, though its high speed (USB 2) mode is perfect.
> (I'm using plughw to work with 2 channels here):
> arecord -D plughw:UA101 -f S32_LE -r 48000 -c 2 ./file.wav
> arecord: main:830: audio open error: Connection timed out
> 
> aplay -D plughw:UA101 -f S32_LE -r 48000 -c 2 ./other-file.wav
> aplay: main:830: audio open error: Connection timed out

Is this really with snd-usb-audio driver?  Please check the entry in
/proc/asound/modules (or traverse via sysfs).

> 2.  I noticed with the INTEGRA-7 and the R-26, so far (with "pasuspender --
> cat" running simultaneously):
> When I first begin playback with aplay like,
> "aplay -D hw:INTEGRA7 -f S32_LE -r 96000 -c 2 ./file.wav"
> to play a long recording, and then start capturing for a while, while that's
> still playing with something like,
> "arecord -D hw:INTEGRA7 -f S32_LE -r 96000 -c 2 ./duplex-file.wav".
> If I then end the arecord with ctrl-c before the aplay has finished, aplay may
> end in the near future without finishing the entire playback, with this:
> aplay: pcm_write:2061: write error: Input/output error
> 
> I may try beginning the capture first, and then starting aplay, but I've run
> out of time for tonight.
> 
> If problem two can't be fixed, this functionality is certainly better than
> before when it wasn't working at all.  I think JACK would keep the capture and
> playback endpoints open, until itself closes, so it's probably a rare person
> like me that would even notice it.

This rather sounds like a generic problem of the implicit feedback.
Please give the kernel log with snd_usb_audio.dyndbg=+p boot option
with some notion which timestamp corresponding to which action
(e.g. starting playback, stopping recording, etc).


thanks,

Takashi

  reply	other threads:[~2021-04-23  7:48 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-22 12:04 [PATCH 1/2] Revert "ALSA: usb-audio: Add support for many Roland devices..." Takashi Iwai
2021-04-22 12:04 ` [PATCH 2/2] ALSA: usb-audio: Generic application of implicit fb to Roland/BOSS devices Takashi Iwai
2021-04-22 19:20   ` Mike Oliphant
2021-04-23  6:49     ` Lucas
2021-04-23  7:47       ` Takashi Iwai [this message]
2021-04-23 18:04         ` Lucas
2021-04-25  9:16           ` Takashi Iwai
2021-04-25 19:23             ` Lucas
2021-04-26  6:34               ` Takashi Iwai
2021-04-28 21:43                 ` Lucas
2021-04-29  9:15                   ` Takashi Iwai
2021-04-29 17:29                     ` Lucas
2021-04-23  9:29     ` Takashi Iwai
2021-04-24 11:09       ` Keith Milner
2021-04-24 21:43         ` Lucas

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=s5hlf99788o.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=jaffa225man@gmail.com \
    --cc=maillist@superlative.org \
    --cc=oliphant@nostatic.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.