[linux-audio-user] A most bizarre problem.
joe at joeyreid.com
Thu May 13 09:02:13 EDT 2004
in alsamixer, look for a "Rec." toggle on the line-in channel. I had
this very problem with my i810 compatible (nforce2) onboards sound.
On May 13, 2004, at 9:03 AM, Malcolm Baldridge wrote:
> A few weeks into my admittedly bizarre Jack-based telephone logging +
> music-on-hold system, I ran into an interesting "bug".
> But first, the hardware in play:
> Motherboard: ECS P4IBMS (Pentium 4, i845 chipset)
> 00:1f.5 Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97
> Card: Intel 82801BA-ICH2
> Chip: Realtek ALC200/200P rev 0
> ALSA-1.0.3b w/1.0.4 drivers + libraries, jackd is from late April 2004
> My jackd invocation line is as follows:
> jackd -R -d alsa -S -C -p 4096 -M -n 2 -r 11025
> I have an AT&T MERLIN phone system in my closet along with my main home
> server (see above hardware description). I have my PCM (Line out)
> into the MERLIN system's music-on-hold port, that works well.
> I have two phone lines hooked up to JD Audio Phone Patch boxes to
> local + remote side level correction (trans-hybrid technology), which
> into my Line In jack [each patch box provides a mixed in/out audio
> source on
> a mono output, so I have Line 1 feeding Left, and Line 2 feeding
> This too works beautifully with my vox-activated audio logging program
> I'd adapted from one of the jackd sample clients. [It's ended up quite
> something else, but not too bad if I say so myself.]
> PROBLEM: When I have someone on hold on Line 2, say, and someone else
> talking on Line 1, the person on Line 2 hears the music-on-hold *AND*
> conversation of Line 1!!
> It gets better. If I dial out on Line 3 [lines 3+4 are outbound
> only], put
> that call on hold, and there are people talking on Lines 1+2, the
> caller at
> the other side of Line 3 hears not only the music-on-hold, but BOTH
> Line 1 +
> 2's conversations!!!
> YIKES!!! This was a big shocker. Naturally, I never did this sort of
> testing, being more concerned with DC bias, filtering curves and
> settings, and which compressors to use for the online-browsable
> phonelogs as
> well as the losslessly-compressed (FLAC of course) data archival logs.
> Obviously the PCM output is being mixed into whatever feeds into the
> input of the AC97 codec. This is annoying, and I can see no way of
> switching it off. I've explored every Mute/on/off option in the
> alas the dark fire did not avail me.
> I see nothing about "hardware monitoring" as an option for this
> however Hammerfall and others are mentioned as supporting this feature;
> nothing in the intel-8x0 driver suggest this is a supported feature.
> I'm relatively new to PC audio hardware, but has the LINE-IN been fed
> the PCM output mixer from the beginning? Is this a funky chipset bug
> weird issue or interaction? I know that the output mixer is fed audio
> the CD and the WAVE device, but it seems a bit strange that the
> LINE-IN port
> is also routed through in this way. I can't try this under Windows,
> as this
> machine has been kept clean from the Dark Software of Udûn since its
> I obviously can't mute the PCM output, since that's the music-on-hold.
> After much experimentation, I figured I'd try the Microphone input
> It seems noisier, even with the +20dB turned off. The impedance is
> quite a
> bit different, though fortunately I can get by with the gain set to
> the bare
> minimum [3 in the ALSA mixer, which is the smallest non-zero value I'm
> allowed]. But the cross-surveillance bonus to the music-on-hold
> problem is
> Maybe I can do something tricksy like emit the music-on-hold on the
> channel only, and hook up Line 2's audio feed into the left channel of
> LINE-IN. This is a cruel hack which depends on the mic+mix functions
> in the
> codec doing their job properly, which is a huge ask. Ah well.
> I'm back in action, only now I have only one channel of recording
> capability. :( :(
> Is there a mixer option/setting to disable this "pass-through" routing
> LINE-IN to the LINE-OUT sound port?
> In Mordor where the PC platform lies,
> A focus on Quality.
More information about the linux-audio-user