From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: No sound on Thinkpad T440s in Docking Station Date: Fri, 02 May 2014 18:09:30 +0200 Message-ID: References: <5360BAD0.3060808@tum.de> <53612D54.10302@tum.de> <5363544A.8040508@tum.de> <53635F17.4050202@tum.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 052A5261740 for ; Fri, 2 May 2014 18:09:31 +0200 (CEST) In-Reply-To: <53635F17.4050202@tum.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Joschi Brauchle Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Fri, 02 May 2014 11:02:15 +0200, Joschi Brauchle wrote: > > > > On 05/02/2014 10:21 AM, Takashi Iwai wrote: > > At Fri, 02 May 2014 10:16:10 +0200, > > Joschi Brauchle wrote: > >> > >> On 05/02/2014 09:31 AM, Takashi Iwai wrote: > >>> At Wed, 30 Apr 2014 19:05:24 +0200, > >>> Joschi Brauchle wrote: > >>>> > >>>> > >>>> > >>>> On 04/30/2014 06:43 PM, Takashi Iwai wrote: > >>>>> At Wed, 30 Apr 2014 10:56:48 +0200, > >>>>> Joschi Brauchle wrote: > >>>>>> > >>>>>> Dear all, > >>>>>> > >>>>>> using openSUSE 13.1 on an Thinkpad T440s, I am not getting sound once > >>>>>> the laptop is docked to its docking station. > >>>>>> > >>>>>> I suspect an additional SND_PCI_QUIRK is needed for this model. > >>>>>> "pactl list" returns > >>>>>> ---------------- > >>>>>> alsa.mixer_name = "Realtek ALC292" > >>>>>> alsa.components = "HDA:10ec0292,17aa220c,00100001" > >>>>>> ---------------- > >>>>>> for the analog audio output sink in docked state. > >>>>>> > >>>>>> Hence I assume a new line *similar* to this > >>>>>> ---------------- > >>>>>> SND_PCI_QUIRK(0x17aa, 0x220c, "Thinkpad T440s", ALC269_FIXUP_LENOVO_DOCK), > >>>>>> ---------------- > >>>>>> is needed? > >>>>>> What about the ALC292 instead of 269 Realtek chip...? > >>>>> > >>>>> It's a compatible chip, so the codec name doesn't matter. > >>>>> You can try it with model=lenovo-dock option with the recent kernels. > >>>>> For Haswell, it's safer to pass twice > >>>>> (model=lenovo-dock,lenovo-dock). > >>>>> > >>>>> Let us know if this works for you. > >>>>> > >>>>> > >>>>> Takashi > >>>>> > >>>> Hi Takashi, > >>>> > >>>> so i have: > >>>> ------------------ /etc/modprobe.d/50-sound.conf ------------------- > >>>> > >>>> options snd-hda-intel model=lenovo-dock,lenovo-dock > >>>> options snd slots=snd-hda-intel,snd-hda-intel > >>>> # 3hqH.vsazS+ZIdb9:Intel Corporation > >>>> alias snd-card-0 snd-hda-intel > >>>> # u1Nb.8dI5aUgInHB:Intel Corporation > >>>> alias snd-card-1 snd-hda-intel > >>>> ------------------ > >>>> and rebooted, but still get no sound from the headphone jack on the > >>>> dock, although the built-in speakers immediately mute when plugging in > >>>> headphones. > >>> > >>> Give alsa-info.sh output with that state for further checking. > >>> > >>> > >>> Takashi > >>> > >> > >> Please find alsa-info attached while docking and with > >> "model=lenovo-dock,lenovo-dock" option. > > > > Did you take alsa-info.sh output while you're plugging to the dock > > headphone jack? With the setup, it's NID 0x1b, and "Dock Headphone > > Jack" control should be "true" when properly detected. > > > > Maybe you'd be better to figure out which dock pin corresponds to > > which at first. hda-jack-retask should be your help. > > > > > > Takashi > > > Hi, > > yes, alsa-info.sh was created while the laptop was docked and headphones > plugged in at the docking station headphone jack. > > I installed hda-jack-retask and played with it a little bit, but I'm > rather lost... > > What exactly whould I try to do with it? The most important thing is to identify which I/O jack corresponds to which HD-audio pin. When the jack detection is available (usually so), doing trial-and-error by issuing HD-audio jack detect verbs would be the simplest way. You can do it via several tools, either hda-jack-retask, hda-analyzer or manually via hda-verb. Takashi