On 05/02/2014 11:27 AM, Joschi Brauchle wrote: > On 05/02/2014 11:02 AM, 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? >> >> Thanks, Joschi >> > > So if I override pin 0x16 with anything (i.e. type headphones) I do get > sound from the speakers connected to the docking station headphone jack! > > Joschi > Actually, someone else has already found the correct values for the T440p. https://github.com/leoluk/thinkpad-stuff/wiki/Haswell-ThinkPad-problems#linux-docking-station-audio-compatibility I have modified the values to fit the T440s: File: /lib/firmware/hda-jack-retask.fw -------------------------------------- [codec] 0x10ec0292 0x17aa220c 0 [pincfg] 0x16 0x2121101f 0x19 0x21a11030 -------------------------------------- I tested the settings and can confirm that docking headphone + mic works correctly, but I am not sure what these values do/mean exactly. Possibly they need to be corrected... Joschi