alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Mack <zonque@gmail.com>
To: Didier Villevalois <didier@villevalois.com>
Cc: alsa-devel@alsa-project.org, Clemens Ladisch <clemens@ladisch.de>
Subject: Re: usb-audio: Reloop Play support (TI TUSB3200AC)
Date: Sat, 20 Oct 2012 17:00:43 +0200	[thread overview]
Message-ID: <5082BC9B.3030403@gmail.com> (raw)
In-Reply-To: <1350743061.25322.15.camel@didier-laptop>

On 20.10.2012 16:24, Didier Villevalois wrote:
> OK this quirk works perfectly! (hooray!!!)
> 
> /* Reloop Play */
> {
> 	USB_DEVICE(0x200c, 0x100b),
> 	.bInterfaceClass = USB_CLASS_PER_INTERFACE,
> 	.driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
> 		.vendor_name = "Reloop",
> 		.product_name = "Play",
> 		.ifnum = QUIRK_ANY_INTERFACE,
> 		.type = QUIRK_COMPOSITE,
> 		.data = &(const struct snd_usb_audio_quirk[]) {
> 			{
> 				.ifnum = 0,
> 				.type = QUIRK_AUDIO_STANDARD_MIXER,
> 			},
> 			{
> 				.ifnum = 1,
> 				.type = QUIRK_AUDIO_FIXED_ENDPOINT,
> 				.data = &(const struct audioformat) {
> 					.formats = SNDRV_PCM_FMTBIT_S24_3LE,
> 					.channels = 4,
> 					.iface = 1,
> 					.altsetting = 1,
> 					.altset_idx = 1,
> 					.attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
> 					.endpoint = 0x01,
> 					.rates = SNDRV_PCM_RATE_44100 |
> 						 SNDRV_PCM_RATE_48000,
> 					.rate_min = 44100,
> 					.rate_max = 48000,
> 					.nr_rates = 2,
> 					.rate_table = (unsigned int[]) {
> 						44100, 48000
> 					}
> 				}
> 			},
> 			{
> 				.ifnum = -1
> 			}
> 		}
> 	}
> },
> 
> Does anyone have additional comments to do before I make a patch ?

Let's ask Clemens - the quirks master - for comments :)

> Also are there some special ALSA rules or straight signed-off
> git-formated patches over the kernel tree are OK ?

That's ok. The patch should apply on top of

  git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git

though.

> Thanks again for your help! I'm really happy to have a working
> device! :D

Good work! I just really wonder what that updated firmware is all about ...


Daniel

      parent reply	other threads:[~2012-10-20 15:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-19 13:09 usb-audio: Reloop Play support (TI TUSB3200AC) Didier 'Ptitjes' Villevalois
2012-10-19 13:20 ` Daniel Mack
     [not found]   ` <1350654327.8310.4.camel@didier-laptop>
2012-10-19 13:53     ` Daniel Mack
2012-10-19 15:09       ` Didier 'Ptitjes' Villevalois
2012-10-19 18:02         ` Daniel Mack
2012-10-20 10:22           ` Didier 'Ptitjes' Villevalois
2012-10-20 12:49             ` Daniel Mack
2012-10-20 13:03               ` Didier 'Ptitjes' Villevalois
2012-10-20 13:06                 ` Daniel Mack
2012-10-20 13:11                   ` Didier 'Ptitjes' Villevalois
2013-08-23 15:58                     ` Ansgar Scheffold
2012-10-19 15:28       ` Didier 'Ptitjes' Villevalois
2012-10-19 18:06         ` Daniel Mack
2012-10-20 14:30 ` Didier 'Ptitjes' Villevalois
2012-10-20 16:15   ` Clemens Ladisch
2012-10-21 13:38     ` Didier 'Ptitjes' Villevalois
2012-10-21 14:11       ` Clemens Ladisch
     [not found] ` <1350743061.25322.15.camel@didier-laptop>
2012-10-20 15:00   ` Daniel Mack [this message]

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=5082BC9B.3030403@gmail.com \
    --to=zonque@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    --cc=didier@villevalois.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).