You are not logged in.

#1 2011-12-29 23:53:45

jsadural
Member
Registered: 2010-08-27
Posts: 19

[SOLVED] e-mu 1616m pcie card not recognized

Hello,

For the life of me, I am unable to get the card recognized, meaning that it does not appear in /proc/asound/cards.  It does seem to be recognized by the kernel:

lspci:
Multimedia audio controller: Creative Labs SB0400 Audigy2 Value


[jsadural@jSaritasa build]$ dmesg | grep emu
[    6.436076] snd_emu10k1 0000:04:04.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[    7.461363] snd_emu10k1 0000:04:04.0: PCI INT A disabled
[    7.461367] snd_emu10k1: probe of 0000:04:04.0 failed with error -5

I also tried to rebuild alsa-driver with using "./configure --with-cards=emu10k1"

and run into this error:
-------------------------------------
In file included from /home/jsadural/build/alsa-driver.hda-intel.hda-codec-realtek/src/alsa-driver-1.0.24/include/adriver.h:1010:0,
                 from hwdep.c:1:
/lib/modules/3.1.5-1-ARCH/build/include/linux/gameport.h: In function ‘gameport_register_driver’:
/lib/modules/3.1.5-1-ARCH/build/include/linux/gameport.h:152:54: error: ‘KBUILD_MODNAME’ undeclared (first use in this function)
/lib/modules/3.1.5-1-ARCH/build/include/linux/gameport.h:152:54: note: each undeclared identifier is reported only once for each function it appears in
In file included from hwdep.c:1:0:
/home/jsadural/build/alsa-driver.hda-intel.hda-codec-realtek/src/alsa-driver-1.0.24/include/adriver.h: At top level:
/home/jsadural/build/alsa-driver.hda-intel.hda-codec-realtek/src/alsa-driver-1.0.24/include/adriver.h:1359:5: error: conflicting types for ‘is_power_of_2’
/lib/modules/3.1.5-1-ARCH/build/include/linux/log2.h:52:6: note: previous definition of ‘is_power_of_2’ was here
hwdep.c:25:28: fatal error: linux/smp_lock.h: No such file or directory
compilation terminated.
make[1]: *** [hwdep.o] Error 1
make[1]: Leaving directory `/home/jsadural/build/alsa-driver.hda-intel.hda-codec-realtek/src/alsa-driver-1.0.24/acore'
make: *** [compile] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
----------------------------------------------

Please help, I need a new direction...

thanks,
jason

Last edited by jsadural (2012-01-13 04:38:39)

Offline

#2 2011-12-30 21:03:59

BuissonVert
Member
Registered: 2011-07-26
Posts: 4

Re: [SOLVED] e-mu 1616m pcie card not recognized

Hello,

I had the exact same problem today, when installing mine. I'm happy to report that I have sound :)

I rebuilt the kernel (following : https://wiki.archlinux.org/index.php/Ke … ild_System ). The only modification I had to do was to modify linux/src/linux-3.1/sound/pci/emu10k1/emu10k1_main.c

From line 1295, this file starts to describe the various cards this module can manage : the PCIe version of the 1010m card is not in this list. Basically all you have to do is to add it in that list with the following lines (found in the patch posted here) :

	{.vendor = 0x1102, .device = 0x0008, .subsystem = 0x40071102,
	 .driver = "Audigy2", .name = "E-mu 1010 PCIe",
	 .id = "EMU1010",
	 .emu10k2_chip = 1,
	 .ca0108_chip = 1,
	 .spk71 = 1,
	 .emu_model = EMU_MODEL_EMU1010B}, /* EMU 1010 PCIe */

The whole, modified file is there : http://pastebin.com/XKiaKQ19 (added part starts at line 1418),

Compile the kernel with that file instead of the original, install it and reboot. You should now have sound ;)

You can also try just using my working module (just mv snd-emu10k1.ko.gz /lib/modules/3.1.5-1-ARCH/kernel/sound/pci/emu10k1 as root)  : http://www.megaupload.com/?d=HV0O2SUO
(not sure this one will also work for you, though - I'm running a 32-bit arch, and while I was at it, I also tailored the kernel to my machine... but well, it's worth trying)

Last edited by BuissonVert (2011-12-30 21:12:47)

Offline

#3 2011-12-31 05:08:43

jsadural
Member
Registered: 2010-08-27
Posts: 19

Re: [SOLVED] e-mu 1616m pcie card not recognized

Hi BuissonVert,

Your awesome!  I haven't tried it yet because it is at my 64bit machine at work and I won't be able to till after the new years.  Your solution looks similar to what I found people were doing in ubuntu.  This would be awesome as an AUR PKGBUILD, especially for the linux-rt kernel.  Are you using an rt kernel?  I would be trying it on my rt kernel and would be interesting to know if you run into any issues.  Thanks again and I will post as soon as I try it out.

jason

Offline

#4 2011-12-31 13:37:03

BuissonVert
Member
Registered: 2011-07-26
Posts: 4

Re: [SOLVED] e-mu 1616m pcie card not recognized

Hello jsdural,

No, I'm not using an rt kernel. I don't need one for what I do. In fact, I'm not going to use this card for what it was designed to. I just needed 6 analog, balanced outputs, and had the opportunity to get this card for a very good price, so I took the opportunity, but I don't need most of what the card is capable of smile

I'd also like to see an aur pkgbuild, but I don't have the time to maintain it myself, sorry wink happy to help if I can though. Keep us posted smile

Happy new year.

Last edited by BuissonVert (2011-12-31 13:37:34)

Offline

#5 2012-01-08 01:46:15

jsadural
Member
Registered: 2010-08-27
Posts: 19

Re: [SOLVED] e-mu 1616m pcie card not recognized

Hello BuissonVert,

I gave it a try today and still a no-go.  I basically replaced the file with your emu10k1_main.c and it still did not load the card.  I replaced the file, rebuilt the kernel, installed it, and booted into it.  It still does not appear in my /proc/asound/cards...  Did you do anything else specific besides adding the changes to the file?

jason

Offline

#6 2012-01-08 05:10:27

jsadural
Member
Registered: 2010-08-27
Posts: 19

Re: [SOLVED] e-mu 1616m pcie card not recognized

OK I figured it out.  I was missing alsa-firmware.  It works on non-rt kernel and I am compiling the rt version right now.  Thanks again!

jason

Offline

#7 2012-01-08 06:30:24

jsadural
Member
Registered: 2010-08-27
Posts: 19

Re: [SOLVED] e-mu 1616m pcie card not recognized

OK all seems well with the rt-compilation and getting audio out of the device.  Here is the status report.

- ALL ANALOG INPUTS WORK PERFECTLY!!!

- ALL ANALOG OUTPUTS WORK PERFECTLY!!!

- Did not test Adat

- Did not test SPDIF

For everyone looking to purchase 1616m, it's tricky to get working but definitely worth the trouble. 

2 mic pre
4 analog inputs
2 phono inputs
8 analog outputs
8 adat I/O

for $450 and works under linux, what else can you ask for???

SUCCESS!!!

jason

Last edited by jsadural (2012-01-08 06:31:07)

Offline

#8 2012-01-08 06:53:55

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,793

Re: [SOLVED] e-mu 1616m pcie card not recognized

jsadural wrote:

SUCCESS!!!

Cool smile
If you would, edit your first post in the thread, change the title of the thread and add [SOLVED] to the beginning of the title.

Thanks.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#9 2012-01-08 15:37:06

BuissonVert
Member
Registered: 2011-07-26
Posts: 4

Re: [SOLVED] e-mu 1616m pcie card not recognized

Happy to read that things work well for you. smile

Please let me know if you can use 24-bit word length or "unusual" sampling rates (32, 88.2, 96, 176.4, 192 kHz, anything besides the usual 44.1/48 kHz that are the only options for the internal clock rate of the card in alsamixer), without software resampling/"rewording"... Could not get that to work so I switched back to my previous card for now.

Offline

#10 2012-01-13 04:46:06

jsadural
Member
Registered: 2010-08-27
Posts: 19

Re: [SOLVED] e-mu 1616m pcie card not recognized

So I am having other issues.  The only way I can get all 16 inputs and 16 outputs is selecting from input and output device: Multichannel Capture / PT playback.  The problem is that I can only use it at 48khz

messages:
playback and capture sample rates do not match (48000 vs. 44100)

It seems like there is a mismatch in the input sample rates and output sample rates.  I think jack is not actually setting the sample rates on the device.  Can you see if you can get all I/O at 44100?

Last edited by jsadural (2012-01-13 04:46:31)

Offline

#11 2012-01-21 14:17:21

BuissonVert
Member
Registered: 2011-07-26
Posts: 4

Re: [SOLVED] e-mu 1616m pcie card not recognized

Look at alsamixer, there's an "internal clock rate" switch. Might be you should use that. I would have guessed that switch set the sampling rate for both playback and capture, but maybe there's one separate switch for each. I could not help you further : I don't have the card anymore. I sent it back (no Linux support for the higher sampling rates, and an Alsa driver that seems orphaned, so no chance to see it anytime soon... dealbreaker for me).

Offline

#12 2012-01-24 20:23:39

jsadural
Member
Registered: 2010-08-27
Posts: 19

Re: [SOLVED] e-mu 1616m pcie card not recognized

I am having more issues too and it's getting frustrating.  My motherboard audio device disappears when I install the 1616m. 

GONE:
[PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xfbf00000 irq 52

Offline

Board footer

Powered by FluxBB