Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Tsoy <alexander@tsoy.me>
To: Pavel Hofman <pavel.hofman@ivitera.com>,
	"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Re: High-bandwidth/multiple transactions per microframe in usb audio?
Date: Sat, 25 Apr 2020 22:50:03 +0300	[thread overview]
Message-ID: <253259a4ef8a2bcfa0568982b8fd23d5e2d0937a.camel@tsoy.me> (raw)
In-Reply-To: <3a44ca23-f0ed-af54-3e63-8bf77d833c8f@ivitera.com>

В Сб, 25/04/2020 в 20:06 +0200, Pavel Hofman пишет:
> Dne 25. 04. 20 v 14:06 Alexander Tsoy napsal(a):
> > В Пт, 24/04/2020 в 11:42 +0200, Pavel Hofman пишет:
> > > Hi,
> > > 
> > > Please does the current USB audio driver support multiple
> > > transactions
> > > per microframe (high-bandwidth mode)? I could not find it in
> > > endpoint.c
> > > but it may be there or somewhere else :-)
> > 
> > This should be transparent for the driver. See usb_submit_urb()
> > function from drivers/usb/core/urb.c. It allows packets larger than
> > 1024 for isochronous transfers over High Speed and Super Speed
> > buses.
> 
> Alexander, thanks a lot for the info and hint, indeed at
> https://github.com/torvalds/linux/blob/master/drivers/usb/core/urb.c#L444
> 

And I just noticed that USB-audio driver can't properly parse max
packet size for SuperSpeed and SuperSpeed+ devices yet. See
audio_format_alloc_init().


  reply	other threads:[~2020-04-25 19:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-24  9:42 High-bandwidth/multiple transactions per microframe in usb audio? Pavel Hofman
2020-04-25 12:06 ` Alexander Tsoy
2020-04-25 18:06   ` Pavel Hofman
2020-04-25 19:50     ` Alexander Tsoy [this message]
2020-04-26  8:55       ` Pavel Hofman
2020-04-27 14:05         ` 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=253259a4ef8a2bcfa0568982b8fd23d5e2d0937a.camel@tsoy.me \
    --to=alexander@tsoy.me \
    --cc=alsa-devel@alsa-project.org \
    --cc=pavel.hofman@ivitera.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