From: Joseph Teichman <josteich@gmail.com>
To: alsa-devel@alsa-project.org, patch@alsa-project.org
Subject: [PATCH] Enable E-mu 0204
Date: Sat, 5 Feb 2011 23:13:06 -0500 [thread overview]
Message-ID: <AANLkTinJJBA5REceETdLt-bJHPkUgXQQ3fdZa98rS4zZ@mail.gmail.com> (raw)
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
next reply other threads:[~2011-02-06 4:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-06 4:13 Joseph Teichman [this message]
2011-02-07 12:08 ` [PATCH] Enable E-mu 0204 Takashi Iwai
2011-05-12 8:28 ` jmcejuela
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=AANLkTinJJBA5REceETdLt-bJHPkUgXQQ3fdZa98rS4zZ@mail.gmail.com \
--to=josteich@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=patch@alsa-project.org \
/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;
as well as URLs for NNTP newsgroup(s).