All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] UA-3FX support
@ 2004-02-12 11:30 Clemens Ladisch
  2004-02-12 17:55 ` Frank Barknecht
  2004-02-17 15:17 ` Takashi Iwai
  0 siblings, 2 replies; 5+ messages in thread
From: Clemens Ladisch @ 2004-02-12 11:30 UTC (permalink / raw)
  To: alsa-devel; +Cc: Frank Barknecht

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-02-18 16:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2004-02-18  7:53   ` Clemens Ladisch
2004-02-18 16:30     ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.