Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: alsa-devel@lists.sourceforge.net
Subject: Re: [PATCH] UA-3FX support
Date: Tue, 17 Feb 2004 16:17:26 +0100	[thread overview]
Message-ID: <s5h65e5ybuh.wl@alsa2.suse.de> (raw)
In-Reply-To: <Pine.HPX.4.33n.0402121210270.14784-100000@studcom.urz.uni-halle.de>

Hi,

is the patch confirmed to work?
i'll merge it if it's really working.


Takashi

At Thu, 12 Feb 2004 12:30:40 +0100 (MET),
Clemens Ladisch wrote:
> 
> Frank Barknecht wrote:
> > Now I discovered a teenytiny switch on the back if the UA-3 FX that
> > switches the "Advanced Driver"  features of the device on or off.
> > Setting this to OFF, I now got ALSA to recognize the device as a
> > simple 44100 Hz device. No higher samplerates, though.
> > Probably a quirk is needed?
> 
> The descriptors in "advanced" mode look like this:
> 
> > unknown descriptor type: 0b 24 02 01 02 03 18 01 44 ac 00
> 
> which is 24 bits at 44.1 kHz.  Probably there is another switch for
> the sample rate. :-)
> 
> The device has another interface (3) without any descriptors.  You
> wouldn't know, just by chance, if the Windows driver offers some MIDI
> port, or some device-specific control application for the effects?
> 
> 
> Regards,
> Clemens
> 
> -- 
> 
> 
> add UA-3FX support
> 
> 
> Index: alsa-kernel/usb/usbquirks.h
> ===================================================================
> RCS file: /cvsroot/alsa/alsa-kernel/usb/usbquirks.h,v
> retrieving revision 1.27
> diff -u -r1.27 usbquirks.h
> --- alsa-kernel/usb/usbquirks.h	11 Feb 2004 12:15:55 -0000	1.27
> +++ alsa-kernel/usb/usbquirks.h	12 Feb 2004 11:19:01 -0000
> @@ -502,6 +502,32 @@
>  	}
>  },
>  {
> +	/*
> +	 * This quirk is for the "Advanced Driver" mode. If off, the UA-3FX
> +	 * is standard compliant, but has only 16-bit PCM.
> +	 */
> +	USB_DEVICE(0x0582, 0x0050),
> +	.driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
> +		.vendor_name = "EDIROL",
> +		.product_name = "UA-3FX",
> +		.ifnum = QUIRK_ANY_INTERFACE,
> +		.type = QUIRK_COMPOSITE,
> +		.data = & (const snd_usb_audio_quirk_t[]) {
> +			{
> +				.ifnum = 1,
> +				.type = QUIRK_AUDIO_STANDARD_INTERFACE
> +			},
> +			{
> +				.ifnum = 2,
> +				.type = QUIRK_AUDIO_STANDARD_INTERFACE
> +			},
> +			{
> +				.ifnum = -1
> +			}
> +		}
> +	}
> +},
> +{
>  	USB_DEVICE(0x0582, 0x0052),
>  	.driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
>  		.vendor_name = "EDIROL",
> 
> 
> 
> 
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-devel
> 


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click

  parent reply	other threads:[~2004-02-17 15:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-12 11:30 [PATCH] UA-3FX support Clemens Ladisch
2004-02-12 17:55 ` Frank Barknecht
2004-02-17 15:17 ` Takashi Iwai [this message]
2004-02-18  7:53   ` Clemens Ladisch
2004-02-18 16:30     ` 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=s5h65e5ybuh.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    /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