  <?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.alsa-project.org/main/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Darkshadow</id>
	<title>AlsaProject - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.alsa-project.org/main/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Darkshadow"/>
	<link rel="alternate" type="text/html" href="https://www.alsa-project.org/wiki/Special:Contributions/Darkshadow"/>
	<updated>2026-04-27T01:50:54Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.0</generator>
	<entry>
		<id>https://www.alsa-project.org/main/index.php?title=Matrix:Module-emu10k1&amp;diff=6749</id>
		<title>Matrix:Module-emu10k1</title>
		<link rel="alternate" type="text/html" href="https://www.alsa-project.org/main/index.php?title=Matrix:Module-emu10k1&amp;diff=6749"/>
		<updated>2015-01-14T10:07:44Z</updated>

		<summary type="html">&lt;p&gt;Darkshadow: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| align=&amp;quot;right&amp;quot;&lt;br /&gt;
|__TOC__&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Card specific information==&lt;br /&gt;
===General driver status===&lt;br /&gt;
Last updated: 11-11-2006&lt;br /&gt;
&lt;br /&gt;
To test support for the E-Mu cards, one also need the alsa-firmware package.&lt;br /&gt;
&lt;br /&gt;
Small update for those interested. I am the developer currently working on writing a Linux ALSA driver for the:&lt;br /&gt;
&lt;br /&gt;
* EMU 1212m (both old and new versions should work)&lt;br /&gt;
* EMU 1820m (both old and new versions should work)&lt;br /&gt;
* 1616M PCI&lt;br /&gt;
* 02 CardBus Card&lt;br /&gt;
* 0404 PCI&lt;br /&gt;
&lt;br /&gt;
Other EMU hardware samples (sound cards) have arrived, so one might expect support in the future for:&lt;br /&gt;
* 0404 USB 2.0&lt;br /&gt;
* 0202 USB 2.0&lt;br /&gt;
&lt;br /&gt;
The first version of the driver for 1212m and 1820m is now out there in kernel 2.6.19 or alsa-driver 1.0.14.&lt;br /&gt;
If one is adventurous, one can check out the HG repository and have improved features and support for the other PCI cards.&lt;br /&gt;
These features will be out in kernel 2.6.23 or alsa-driver 1.0.15&lt;br /&gt;
&lt;br /&gt;
Not all features are supported yet, but I would welcome some people testing the features it currently has.&lt;br /&gt;
Please note, this driver has been written in my free time, with no financial support from E-MU except donation of the sound cards and a useful datasheet. I welcome constructive feedback.&lt;br /&gt;
&lt;br /&gt;
What should work:&lt;br /&gt;
# 44.1kHz and 48kHz are currently supported.&lt;br /&gt;
# Playback to ALSA devices at 16bit:&lt;br /&gt;
#* front&lt;br /&gt;
#* rear&lt;br /&gt;
#* center_lfe&lt;br /&gt;
#* side&lt;br /&gt;
#* surround40&lt;br /&gt;
#* surround51&lt;br /&gt;
#* surround71&lt;br /&gt;
# That playback or ALSA devices arrives in DSP channels 0-7. One can then select with alsamixer which actual physical output one wished  the sound to come from. It loads with mostly sensible defaults.&lt;br /&gt;
# Stereo 16bit sound capture with the default device&lt;br /&gt;
# 8-channel 24bit (S32_LE) in-phase capture suitable for use with jackd/ardour.&lt;br /&gt;
# 8-channel 24bit (S32_LE) in-phase playback suitable for use with jackd/ardour. Note: This has not been tested yet, so might not work very well.&lt;br /&gt;
# Switches to enable PADS (attenuation) to the inputs and outputs.&lt;br /&gt;
# ADAT/SPDIF (need people to test this for me)&lt;br /&gt;
&lt;br /&gt;
What is not yet supported:&lt;br /&gt;
# Any rate apart from 44.1 and 48kHz. (I know how to do it, I just need time to implement support for it. Fairly big task.)&lt;br /&gt;
# A patchmix type application. (I really need help here)&lt;br /&gt;
# sync card. (need people to test this for me)&lt;br /&gt;
# loading large soundfonts on an 64 Bit OS and computer with more than 4 GB installed RAM. See the section &amp;quot;Audigy 2&amp;quot; for a workaround&lt;br /&gt;
# Anything else not mentioned above. :-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cheers&lt;br /&gt;
&lt;br /&gt;
James&lt;br /&gt;
[https://bugtrack.alsa-project.org/wiki/wikka.php?wakka=emu original]&lt;br /&gt;
&lt;br /&gt;
===Audigy 2 Platinum EX ===&lt;br /&gt;
Infrared remote control and MIDI in/out on Audigy 2 ZS pro and Audigy 4 pro.&lt;br /&gt;
&lt;br /&gt;
There is an issue with the Audigy 2 Platinum Ex soundcard and the Audigy 4 pro (and probably some other Audigy 2 cards as well), whereas the IR sensor, MIDI and the buttons on the LiveDrive do NOT work at all until the LiveDrive is initialized by sending the sequence of '0xf0, 0x00, 0x20, 0x21, 0x61, 0x0, 0x00, 0x00, 0x7f, 0x0, 0xf7' to the MIDI port. Before doing this, even the LED on the LiveDrive won't blink, as it usually does when a button on the remote is pressed. As far as I know, this behaviour is different than with most LiveDrives manufactured by Creative. For more information see this link. The easiest workaround to this is to add the following line to /etc/modules.conf&lt;br /&gt;
&lt;br /&gt;
post-install snd-emu10k1&lt;br /&gt;
 &lt;br /&gt;
echo -e '\360\000\040\041\141\000\000\000\177\000\367' &amp;gt; /dev/snd/midiC0D1&lt;br /&gt;
&lt;br /&gt;
If it doesn't work, try&lt;br /&gt;
&lt;br /&gt;
echo -en &amp;quot;\xf0\x00\x20\x21\x61\x00\x00\x00\x7f\x00\xf7&amp;quot; &amp;gt; /dev/snd/midiC0D1&lt;br /&gt;
&lt;br /&gt;
It works for me and it should be distribution-independent (with exception to Debian, where you change /etc/modutils/alsa and run update-modules afterwards, Debian users will know anyway). &lt;br /&gt;
&lt;br /&gt;
=== Audigy 2 ===&lt;br /&gt;
&lt;br /&gt;
The soundcard has a '''hardware bug''' (the address bus is only 31 Bit wide, instead of 32 Bit) that makes it impossible to load and address large soundfont2 files on an '''64 Bit Kernel''' and more than 4 GB RAM above the 2 GB Address memory space.&lt;br /&gt;
But a workaround does exist:&lt;br /&gt;
&lt;br /&gt;
First, one needs to identify one's sound card.&lt;br /&gt;
Open a terminal windows and type:&lt;br /&gt;
 cat /proc/asound/cards&lt;br /&gt;
&lt;br /&gt;
This has been tested with the following cards:&lt;br /&gt;
 0 [Audigy2        ]: Audigy2 - SB Audigy 2 Platinum [SB0240P]&lt;br /&gt;
                      SB Audigy 2 Platinum [SB0240P] (rev.4, serial:0x10021102) &lt;br /&gt;
&lt;br /&gt;
Then reboot the OS and press &amp;quot;e&amp;quot; when grub is loading.&lt;br /&gt;
In grub's edit menu search for the word &amp;quot;splash&amp;quot; and then add after this word the following option &lt;br /&gt;
 memmap=2048M\\$6144M&lt;br /&gt;
&lt;br /&gt;
Then continue booting the kernel.&lt;br /&gt;
This kernel option will limit your Hardware RAM for this session your OS can use to about 2-4 GB which leads to a solution for the Audigy 2 which now will be able to load large soundfont files&lt;br /&gt;
in the now limited 2 GB address space of your RAM.&lt;br /&gt;
This setting will be lost after reboot. To add a permanent solution edit your grub menu config file.&lt;br /&gt;
&lt;br /&gt;
An alternative to this solution would be using a 32 Bit Kernel, instead of a 64 Bit Kernel.&lt;br /&gt;
&lt;br /&gt;
Finally, an even better alternative to using a 32 Bit Kernel or limiting your system RAM is to apply the following small patch to the kernel:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
diff --git a/arch/x86/include/asm/dma.h b/arch/x86/include/asm/dma.h&lt;br /&gt;
index 0bdb0c5..0dccbc6 100644&lt;br /&gt;
--- a/arch/x86/include/asm/dma.h&lt;br /&gt;
+++ b/arch/x86/include/asm/dma.h&lt;br /&gt;
@@ -73,7 +73,7 @@&lt;br /&gt;
 #define MAX_DMA_PFN   ((16 * 1024 * 1024) &amp;gt;&amp;gt; PAGE_SHIFT)&lt;br /&gt;
 &lt;br /&gt;
 /* 4GB broken PCI/AGP hardware bus master zone */&lt;br /&gt;
-#define MAX_DMA32_PFN ((4UL * 1024 * 1024 * 1024) &amp;gt;&amp;gt; PAGE_SHIFT)&lt;br /&gt;
+#define MAX_DMA32_PFN ((2UL * 1024 * 1024 * 1024) &amp;gt;&amp;gt; PAGE_SHIFT)&lt;br /&gt;
 &lt;br /&gt;
 #ifdef CONFIG_X86_32&lt;br /&gt;
 /* The maximum address that we can perform a DMA transfer to on this platform */&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For more info about the MAX_DMA32_PFN DMA zone read this [https://lwn.net/Articles/152337/ LWN article]. And [https://bugs.launchpad.net/ubuntu/+source/awesfx/+bug/183456 the solution provided here] explains the technical background for why the loading of the soundfont fails.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Audigy 2 ZS Notebook.===&lt;br /&gt;
&lt;br /&gt;
Status of current ALSA hg repository support:&lt;br /&gt;
changeset: 4743:5282de1ad7ef (or alsa-driver 1.0.14)&lt;br /&gt;
&lt;br /&gt;
Supported:&lt;br /&gt;
# 7.1 Sound analog playback&lt;br /&gt;
# Sound capture from Mic/Line in. (newly added)&lt;br /&gt;
# Digital PCM out&lt;br /&gt;
Not yet supported:&lt;br /&gt;
# Digital AC3 out (requires implementation of the p17v PCMs)&lt;br /&gt;
# Digital input&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For older alsa-driver 1.0.13&lt;br /&gt;
Supported:&lt;br /&gt;
# 7.1 Sound analog playback&lt;br /&gt;
# Digital PCM out&lt;br /&gt;
Not supported:&lt;br /&gt;
# Digital AC3 out&lt;br /&gt;
# Digital input&lt;br /&gt;
# Sound capture from Mic/Line in.&lt;br /&gt;
&lt;br /&gt;
[https://bugtrack.alsa-project.org/wiki/wikka.php?wakka=Audigy2 original]&lt;br /&gt;
&lt;br /&gt;
===Audigy4 capture===&lt;br /&gt;
First, one needs to identify one's sound card.&lt;br /&gt;
Open a terminal windows and type:&lt;br /&gt;
 cat /proc/asound/cards&lt;br /&gt;
&lt;br /&gt;
This has been tested with the following cards:&lt;br /&gt;
 0 [Audigy2 ]: Audigy2 - Audigy 4 [SB0610]&lt;br /&gt;
 Audigy 4 [SB0610] (rev.0, serial:0x10211102) at 0x9400, irq 201&lt;br /&gt;
This note applies only to the SB0610 and may or may not work for other Audigy 4 cards.&lt;br /&gt;
&lt;br /&gt;
The controls that have been tested and verified are:&lt;br /&gt;
Mic and Line-in.&lt;br /&gt;
In order to get sound capture working, set the following controls as they affect both Mic and Line-in:&lt;br /&gt;
On the alsamixer Capture display:&lt;br /&gt;
# Master -&amp;gt; 100% or 0dB (affects both analog and digital capture sources)&lt;br /&gt;
# Analog Mix -&amp;gt; 100% or 0dB (affects only analog sources)&lt;br /&gt;
&lt;br /&gt;
Controls that affect Mic input:&lt;br /&gt;
On the alsamixer Playback display:&lt;br /&gt;
(these will eventually appear on the capture display once developers add the feature):&lt;br /&gt;
# Mic boost (If you need +20dB boost)&lt;br /&gt;
# Mic Select -&amp;gt; Mic1&lt;br /&gt;
On the alsamixer Capture display:&lt;br /&gt;
# Mic -&amp;gt; 100%&lt;br /&gt;
&lt;br /&gt;
Controls that affect Line-in input:&lt;br /&gt;
1) Line -&amp;gt; 100% or +12dB&lt;br /&gt;
&lt;br /&gt;
[https://bugtrack.alsa-project.org/wiki/wikka.php?wakka=audigy4capture original]&lt;br /&gt;
&lt;br /&gt;
{{Template:Modinfo&lt;br /&gt;
|module=emu10k1&lt;br /&gt;
|description=EMU10K1&lt;br /&gt;
|author=Jaroslav Kysela&lt;br /&gt;
|index:Index value for the EMU10K1 soundcard. (array of int)&lt;br /&gt;
|id:ID string for the EMU10K1 soundcard. (array of charp)&lt;br /&gt;
|enable:Enable the EMU10K1 soundcard. (array of bool)&lt;br /&gt;
|extin:Available external inputs for FX8010. Zero=default. (array of int)&lt;br /&gt;
|extout:Available external outputs for FX8010. Zero=default. (array of int)&lt;br /&gt;
|seq_ports:Allocated sequencer ports for internal synthesizer. (array of int)&lt;br /&gt;
|max_synth_voices:Maximum number of voices for WaveTable. (array of int)&lt;br /&gt;
|max_buffer_size:Maximum sample buffer size in MB. (array of int)&lt;br /&gt;
|enable_ir:Enable IR. (array of bool)&lt;br /&gt;
|subsystem:Force card subsystem model. (array of uint)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Matrix:Soundcard|name=Creative EMU based|module=emu10k1}}&lt;/div&gt;</summary>
		<author><name>Darkshadow</name></author>
	</entry>
</feed>