Skip to contentSkip to conversation

Asus P5LD2 SE AD1986A snd-hda-intel model and master volume control

DISCUSSION EmIScA 3 participants 7 messages Oct 15, 2006 – Oct 16, 2006

lore
Share & tools
lore

EmIScA

author
#0 lore raw

To get sound from my Asus P5LD2 SE motherboard (which uses AD1986A codec) I had to set model=3stack manually using alsa 1.0.13. It works well, but I have no master volume mixer control, why? There is a Headphone control which don't control anything. Perhaps I can set the volume using the Front control. Is it fixable? Can I map Front as Master? Can I create a master control that controls front, surround, center and lfe together?

Ask me for other details if needed....
Thanks,
Emilio Scalise

lspci -vv output:
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
Subsystem: ASUSTeK Computer Inc. Unknown device 817f
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 0, Cache Line Size: 16 bytes
Interrupt: pin A routed to IRQ 66
Region 0: Memory at d7ef8000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA
PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [60] Message Signalled Interrupts: 64bit+
Queue=0/0 Enable+
Address: 00000000fee00000 Data: 4042
Capabilities: [70] Express Unknown type IRQ 0
Device: Supported: MaxPayload 128 bytes, PhantFunc 0,
ExtTag-
Device: Latency L0s <64ns, L1 <1us
Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
Link: Supported Speed unknown, Width x0, ASPM unknown,
Port 0
Link: Latency L0s <64ns, L1 <1us
Link: ASPM Disabled CommClk- ExtSynch-
Link: Speed unknown, Width x0

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#1 lore raw

At Sun, 15 Oct 2006 13:38:45 +0200,

Quoted 8 lines · EmIScA

To get sound from my Asus P5LD2 SE motherboard (which uses AD1986A codec) I had to set model=3stack manually using alsa 1.0.13. It works well, but I have no master volume mixer control, why? There is a Headphone control which don't control anything. Perhaps I can set the volume using the Front control. Is it fixable? Can I map Front as Master? Can I create a master control that controls front, surround, center and lfe together?

AD1986A has no real master control. That is, front, rear and CLFE have separate volume controls but no master control indeed.

The PCM control affects all channels (intentionally done so).

Takashi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

author
#2 lore raw

Ok, I realized that... My problem is that gnome mixer, kmix, use headphone as master volume control. I've read about the softvol plugin, how I can setup it to simulate the master control? Can I rename a mixer control?

Takashi Iwai ha scritto:

Quoted 12 lines

At Sun, 15 Oct 2006 13:38:45 +0200,

Quoted 8 lines · EmIScA

To get sound from my Asus P5LD2 SE motherboard (which uses AD1986A codec) I had to set model=3stack manually using alsa 1.0.13. It works well, but I have no master volume mixer control, why? There is a Headphone control which don't control anything. Perhaps I can set the volume using the Front control. Is it fixable? Can I map Front as Master? Can I create a master control that controls front, surround, center and lfe together?

Quoted 9 lines

AD1986A has no real master control. That is, front, rear and CLFE have separate volume controls but no master control indeed.

The PCM control affects all channels (intentionally done so).

Takashi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

#3 lore raw
In reply to Takashi Iwai
Quoted 11 lines · Takashi Iwai

At Sun, 15 Oct 2006 13:38:45 +0200,

Quoted 8 lines · EmIScA

To get sound from my Asus P5LD2 SE motherboard (which uses AD1986A codec) I had to set model=3stack manually using alsa 1.0.13. It works well, but I have no master volume mixer control, why? There is a Headphone control which don't control anything. Perhaps I can set the volume using the Front control. Is it fixable? Can I map Front as Master? Can I create a master control that controls front, surround, center and lfe together?

Quoted 4 lines

AD1986A has no real master control. That is, front, rear and CLFE have separate volume controls but no master control indeed.

The PCM control affects all channels (intentionally done so).

