All of lore.kernel.org
 help / color / mirror / Atom feed
* No audio output via built-in speaker on a MacMini while headphone jack is plugged in
@ 2016-03-14  8:11 moosotc
  2016-03-14 16:52 ` Takashi Iwai
  0 siblings, 1 reply; 9+ messages in thread
From: moosotc @ 2016-03-14  8:11 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Output of alsa-info.sh --]
[-- Type: application/octet-stream, Size: 43198 bytes --]

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.64
!!################################

!!Script ran on: Mon Mar 14 08:05:12 UTC 2016


!!Linux Distribution
!!------------------

Arch Linux \r (\l) NAME="Arch Linux" ID=arch PRETTY_NAME="Arch Linux" HOME_URL="https://www.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://bugs.archlinux.org/"


!!DMI Information
!!---------------

Manufacturer:      Apple Inc.
Product Name:      Macmini7,1
Product Version:   1.0
Firmware Version:  MM71.88Z.0220.B06.1509081252


!!Kernel Information
!!------------------

Kernel release:    4.5.0-malc
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         unknown
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     k4.5.0-malc
Library version:    1.1.0
Utilities version:  1.1.0


!!Loaded ALSA modules
!!-------------------

snd_hda_intel
snd_hda_intel


!!Sound Servers on this system
!!----------------------------

Jack:
      Installed - Yes (/usr/bin/jackd)
      Running - No


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xa0810000 irq 53
 1 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xa0814000 irq 52


!!PCI Soundcards installed in the system
!!--------------------------------------

00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)


!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!-------------------------------------------------------

00:03.0 0403: 8086:0a0c (rev 09)
	Subsystem: 106b:0141
--
00:1b.0 0403: 8086:9c20 (rev 04)
	Subsystem: 8086:7270


!!Modprobe options (Sound related)
!!--------------------------------

snd_hda_intel: power_save=1


!!Loaded sound module options
!!---------------------------

!!Module: snd_hda_intel
	align_buffer_size : -1
	bdl_pos_adj : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	beep_mode : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : -1
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	jackpoll_ms : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	power_save : 1
	power_save_controller : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : N
	snoop : -1

!!Module: snd_hda_intel
	align_buffer_size : -1
	bdl_pos_adj : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	beep_mode : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : -1
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	jackpoll_ms : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	power_save : 1
	power_save_controller : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : N
	snoop : -1


!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Intel Haswell HDMI
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x80862807
Subsystem Id: 0x80860101
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D3 CLKSTOP EPSS
  Power: setting=D0, actual=D0, Clock-stop-OK
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x6611: 8-Channels Digital
  Converter: stream=0, channel=0
  Digital: Enabled KAE
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x5]: PCM AC3
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x6611: 8-Channels Digital
  Converter: stream=0, channel=0
  Digital: Enabled KAE
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x5]: PCM AC3
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Audio Output] wcaps 0x6611: 8-Channels Digital
  Converter: stream=0, channel=0
  Digital: Enabled KAE
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x5]: PCM AC3
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x05 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="ELD", index=0, device=3
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0b000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Devices: 0
  Connection: 0
  In-driver Connection: 3
     0x02 0x03 0x04
Node 0x06 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Control: name="IEC958 Playback Con Mask", index=1, device=0
  Control: name="IEC958 Playback Pro Mask", index=1, device=0
  Control: name="IEC958 Playback Default", index=1, device=0
  Control: name="IEC958 Playback Switch", index=1, device=0
  Control: name="ELD", index=0, device=7
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0b000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Devices: 0
  Connection: 0
  In-driver Connection: 3
     0x02 0x03 0x04
Node 0x07 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Control: name="IEC958 Playback Con Mask", index=2, device=0
  Control: name="IEC958 Playback Pro Mask", index=2, device=0
  Control: name="IEC958 Playback Default", index=2, device=0
  Control: name="IEC958 Playback Switch", index=2, device=0
  Control: name="ELD", index=0, device=8
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0b000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Devices: 0
  Connection: 0
  In-driver Connection: 3
     0x02 0x03 0x04
Node 0x08 [Vendor Defined Widget] wcaps 0xf00000: Mono
Codec: Cirrus Logic CS4208
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10134208
Subsystem Id: 0x106b6c00
Revision Id: 0x100300
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D3 D3cold S3D3cold CLKSTOP EPSS
  Power: setting=D0, actual=D0
GPIO: io=6, o=2, i=0, unsolicited=1, wake=1
  IO[0]: enable=1, dir=1, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[4]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[5]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0xd043d: Stereo Amp-Out Stripe
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="CS4208 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x01, mute=1
  Amp-Out vals:  [0x48 0x48]
  Converter: stream=5, channel=0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x3]: PCM FLOAT
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x03 [Audio Output] wcaps 0xd043d: Stereo Amp-Out Stripe
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x01, mute=1
  Amp-Out vals:  [0xc8 0xc8]
  Converter: stream=5, channel=0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x3]: PCM FLOAT
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Delay: 13 samples
Node 0x04 [Audio Output] wcaps 0xd043d: Stereo Amp-Out Stripe
  Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x01, mute=1
  Amp-Out vals:  [0xff 0xff]
  Converter: stream=0, channel=0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x3]: PCM FLOAT
  Power states:  D0 D3 EPSS
  Power: setting=D3, actual=D3
  Delay: 13 samples
Node 0x05 [Audio Output] wcaps 0xd043d: Stereo Amp-Out Stripe
  Amp-Out caps: ofs=0x7f, nsteps=0x7f, stepsize=0x01, mute=1
  Amp-Out vals:  [0xff 0xff]
  Converter: stream=0, channel=0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x3]: PCM FLOAT
  Power states:  D0 D3 EPSS
  Power: setting=D3, actual=D3
  Delay: 13 samples
Node 0x06 [Audio Input] wcaps 0x18051b: Stereo Amp-In
  Amp-In caps: ofs=0x33, nsteps=0x3f, stepsize=0x03, mute=1
  Amp-In vals:  [0xb3 0xb3] [0xb3 0xb3] [0xb3 0xb3]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x1f5]: 8000 16000 32000 44100 48000 88200 96000
    bits [0x1e]: 16 20 24 32
    formats [0x3]: PCM FLOAT
  Power states:  D0 D3 EPSS
  Power: setting=D3, actual=D3
  Delay: 8 samples
  Connection: 3
     0x15* 0x17 0x19
Node 0x07 [Audio Input] wcaps 0x18051b: Stereo Amp-In
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Device: name="CS4208 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x33, nsteps=0x3f, stepsize=0x03, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x1f5]: 8000 16000 32000 44100 48000 88200 96000
    bits [0x1e]: 16 20 24 32
    formats [0x3]: PCM FLOAT
  Power states:  D0 D3 EPSS
  Power: setting=D3, actual=D3
  Delay: 8 samples
  Connection: 3
     0x16 0x18* 0x1a
Node 0x08 [Audio Input] wcaps 0x18051b: Stereo Amp-In
  Amp-In caps: ofs=0x33, nsteps=0x3f, stepsize=0x03, mute=1
  Amp-In vals:  [0xb3 0xb3]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x1f5]: 8000 16000 32000 44100 48000 88200 96000
    bits [0x1e]: 16 20 24 32
    formats [0x3]: PCM FLOAT
  Power states:  D0 D3 EPSS
  Power: setting=D3, actual=D3
  Delay: 8 samples
  Connection: 1
     0x1b
Node 0x09 [Audio Input] wcaps 0x18051b: Stereo Amp-In
  Amp-In caps: ofs=0x33, nsteps=0x3f, stepsize=0x03, mute=1
  Amp-In vals:  [0xb3 0xb3]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x1f5]: 8000 16000 32000 44100 48000 88200 96000
    bits [0x1e]: 16 20 24 32
    formats [0x3]: PCM FLOAT
  Power states:  D0 D3 EPSS
  Power: setting=D3, actual=D3
  Delay: 8 samples
  Connection: 1
     0x1c
Node 0x0a [Audio Output] wcaps 0x46631: 8-Channels Digital Stripe
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x60]: 44100 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D3 EPSS
  Power: setting=D3, actual=D3
  Delay: 4 samples
Node 0x0b [Audio Output] wcaps 0x46631: 8-Channels Digital Stripe
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x60]: 44100 48000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D3 EPSS
  Power: setting=D3, actual=D3
  Delay: 4 samples
Node 0x0c [Audio Input] wcaps 0x136711: 8-Channels Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x60]: 44100 48000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
  Power states:  D0 D3 EPSS
  Power: setting=D3, actual=D3
  Delay: 3 samples
  Connection: 1
     0x1f
Node 0x0d [Audio Input] wcaps 0x136711: 8-Channels Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x60]: 44100 48000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
  Power states:  D0 D3 EPSS
  Power: setting=D3, actual=D3
  Delay: 3 samples
  Connection: 1
     0x20
Node 0x0e [Audio Output] wcaps 0x40631: Stereo Digital Stripe
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
  Device: name="CS4208 Digital", type="SPDIF", device=1
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Power states:  D0 D3 EPSS
  Power: setting=D3, actual=D3
  Delay: 4 samples
Node 0x0f [Audio Input] wcaps 0x1b0791: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D3 EPSS
  Power: setting=D3, actual=D3
  Delay: 11 samples
  Connection: 1
     0x22
Node 0x10 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x42, nsteps=0x42, stepsize=0x03, mute=1
  Amp-Out vals:  [0x42 0x42]
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x002b4030: [Jack] HP Out at Ext N/A
    Conn = Comb, Color = Green
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x02
Node 0x11 [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x00000054: OUT Detect Balanced
  Pin Default 0x400000f0: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D3 EPSS
  Power: setting=D3, actual=D3
  Connection: 1
     0x02
Node 0x12 [Pin Complex] wcaps 0x400501: Stereo
  Pincap 0x00000050: OUT Balanced
  Pin Default 0x90100120: [Fixed] Speaker at Int N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D3 EPSS
  Power: setting=D3, actual=D3
  Connection: 1
     0x03
Node 0x13 [Pin Complex] wcaps 0x400501: Stereo
  Pincap 0x00000050: OUT Balanced
  Pin Default 0x400000f0: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00:
  Power states:  D0 D3 EPSS
  Power: setting=D3, actual=D3
  Connection: 1
     0x04
Node 0x14 [Pin Complex] wcaps 0x400501: Stereo
  Pincap 0x00000050: OUT Balanced
  Pin Default 0x400000f0: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00:
  Power states:  D0 D3 EPSS
  Power: setting=D3, actual=D3
  Connection: 1
     0x05
Node 0x15 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00001720: IN
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x400000f0: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00: VREF_HIZ
  Power states:  D0 D3 EPSS
  Power: setting=D3, actual=D3
Node 0x16 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00001720: IN
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x400000f0: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00: VREF_HIZ
  Power states:  D0 D3 EPSS
  Power: setting=D3, actual=D3
Node 0x17 [Pin Complex] wcaps 0x40048b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000024: IN Detect
  Pin Default 0x400000f0: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D3 EPSS
  Power: setting=D3, actual=D3
Node 0x18 [Pin Complex] wcaps 0x40048a: Mono Amp-In
  Control: name="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00]
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x00ab9050: [Jack] Mic at Ext N/A
    Conn = Comb, Color = Pink
    DefAssociation = 0x5, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D3 EPSS
  Power: setting=D3, actual=D3
Node 0x19 [Pin Complex] wcaps 0x40000b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x02, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x400000f0: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00:
Node 0x1a [Pin Complex] wcaps 0x40000b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x02, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x400000f0: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00:
Node 0x1b [Pin Complex] wcaps 0x40000b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x02, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x400000f0: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00:
Node 0x1c [Pin Complex] wcaps 0x40000b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x02, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x400000f0: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00:
Node 0x1d [Pin Complex] wcaps 0x406301: 8-Channels Digital
  Pincap 0x00000010: OUT
  Pin Default 0x400000f0: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00:
  Connection: 1
     0x0a
Node 0x1e [Pin Complex] wcaps 0x406301: 8-Channels Digital
  Pincap 0x00000010: OUT
  Pin Default 0x400000f0: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00:
  Connection: 1
     0x0b
Node 0x1f [Pin Complex] wcaps 0x406201: 8-Channels Digital
  Pincap 0x00000020: IN
  Pin Default 0x400000f0: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00:
Node 0x20 [Pin Complex] wcaps 0x406201: 8-Channels Digital
  Pincap 0x00000020: IN
  Pin Default 0x400000f0: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00:
Node 0x21 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x004be040: [Jack] SPDIF Out at Ext N/A
    Conn = Comb, Color = White
    DefAssociation = 0x4, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0e
Node 0x22 [Pin Complex] wcaps 0x400281: Stereo Digital
  Pincap 0x00000024: IN Detect
  Pin Default 0x400000f0: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
Node 0x23 [Beep Generator Widget] wcaps 0x700200: Mono Digital
Node 0x24 [Vendor Defined Widget] wcaps 0xf0e2c1: 16-Channels Digital
  Unsolicited: tag=00, enabled=0
  Processing caps: benign=0, ncoeff=128
--endcollapse--


!!ALSA Device nodes
!!-----------------

crw-rw----+ 1 root audio 116,  7 Mar 14 10:12 /dev/snd/controlC0
crw-rw----+ 1 root audio 116,  2 Mar 14 10:12 /dev/snd/controlC1
crw-rw----+ 1 root audio 116, 11 Mar 14 10:12 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116,  6 Mar 14 10:12 /dev/snd/hwC1D0
crw-rw----+ 1 root audio 116,  8 Mar 14 10:12 /dev/snd/pcmC0D3p
crw-rw----+ 1 root audio 116,  9 Mar 14 10:12 /dev/snd/pcmC0D7p
crw-rw----+ 1 root audio 116, 10 Mar 14 10:12 /dev/snd/pcmC0D8p
crw-rw----+ 1 root audio 116,  4 Mar 14 10:12 /dev/snd/pcmC1D0c
crw-rw----+ 1 root audio 116,  3 Mar 14 10:51 /dev/snd/pcmC1D0p
crw-rw----+ 1 root audio 116,  5 Mar 14 10:12 /dev/snd/pcmC1D1p
crw-rw----+ 1 root audio 116, 33 Mar 14 10:12 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  80 Mar 14 10:12 .
drwxr-xr-x 3 root root 280 Mar 14 10:12 ..
lrwxrwxrwx 1 root root  12 Mar 14 10:12 pci-0000:00:03.0 -> ../controlC0
lrwxrwxrwx 1 root root  12 Mar 14 10:12 pci-0000:00:1b.0 -> ../controlC1


!!ALSA configuration files
!!------------------------

!!User specific config file (~/.asoundrc)

defaults.ctl.card 1
defaults.pcm.card 1
defaults.pcm.device 0




!!Aplay/Arecord output
!!--------------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: CS4208 Analog [CS4208 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: CS4208 Digital [CS4208 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 1: PCH [HDA Intel PCH], device 0: CS4208 Analog [CS4208 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [HDMI]

Card hw:0 'HDMI'/'HDA Intel HDMI at 0xa0810000 irq 53'
  Mixer name	: 'Intel Haswell HDMI'
  Components	: 'HDA:80862807,80860101,00100000'
  Controls      : 21
  Simple ctrls  : 3
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

!!-------Mixer controls for card 1 [PCH]

Card hw:1 'PCH'/'HDA Intel PCH at 0xa0814000 irq 52'
  Mixer name	: 'Cirrus Logic CS4208'
  Components	: 'HDA:10134208,106b6c00,00100300'
  Controls      : 24
  Simple ctrls  : 10
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 72 [57%] [-27.50dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 127 [100%] [0.00dB] [on]
  Front Right: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 127 [100%] [0.00dB] [off]
  Front Right: Playback 127 [100%] [0.00dB] [off]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [-20.00dB]
  Front Right: 0 [0%] [-20.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 21 [33%] [-30.00dB] [on]
  Front Right: Capture 21 [33%] [-30.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 0 [0%] [-30.00dB]
  Front Right: Capture 0 [0%] [-30.00dB]


!!Alsactl output
!!--------------

--startcollapse--
state.HDMI {
	control.1 {
		iface CARD
		name 'HDMI/DP,pcm=3 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.2 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.3 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.4 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.5 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.6 {
		iface PCM
		device 3
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.7 {
		iface CARD
		name 'HDMI/DP,pcm=7 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.8 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 1
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 1
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.10 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 1
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.11 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 1
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.12 {
		iface PCM
		device 7
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.13 {
		iface CARD
		name 'HDMI/DP,pcm=8 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.14 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 2
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.15 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 2
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.16 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 2
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.17 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 2
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.18 {
		iface PCM
		device 8
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.19 {
		iface PCM
		device 3
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		value.2 0
		value.3 0
		value.4 0
		value.5 0
		value.6 0
		value.7 0
		comment {
			access 'read write'
			type INTEGER
			count 8
			range '0 - 36'
		}
	}
	control.20 {
		iface PCM
		device 7
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		value.2 0
		value.3 0
		value.4 0
		value.5 0
		value.6 0
		value.7 0
		comment {
			access 'read write'
			type INTEGER
			count 8
			range '0 - 36'
		}
	}
	control.21 {
		iface PCM
		device 8
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		value.2 0
		value.3 0
		value.4 0
		value.5 0
		value.6 0
		value.7 0
		comment {
			access 'read write'
			type INTEGER
			count 8
			range '0 - 36'
		}
	}
}
state.PCH {
	control.1 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 127
		value.1 127
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 127'
			dbmin -6350
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.2 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.3 {
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 127
		value.1 127
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 127'
			dbmin -6350
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.4 {
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.5 {
		iface MIXER
		name 'Auto-Mute Mode'
		value Enabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.6 {
		iface MIXER
		name 'Capture Volume'
		value.0 21
		value.1 21
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 63'
			dbmin -5100
			dbmax 1200
			dbvalue.0 -3000
			dbvalue.1 -3000
		}
	}
	control.7 {
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.8 {
		iface MIXER
		name 'Mic Boost Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin -2000
			dbmax 1000
			dbvalue.0 -2000
			dbvalue.1 -2000
		}
	}
	control.9 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.10 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.11 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.12 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.13 {
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.14 {
		iface MIXER
		name 'Master Playback Volume'
		value 72
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 127'
			dbmin -6350
			dbmax 0
			dbvalue.0 -2750
		}
	}
	control.15 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.16 {
		iface CARD
		name 'Mic Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.17 {
		iface CARD
		name 'Headphone Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.18 {
		iface CARD
		name 'Speaker Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.19 {
		iface CARD
		name 'SPDIF Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.20 {
		iface PCM
		name 'Playback Channel Map'
		value.0 3
		value.1 4
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.21 {
		iface PCM
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.22 {
		iface PCM
		device 1
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.23 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 255
		value.1 255
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 255'
			tlv '0000000100000008ffffec1400000014'
			dbmin -5100
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.24 {
		iface MIXER
		name 'Digital Capture Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 120'
			tlv '0000000100000008fffff44800000032'
			dbmin -3000
			dbmax 3000
			dbvalue.0 -3000
			dbvalue.1 -3000
		}
	}
}
--endcollapse--


!!All Loaded Modules
!!------------------

Module
tg3
ptp
pps_core
libphy
btusb
btrtl
btbcm
btintel
bluetooth
snd_hda_codec_hdmi
snd_hda_codec_cirrus
snd_hda_codec_generic
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_hda_core
snd_pcm
hid_generic
usb_storage
coretemp
usbhid
hid
i915
i2c_algo_bit
drm_kms_helper
cfbfillrect
syscopyarea
cfbimgblt
hwmon
sysfillrect
intel_rapl
sysimgblt
x86_pkg_temp_thermal
snd_timer
intel_powerclamp
fb_sys_fops
xhci_pci
xhci_hcd
snd
bcma
kvm_intel
cfbcopyarea
drm
efi_pstore
lpc_ich
kvm
usbcore
thunderbolt
intel_gtt
irqbypass
soundcore
mfd_core
usb_common
efivars
agpgart
processor
efivarfs


!!Sysfs Files
!!-----------

/sys/class/sound/hwC0D0/init_pin_configs:
0x05 0x18560010
0x06 0x18560010
0x07 0x18560010

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D0/hints:

/sys/class/sound/hwC1D0/init_pin_configs:
0x10 0x002b4030
0x11 0x400000f0
0x12 0x90100120
0x13 0x400000f0
0x14 0x400000f0
0x15 0x400000f0
0x16 0x400000f0
0x17 0x400000f0
0x18 0x00ab9050
0x19 0x400000f0
0x1a 0x400000f0
0x1b 0x400000f0
0x1c 0x400000f0
0x1d 0x400000f0
0x1e 0x400000f0
0x1f 0x400000f0
0x20 0x400000f0
0x21 0x004be040
0x22 0x400000f0

/sys/class/sound/hwC1D0/driver_pin_configs:
0x18 0x00ab9150
0x21 0x004be140

/sys/class/sound/hwC1D0/user_pin_configs:

/sys/class/sound/hwC1D0/init_verbs:

/sys/class/sound/hwC1D0/hints:


!!ALSA/HDA dmesg
!!--------------

[    6.280172] thunderbolt 0000:06:00.0:   NFC Credits: 0x700000
[    6.280275] thunderbolt 0000:06:00.0:  Port 10: 8086:156d (Revision: 0, TB Version: 1, Type: DP/HDMI (0xe0102))
[    6.280277] thunderbolt 0000:06:00.0:   Max hop id (in/out): 9/9
--
[    6.280280] thunderbolt 0000:06:00.0:   NFC Credits: 0x700000
[    6.280368] thunderbolt 0000:06:00.0:  Port 11: 8086:156d (Revision: 0, TB Version: 1, Type: DP/HDMI (0xe0101))
[    6.280369] thunderbolt 0000:06:00.0:   Max hop id (in/out): 9/9
--
[    6.280372] thunderbolt 0000:06:00.0:   NFC Credits: 0xf00000
[    6.280472] thunderbolt 0000:06:00.0:  Port 12: 8086:156d (Revision: 0, TB Version: 1, Type: DP/HDMI (0xe0101))
[    6.280474] thunderbolt 0000:06:00.0:   Max hop id (in/out): 9/9
--
[    8.124823] input: BTC USB Multimedia Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.1/0003:046E:52CA.0004/input/input6
[    8.134127] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_exit [i915])
[    8.157169] input: HID 05ac:820b as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.2/1-3.2:1.0/0003:05AC:820B.0005/input/input7
[    8.166610] snd_hda_codec_cirrus hdaudioC1D0: autoconfig for CS4208: line_outs=1 (0x12/0x0/0x0/0x0/0x0) type:speaker
[    8.166618] snd_hda_codec_cirrus hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    8.166621] snd_hda_codec_cirrus hdaudioC1D0:    hp_outs=1 (0x10/0x0/0x0/0x0/0x0)
[    8.166623] snd_hda_codec_cirrus hdaudioC1D0:    mono: mono_out=0x0
[    8.166625] snd_hda_codec_cirrus hdaudioC1D0:    dig-out=0x21/0x0
[    8.166627] snd_hda_codec_cirrus hdaudioC1D0:    inputs:
[    8.166629] snd_hda_codec_cirrus hdaudioC1D0:      Mic=0x18
[    8.173640] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card1/input8
[    8.177732] hid-generic 0003:05AC:820B.0005: input,hidraw2: USB HID v1.11 Mouse [HID 05ac:820b] on usb-0000:00:14.0-3.2/input0
--
[    8.337691] usb 1-8: new low-speed USB device number 7 using xhci_hcd
[    8.442610] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input9
[    8.442688] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input10
[    8.442757] input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card0/input11
[    8.517420] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:046D:C05A.0006/input/input12
--
[   51.531998] tg3 0000:03:00.0 enp3s0f0: EEE is disabled
[  288.309126] snd_hda_intel 0000:00:1b.0: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj.



[-- Attachment #2: Type: text/plain, Size: 199 bytes --]


`amixer set Speaker unmute' makes no difference
physically unplugging the headphone jack from the socket does, i.e.
`amixer set Speaker (un)mute' does the right thing.

-- 
mailto:moosotc@gmail.com

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: No audio output via built-in speaker on a MacMini while headphone jack is plugged in
  2016-03-14  8:11 No audio output via built-in speaker on a MacMini while headphone jack is plugged in moosotc
@ 2016-03-14 16:52 ` Takashi Iwai
  2016-03-14 17:16   ` moosotc
  0 siblings, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2016-03-14 16:52 UTC (permalink / raw)
  To: moosotc; +Cc: alsa-devel

On Mon, 14 Mar 2016 09:11:10 +0100,
moosotc@gmail.com wrote:
> 
> [1 Output of alsa-info.sh <application/octet-stream (base64)>]
> 
> 
> `amixer set Speaker unmute' makes no difference
> physically unplugging the headphone jack from the socket does, i.e.
> `amixer set Speaker (un)mute' does the right thing.

Could you give more details?  The description is too concise and
vague.

The auto-mute feature is standard behavior.  When "Auto-Mute Mode"
control is set to "Enabled", the speaker is muted no matter what you
set the speaker mute switch.  If this isn't the case, please elaborate
what you expected and what doesn't work.


thanks,

Takashi

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: No audio output via built-in speaker on a MacMini while headphone jack is plugged in
  2016-03-14 16:52 ` Takashi Iwai
