Hello Ellio and thanks a lot for your feedback.
> To compile on openSuse 11.3, I first had to install QT4 devel package.
> Libasound.dev is not to be found in the Suse repos.
> But the Alsa devel package will do the job.
> On openSuse there's no qmake-qt4, so you need to make a link to qmake
> with this name.
>
> Compiling goes without problems at this point .
>
Glad that works, this is the first time I use Qt for a project, and
see that there are a lot of potential (and actual) problems.
Would you mind adding this info to the wiki, maybe the InstallGuide
page? I'll add a link to this post in the meanwhile.
> [...]
>
> Some buttons let the program crash , e.g. the Master input and output
> buttons.
>
> I will test the program further and let you know
>
Well, thanks a lot. Right now my development PC (with the E-mu card)
is broken, so I can't really make any changes, but I will add any
thing you find to the list of bugs to be fixed ASAP.
> Best regards,
>
> Ellio Martina
>
> PS. Would be fine if Emu/Creative donates some source code from their
> Patchmix DSPmixer to port to Linux
>
Mmm. Mostly, it would be interesting to see what firmware they use.
For emutrix I'am just using the default firmware that ships with ALSA.
Potentially, it would be possible to do much more with a custom
firmware, in a much more elegant way. (On-card mixing, routing,
effects, etc.)
A lot more work and time figuring out the internals of the card,
though. This project started mostly as a hack, so I really hadn't
considered it. Maybe for emutrix 2?
> "DSP 0 Capture Enum" routing to -3
> No routing callback for element "DSP 0 Capture Enum"
[...]
> "DSP A Capture Enum" routing to -24
> "DSP B Capture Enum" routing to -25
[...]
> "Mana DAC Left Playback Enum" routing to -2
> No routing callback for element "Mana DAC Left Playback Enum"
> "Mana DAC Right Playback Enum" routing to -2
> No routing callback for element "Mana DAC Right Playback Enum"
Weird... Some mixer elements are either not present or don't react as
expected. And where does this Mana element come from?
Maybe it's a cardbus thing. AFAIK noone has tested cardbus yet.
Could you post the output of 'amixer controls'?
Thanks again,
Camilo
Try passing the -c option to amixer to select a different card:
'amixer -c 1 controls' or similar.
>
> When opening KMix, I see all the EMU 1010 connections.
> If I go to the KDE System settings>Multimedia, Phonon reflects only
> a few soundcard connections, probably Audigy type, such as
> "Front and Rear speakers" which certainly are not on a EMU1616 card.
>
I have no experience with Phonon, but, yes, probably it selects the
on-board card as default. My own PC has an onboard soundcard, I
disabled it in BIOS. Not an option if you want to use that card, of
course.
Then again, Phonon could label the Emu ports in any way. I know
pulseaudio does. Even the firmware that ships with ALSA has some
inconsistencies (IMHO) about this.
> I use this card on Win Vista with Cubase, and PatchmixDSP does not
> show
> these connections
>
The interesting thing about the Emu cards is that they have an FPGA
(or is it ASIC?), a chip that can route an process inputs and outputs
in hardware in many different ways, so the connections aren't really
fixed, it's more of a convention.
> Btw, I also had some doubt about the soundutilities, such as Phonon
> and Pulse,
> being an extra layer between the Card+Alsa for configuring the
> soundcard.
Yeah, the linux audio soundscape has gotten really complicated. You'll
probably want to add jack to the mixer later. Layer upon layer of
sound servers.
> The fact that Phonon entries are different from the KMix ones may be
> the cause
> of not being able to get the EMU1616 working.
Maybe phonon is using pulseaudio? To test your sound try using simple
applications like aplay and arecord that talk directly to alsa. Some
GUI apps (eg. VLC) also allow selecting ALSA in/out.
> When looking at the settings in openSuse's yast2, the Emu is a 'non
> configered' card.
> Trying to edit the settings in yast is impossible since it requires to
> stop all sound,
> wnich results in Phonon to pop-up asking if it can forget about all
> card entries.
> The strange thing here is that Phonon now does list all the EMU1010
> available in KMix.
> I find this very confusing for analizing where to look for solutions.
>
Yes, I understand. I would try disabling the built-in card, if
possible, to focus solely on the Emu card first.
BTW, it seems those "Mana" mixer elements really are cardbus-specific,
which means emutrix won't work with your card yet, at least not as
expected.
> Nevertheless I keep on searching to get it working, and as soon I have
> found usefull info
> and get the emu1010 show up with 'amixer controls' command, I let you
> know.
>
> Best regards,
>
> Ellio
>
Best of luck,
Camilo
Ok. There are several differences:
> numid=190,iface=MIXER,name='Dock SPDIF Left Playback Enum'
> numid=191,iface=MIXER,name='Dock SPDIF Right Playback Enum'
> numid=192,iface=MIXER,name='Dock ADAT 0 Playback Enum'
> [...]
> numid=199,iface=MIXER,name='Dock ADAT 7 Playback Enum'
In the PCI version the above are named "1010 ADAT" (even though the
ADAT connector may be on the Dock) and there is a "1010 SPDIF" element
in addition to "Dock SPDIF".
> --------------- separation line added by me - The Mana's
> numid=200,iface=MIXER,name='Mana DAC Left Playback Enum'
> numid=201,iface=MIXER,name='Mana DAC Right Playback Enum'
Like you say, these *could* be Phone outputs. On the PCI version there
is are elements labeled "Dock Phones Left Playback Enum" or similar,
missing in your setup.
Could you try changing the value of that enum to see what changes? E.g
using alsamixer?
> numid=224,iface=MIXER,name='ADC1 14dB PAD Audio Dock Capture Switch'
> numid=225,iface=MIXER,name='ADC2 14dB PAD Audio Dock Capture Switch'
> numid=226,iface=MIXER,name='DAC1 Audio Dock 14dB PAD Playback Switch'
> numid=227,iface=MIXER,name='DAC2 Audio Dock 14dB PAD Playback Switch'
> numid=228,iface=MIXER,name='DAC3 Audio Dock 14dB PAD Playback Switch'
Some PAD elements present on the PCI version are missing: "0202 DAC" &
"0202 ADC"
I think it shouldn't be too hard to get emutrix to handle these
changes, as soon as I know what these elements mean, exactly. (And fix
my PC's PSU :p)
BTW, have you gotten your card to work? Tried disabling the on-board card?
Greetings,
Camilo
I checked /etc/modprobe.d/50-sound.conf (openSuse)
It had only the hda-intel listed
So I added snd-emu10k1, hoping that oSyse's yast would
change from an unconfigured sb audigy to the proper one.
---------------- modified sound.conf ------------------
options snd slots=snd-hda-intel,snd-emu10k1
# M71A.74kbVjW9aV7:MCP67 High Definition Audio
alias snd-card-0 snd-hda-intel
alias snd-card-1 snd-emu10k1
But the strange thing is, that it lists the emu 1010 notebook
but still the unconfigured sbaudigy
Oh how I hate the changes made to how handling
the sound obviously has changed at the point where
you almost have discovered how it works.
Has the handling moved to hal? or any other place
I didn't discover yet.
In the amixer controls overview there's no sbaudigy listed
Does it come from Alsa's Creative cards listing?
The emu 1010 is not the same as the Audigy I guess,
or do these both have the same chip ID's??