16 Nov, 2011

1 commit

  • Introduce a table containing the pins and their jack-detection states
    for avoiding the unnecessary verbs to check the pin status at each time.

    When the unsol event is enabled via snd_hda_jack_detect_enable(), it
    automatically adds the given NID to the table. Then the driver supposes
    that the codec driver will set the dirty flag appropariately when an
    unsolicited event is invoked for that pin.

    The behavior for reading other pins that aren't registered in the table
    doesn't change. Only the pins assigned to the table are cached, so far.

    In near futre, this table can be extended to use the central place for
    the unsolicited events of all pins, etc, and eventually include the
    jack-detect kcontrols that replace the current input-jack stuff.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

01 Nov, 2011

1 commit


23 Sep, 2011

1 commit

  • - Add "AD198x Headphone" playback device for independent headphone playback
    while playing 7.1 surround using rear panel audio jacks.

    - Remove "6stack-dig-fp" model since "Headphone Playback Volume" control using
    DAC0 instead of DAC1 (HDA_FRONT) was already added to all models.

    - Add "Independent HP" switch to enable/disable this playback device.
    When the switch is OFF, headphone use "copy front" mode to get the front
    channel as the green jack.
    When the switch is ON, you can play stereo sound through "AD198x Headphone"
    device to headphone while playing 7.1 surround sound through "AD198x Analog"
    device.
    The switch cannot be changed when either "AD198x Headphone" or "AD198X Analog"
    is open.

    Signed-off-by: Raymond Yau
    Signed-off-by: Takashi Iwai

    Raymond Yau
     

12 Sep, 2011

1 commit


26 Jul, 2011

1 commit


10 Jun, 2011

1 commit


06 Jun, 2011

1 commit

  • The SPDIF output controls apply to converter widgets. A future change
    will create a PCM device per pin widget, and hence a set of SPDIF output
    controls per pin widget, for certain HDMI codecs. To support this, we
    need the ability to virtualize the SPDIF output controls. Specifically:

    * Controls can be "unassigned" from real hardware when a converter is
    not used for the PCM the control was created for.
    * Control puts only write to hardware when they are assigned.
    * Controls can be "assigned" to real hardware when a converter is picked
    to support output for a particular PCM.
    * When a converter is assigned, the hardware is updated to the cached
    configuration.

    Signed-off-by: Stephen Warren
    Signed-off-by: Takashi Iwai

    Stephen Warren
     

03 Jun, 2011

2 commits


25 May, 2011

1 commit

  • The microphone input on the back panel (pink connector)
    stopped operating correctly after an upgrade from
    2.6.35 to 2.6.38; the actual problem manifests itself
    as a lack of microphone bias voltage (VREF_HIZ) on
    node 0x17.
    With AD1988_6STACK_DIG the maximum bias voltage (VREF_80)
    is applied and the headset operates correctly.

    Signed-off-by: Tony Vroon
    Tested-by: Doug Redlich
    Signed-off-by: Takashi Iwai

    Tony Vroon
     

20 May, 2011

1 commit


02 May, 2011

2 commits


26 Apr, 2011

1 commit


25 Mar, 2011

1 commit


15 Feb, 2011

1 commit


18 Jan, 2011

2 commits


10 Jan, 2011

1 commit

  • BugLink: http://bugs.launchpad.net/bugs/697240

    If the "Volume" suffix is not given, alsa-lib gets confused and
    loses the dB information at the simple element level.

    Boosts generally affects both playback and capture, as they are
    applied early in the chain. Hence no "Playback" or "Capture" in
    the suffix.

    Signed-off-by: David Henningsson
    Signed-off-by: Takashi Iwai

    David Henningsson
     

25 Oct, 2010

1 commit


21 Sep, 2010

2 commits


09 Sep, 2010

3 commits


30 Aug, 2010

1 commit


03 Aug, 2010

1 commit

  • Just as with the X301. The X300 does not have a way to do SPDIF either.
    It does not have a dock connector, nor does it have the SPDIF through
    the headphone jack.

    This patch fixes it so X300 does not show SPDIF, since it cannot do it.

    To add all Lenovo Thinkpads had different codec subsytem IDs:

    X300:
    http://launchpadlibrarian.net/34862838/Card0.Codecs.codec.0.txt

    Signed-off-by: Jerone Young
    Signed-off-by: Takashi Iwai

    Jerone Young
     

06 May, 2010

1 commit


20 Apr, 2010

1 commit

  • When HP laptop with AD1981 codec is suspended and the docking-station
    is connected before the resume, the outputs get confused, and wrongly
    routed still to the speaker. This is because of a change in 2.6.34-rc1
    ea52bf260ecbb175339af3178c15788df21b7516
    ALSA: hda: Add powerdown for Analog Devices HDA codecs

    The problem was the added resume callback that doesn't consider the
    modified init hook. The fix is simply remove the resume callback here
    and make the resume normally. This doesn't change any behavior intended
    in the commit above (for shutting down the sound at suspend) but only
    fixes the resume.

    Reported-and-tested-by: Frans Pop
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

01 Apr, 2010

1 commit


31 Mar, 2010

1 commit


26 Mar, 2010

1 commit


01 Mar, 2010

1 commit


22 Feb, 2010

1 commit

  • BugLink: https://bugs.launchpad.net/bugs/524948

    The OR has verified that the existing model=laptop-eapd quirk does not
    function correctly but instead needs model=3stack. Make this change
    so that manual corrections to module-init-tools file(s) are not
    required.

    Reported-by: Lasse Havelund
    CC:
    Signed-off-by: Daniel T Chen
    Signed-off-by: Takashi Iwai

    Daniel T Chen
     

16 Feb, 2010

1 commit


21 Jan, 2010

1 commit


19 Jan, 2010

1 commit


28 Dec, 2009

1 commit


26 Dec, 2009

1 commit

  • Analog Device codecs seem to have problems with the triggering of
    pin-sensing although their pincaps give the trigger requirements.
    Some reported that constant CPU load on HP laptops with AD codecs.

    For avoiding this regression, add a flag to codec struct to notify
    explicitly that the codec doesn't suppot the trigger at pin-sensing.

    Tested-by: Maciej Rutecki
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

23 Dec, 2009

1 commit