@ 2016-03-14 17:16   ` moosotc
  2016-03-14 17:53     ` Takashi Iwai
  0 siblings, 1 reply; 9+ messages in thread
From: moosotc @ 2016-03-14 17:16 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

Takashi Iwai <tiwai@suse.de> writes:

> On Mon, 14 Mar 2016 09:11:10 +0100,
> moosotc@gmail.com wrote:
>> 
>> [1 Output of alsa-info.sh <application/octet-stream (base64)>]
>> 
>> 
>> `amixer set Speaker unmute' makes no difference
>> physically unplugging the headphone jack from the socket does, i.e.
>> `amixer set Speaker (un)mute' does the right thing.
>
> Could you give more details?  The description is too concise and
> vague.
>

I have a script to toggles sound emission by the built-in speaker:

#!/bin/sh
amixer get Speaker | grep -q "\[on\]" && onoff="mute" || onoff="unmute"
amixer set Speaker $onoff
echo "$onoff"

As we speak:

`--> atoggle
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 127 [100%] [0.00dB] [on]
  Front Right: Playback 127 [100%] [0.00dB] [on]
unmute

This setting is ignored when (i.e. speaker is always silent) if the
headphone jack is plugged in.

This used to work in prior kernels, I believe I've shared my bisection
results with you in one of the earlier (personal) e-mails, if there's a
better way to achieve the desired result (i.e. control sound emission by
the speaker regardless of the headphone jack plug-status) I'll happily
use that instead.

> The auto-mute feature is standard behavior.  When "Auto-Mute Mode"
> control is set to "Enabled", the speaker is muted no matter what you
> set the speaker mute switch.  If this isn't the case, please elaborate
> what you expected and what doesn't work.
>
>
> thanks,
>
> Takashi

-- 
mailto:moosotc@gmail.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: No audio output via built-in speaker on a MacMini while headphone jack is plugged in
  2016-03-14 17:16   ` moosotc
@ 2016-03-14 17:53     ` Takashi Iwai
  2016-03-14 18:39       ` moosotc
  2016-03-14 18:59       ` moosotc
  0 siblings, 2 replies; 9+ messages in thread
From: Takashi Iwai @ 2016-03-14 17:53 UTC (permalink / raw)
  To: moosotc; +Cc: alsa-devel

On Mon, 14 Mar 2016 18:16:11 +0100,
moosotc@gmail.com wrote:
> 
> Takashi Iwai <tiwai@suse.de> writes:
> 
> > On Mon, 14 Mar 2016 09:11:10 +0100,
> > moosotc@gmail.com wrote:
> >> 
> >> [1 Output of alsa-info.sh <application/octet-stream (base64)>]
> >> 
> >> 
> >> `amixer set Speaker unmute' makes no difference
> >> physically unplugging the headphone jack from the socket does, i.e.
> >> `amixer set Speaker (un)mute' does the right thing.
> >
> > Could you give more details?  The description is too concise and
> > vague.
> >
> 
> I have a script to toggles sound emission by the built-in speaker:
> 
> #!/bin/sh
> amixer get Speaker | grep -q "\[on\]" && onoff="mute" || onoff="unmute"
> amixer set Speaker $onoff
> echo "$onoff"
> 
> As we speak:
> 
> `--> atoggle
> Simple mixer control 'Speaker',0
>   Capabilities: pvolume pswitch
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 127
>   Mono:
>   Front Left: Playback 127 [100%] [0.00dB] [on]
>   Front Right: Playback 127 [100%] [0.00dB] [on]
> unmute
> 
> This setting is ignored when (i.e. speaker is always silent) if the
> headphone jack is plugged in.
> 
> This used to work in prior kernels, I believe I've shared my bisection
> results with you in one of the earlier (personal) e-mails, if there's a
> better way to achieve the desired result (i.e. control sound emission by
> the speaker regardless of the headphone jack plug-status) I'll happily
> use that instead.

As mentioned, make sure that you disable auto-mute mode:
  amixer set "Auto-Mute Mode" "Disabled"

If you still have no speaker output even after that, give alsa-info.sh
output with non-working state, and also the alsa-info.sh output from
the working state on the earlier kernel.


Takashi

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: No audio output via built-in speaker on a MacMini while headphone jack is plugged in
  2016-03-14 17:53     ` Takashi Iwai
@ 2016-03-14 18:39       ` moosotc
  2016-03-15 15:24         ` Takashi Iwai
  2016-03-14 18:59       ` moosotc
  1 sibling, 1 reply; 9+ messages in thread
From: moosotc @ 2016-03-14 18:39 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 2289 bytes --]

Takashi Iwai <tiwai@suse.de> writes:

> On Mon, 14 Mar 2016 18:16:11 +0100,
> moosotc@gmail.com wrote:
>> 
>> Takashi Iwai <tiwai@suse.de> writes:
>> 
>> > On Mon, 14 Mar 2016 09:11:10 +0100,
>> > moosotc@gmail.com wrote:
>> >> 
>> >> [1 Output of alsa-info.sh <application/octet-stream (base64)>]
>> >> 
>> >> 
>> >> `amixer set Speaker unmute' makes no difference
>> >> physically unplugging the headphone jack from the socket does, i.e.
>> >> `amixer set Speaker (un)mute' does the right thing.
>> >
>> > Could you give more details?  The description is too concise and
>> > vague.
>> >
>> 
>> I have a script to toggles sound emission by the built-in speaker:
>> 
>> #!/bin/sh
>> amixer get Speaker | grep -q "\[on\]" && onoff="mute" || onoff="unmute"
>> amixer set Speaker $onoff
>> echo "$onoff"
>> 
>> As we speak:
>> 
>> `--> atoggle
>> Simple mixer control 'Speaker',0
>>   Capabilities: pvolume pswitch
>>   Playback channels: Front Left - Front Right
>>   Limits: Playback 0 - 127
>>   Mono:
>>   Front Left: Playback 127 [100%] [0.00dB] [on]
>>   Front Right: Playback 127 [100%] [0.00dB] [on]
>> unmute
>> 
>> This setting is ignored when (i.e. speaker is always silent) if the
>> headphone jack is plugged in.
>> 
>> This used to work in prior kernels, I believe I've shared my bisection
>> results with you in one of the earlier (personal) e-mails, if there's a
>> better way to achieve the desired result (i.e. control sound emission by
>> the speaker regardless of the headphone jack plug-status) I'll happily
>> use that instead.
>
> As mentioned, make sure that you disable auto-mute mode:
>   amixer set "Auto-Mute Mode" "Disabled"
>
> If you still have no speaker output even after that, give alsa-info.sh
> output with non-working state, and also the alsa-info.sh output from
> the working state on the earlier kernel.
>
>
    jack      | speaker | auto-mute | spaker emits sound
000 unplugged | muted   | disabled  | no
001 unplugged | muted   | enabled   | no
010 unplugged | unmuted | disabled  | yes
011 unplugged | unmuted | enabled   | yes
100 plugged   | muted   | disabled  | no
101 plugged   | muted   | enabled   | no
110 plugged   | unmuted | disabled  | no
111 plugged   | unmuted | enabled   | no

alsa-info outputs can be found in the attached archive


[-- Attachment #2: infos --]
[-- Type: application/zip, Size: 51255 bytes --]

[-- Attachment #3: Type: text/plain, Size: 30 bytes --]


-- 
mailto:moosotc@gmail.com

[-- Attachment #4: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: No audio output via built-in speaker on a MacMini while headphone jack is plugged in
  2016-03-14 17:53     ` Takashi Iwai
  2016-03-14 18:39       ` moosotc
@ 2016-03-14 18:59       ` moosotc
  1 sibling, 0 replies; 9+ messages in thread
