Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: E-MU 1616m PCIe in linux

  1. #1
    Join Date
    May 2009
    Beans
    5
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    E-MU 1616m PCIe in linux

    Hi! How about this sound card in ubuntu? Does anybody have it?

  2. #2
    Join Date
    May 2008
    Beans
    10

    Re: E-MU 1616m PCIe in linux

    Just got one and was wondering the same thing.
    Can't seem to get lucid to recognize it

    Anyone able to get this working?

  3. #3
    Join Date
    Jan 2008
    Beans
    6

    Re: E-MU 1616m PCIe in linux

    Any news? I just bought 1616m pci-e card and it's not working. Microdock LEDs just randomly lights on each on/off.
    Epic fail

  4. #4
    Join Date
    Jan 2008
    Beans
    6

    Re: E-MU 1616m PCIe in linux

    I applied patch from this bug: https://bugtrack.alsa-project.org/al...ew.php?id=5250
    and at least card is recognized by ALSA. I'll try to power on dock when I'll be home (I'm on my work now).

  5. #5
    Join Date
    May 2009
    Beans
    4

    Re: E-MU 1616m PCIe in linux

    Hi, did it work? I've got 1616m pci-e and I wonder if I can make it with ALSA. Otherwise I would have to exchange it to pci version.

  6. #6
    Join Date
    Jan 2008
    Beans
    6

    Re: E-MU 1616m PCIe in linux

    Quote Originally Posted by slipped_on_blade View Post
    Hi, did it work? I've got 1616m pci-e and I wonder if I can make it with ALSA. Otherwise I would have to exchange it to pci version.
    Yep, works fine!
    Apply patch from this bug: https://bugtrack.alsa-project.org/al...ew.php?id=5250
    You will also need to install emu firmware (try to find it in distro repo, I have gentoo on machine with E-MU card) into /lib/firmware and maybe even compile it into kernel)

    Quote Originally Posted by kev009
    05:04.0 Multimedia audio controller [0401]: Creative Labs SB0400 Audigy2 Value [1102:0008]

    I applied the patch.

    On boot I get:
    EMU10K1_Audigy 0000:05:04.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    emu1010: Special config.
    emu1010: EMU_HANA_ID = 0x3f
    emu1010: filename emu/emu1010b.fw testing

    a long delay and then

    firmware: emu/emu1010b.fw not found. Err = -2
    emu1010: Loading Firmware file emu/emu1010b.fw failed
    EMU10K1_Audigy 0000:05:04.0: PCI INT A disabled
    EMU10K1_Audigy: probe of 0000:05:04.0 failed with error -2

    Seems to exist. Do I need to add udev rules or something?

    kev-ws-aurora ~ # ls /lib/firmware/emu/
    audio_dock.fw emu0404.fw emu1010b.fw emu1010_notebook.fw hana.fw micro_dock.fw
    Quote Originally Posted by mcdebugger
    kev009, check CONFIG_EXTRA_FIRMWARE_DIR setting im kernel config.
    Also you can try to build firmware into the kernel (set space-separated list of firmware files in CONFIG_EXTRA_FIRWMARE variable).

    My example:

    CONFIG_FIRMWARE_IN_KERNEL=y
    CONFIG_EXTRA_FIRMWARE="radeon/R600_rlc.bin emu/emu1010b.fw emu/micro_dock.fw emu/hana.fw"
    CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"

    radeon is for my radeon card so you may have something different.
    If you need JACK, don't forget to set capture device to hw:0,2, playback device to hw:0,3, input channels: 16, output channels: 16, set period to something like 64 or 128.
    I'd recommend you also to use emutrix for managing EMU's mixer connections and settings.
    If U experience fast playback issue, change clock rate to 44100 Hz (needed for example to work with PulseAudio or with ALSA device on hw:0,0).
    P.S. PCI version is deprecated. I asked one shop on eBay does they have PCI version and there's PCI-E only. But it works just fine after applying this trivial patch that allows ALSA to recognize card by pci id that's different on PCI and PCI-E versions.
    Good luck!
    Last edited by mcdebugger; July 4th, 2011 at 07:05 AM.

  7. #7
    Join Date
    May 2009
    Beans
    4

    Re: E-MU 1616m PCIe in linux

    So I applied this patch, but alsa still doesn't see my card.
    dmesg:
    [ 191.946142] snd_emu10k1 0000:06:04.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    [ 191.946155] ALSA emu10k1_main.c:1781 vendor = 0x1102, device = 0x8, subsystem_vendor_id = 0x40071102, subsystem_id = 0x4007
    [ 191.946162] ALSA emu10k1_main.c:1817 Sound card name = SB Audigy 2 Value [Unknown], vendor = 0x1102, device = 0x8, subsystem = 0x40071102.
    [ 191.952827] ALSA emu10k1_main.c:226 Audigy2 value: Special config.
    [ 192.970809] snd_emu10k1 0000:06:04.0: PCI INT A disabled
    [ 192.970820] snd_emu10k1: probe of 0000:06:04.0 failed with error -5
    It doesn't even say anything about firmware. Just fails.
    Last edited by slipped_on_blade; July 4th, 2011 at 09:31 PM.

  8. #8
    Join Date
    Jan 2008
    Beans
    6

    Re: E-MU 1616m PCIe in linux

    Quote Originally Posted by slipped_on_blade View Post
    So I applied this patch, but alsa still doesn't see my card.
    dmesg:


    It doesn't even say anything about firmware. Just fails.
    It's strange cause your PCI ID is similar to one used in this patch. Did you compile this driver as module?
    Please make sure that you loaded proper module into kernel or if it's built in-kernel, that you have proper kernel installed and booted.
    Also you may try to temporarily disable an integrated sound card (if present) but in my case it works well with both.
    P.S. please post somewhere your resulting emu10k1_main.c file. Thanks.
    Last edited by mcdebugger; July 6th, 2011 at 09:17 AM.

  9. #9
    Join Date
    May 2009
    Beans
    4

    Re: E-MU 1616m PCIe in linux

    I compiled driver using this script, that compiles sources from /opt.

    Here is my /opt/Alsa-1.0.24/alsa-driver-1.0.24/pci/emu10k1/emu10k1_main.c: http://pastebin.com/AB2V5LMu

  10. #10
    Join Date
    May 2009
    Beans
    4

    Re: E-MU 1616m PCIe in linux

    Yes. I did it. So, that's what I did in my ubuntu:

    First I downloaded, compiled and installed alsa drivers, firmwares and so on using this script http://ubuntuforums.org/showthread.php?t=1681577.

    Then I downloaded kernel sources:
    Code:
    cd ~
    mkdir ./linuxsrc
    cd ./linuxsrc
    sudo apt-get build-dep --no-install-recommends linux-image-$(uname -r)
    apt-get source linux-image-$(uname -r)
    You can read more here and here.

    Then I applied this patch to emu10k1_main.c:
    Code:
    patch ~/linuxsrc/linux-2.6.38/sound/pci/emu10k1/emu10k1_main.c /path/to/patch.patch
    Then I copied /lib/firmware/emu to ~/linuxsrc/firmware

    Then I copied installed kernel config:
    Code:
    cp /boot/config-`uname -r` ~/linuxsrc/linux.kernel.folder./.config
    and added necessary lines, provided by mcdebugger:
    Code:
    CONFIG_FIRMWARE_IN_KERNEL=y
    CONFIG_EXTRA_FIRMWARE="emu/emu1010b.fw emu/micro_dock.fw emu/hana.fw"
    CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
    Then I compiled the kernel:
    Code:
    make-kpkg clean
    CONCURRENCY_LEVEL=`getconf _NPROCESSORS_ONLN` fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
    And then installed image and keaders .deb files, that compiled into ~/linuxsrc.

    Rebooted, turned off onboard motherboard intel soundcard and configured card using emutrix and qjackctl.

    That's it.
    Last edited by slipped_on_blade; July 16th, 2011 at 12:19 PM.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •