SRU: Toshiba NB200 (Realtek ALC272) enable microphone
Again, only modifying things that were added in patch #1 of this series.
Leann Ogasawara wrote: >>From 6cb652880a1fd4593108f9501c79da826feab31e Mon Sep 17 00:00:00 2001 > From: Leann Ogasawara <leann.ogasawara@canonical.com> > Date: Thu, 27 Aug 2009 15:00:14 -0700 > Subject: [PATCH] UBUNTU: SAUCE: Toshiba NB200 (Realtek ALC272) enable microphone > > OriginalAuthor: Andres Salomon <dilinger@canonical.com> > OriginalLocation: Hardy LUM netbook-lpia branch > BugLink: http://bugs.launchpad.net/bugs/438318 > > Enable microphone (and boost input volume) for the Toshiba NB200, > Realtek ALC272 (Vendor ID: 0x10ec:0272, Subsystem ID: 0x1179:0xff6e, > Revision ID: 0x100001). Code was forward ported from Hardy LUM > (netbook-lpia branch). > > Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com> Acked-by: Stefan Bader <stefan.bader@canonical.com> > --- > sound/pci/hda/patch_realtek.c | 8 +++++++- > 1 files changed, 7 insertions(+), 1 deletions(-) > > diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c > index 1b9f430..4e9474d 100644 > --- a/sound/pci/hda/patch_realtek.c > +++ b/sound/pci/hda/patch_realtek.c > @@ -15349,6 +15349,11 @@ static struct hda_verb alc272_dell_zm1_init_verbs[] = { > {} > }; > > +static struct snd_kcontrol_new alc272_toshiba_mixer[] = { > + HDA_CODEC_VOLUME("Front Mic Boost", 0x19, 0, HDA_INPUT), > + { } /* end */ > +}; > + > static struct hda_verb alc272_toshiba_init_verbs[] = { > /* Front Pin: output 0 (0x0c) */ > {0x17, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT}, /* 0x14 */ > @@ -15358,6 +15363,7 @@ static struct hda_verb alc272_toshiba_init_verbs[] = { > {0x14, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE}, /* 0x19 */ > {0x17, AC_VERB_SET_EAPD_BTLENABLE, 2}, /* 0x14 */ > {0x19, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_IN}, /* originally 0x12 */ > + {0x19, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF80}, > {0x13, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_IN}, > {0x15, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_IN}, > {0x16, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_IN}, > @@ -16110,7 +16116,7 @@ static struct alc_config_preset alc662_presets[] = { > .init_hook = alc663_m51va_inithook, > }, > [ALC272_TOSHIBA_NB200] = { > - .mixers = { alc663_m51va_mixer }, > + .mixers = { alc663_m51va_mixer, alc272_toshiba_mixer, alc662_capture_mixer }, > .init_verbs = { alc662_init_verbs, alc272_toshiba_init_verbs }, > .num_dacs = ARRAY_SIZE(alc662_dac_nids), > .dac_nids = alc662_dac_nids, -- kernel-team mailing list kernel-team@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/kernel-team |
| All times are GMT. The time now is 02:12 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.