[alsa-devel] EMU-1212m "no Audiodock - no firmware" patch

oeai oeai at ya.ru
Thu Nov 22 21:09:37 CET 2012

On 22.11.2012 21:17, Takashi Iwai wrote:
> Right now I fixed a few bugs regarding the firmware loading.
> It should have been improved by that.  Take a look at my recent posts
>    [PATCH 7/8] ALSA: emu10k1: cache emu1010 firmware
> and
>    [PATCH 8/8] ALSA: emu10k1: don't update firmware during suspend/resume
thanks, i'll try to find it and check, aren't they included yet?
i just don't know actually how to find some specific threads here actually
>> so in the patch i've changed few more strings for debugging
> Hmm.  It's because you have no dock?
> What happens if you don't change this?
well the firmware is trying to load it endlessly and my cpu loads at 
100% but it loads only 1 core so that was not so much worse for me
>> and here i've changed that the emu_model was firstly enabled and then ecard - since i don't know what's the ecard is, i thought that it is a second module of my emu card.
> This should be harmless.  ecard is set only to Emu APS card, and
> exclusive with EMU 1x1x & co.
- well this card i think that i got and it depends on loading the first 
part of E-MU as i think kinda a second part, so that's why i decided to 
load it a little later.
i can find you a picture of the card it is providing IN OUT analog

> What are other essentially required changes?
well i've changed emufx and other file because they were loading some 
libs and sliders that are not really needed by the emu_model

> Do both Emu1010b and Emu1212 have the same PCI SSID?  That sucks.
> I see you set ca_cardbus_chip=1 in the card entry.  Is it mandatory?
i think that the cardbus is related to that ecard and yes it looks like 
they are the same when i

lspci -s 07:05.0 -nn
07:05.0 Multimedia audio controller [0401]: Creative Labs SB0400 Audigy2 
Value [1102:0008]
i don't know how to set the subsystem

> Last but not least, please use "diff -up" for creating a patch in the
> unified diff format.
> thanks,
> Takashi
i've attached diff -u of all changes that i've made and in second reply 
i've put the dar.bz2 file with all changed files (not sure if it is on 
the deck)
so i'll send it to you too.

i've tried to reply on my own thread today but i don't see the answer, 
so i ll dulicate a message for you


> ALoha!
> i continued to make -j4 all night long and all day passed through
> so now the emu-1212m is working, i've changed some pieces of code - 
> the diff file is only 30kb
> but some people don't know how to do that, so i\ll describe a process 
> of compiling
> well there's still the bug of getting back from suspend state, but at 
> least it is loading and i've described a bug with emu-firmware, so now 
> all you need in case you are using suspend or maybe sllep mode (i 
> didn't test hibernate too)
> just do "alsa reload" - if you decide to work on project.
> i've setted the adc_1361t something and it says that you can use the 
> 24bits of capturing - well, all other was just to disable some 
> audiodock commands if no audiodock is installed in system, i've moved 
> some tweaks to load_patches function, reorganized some bits, and set 
> few states that no need to load ac97 chipset sliders into the main 
> window - that was awful.
> i'm thinking of binding some buttons and new volume sliders for DSP 
> and capture channels, but it is all can simply be routed through 
> @jack, so i'm gonna play some guitar finally at last!
> <https://lh5.googleusercontent.com/-qsu_d5TjAX4/UK4X-fSteWI/AAAAAAAAABY/Qy9kEzcFvlQ/s1600/%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA+%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0+%D0%BE%D1%82+2012-11-22+16%3A17%3A38.png> 
> i've changed not so much of a lot of things - but the good news - it 
> is working!
> so if you own emu-1212m you can take the dar.bz , download sources 
> 1.0.25 from alsa-project unbzip it to the directory and enter it, then 
> run next commands
> "./configure && make -j4"
> the compile process takes about 2-10mins -j4 means multithreading so 
> you should set the number as many cores got your CPU
> then go to directory where the emu*.dar.bz2 downloaded
> run
> "bzip2 -x ./emu*bz2"
> you need to "apt-get install dar" or check the rpm package
> "dar -x ./emu*dar" press enter when it ask something
> then open mc and put files in next directories
> assuming the root dir is an alsa sources alsa-xxxx
> /pci/emu10k1/ - you'll emu10k1_main.c there copy 1 file here and 
> delete emupmx.o and emufx.o files
> the others 2 copy into
> /alsa-kernel/pci/emu10k1/
> then go to alsa-xxxx dir and run
> "make -j4" again
> then again run "alsa unload" make sure that emu10k1 unloaded, you 
> should stop all jackd and any alsa mixers should be unloaded
> you can try
> "rmmod emu10k1" (-f - force)- it will show you maybe something
> then run
> "make install && modprobe snd-emu10k1"
> "alsa reload"
> - ok now you can try to open the device!!!
> i'm using QasMixer for alsa so you will find there DSP 0,1 - Silence - 
> Change it to 0202 ADC Left+Right
> And the ADC0 -14dB PAD 0202 - is a GAIN XP button $ ) so you are ready 
> to capture.
> well it is working and that's more then enough i've debugged one 
> superbug so now it's ok =))
> Английский понимают многие люди и наверняка те, кто умеет ковыряться в 
> линуксе - понимают и то? что ai написал =))
> -- 
> RA
> OE
> AI



-------------- next part --------------
A non-text attachment was scrubbed...
Name: emu10k1.patch
Type: text/x-patch
Size: 30771 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20121123/dd99b1a6/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: emu10k1.1.dar.bz2
Type: application/x-bzip2
Size: 39901 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20121123/dd99b1a6/attachment-0001.bz2>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ?????? ?????? ?? 2012-11-22 16:17:38.png
Type: image/png
Size: 179266 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20121123/dd99b1a6/attachment-0001.png>

More information about the Alsa-devel mailing list