alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Enable E-mu 0204
@ 2011-02-06  4:13 Joseph Teichman
  2011-02-07 12:08 ` Takashi Iwai
  0 siblings, 1 reply; 3+ messages in thread
From: Joseph Teichman @ 2011-02-06  4:13 UTC (permalink / raw)
  To: alsa-devel, patch

This is a trivial patch to enable the E-mu 0204, which is the newest
device in the series 0202USB, 0404USB and Tracker Pre.

Signed-off-by: Joseph Teichman <josteich at gmail.com>

--- alsa-kmirror/usb/mixer.c 2011-01-27 07:09:20.000000000 -0500
+++ alsa-kmirror-jt/usb/mixer.c 2011-02-05 20:42:00.000000000 -0500
@@ -1566,7 +1566,7 @@
cval->initialized = 1;
} else {
if (type == USB_XU_CLOCK_RATE) {
- /* E-Mu USB 0404/0202/TrackerPre
+ /* E-Mu USB 0404/0202/TrackerPre/0204
* samplerate control quirk
*/
cval->min = 0;
diff -u ./quirks.c /home/joe/alsa-driver-1.0.24-jt/sound/usb/quirks.c
--- ./quirks.c 2011-01-27 07:09:20.000000000 -0500
+++ /home/joe/alsa-driver-1.0.24-jt/sound/usb/quirks.c 2011-02-05
20:40:28.000000000 -0500
@@ -532,7 +532,7 @@
}

/*
- * For E-Mu 0404USB/0202USB/TrackerPre sample rate should be set for device,
+ * For E-Mu 0404USB/0202USB/TrackerPre/0204USB sample rate should be
set for device,
 * not for interface.
 */

@@ -589,6 +589,7 @@
case USB_ID(0x041e, 0x3f02): /* E-Mu 0202 USB */
case USB_ID(0x041e, 0x3f04): /* E-Mu 0404 USB */
case USB_ID(0x041e, 0x3f0a): /* E-Mu Tracker Pre */
+ case USB_ID(0x041e, 0x3f19): /* E-Mu 0204 USB */
set_format_emu_quirk(subs, fmt);
break;
}
diff -u ./quirks-table.h
/home/joe/alsa-driver-1.0.24-jt/sound/usb/quirks-table.h
--- ./quirks-table.h 2011-01-27 07:09:20.000000000 -0500
+++ /home/joe/alsa-driver-1.0.24-jt/sound/usb/quirks-table.h
2011-02-05 20:41:02.000000000 -0500
@@ -79,6 +79,13 @@
.idProduct = 0x3f0a,
.bInterfaceClass = USB_CLASS_AUDIO,
},
+{
+ /* E-Mu 0204 USB */
+ .match_flags = USB_DEVICE_ID_MATCH_DEVICE,
+ .idVendor = 0x041e,
+ .idProduct = 0x3f19,
+ .bInterfaceClass = USB_CLASS_AUDIO,
+},

/*
 * Logitech QuickCam: bDeviceClass is vendor-specific, so generic interface

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

end of thread, other threads:[~2011-05-12  8:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-06  4:13 [PATCH] Enable E-mu 0204 Joseph Teichman
2011-02-07 12:08 ` Takashi Iwai
2011-05-12  8:28   ` jmcejuela

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