Patch to fix LIN_OUT1 on Audigy2 cards (+ others)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Please ignore the disable-AC97 mixer part of my Audigy2 patch. it isn't that simple...
It seems the AC97 is only used for capture on the Audigy2.. As you said, you need it to control capturing from mike, line in etc.
However, it also seems that the microphone input is routed through the FX processor and the AC97 in serial.... To adjust the mike volume, you have to mess with: (from AC97) "Master", "Mic", "Mic Boost", and (from the EMUFX?) "Capture", and "AC97" (Note: NOT "AC97 Capture"... that does nothing!). "AC97" has the most effect on the volume, so I assume it must be first in the chain... but all the others have a cumulative effect on the recorded volume.
Oh for "Line in": only "Master", and "Line" work, which actually makes sense.
Signature · 8 lines
adq ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
I noticed that I can play back the audigy2-drive RCA SPDIF input by turning up the "Optical IEC958" slider, and "arecord -f dat out.dat" will record it.
So, good. Just posting some more random info.
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
Quoted 5 lines · Mark J Roberts
I noticed that I can play back the audigy2-drive RCA SPDIF input by turning up the "Optical IEC958" slider, and "arecord -f dat out.dat" will record it.
So, good. Just posting some more random info.
Cool, I'll add that to my list
BTW, attached is my current state of analysis of the mixer devices.. not complete yet (been very busy recently).
If you can be bothered, can you confim what I've got so far?
Signature · 1 line
adq
Audigy 2 mixer controls
-----------------------
? Master
? Master Mono
* Tone
Switch to enable tone controls
Umuted: enabled
Muted: disabled
* Bass
Controls output Bass.
* Treble
Controls output Treble.
? 3D Control Switch
? 3D Control Depth
? PCM
? Surround
? Center
? LFE
* Wave
Master control volume of PCM data (and ONLY PCM data). Volume controls work.
? Wave Capture
? Wave Center
? Wave LFE
? Wave Surround
? Music
? Music Capture
* Line
Controls input from LIN_IN on card.
Mute/unmute works.
Volume controls work.
Needs to be selected as a capture input.
* Line2
Controls input from "Line 2"/"Mic 2" on drive.
Volume controls work.
? Line2 Capture
* CD
Controls input from CD_IN on card.
Mute does not work.
Volume does not work.
Needs to be selected as a capture input.
Volume is controlled by Capture+AC97.
? Mic
? Mic Boost
? Mic Select
? Video
? Phone
? PC Speaker
* Aux
Controls input from AUX_IN on card.
Volume does not work.
Needs to be selected as a capture input.
Volume is controlled by Capture+AC97.
* Aux2
Controls input from Aux In 2 on drive.
Volume controls work.
? Aux2 Capture
? Mono Out
* Capture
Provides master control for all capturing.
Volume control works and affects all captures.
Select as a capture device to enable capture. Deselect to disable all capturing.
? Mix
? Mix Mono
? AC97
? AC97 Capture
* Audigy Analog/Digital Output Jack
Controls switch between output on LIN_OUT1, LIN_OUT2, LIN_OUT3 and Digital-out-jack on card. Needs the special creative speakers to take advantage of digital (Audigy/2 cannot encode AC3) Can also passthrough pre-encoded AC3 (e.g. from a DVD)
Unmuted: Analogue output
Muted: Digital output through
* Audigy CD
Controls input from CD_SPDIF connector.
? Audigy CD Capture
? External Amplifier Power Down
? Optical IEC958
? Optical IEC958 Capture
? RCA SPDIF
? RCA SPDIF Capture
Andrew de Quincey:
Quoted 5 lines
Cool, I'll add that to my list
BTW, attached is my current state of analysis of the mixer devices.. not complete yet (been very busy recently).If you can be bothered, can you confim what I've got so far?
I've obviously had little success being bothered so far... I guess I'll post what I can right now.
Quoted 6 lines
* Tone
Switch to enable tone controls
Umuted: enabled
Muted: disabled
Quoted 7 lines
* Bass
Controls output Bass.
* Treble
Controls output Treble.
These work here too.
Quoted 1 line
? Surround
IIRC, with "aplay -D rear out.dat", this will control its volume.
Quoted 4 lines
* Wave
Master control volume of PCM data (and ONLY PCM data). Volume controls work.
Controls my line1 and spdif out. BTW, do you know how I can output to the rca spdif out ("Optical IEC958"), _without_ outputting to anything else? I want to run my iiwusynth output through an effects processor but I can't figure out how to do it properly without feedback.
mjr$ aplay -D iec958 out.dat
ALSA lib pcm_hw.c:1078:(snd_pcm_hw_open) open /dev/snd/pcmC1D3p failed: No such device
is one thing i tried without success.
Unrelated: it's interesting that my audigy1's line1 output was quite a bit louder than the audigy2's, though it had a worse noise floor even when turned down to a comparable level. Weirdly, the OSS driver for it was softer, about comparable to my audigy2 right now.
Quoted 3 lines
? Wave Center
? Wave LFE
? Wave Surround
All working here.
Quoted 37 lines
? Music
? Music Capture
* LineControls input from
LIN_INon card.Mute/unmute works.
Volume controls work.
Needs to be selected as a capture input.* Line2
Controls input from "Line 2"/"Mic 2" on drive.
Volume controls work.? Line2 Capture
* CDControls input from
CD_INon card.
Mute does not work.
Volume does not work.
Needs to be selected as a capture input.
Volume is controlled by Capture+AC97.? Mic
? Mic Boost
? Mic Select
? Video
? Phone
? PC Speaker
* AuxControls input from
AUX_INon card.
Volume does not work.
Needs to be selected as a capture input.
Volume is controlled by Capture+AC97.
Quoted 7 lines
* Aux2
Controls input from Aux In 2 on drive.
Volume controls work.? Aux2 Capture
? Mono Out
All untested, sorry.
Quoted 6 lines
* Capture
Provides master control for all capturing.
Volume control works and affects all captures.
Select as a capture device to enable capture. Deselect to disable all capturing.
I've been able to capture from spdif without turning up this slider... I'm not really sure about the specifics now.
Quoted 13 lines
? Mix
? Mix Mono
? AC97
? AC97 Capture
* Audigy Analog/Digital Output JackControls switch between output on
LIN_OUT1,LIN_OUT2,LIN_OUT3and Digital-out-jack on card. Needs the special creative speakers to take advantage of digital (Audigy/2 cannot encode AC3) Can also passthrough pre-encoded AC3 (e.g. from a DVD)Unmuted: Analogue output
Muted: Digital output through
Quoted 6 lines
* Audigy CD
Controls input from
CD_SPDIFconnector.? Audigy CD Capture
? External Amplifier Power Down
All untested.
Quoted 2 lines
? Optical IEC958
? Optical IEC958 Capture
These are my audigy-drive rca spdif sliders.
Quoted 2 lines
? RCA SPDIF
? RCA SPDIF Capture
I don't know what these are supposed to do, given the above...
Oh, and MIDI input is still an unresolved issue. No interrupts, etc, through the gameport and the drive. Output works on both. Maybe a problem with snd_emu10k1_intr_enable()? Without datasheets I am totally hopeless...
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf