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

* Re: [PATCH] UA-3FX support
  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
  1 sibling, 0 replies; 5+ messages in thread
From: Frank Barknecht @ 2004-02-12 17:55 UTC (permalink / raw)
  To: alsa-devel

Hallo,
Clemens Ladisch hat gesagt: // 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?

No, I don't know this. Also this device is already sent back by me to
c't, too.  I didn't test it on MS-Windows because a lack of MS-Windows
here. Maybe the Edirol website has some manuals? I didn't check it
out. 

ciao
-- 
 Frank Barknecht                               _ ______footils.org__


-------------------------------------------------------
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

* Re: [PATCH] UA-3FX support
  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
  1 sibling, 1 reply; 5+ messages in thread
From: Takashi Iwai @ 2004-02-17 15:17 UTC (permalink / raw)
  To: alsa-devel

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

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

* Re: [PATCH] UA-3FX support
  2004-02-17 15:17 ` Takashi Iwai
@ 2004-02-18  7:53   ` Clemens Ladisch
  2004-02-18 16:30     ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: Clemens Ladisch @ 2004-02-18  7:53 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

Takashi Iwai wrote:
> is the patch confirmed to work?

No, but the descriptors look consistent, and other similar Edirol
devices work, too.

> i'll merge it if it's really working.

Merging it now gives us the chance that we get a bug report (if
something happens to be wrong).  Please merge.


Regards,
Clemens




-------------------------------------------------------
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

* Re: [PATCH] UA-3FX support
  2004-02-18  7:53   ` Clemens Ladisch
@ 2004-02-18 16:30     ` Takashi Iwai
  0 siblings, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2004-02-18 16:30 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: alsa-devel

At Wed, 18 Feb 2004 08:53:35 +0100 (MET),
Clemens Ladisch wrote:
> 
> Takashi Iwai wrote:
> > is the patch confirmed to work?
> 
> No, but the descriptors look consistent, and other similar Edirol
> devices work, too.
> 
> > i'll merge it if it's really working.
> 
> Merging it now gives us the chance that we get a bug report (if
> something happens to be wrong).  Please merge.

done.  let's see who cries or be delighted :)


Takashi


-------------------------------------------------------
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.