From: Clemens Ladisch <clemens@ladisch.de>
To: Ricard Wanderlof <ricard.wanderlof@axis.com>,
"Keith A. Milner" <maillist@superlative.org>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Re: Boss GT-001
Date: Thu, 8 Oct 2015 15:54:46 +0200 [thread overview]
Message-ID: <561675A6.8000202@ladisch.de> (raw)
In-Reply-To: <alpine.DEB.2.02.1510080849080.30181@lnxricardw1.se.axis.com>
Ricard Wanderlof wrote:
> bEndpointAddress 0x0d EP 13 OUT
> bmAttributes 5
> Transfer Type Isochronous
> Synch Type Asynchronous
> Usage Type Data
> wMaxPacketSize 0x0070 1x 112 bytes
>
> bEndpointAddress 0x8e EP 14 IN
> bmAttributes 37
> Transfer Type Isochronous
> Synch Type Asynchronous
> Usage Type Implicit feedback Data
> wMaxPacketSize 0x0070 1x 112 bytes
>
> When the Isochronous Synch Type is Asynchronous, there must be a feedback
> channel where the USB device reports back information so that it can
> adjust the output sampling rate.
>
> I might be barking up the wrong tree here as I'm new to this, but it looks
> as if endpoint 0x8e is providing the feedback data, and there doesn't seem
> to be any other isochronous endpoint defined in the lsusb dump which could
> be used for the actual capture cdata.
The first endpoint in an audio interface is for the actual samples.
> I'm not sure what 'Implicit feedback Data' means exactly though - is the
> feedback data multiplexed with the capture data perhaps?
The USB 2.0 specification says:
| 5.12.4.3 Implicit Feedback
|
| In some cases, implementing a separate explicit feedback endpoint can
| be avoided. If a device implements a group of isochronous data
| endpoints that are closely related and if:
| ⢠All the endpoints in the group are synchronized (i.e. use sample
| clocks that are derived from a common master clock)
| ⢠The group contains one or more isochronous data endpoints in one
| direction that normally would need explicit feedback
| ⢠The group contains at least one isochronous data endpoint in the
| opposite direction
| Under these circumstances, the device may elect not to implement
| a separate isochronous explicit feedback endpoint. Instead, feedback
| information can be derived from the data endpoint in the opposite
| direction by observing its data rate.
In theory, the driver supports this, but there are known to be some
bugs. And in any case there should be no problem getting the capture
stream to start (it's the playback stream that would have a slightly
wrong sample clock); it's possible that this device needs some vendor-
specific commands, or a different order of commands. (The interesting
USB transactions would be everything except the isochronous ones.)
Regards,
Clemens
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2015-10-08 13:54 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-18 20:03 Boss GT-001 maillist
2015-09-21 10:22 ` maillist
2015-10-05 13:43 ` maillist
2015-10-05 14:38 ` Ricard Wanderlof
2015-10-05 14:46 ` maillist
2015-10-06 19:58 ` Keith A. Milner
2015-10-06 20:57 ` Keith A. Milner
2015-10-07 8:09 ` Ricard Wanderlof
2015-10-07 9:41 ` Keith A. Milner
2015-10-07 15:20 ` Ricard Wanderlof
2015-10-07 16:31 ` Keith A. Milner
2015-10-08 0:51 ` Keith A. Milner
2015-10-08 0:54 ` Keith A. Milner
2015-10-08 7:02 ` Ricard Wanderlof
2015-10-08 11:51 ` Keith A. Milner
2015-10-08 14:03 ` Keith A. Milner
2015-10-08 13:54 ` Clemens Ladisch [this message]
2015-10-08 14:10 ` Keith A. Milner
2015-10-08 14:34 ` Keith A. Milner
2015-10-10 13:16 ` Boss GT-001 MIDI Keith A. Milner
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=561675A6.8000202@ladisch.de \
--to=clemens@ladisch.de \
--cc=alsa-devel@alsa-project.org \
--cc=maillist@superlative.org \
--cc=ricard.wanderlof@axis.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;
as well as URLs for NNTP newsgroup(s).