From: moosotc @ 2016-03-14 18:59 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

Takashi Iwai <tiwai@suse.de> writes:

> On Mon, 14 Mar 2016 18:16:11 +0100,
> moosotc@gmail.com wrote:
[..snip..]

>
> As mentioned, make sure that you disable auto-mute mode:
>   amixer set "Auto-Mute Mode" "Disabled"
>
> If you still have no speaker output even after that, give alsa-info.sh
> output with non-working state, and also the alsa-info.sh output from
> the working state on the earlier kernel.

I would like to avoid checking out and building the earlier kernel if at
all possible, will do it if there's no other way forward...

-- 
mailto:moosotc@gmail.com

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: No audio output via built-in speaker on a MacMini while headphone jack is plugged in
  2016-03-14 18:39       ` moosotc
@ 2016-03-15 15:24         ` Takashi Iwai
  2016-03-15 15:43           ` moosotc
  0 siblings, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2016-03-15 15:24 UTC (permalink / raw)
  To: moosotc; +Cc: alsa-devel

On Mon, 14 Mar 2016 19:39:26 +0100,
moosotc@gmail.com wrote:
> 
> Takashi Iwai <tiwai@suse.de> writes:
> 
> > On Mon, 14 Mar 2016 18:16:11 +0100,
> > moosotc@gmail.com wrote:
> >> 
> >> Takashi Iwai <tiwai@suse.de> writes:
> >> 
> >> > On Mon, 14 Mar 2016 09:11:10 +0100,
> >> > moosotc@gmail.com wrote:
> >> >> 
> >> >> [1 Output of alsa-info.sh <application/octet-stream (base64)>]
> >> >> 
> >> >> 
> >> >> `amixer set Speaker unmute' makes no difference
> >> >> physically unplugging the headphone jack from the socket does, i.e.
> >> >> `amixer set Speaker (un)mute' does the right thing.
> >> >
> >> > Could you give more details?  The description is too concise and
> >> > vague.
> >> >
> >> 
> >> I have a script to toggles sound emission by the built-in speaker:
> >> 
> >> #!/bin/sh
> >> amixer get Speaker | grep -q "\[on\]" && onoff="mute" || onoff="unmute"
> >> amixer set Speaker $onoff
> >> echo "$onoff"
> >> 
> >> As we speak:
> >> 
> >> `--> atoggle
> >> Simple mixer control 'Speaker',0
> >>   Capabilities: pvolume pswitch
> >>   Playback channels: Front Left - Front Right
> >>   Limits: Playback 0 - 127
> >>   Mono:
> >>   Front Left: Playback 127 [100%] [0.00dB] [on]
> >>   Front Right: Playback 127 [100%] [0.00dB] [on]
> >> unmute
> >> 
> >> This setting is ignored when (i.e. speaker is always silent) if the
> >> headphone jack is plugged in.
> >> 
> >> This used to work in prior kernels, I believe I've shared my bisection
> >> results with you in one of the earlier (personal) e-mails, if there's a
> >> better way to achieve the desired result (i.e. control sound emission by
> >> the speaker regardless of the headphone jack plug-status) I'll happily
> >> use that instead.
> >
> > As mentioned, make sure that you disable auto-mute mode:
> >   amixer set "Auto-Mute Mode" "Disabled"
> >
> > If you still have no speaker output even after that, give alsa-info.sh
> > output with non-working state, and also the alsa-info.sh output from
> > the working state on the earlier kernel.
> >
> >
>     jack      | speaker | auto-mute | spaker emits sound
> 000 unplugged | muted   | disabled  | no
> 001 unplugged | muted   | enabled   | no
> 010 unplugged | unmuted | disabled  | yes
> 011 unplugged | unmuted | enabled   | yes
> 100 plugged   | muted   | disabled  | no
> 101 plugged   | muted   | enabled   | no
> 110 plugged   | unmuted | disabled  | no
> 111 plugged   | unmuted | enabled   | no
> 
> alsa-info outputs can be found in the attached archive

Thanks.  This seems to be the missing GPIO setup when the auto-mute is
disabled.  Could you give the patch below?


Takashi

---
diff --git a/sound/pci/hda/patch_cirrus.c b/sound/pci/hda/patch_cirrus.c
index c1c855a6c0af..a47e8ae0eb30 100644
--- a/sound/pci/hda/patch_cirrus.c
+++ b/sound/pci/hda/patch_cirrus.c
@@ -174,8 +174,12 @@ static void cs_automute(struct hda_codec *codec)
 	snd_hda_gen_update_outputs(codec);
 
 	if (spec->gpio_eapd_hp || spec->gpio_eapd_speaker) {
-		spec->gpio_data = spec->gen.hp_jack_present ?
-			spec->gpio_eapd_hp : spec->gpio_eapd_speaker;
+		if (spec->gen.automute_speaker)
+			spec->gpio_data = spec->gen.hp_jack_present ?
+				spec->gpio_eapd_hp : spec->gpio_eapd_speaker;
+		else
+			spec->gpio_data =
+				spec->gpio_eapd_hp | spec->gpio_eapd_speaker;
 		snd_hda_codec_write(codec, 0x01, 0,
 				    AC_VERB_SET_GPIO_DATA, spec->gpio_data);
 	}

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: No audio output via built-in speaker on a MacMini while headphone jack is plugged in
  2016-03-15 15:24         ` Takashi Iwai
@ 2016-03-15 15:43           ` moosotc
  2016-03-15 15:49             ` Takashi Iwai
  0 siblings, 1 reply; 9+ messages in thread
From: moosotc @ 2016-03-15 15:43 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

Takashi Iwai <tiwai@suse.de> writes:

> On Mon, 14 Mar 2016 19:39:26 +0100,
> moosotc@gmail.com wrote:
>> 

[..snip..]

>
> Thanks.  This seems to be the missing GPIO setup when the auto-mute is
> disabled.  Could you give the patch below?
>
>
> Takashi
>
> ---
> diff --git a/sound/pci/hda/patch_cirrus.c b/sound/pci/hda/patch_cirrus.c
> index c1c855a6c0af..a47e8ae0eb30 100644
> --- a/sound/pci/hda/patch_cirrus.c
> +++ b/sound/pci/hda/patch_cirrus.c
> @@ -174,8 +174,12 @@ static void cs_automute(struct hda_codec *codec)
>  	snd_hda_gen_update_outputs(codec);
>  
>  	if (spec->gpio_eapd_hp || spec->gpio_eapd_speaker) {
> -		spec->gpio_data = spec->gen.hp_jack_present ?
> -			spec->gpio_eapd_hp : spec->gpio_eapd_speaker;
> +		if (spec->gen.automute_speaker)
> +			spec->gpio_data = spec->gen.hp_jack_present ?
> +				spec->gpio_eapd_hp : spec->gpio_eapd_speaker;
> +		else
> +			spec->gpio_data =
> +				spec->gpio_eapd_hp | spec->gpio_eapd_speaker;
>  		snd_hda_codec_write(codec, 0x01, 0,
>  				    AC_VERB_SET_GPIO_DATA, spec->gpio_data);
>  	}

That works perfectly with "Auto-Mute Mode" set to "Disabled".

Danke schön.

Tested-by: moosotc@gmail.com

If you need one.

-- 
mailto:moosotc@gmail.com
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: No audio output via built-in speaker on a MacMini while headphone jack is plugged in
  2016-03-15 15:43           ` moosotc
