[alsa-devel] hda-intel front headphone (8086:27d8 1043:83bc)

Raymond Yau superquad.vortex2 at gmail.com
Wed Jul 6 06:15:45 CEST 2011


2011/7/4 Alex <xenogenesi at virgilio.it>:
> Hi,
>
> I run a Debian/sid on an Asus P5KPL-SE mainboard, the snd-hda-intel seem to
> work fine, ever if it run with guess method:
>
> Unknown hardware: "HDA-Intel" "Realtek ALC887"
> "HDA:10ec0887,104383bc,00100202" "0x1043" "0x83bc"
> Hardware is initialized using a guess method

This is the message from "alsactl init"

>
> The only annoying thing is about the front headphone, every mixer application
> show the front headphone item but doesn't have adjustable level and I hear
> nothing on headphone.
>
> Any hint?
>
> http://www.alsa-project.org/db/?f=d6bc3005fab4683f2606e48f2bc909258a4ee3e3
>

The codec alc887 in your  Asus P5KPL-SE seem different from

http://www.asus.com/Motherboards/Intel_Socket_775/P5KPL_SE/#specifications

ALC662 High Definition Audio 6 -Channel CODEC
Audio Jack-detect Technology

according to your codec info

it seem that those fix_pin and multi_pin have the same capability to
connect to any DAC


static int alc880_auto_create_extra_out(struct alc_spec *spec, hda_nid_t pin,
					const char *pfx)
{

	} else if (alc880_is_multi_pin(pin)) {
+		nid = alc880_idx_to_dac(alc880_multi_pin_idx(pin));
+		/* specify the DAC as the extra output */
+		if (!spec->multiout.hp_nid)
+			spec->multiout.hp_nid = nid;
+		else
+			spec->multiout.extra_out_nid[0] = nid;
+		/* control HP volume/switch on the output mixer amp */
+		nid = alc880_idx_to_mixer(alc880_multi_pin_idx(pin));
+		err = add_pb_vol_ctrl(spec, ALC_CTL_WIDGET_VOL, pfx,
+				  HDA_COMPOSE_AMP_VAL(nid, 3, 0, HDA_OUTPUT));
+		if (err < 0)
+			return err;
		/* set manual connection */
		/* we have only a switch on HP-out PIN */
		err = add_pb_sw_ctrl(spec, ALC_CTL_WIDGET_MUTE, pfx,
				  HDA_COMPOSE_AMP_VAL(pin, 3, 0, HDA_OUTPUT));
		if (err < 0)
			return err;
	}
	return 0;


More information about the Alsa-devel mailing list