[alsa-devel] HDA NIDs 0x25 & 0x26 on ALC883
Takashi,
Do you know anything about NIDs 0x25 and 0x26 on the ALC883 chip? 0x25 is an Audio Output and 0x26 is an Audio Mixer. They appear completely separate from the 0x0c-0x0f mixers, but when I map one of my pins to use the 0x26 mixer, I hear audio over the jack whenever I play to the standard 'Green' 0x0c mixer. The 0x26 mixer seems unused in the current driver, so I'm not sure if there is something special about it. I'm basically trying to use it as a 5th output.
Also, when I play audio, the 0x0c mixer has a nice full sound (the "expected" sound). The 0x0d & 0x0e mixers have much less bass and sound like someone turned up the treble. The 0x0f and 0x26 mixers have an even more "tinny" sound. I've verified that all the mixers/pins are configured the same exact way and all have full volume (0x1f). Do you know of any reason why the audio output over the pins would differ? I'm not sure what I could be missing here to get them to all sound the same.
I appreciate any info you could provide. Thanks, -Andrew
This is my 0x26 / 0x25 config, mapped to pin 0x1a which I've reconfigured as an output jack:
Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x08173e: IN OUT HP Detect Pin Default 0x0181344f: [Jack] Line In at Ext Rear Conn = 1/8, Color = Blue EAPD: 0x0 Pin-ctls: 0x40: OUT Connection: 5 0x0c 0x0d 0x0e 0x0f 0x26* Node 0x26 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00] Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0 Amp-Out vals: [0x1f 0x1f] Connection: 2 0x25 0x0b Node 0x25 [Audio Output] wcaps 0x11: Stereo PCM: rates [0x560]: 44100 48000 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM
At Tue, 15 Jan 2008 18:14:52 -0500, Andrew Paprocki wrote:
Takashi,
Do you know anything about NIDs 0x25 and 0x26 on the ALC883 chip? 0x25 is an Audio Output and 0x26 is an Audio Mixer. They appear completely separate from the 0x0c-0x0f mixers, but when I map one of my pins to use the 0x26 mixer, I hear audio over the jack whenever I play to the standard 'Green' 0x0c mixer. The 0x26 mixer seems unused in the current driver, so I'm not sure if there is something special about it. I'm basically trying to use it as a 5th output.
Also, when I play audio, the 0x0c mixer has a nice full sound (the "expected" sound). The 0x0d & 0x0e mixers have much less bass and sound like someone turned up the treble. The 0x0f and 0x26 mixers have an even more "tinny" sound. I've verified that all the mixers/pins are configured the same exact way and all have full volume (0x1f). Do you know of any reason why the audio output over the pins would differ? I'm not sure what I could be missing here to get them to all sound the same.
This kind of individual DAC/ADC is provided for the independent streams, such as, using VoIP during playing DVD.
We don't create PCMs for such streams yet. I'm sure that wouldn't be hard to implement, but I've ben too lazy :)
Takashi
I appreciate any info you could provide. Thanks, -Andrew
This is my 0x26 / 0x25 config, mapped to pin 0x1a which I've reconfigured as an output jack:
Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x08173e: IN OUT HP Detect Pin Default 0x0181344f: [Jack] Line In at Ext Rear Conn = 1/8, Color = Blue EAPD: 0x0 Pin-ctls: 0x40: OUT Connection: 5 0x0c 0x0d 0x0e 0x0f 0x26* Node 0x26 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00] Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0 Amp-Out vals: [0x1f 0x1f] Connection: 2 0x25 0x0b Node 0x25 [Audio Output] wcaps 0x11: Stereo PCM: rates [0x560]: 44100 48000 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Takashi,
Do you have any thoughts on the second part? I'm not getting the same quality audio out of each of the ports, and I'm not sure where to look. I see everything from the chipset being dumped in the /proc codec file, and nothing appears different between the mixers/pins. Are there any other settings which could be different? I tested using aplay. It plays the audio out of all the output jacks and it is audibly different just using a pair of headphones.
Thanks, -Andrew
On Jan 16, 2008 7:06 AM, Takashi Iwai tiwai@suse.de wrote:
At Tue, 15 Jan 2008 18:14:52 -0500, Andrew Paprocki wrote:
Takashi,
Do you know anything about NIDs 0x25 and 0x26 on the ALC883 chip? 0x25 is an Audio Output and 0x26 is an Audio Mixer. They appear completely separate from the 0x0c-0x0f mixers, but when I map one of my pins to use the 0x26 mixer, I hear audio over the jack whenever I play to the standard 'Green' 0x0c mixer. The 0x26 mixer seems unused in the current driver, so I'm not sure if there is something special about it. I'm basically trying to use it as a 5th output.
Also, when I play audio, the 0x0c mixer has a nice full sound (the "expected" sound). The 0x0d & 0x0e mixers have much less bass and sound like someone turned up the treble. The 0x0f and 0x26 mixers have an even more "tinny" sound. I've verified that all the mixers/pins are configured the same exact way and all have full volume (0x1f). Do you know of any reason why the audio output over the pins would differ? I'm not sure what I could be missing here to get them to all sound the same.
This kind of individual DAC/ADC is provided for the independent streams, such as, using VoIP during playing DVD.
We don't create PCMs for such streams yet. I'm sure that wouldn't be hard to implement, but I've ben too lazy :)
Takashi
At Wed, 16 Jan 2008 14:56:08 -0500, Andrew Paprocki wrote:
Takashi,
Do you have any thoughts on the second part? I'm not getting the same quality audio out of each of the ports, and I'm not sure where to look. I see everything from the chipset being dumped in the /proc codec file, and nothing appears different between the mixers/pins. Are there any other settings which could be different? I tested using aplay. It plays the audio out of all the output jacks and it is audibly different just using a pair of headphones.
EAPD and GPIO may influence on the audio output largely in addition to pin HP-amp bit. GPIO isn't displayed in proc file at all.
Also, the signal routing influences on the audio quality sometimes. For example, AD1986A codec gets noisy output if you assign the same stream ID to multiple DACs.
Takashi
Thanks, -Andrew
On Jan 16, 2008 7:06 AM, Takashi Iwai tiwai@suse.de wrote:
At Tue, 15 Jan 2008 18:14:52 -0500, Andrew Paprocki wrote:
Takashi,
Do you know anything about NIDs 0x25 and 0x26 on the ALC883 chip? 0x25 is an Audio Output and 0x26 is an Audio Mixer. They appear completely separate from the 0x0c-0x0f mixers, but when I map one of my pins to use the 0x26 mixer, I hear audio over the jack whenever I play to the standard 'Green' 0x0c mixer. The 0x26 mixer seems unused in the current driver, so I'm not sure if there is something special about it. I'm basically trying to use it as a 5th output.
Also, when I play audio, the 0x0c mixer has a nice full sound (the "expected" sound). The 0x0d & 0x0e mixers have much less bass and sound like someone turned up the treble. The 0x0f and 0x26 mixers have an even more "tinny" sound. I've verified that all the mixers/pins are configured the same exact way and all have full volume (0x1f). Do you know of any reason why the audio output over the pins would differ? I'm not sure what I could be missing here to get them to all sound the same.
This kind of individual DAC/ADC is provided for the independent streams, such as, using VoIP during playing DVD.
We don't create PCMs for such streams yet. I'm sure that wouldn't be hard to implement, but I've ben too lazy :)
Takashi
Interesting.. I have 0x0c (Green) assigned to more than one and it doesn't affect it, but others are mapped more than once as well. I'll try playing around with that to see if it affects anything. I'll also try and add GPIO values to hda_proc and submit a patch. Last night I added vref + processing widget/coefficient output to hda_proc and I'm about to send up a patch for it. I'll let you know if I find anything after looking at the GPIO and signal routing.
Thanks, -Andrew
On Jan 17, 2008 2:22 AM, Takashi Iwai tiwai@suse.de wrote:
At Wed, 16 Jan 2008 14:56:08 -0500, Andrew Paprocki wrote:
Takashi,
Do you have any thoughts on the second part? I'm not getting the same quality audio out of each of the ports, and I'm not sure where to look. I see everything from the chipset being dumped in the /proc codec file, and nothing appears different between the mixers/pins. Are there any other settings which could be different? I tested using aplay. It plays the audio out of all the output jacks and it is audibly different just using a pair of headphones.
EAPD and GPIO may influence on the audio output largely in addition to pin HP-amp bit. GPIO isn't displayed in proc file at all.
Also, the signal routing influences on the audio quality sometimes. For example, AD1986A codec gets noisy output if you assign the same stream ID to multiple DACs.
Takashi
Thanks, -Andrew
On Jan 16, 2008 7:06 AM, Takashi Iwai tiwai@suse.de wrote:
At Tue, 15 Jan 2008 18:14:52 -0500, Andrew Paprocki wrote:
Takashi,
Do you know anything about NIDs 0x25 and 0x26 on the ALC883 chip? 0x25 is an Audio Output and 0x26 is an Audio Mixer. They appear completely separate from the 0x0c-0x0f mixers, but when I map one of my pins to use the 0x26 mixer, I hear audio over the jack whenever I play to the standard 'Green' 0x0c mixer. The 0x26 mixer seems unused in the current driver, so I'm not sure if there is something special about it. I'm basically trying to use it as a 5th output.
Also, when I play audio, the 0x0c mixer has a nice full sound (the "expected" sound). The 0x0d & 0x0e mixers have much less bass and sound like someone turned up the treble. The 0x0f and 0x26 mixers have an even more "tinny" sound. I've verified that all the mixers/pins are configured the same exact way and all have full volume (0x1f). Do you know of any reason why the audio output over the pins would differ? I'm not sure what I could be missing here to get them to all sound the same.
This kind of individual DAC/ADC is provided for the independent streams, such as, using VoIP during playing DVD.
We don't create PCMs for such streams yet. I'm sure that wouldn't be hard to implement, but I've ben too lazy :)
Takashi
participants (2)
-
Andrew Paprocki
-
Takashi Iwai