@ 2016-03-15 15:49             ` Takashi Iwai
  0 siblings, 0 replies; 9+ messages in thread
From: Takashi Iwai @ 2016-03-15 15:49 UTC (permalink / raw)
  To: moosotc; +Cc: alsa-devel

On Tue, 15 Mar 2016 16:43:58 +0100,
moosotc@gmail.com wrote:
> 
> Takashi Iwai <tiwai@suse.de> writes:
> 
> > On Mon, 14 Mar 2016 19:39:26 +0100,
> > moosotc@gmail.com wrote:
> >> 
> 
> [..snip..]
> 
> >
> > Thanks.  This seems to be the missing GPIO setup when the auto-mute is
> > disabled.  Could you give the patch below?
> >
> >
> > Takashi
> >
> > ---
> > diff --git a/sound/pci/hda/patch_cirrus.c b/sound/pci/hda/patch_cirrus.c
> > index c1c855a6c0af..a47e8ae0eb30 100644
> > --- a/sound/pci/hda/patch_cirrus.c
> > +++ b/sound/pci/hda/patch_cirrus.c
> > @@ -174,8 +174,12 @@ static void cs_automute(struct hda_codec *codec)
> >  	snd_hda_gen_update_outputs(codec);
> >  
> >  	if (spec->gpio_eapd_hp || spec->gpio_eapd_speaker) {
> > -		spec->gpio_data = spec->gen.hp_jack_present ?
> > -			spec->gpio_eapd_hp : spec->gpio_eapd_speaker;
> > +		if (spec->gen.automute_speaker)
> > +			spec->gpio_data = spec->gen.hp_jack_present ?
> > +				spec->gpio_eapd_hp : spec->gpio_eapd_speaker;
> > +		else
> > +			spec->gpio_data =
> > +				spec->gpio_eapd_hp | spec->gpio_eapd_speaker;
> >  		snd_hda_codec_write(codec, 0x01, 0,
> >  				    AC_VERB_SET_GPIO_DATA, spec->gpio_data);
> >  	}
> 
> That works perfectly with "Auto-Mute Mode" set to "Disabled".
> 
> Danke schön.
> 
> Tested-by: moosotc@gmail.com
> 
> If you need one.

Good to hear.  I'll cook up the official patch and submit/merge soon
later.  Thanks for your quick test.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-03-15 15:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-14  8:11 No audio output via built-in speaker on a MacMini while headphone jack is plugged in moosotc
2016-03-14 16:52 ` Takashi Iwai
2016-03-14 17:16   ` moosotc
2016-03-14 17:53     ` Takashi Iwai
2016-03-14 18:39       ` moosotc
2016-03-15 15:24         ` Takashi Iwai
2016-03-15 15:43           ` moosotc
2016-03-15 15:49             ` Takashi Iwai
2016-03-14 18:59       ` moosotc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.