alsa-devel.alsa-project.org archive mirror
 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: Thu, 29 Apr 2021 11:15:11 +0200	[thread overview]
Message-ID: <s5hczudwixs.wl-tiwai@suse.de> (raw)
In-Reply-To: <CAOsVg8o2Ad0pZK2qrLq8=NfJYd-1swveyhrmtPN8995m-dBoKg@mail.gmail.com>

On Wed, 28 Apr 2021 23:43:30 +0200,
Lucas wrote:
> On Mon, Apr 26, 2021 at 1:34 AM Takashi Iwai <tiwai@suse.de> wrote:
>     On Sun, 25 Apr 2021 21:23:31 +0200,
>     Lucas wrote:
>     > Although unrelated, I think the other issue with the EIDROL UA-101 in
>     full
>     > speed mode (USB 1.1) is new since trying the 5.12.0-rc8-next-20210422
>     kernel
>     > branch.  Prior to that, I'd been continually patching updates to the
>     mainline
>     > 5.11.9 source.
>    
>     Hm, let me know if you find more details.
> 
> The kernel option "snd_ua101.dyndbg=+p" debugging details seem lacking here,
> so this is the little I was able to gather:
> 
> The Edirol UA-101's full speed (USB 1.1) mode is affected, but not its high
> speed (USB 2) mode, which works under these same conditions.
> 
> It only misbehaves on my USB2 ports, not my other availability of USB3.
> On a working older kernel 5.9.0-1-rt-amd64 with the dyndbg above enabled, I
> got a very sparse debugging log:
> 3:43:00 turned it on (already switched to full speed mode-USB 1.1, & already
> connected to a USB2 port)
> 
> [  185.018174] usb 3-1.5: new full-speed USB device number 3 using ehci-pci
> [  185.129040] usb 3-1.5: New USB device found, idVendor=0582, idProduct=008d,
> bcdDevice= 1.03
> [  185.129046] usb 3-1.5: New USB device strings: Mfr=1, Product=2,
> SerialNumber=3
> [  185.129048] usb 3-1.5: Product: UA-101 USB1
> [  185.129050] usb 3-1.5: Manufacturer: EDIROL
> [  185.129052] usb 3-1.5: SerialNumber: AX85615
> 
> 3:45:00 arecord -D plughw:USB1 -f S24_3LE -r 48000 -c 2 ./file.wav
> Recording WAVE './file.wav' : Signed 24 bit Little Endian in 3bytes, Rate
> 48000 Hz, Stereo
> 
> 3:47:20 ended with ctrl-c
> ^CAborted by signal Interrupt...
> 
> 3:50:00 aplay -D plughw:USB1 -f S24_3LE -r 48000 -c 2 ./file.wav
> Playing WAVE './file.wav' : Signed 24 bit Little Endian in 3bytes, Rate 48000
> Hz, Stereo
> 
> 3:52:03 playback ended normally
> 
> 3:54:30 disconnected the USB cable
> 
> [  872.498057] usb 3-1.5: USB disconnect, device number 3
> 
> Now here's the same tests with kernel 5.12.0-rc8-next-20210422, still with
> boot option "snd_ua101.dyndbg=+p".  Note the alsa device name changed from
> "USB1" on the old kernel to UA101" here, but I doubt that makes the
> difference:
> 
> 2:12:30 turned it on (already connected to a USB2 port, probably the same
> port, though its designation changed)
> 
> [  163.133264] usb 4-1.5: new full-speed USB device number 3 using ehci-pci
> [  163.244115] usb 4-1.5: New USB device found, idVendor=0582, idProduct=008d,
> bcdDevice= 1.03
> [  163.244126] usb 4-1.5: New USB device strings: Mfr=1, Product=2,
> SerialNumber=3
> [  163.244130] usb 4-1.5: Product: UA-101 USB1
> [  163.244133] usb 4-1.5: Manufacturer: EDIROL
> [  163.244135] usb 4-1.5: SerialNumber: AX85615
> [  163.263127] usbcore: registered new interface driver snd-ua101
> [  168.476496] usb 4-1.5: cannot initialize interface; error -110: unknown
> error
> [  173.596462] usb 4-1.5: cannot initialize interface; error -110: unknown
> error
> [  178.716557] usb 4-1.5: cannot initialize interface; error -110: unknown
> error
> [  183.836518] usb 4-1.5: cannot initialize interface; error -110: unknown
> error
> 
> 2:13:00 arecord -D plughw:UA101 -f S24_3LE -r 48000 -c 2 ./file.wav
> arecord: main:830: audio open error: Connection timed out
> 
> [  188.956481] usb 4-1.5: cannot initialize interface; error -110: unknown
> error
> [  194.076450] usb 4-1.5: cannot initialize interface; error -110: unknown
> error
> [  199.196407] usb 4-1.5: cannot initialize interface; error -110: unknown
> error
> 
> 2:14:30 aplay -D plughw:UA101 -f S24_3LE -r 48000 -c 2 ./Music/
> test-kernel-5.11.9-patched-integra-7-usb-digital-audio-all-6-demos.wav
> 
> [  285.979938] usb 4-1.5: cannot initialize interface; error -110: unknown
> error
> 
> after a few seconds:
> aplay: main:830: audio open error: Connection timed out
> 
> 2:17:19 turned it off
> 
> [  447.489736] usb 4-1.5: USB disconnect, device number 3
> 
> Then, here, I connected it to a USB3 port (which works):
> 
> 2:21:00 turned it on
> 
> [  671.310730] usb 1-1.2: new full-speed USB device number 5 using xhci_hcd
> [  671.413736] usb 1-1.2: New USB device found, idVendor=0582, idProduct=008d,
> bcdDevice= 1.03
> [  671.413747] usb 1-1.2: New USB device strings: Mfr=1, Product=2,
> SerialNumber=3
> [  671.413751] usb 1-1.2: Product: UA-101 USB1
> [  671.413754] usb 1-1.2: Manufacturer: EDIROL
> [  671.413757] usb 1-1.2: SerialNumber: AX85615
> 
> 2:22:00 arecord -D plughw:UA101 -f S24_3LE -r 48000 -c 2 ./file.wav
> Recording WAVE './file.wav' : Signed 24 bit Little Endian in 3bytes, Rate
> 48000 Hz, Stereo
> 
> 2:26:09 ended it with ctrl-c
> ^CAborted by signal Interrupt...
> 
> 2:27:30 aplay -D plughw:UA101 -f S24_3LE -r 48000 -c 2 ./file.wav
> Playing WAVE './file.wav' : Signed 24 bit Little Endian in 3bytes, Rate 48000
> Hz, Stereo
> 
> 2:31:40 playback ended normally
> 
> 2:33:00 disconnected it
> 
> [ 1390.570021] usb 1-1.2: USB disconnect, device number 5
> 
> Later, I turned it off, changed switch to high speed (USB 2) mode (which
> works), and plugged it back in to that same USB2 port with the trouble
> earlier:
> 
> 2:47:00 turned it on
> 
> [ 2231.706964] usb 4-1.5: new high-speed USB device number 8 using ehci-pci
> [ 2231.817266] usb 4-1.5: New USB device found, idVendor=0582, idProduct=007d,
> bcdDevice= 1.03
> [ 2231.817277] usb 4-1.5: New USB device strings: Mfr=1, Product=2,
> SerialNumber=3
> [ 2231.817281] usb 4-1.5: Product: UA-101
> [ 2231.817284] usb 4-1.5: Manufacturer: EDIROL
> [ 2231.817287] usb 4-1.5: SerialNumber: AX85615
> 
> 2:47:30 arecord -D plughw:UA101 -f S24_3LE -r 48000 -c 2 ./file.wav
> Recording WAVE './file.wav' : Signed 24 bit Little Endian in 3bytes, Rate
> 48000 Hz, Stereo
> 
> 2:48:30 ended recording with ctl-c
> ^CAborted by signal Interrupt...
> 
> 2:50:00 turned it off
> 
> [ 2412.517175] usb 4-1.5: USB disconnect, device number 8
> 
> Sorry if that's not enough information; it certainly seems bare to me.  I'd be
> happy if you have other suggestions that could lead to better diagnosis,
> though.

The error -110 is ETIMEDOUT, and the symptom implies that the problem
is rather in USB core side.  You'd better ask USB devs.  It might be
worth to run git bisect if it's a kernel regression and reliably
reproducible.


thanks,

Takashi

  reply	other threads:[~2021-04-29  9:16 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
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 [this message]
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=s5hczudwixs.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).