Or you could adapt the patches I just posted to bind the existing controls :-)

I'm not sure if there's any advantage, if your PCM control affects all channels; mine only affected front.

Signature · 8 lines
Daniel Jacobowitz
CodeSourcery

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
#4 lore raw

At Mon, 16 Oct 2006 10:43:26 -0400,

Quoted 13 lines · Daniel Jacobowitz
Quoted 11 lines · Takashi Iwai

At Sun, 15 Oct 2006 13:38:45 +0200,

Quoted 8 lines · EmIScA

To get sound from my Asus P5LD2 SE motherboard (which uses AD1986A codec) I had to set model=3stack manually using alsa 1.0.13. It works well, but I have no master volume mixer control, why? There is a Headphone control which don't control anything. Perhaps I can set the volume using the Front control. Is it fixable? Can I map Front as Master? Can I create a master control that controls front, surround, center and lfe together?

Quoted 7 lines
Quoted 4 lines

AD1986A has no real master control. That is, front, rear and CLFE have separate volume controls but no master control indeed.

The PCM control affects all channels (intentionally done so).

Or you could adapt the patches I just posted to bind the existing controls :-)

I've not seen any posts yet...

Quoted 2 lines

I'm not sure if there's any advantage, if your PCM control affects all channels; mine only affected front.

Depends on the codec chip design.

When you can adjust the volume of each channel at the output PIN (or in an earlier path), it's rather annoying that "PCM volume" changes only front output. This will end up with 3 PCM volume controls for front, rear and CLFE, which are complex but useless, IMO.

Takashi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#5 lore raw
Quoted 5 lines · Takashi Iwai

At Mon, 16 Oct 2006 10:43:26 -0400,

Quoted 2 lines

Or you could adapt the patches I just posted to bind the existing controls :-)

I've not seen any posts yet...

Weird! I got a copy back, and it shows up in the sourceforge archives (Subject: Ganged volume). Let me know if you want another copy.

Quoted 9 lines
Quoted 2 lines

I'm not sure if there's any advantage, if your PCM control affects all channels; mine only affected front.

Depends on the codec chip design.

When you can adjust the volume of each channel at the output PIN (or in an earlier path), it's rather annoying that "PCM volume" changes only front output. This will end up with 3 PCM volume controls for front, rear and CLFE, which are complex but useless, IMO.

As far as I could tell from the block diagram for the vt1617a, the master volume affected the output of only the front channel, and the PCM volume affect the input of only the front channel. I'm not entirely clear on why that's useful :-)

Signature · 8 lines
Daniel Jacobowitz
CodeSourcery

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
#6 lore raw

At Mon, 16 Oct 2006 11:15:13 -0400,

Quoted 10 lines · Daniel Jacobowitz
Quoted 5 lines · Takashi Iwai

At Mon, 16 Oct 2006 10:43:26 -0400,

Quoted 2 lines

Or you could adapt the patches I just posted to bind the existing controls :-)

I've not seen any posts yet...

Weird! I got a copy back, and it shows up in the sourceforge archives (Subject: Ganged volume). Let me know if you want another copy.

Maybe filtered by a spam filter. Could you resend a copy to me?

Quoted 10 lines
Quoted 9 lines
Quoted 2 lines

I'm not sure if there's any advantage, if your PCM control affects all channels; mine only affected front.

Depends on the codec chip design.

When you can adjust the volume of each channel at the output PIN (or in an earlier path), it's rather annoying that "PCM volume" changes only front output. This will end up with 3 PCM volume controls for front, rear and CLFE, which are complex but useless, IMO.

Quoted 4 lines

As far as I could tell from the block diagram for the vt1617a, the master volume affected the output of only the front channel, and the PCM volume affect the input of only the front channel. I'm not entirely clear on why that's useful :-)

Of course, it's completely different from AC97 codec chip. In the case of AC97, it is _defined_ to behave the PCM affects only front. But HD-audio codecs are not.

Takashi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642