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
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to