public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [REGRESSION] 4.1-rc4: Sound muted after boot
@ 2015-05-20 14:31 Martin Steigerwald
  2015-05-21  4:28 ` Takashi Iwai
  0 siblings, 1 reply; 10+ messages in thread
From: Martin Steigerwald @ 2015-05-20 14:31 UTC (permalink / raw)
  To: linux-kernel, Takashi Iwai, alsa-devel

Hello!

On ThinkPad T520 (Intel Sandybridge) with 4.14-rc4 + two BTRFS patches and 
one Intel P-State debug patch I have no sound output on internal Intel HD 
audio codec.

According to ThinkPad T520 LED with striked-through speaker the loud speaker 
is in disabled state. Also KDE´s Phonon says a soundcard is missing. In 
alsa-mixer I see nothing as MM for muted. If I press the key next to the LED 
I get a notification on the desktop that loud speaker has been enabled / 
disabled, but the LED still is on for it being disabled.

I do not hear anything in Amarok or with aplay. alsa-mixer sound volumes are 
100 for master and PCM. I also tried with disabling "Auto-Mute Mod", but 
still no sound.
 
When I reboot and in BIOS or GRUB press the key then the LED toggles state.

When I reboot into Linux 4.0.1 sound is working fine and loud speaker 
disabled LED is toggled off, so I bet this is a regression 4.1-rc4 compared 
to 4.0.1.


The following is from non-working 4.1-rc4 kernel:

merkaba:~> lspci -s 00:1b.0 -nnv
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset 
Family High Definition Audio Controller [8086:1c20] (rev 04)
        Subsystem: Lenovo Device [17aa:21cf]
        Flags: bus master, fast devsel, latency 0, IRQ 29
        Memory at f2520000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [130] Root Complex Link
        Kernel driver in use: snd_hda_intel

merkaba:~> cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf2520000 irq 29
merkaba:~> cat /proc/asound/version 
Advanced Linux Sound Architecture Driver Version k4.1.0-rc4-tp520-btrfstrim-
pstatetrace+.
merkaba:~> cat /proc/asound/devices 
  2: [ 0]   : control
  3: [ 0- 0]: digital audio playback
  4: [ 0- 0]: digital audio capture
  5: [ 0- 3]: digital audio playback
  6: [ 0- 7]: digital audio playback
  7: [ 0- 8]: digital audio playback
  8: [ 0- 0]: hardware dependent
  9: [ 0- 1]: hardware dependent
 10: [ 0- 3]: hardware dependent
 33:        : timer
merkaba:~> 


merkaba:~> aplay -L 
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
phonon
    HDA Intel PCH mit Mixer
default:CARD=PCH
    HDA Intel PCH, CX20590 Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, CX20590 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output
dmix:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    Direct sample mixing device
dmix:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct sample mixing device
dmix:CARD=PCH,DEV=7
    HDA Intel PCH, HDMI 1
    Direct sample mixing device
dmix:CARD=PCH,DEV=8
    HDA Intel PCH, HDMI 2
    Direct sample mixing device
dsnoop:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=7
    HDA Intel PCH, HDMI 1
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=8
    HDA Intel PCH, HDMI 2
    Direct sample snooping device
hw:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=7
    HDA Intel PCH, HDMI 1
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=8
    HDA Intel PCH, HDMI 2
    Direct hardware device without any conversions
plughw:CARD=PCH,DEV=0
    HDA Intel PCH, CX20590 Analog
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=7
    HDA Intel PCH, HDMI 1
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=8
    HDA Intel PCH, HDMI 2
    Hardware device with all software conversions


Ciao,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7

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

* Re: [REGRESSION] 4.1-rc4: Sound muted after boot
  2015-05-20 14:31 [REGRESSION] 4.1-rc4: Sound muted after boot Martin Steigerwald
@ 2015-05-21  4:28 ` Takashi Iwai
  2015-05-21  8:53   ` Martin Steigerwald
  2015-05-21  9:08   ` Martin Steigerwald
  0 siblings, 2 replies; 10+ messages in thread
From: Takashi Iwai @ 2015-05-21  4:28 UTC (permalink / raw)
  To: Martin Steigerwald; +Cc: linux-kernel, alsa-devel

At Wed, 20 May 2015 16:31:55 +0200,
Martin Steigerwald wrote:
> 
> Hello!
> 
> On ThinkPad T520 (Intel Sandybridge) with 4.14-rc4 + two BTRFS patches and 
> one Intel P-State debug patch I have no sound output on internal Intel HD 
> audio codec.
> 
> According to ThinkPad T520 LED with striked-through speaker the loud speaker 
> is in disabled state. Also KDE´s Phonon says a soundcard is missing. In 
> alsa-mixer I see nothing as MM for muted. If I press the key next to the LED 
> I get a notification on the desktop that loud speaker has been enabled / 
> disabled, but the LED still is on for it being disabled.
> 
> I do not hear anything in Amarok or with aplay. alsa-mixer sound volumes are 
> 100 for master and PCM. I also tried with disabling "Auto-Mute Mod", but 
> still no sound.
>  
> When I reboot and in BIOS or GRUB press the key then the LED toggles state.
> 
> When I reboot into Linux 4.0.1 sound is working fine and loud speaker 
> disabled LED is toggled off, so I bet this is a regression 4.1-rc4 compared 
> to 4.0.1.

Please run alsa-info.sh at both working and non-working cases (with
old and new kernels), and attach the outputs. Run the script with
--no-upload option.

Also, such a problem is rather the device permissions problem.
Check the device permissions of /dev/snd/* files (also check getfacl
/dev/snd/*, too).


Takashi

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

* Re: [REGRESSION] 4.1-rc4: Sound muted after boot
  2015-05-21  4:28 ` Takashi Iwai
@ 2015-05-21  8:53   ` Martin Steigerwald
  2015-05-21  9:16     ` Takashi Iwai
  2015-05-21  9:08   ` Martin Steigerwald
  1 sibling, 1 reply; 10+ messages in thread
From: Martin Steigerwald @ 2015-05-21  8:53 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: linux-kernel, alsa-devel

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

Am Donnerstag, 21. Mai 2015, 06:28:24 schrieb Takashi Iwai:
> At Wed, 20 May 2015 16:31:55 +0200,
> 
> Martin Steigerwald wrote:
> > Hello!
> > 
> > On ThinkPad T520 (Intel Sandybridge) with 4.14-rc4 + two BTRFS patches
> > and one Intel P-State debug patch I have no sound output on internal
> > Intel HD audio codec.
> > 
> > According to ThinkPad T520 LED with striked-through speaker the loud
> > speaker is in disabled state. Also KDE´s Phonon says a soundcard is
> > missing. In alsa-mixer I see nothing as MM for muted. If I press the
> > key next to the LED I get a notification on the desktop that loud
> > speaker has been enabled / disabled, but the LED still is on for it
> > being disabled.
> > 
> > I do not hear anything in Amarok or with aplay. alsa-mixer sound volumes
> > are 100 for master and PCM. I also tried with disabling "Auto-Mute
> > Mod", but still no sound.
> > 
> > When I reboot and in BIOS or GRUB press the key then the LED toggles
> > state.
> > 
> > When I reboot into Linux 4.0.1 sound is working fine and loud speaker
> > disabled LED is toggled off, so I bet this is a regression 4.1-rc4
> > compared to 4.0.1.
> 
> Please run alsa-info.sh at both working and non-working cases (with
> old and new kernels), and attach the outputs. Run the script with
> --no-upload option.

All attached.

I also have full dmesg outputs available in case it is needed.
 
> Also, such a problem is rather the device permissions problem.
> Check the device permissions of /dev/snd/* files (also check getfacl
> /dev/snd/*, too).

If its a permissions problem, why does it happen with 4.1-rc4, but not with 
4.0.1 oder any earlier kernels?

Thanks,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7

[-- Attachment #2: alsa-info.txt.ursyqnYmTQ-4.1rc4-muted.txt --]
[-- Type: text/plain, Size: 37538 bytes --]

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

!!Script ran on: Thu May 21 08:32:16 UTC 2015


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

Debian GNU/Linux stretch/sid \n \l PRETTY_NAME="Debian GNU/Linux stretch/sid" NAME="Debian GNU/Linux" ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support/" BUG_REPORT_URL="https://bugs.debian.org/"


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

Manufacturer:      LENOVO
Product Name:      42433WG
Product Version:   ThinkPad T520
Firmware Version:  8AET63WW (1.43 )


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

Kernel release:    4.1.0-rc4-tp520-btrfstrim-pstatetrace+
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         unknown
SMP Enabled:       Yes


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

Driver version:     k4.1.0-rc4-tp520-btrfstrim-pstatetrace+
Library version:    1.0.28
Utilities version:  1.0.28


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

snd_hda_intel


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

No sound servers found.


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

 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf2520000 irq 29


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

00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)


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

00:1b.0 0403: 8086:1c20 (rev 04)
	Subsystem: 17aa:21cf


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

snd_pcsp: index=-2
snd_usb_audio: index=-2
snd_atiixp_modem: index=-2
snd_intel8x0m: index=-2
snd_via82xx_modem: index=-2
snd_hda_intel: power_save_controller=Y 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)
	patch : (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 : 0
	power_save_controller : N
	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: Conexant CX20590
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x14f1506e
Subsystem Id: 0x17aa21cf
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D1 D2 D3 D3cold CLKSTOP EPSS
  Power: setting=D0, actual=D0
GPIO: io=4, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, 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
Node 0x10 [Audio Output] wcaps 0xc1d: Stereo Amp-Out R/L
  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
  Device: name="CX20590 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=1
  Amp-Out vals:  [0x47 0x47]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
Node 0x11 [Audio Output] wcaps 0xc1d: Stereo Amp-Out R/L
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=1
  Amp-Out vals:  [0x4a 0x4a]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
Node 0x12 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
Node 0x13 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Control: name="Beep Playback Volume", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="Beep Playback Switch", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x07, nsteps=0x07, stepsize=0x0f, mute=0
  Amp-Out vals:  [0x01]
Node 0x14 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Device: name="CX20590 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x00 0x00] [0x80 0x80]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 4
     0x17 0x18 0x23* 0x24
Node 0x15 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L
  Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=1
  Amp-In vals:  [0x4a 0x4a] [0x4a 0x4a] [0x4a 0x4a] [0x4a 0x4a]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 4
     0x17* 0x18 0x23 0x24
Node 0x16 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L
  Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=1
  Amp-In vals:  [0x4a 0x4a] [0x4a 0x4a] [0x4a 0x4a] [0x4a 0x4a]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 4
     0x17* 0x18 0x23 0x24
Node 0x17 [Audio Selector] wcaps 0x30050d: Stereo Amp-Out
  Control: name="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 4
     0x1a* 0x1b 0x1d 0x1e
Node 0x18 [Audio Selector] wcaps 0x30050d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 4
     0x1a* 0x1b 0x1d 0x1e
Node 0x19 [Pin Complex] wcaps 0x400581: Stereo
  Control: name="Headphone Jack", index=0, device=0
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x04211040: [Jack] HP Out at Ext Right
    Conn = 1/8, Color = Black
    DefAssociation = 0x4, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=02, enabled=1
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x10 0x11*
Node 0x1a [Pin Complex] wcaps 0x400481: Stereo
  Control: name="Dock Mic Jack", index=0, device=0
  Pincap 0x00001324: IN Detect
    Vref caps: HIZ 50 80
  Pin Default 0x61a19050: [N/A] Mic at Sep Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x5, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=03, enabled=1
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
Node 0x1b [Pin Complex] wcaps 0x400581: Stereo
  Control: name="Mic Jack", index=0, device=0
  Pincap 0x00011334: IN OUT EAPD Detect
    Vref caps: HIZ 50 80
  EAPD 0x2: EAPD
  Pin Default 0x04a11060: [Jack] Mic at Ext Right
    Conn = 1/8, Color = Black
    DefAssociation = 0x6, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x10* 0x11
Node 0x1c [Pin Complex] wcaps 0x400581: Stereo
  Control: name="Dock Headphone Jack", index=0, device=0
  Pincap 0x00000014: OUT Detect
  Pin Default 0x6121401f: [N/A] HP Out at Sep Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x10 0x11*
Node 0x1d [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x00010034: IN OUT EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x40f001f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x10* 0x11
Node 0x1e [Pin Complex] wcaps 0x400481: Stereo
  Pincap 0x00000024: IN Detect
  Pin Default 0x40f001f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
Node 0x1f [Pin Complex] wcaps 0x400501: Stereo
  Control: name="Speaker Phantom Jack", index=0, device=0
  Pincap 0x00000010: OUT
  Pin Default 0x90170110: [Fixed] Speaker at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x10* 0x11
Node 0x20 [Pin Complex] wcaps 0x400781: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x40f001f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x12
Node 0x21 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
Node 0x22 [Pin Complex] wcaps 0x400781: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x40f001f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x21
Node 0x23 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
  Control: name="Internal Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Internal Mic Phantom Jack", index=0, device=0
  Amp-In caps: ofs=0x00, nsteps=0x04, stepsize=0x2f, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x90a60170: [Fixed] Mic at Int N/A
    Conn = Digital, Color = Unknown
    DefAssociation = 0x7, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
Node 0x24 [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
  Amp-In caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x10 0x11
Node 0x25 [Vendor Defined Widget] wcaps 0xf00000: Mono
Codec: Conexant ID 2c06
Address: 1
MFG Function Id: 0x2 (unsol 1)
Vendor Id: 0x14f12c06
Subsystem Id: 0x17aa2122
Revision Id: 0x100000
Modem Function Group: 0x2
Codec: Intel CougarPoint HDMI
Address: 3
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x80862805
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
  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
  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
  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="HDMI/DP,pcm=3 Jack", index=0, device=0
  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 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x02
Node 0x06 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Control: name="HDMI/DP,pcm=7 Jack", index=0, device=0
  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 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560020: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=02, enabled=1
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x03
Node 0x07 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Control: name="HDMI/DP,pcm=8 Jack", index=0, device=0
  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 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560030: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=03, enabled=1
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x04
Node 0x08 [Vendor Defined Widget] wcaps 0xf00000: Mono
--endcollapse--


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

crw-rw----+ 1 root audio 116,  2 May 21 09:04 /dev/snd/controlC0
crw-rw----+ 1 root audio 116,  8 May 21 09:04 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116,  9 May 21 09:04 /dev/snd/hwC0D1
crw-rw----+ 1 root audio 116, 10 May 21 09:04 /dev/snd/hwC0D3
crw-rw----+ 1 root audio 116,  4 May 21 09:04 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116,  3 May 21 09:04 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116,  5 May 21 09:04 /dev/snd/pcmC0D3p
crw-rw----+ 1 root audio 116,  6 May 21 09:04 /dev/snd/pcmC0D7p
crw-rw----+ 1 root audio 116,  7 May 21 09:04 /dev/snd/pcmC0D8p
crw-rw----+ 1 root audio 116,  1 May 21 09:04 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 May 21 09:04 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 May 21 09:04 .
drwxr-xr-x 3 root root 280 May 21 09:04 ..
lrwxrwxrwx 1 root root  12 May 21 09:04 pci-0000:00:1b.0 -> ../controlC0


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

!!System wide config file (/etc/asound.conf)

pcm.phonon {
        type plug
        slave.pcm "dmix"
        hint {
                show on
                description "HDA Intel PCH mit Mixer"
        }
}


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

APLAY

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

ARECORD

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

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

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

Card hw:0 'PCH'/'HDA Intel PCH at 0xf2520000 irq 29'
  Mixer name	: 'Intel CougarPoint HDMI'
  Components	: 'HDA:14f1506e,17aa21cf,00100000 HDA:14f12c06,17aa2122,00100000 HDA:80862805,80860101,00100000'
  Controls      : 45
  Simple ctrls  : 14
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 74
  Mono: Playback 74 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 74
  Mono:
  Front Left: Playback 74 [100%] [0.00dB] [on]
  Front Right: Playback 74 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 74
  Mono:
  Front Left: Playback 71 [96%] [-3.00dB] [on]
  Front Right: Playback 71 [96%] [-3.00dB] [on]
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 - 4
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
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]
Simple mixer control 'Beep',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 7
  Mono: Playback 1 [14%] [-24.00dB] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 80
  Front Left: Capture 0 [0%] [-74.00dB] [on]
  Front Right: Capture 0 [0%] [-74.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
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]
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 4
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Mute-LED Mode',0
  Capabilities: enum
  Items: 'On' 'Off' 'Follow Master'
  Item0: 'On'


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

--startcollapse--
state.PCH {
	control.1 {
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 71
		value.1 71
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 74'
			dbmin -7400
			dbmax 0
			dbvalue.0 -300
			dbvalue.1 -300
		}
	}
	control.2 {
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.3 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 74
		value.1 74
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 74'
			dbmin -7400
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.4 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.5 {
		iface MIXER
		name 'Auto-Mute Mode'
		value Disabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.6 {
		iface MIXER
		name 'Capture Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 80'
			dbmin -7400
			dbmax 600
			dbvalue.0 -7400
			dbvalue.1 -7400
		}
	}
	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 'Internal Mic Boost Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 4'
			dbmin 0
			dbmax 4800
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.9 {
		iface MIXER
		name 'Mic Boost Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 4'
			dbmin 0
			dbmax 4000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.10 {
		iface MIXER
		name 'Master Playback Volume'
		value 74
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 74'
			dbmin -7400
			dbmax 0
			dbvalue.0 0
		}
	}
	control.11 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.12 {
		iface MIXER
		name 'Mute-LED Mode'
		value On
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 On
			item.1 Off
			item.2 'Follow Master'
		}
	}
	control.13 {
		iface CARD
		name 'Internal Mic Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.14 {
		iface CARD
		name 'Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.15 {
		iface CARD
		name 'Dock Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.16 {
		iface CARD
		name 'Speaker Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.17 {
		iface CARD
		name 'Dock Headphone Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.18 {
		iface CARD
		name 'Headphone Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.19 {
		iface MIXER
		name 'Beep Playback Volume'
		value 1
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 7'
			dbmin -2800
			dbmax 0
			dbvalue.0 -2400
		}
	}
	control.20 {
		iface MIXER
		name 'Beep Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.21 {
		iface PCM
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		value.2 0
		value.3 0
		comment {
			access read
			type INTEGER
			count 4
			range '0 - 36'
		}
	}
	control.22 {
		iface PCM
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.23 {
		iface CARD
		name 'HDMI/DP,pcm=3 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.24 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.25 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.26 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.27 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.28 {
		iface PCM
		device 3
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.29 {
		iface CARD
		name 'HDMI/DP,pcm=7 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.30 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 1
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.31 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 1
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.32 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 1
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.33 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 1
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.34 {
		iface PCM
		device 7
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.35 {
		iface CARD
		name 'HDMI/DP,pcm=8 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.36 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 2
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.37 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 2
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.38 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 2
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.39 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 2
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.40 {
		iface PCM
		device 8
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.41 {
		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.42 {
		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.43 {
		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'
		}
	}
	control.44 {
		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.45 {
		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
ebtable_filter
ebtables
ip6table_filter
ip6_tables
iptable_filter
ip_tables
x_tables
binfmt_misc
cpufreq_userspace
cpufreq_stats
cpufreq_powersave
cpufreq_conservative
bnep
bluetooth
ext4
crc16
mbcache
jbd2
msr
x86_pkg_temp_thermal
intel_powerclamp
kvm_intel
kvm
crct10dif_pclmul
crc32_pclmul
ghash_clmulni_intel
snd_hda_codec_hdmi
aesni_intel
iwldvm
aes_x86_64
lrw
gf128mul
glue_helper
mac80211
ablk_helper
cryptd
pcspkr
psmouse
snd_hda_codec_conexant
serio_raw
snd_hda_codec_generic
i2c_i801
thinkpad_acpi
snd_hda_intel
snd_hda_controller
ac
nvram
tpm_tis
battery
snd_hda_codec
iwlwifi
tpm
lpc_ich
snd_hwdep
mfd_core
snd_hda_core
cfg80211
snd_pcm
acpi_cpufreq
processor
rfkill
snd_timer
snd
soundcore
shpchp
evdev
joydev
sbs
sbshc
coretemp
hdaps
tp_smapi
thinkpad_ec
loop
firewire_sbp2
fuse
ecryptfs
cbc
hmac
encrypted_keys
autofs4
md_mod
btrfs
xor
raid6_pq
microcode
dm_mirror
dm_region_hash
dm_log
dm_mod
sr_mod
sg
cdrom
sd_mod
ahci
sata_sil24
libahci
libata
crc32c_intel
ehci_pci
scsi_mod
firewire_ohci
firewire_core
sdhci_pci
sdhci
ehci_hcd
mmc_core
crc_itu_t
e1000e
usbcore
ptp
usb_common
pps_core
thermal


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

/sys/class/sound/hwC0D0/init_pin_configs:
0x19 0x04211040
0x1a 0x61a19050
0x1b 0x04a11060
0x1c 0x6121401f
0x1d 0x40f001f0
0x1e 0x40f001f0
0x1f 0x90170110
0x20 0x40f001f0
0x22 0x40f001f0
0x23 0x90a60170

/sys/class/sound/hwC0D0/driver_pin_configs:
0x19 0x042110ff
0x1a 0x21a190f0
0x1c 0x212140ff

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D0/hints:

/sys/class/sound/hwC0D1/init_pin_configs:

/sys/class/sound/hwC0D1/driver_pin_configs:

/sys/class/sound/hwC0D1/user_pin_configs:

/sys/class/sound/hwC0D1/init_verbs:

/sys/class/sound/hwC0D1/hints:

/sys/class/sound/hwC0D3/init_pin_configs:
0x05 0x18560010
0x06 0x18560020
0x07 0x18560030

/sys/class/sound/hwC0D3/driver_pin_configs:

/sys/class/sound/hwC0D3/user_pin_configs:

/sys/class/sound/hwC0D3/init_verbs:

/sys/class/sound/hwC0D3/hints:


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

[    8.804661] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[    8.815250] input: ThinkPad HDAPS joystick emulation as /devices/virtual/input/input6
[    8.815463] input: ThinkPad HDAPS accelerometer data as /devices/virtual/input/input7
[    8.815465] hdaps: driver successfully loaded.
--
[   10.021116] thinkpad_acpi: Lenovo ThinkPad T520, model 42433WG
[   10.024481] snd_hda_codec_conexant hdaudioC0D0: CX20590: BIOS auto-probing.
[   10.025876] thinkpad_acpi: detected a 16-level brightness capable ThinkPad
--
[   10.041829] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input8
[   10.050155] snd_hda_codec_conexant hdaudioC0D0: autoconfig for CX20590: line_outs=1 (0x1f/0x0/0x0/0x0/0x0) type:speaker
[   10.052880] snd_hda_codec_conexant hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   10.055588] snd_hda_codec_conexant hdaudioC0D0:    hp_outs=2 (0x1c/0x19/0x0/0x0/0x0)
[   10.058311] snd_hda_codec_conexant hdaudioC0D0:    mono: mono_out=0x0
[   10.060940] snd_hda_codec_conexant hdaudioC0D0:    inputs:
[   10.063710] snd_hda_codec_conexant hdaudioC0D0:      Internal Mic=0x23
[   10.066459] snd_hda_codec_conexant hdaudioC0D0:      Mic=0x1b
[   10.069145] snd_hda_codec_conexant hdaudioC0D0:      Dock Mic=0x1a
[   10.069574] input: PC Speaker as /devices/platform/pcspkr/input/input10
[   10.075841] snd_hda_codec_conexant hdaudioC0D0: Enable sync_write for stable communication
[   10.078987] Error: Driver 'pcspkr' is already registered, aborting...
--
[   10.117891] AES CTR mode by8 optimization enabled
[   10.120153] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[   10.121186] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[   10.121356] input: HDA Intel PCH Dock Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[   10.121536] input: HDA Intel PCH Dock Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
[   10.121701] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15
[   10.121875] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
[   10.122044] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input17
[   10.122226] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input18
[   10.122522] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'



[-- Attachment #3: alsa-info.txt.tQczbEsAxk-4.0.1-working.txt --]
[-- Type: text/plain, Size: 37726 bytes --]

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

!!Script ran on: Thu May 21 08:45:19 UTC 2015


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

Debian GNU/Linux stretch/sid \n \l PRETTY_NAME="Debian GNU/Linux stretch/sid" NAME="Debian GNU/Linux" ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support/" BUG_REPORT_URL="https://bugs.debian.org/"


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

Manufacturer:      LENOVO
Product Name:      42433WG
Product Version:   ThinkPad T520
Firmware Version:  8AET63WW (1.43 )


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

Kernel release:    4.0.1-tp520-btrfs-trim-norace+
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         unknown
SMP Enabled:       Yes


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

Driver version:     k4.0.1-tp520-btrfs-trim-norace+
Library version:    1.0.28
Utilities version:  1.0.28


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

snd_hda_intel


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

No sound servers found.


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

 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf2520000 irq 29


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

00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)


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

00:1b.0 0403: 8086:1c20 (rev 04)
	Subsystem: 17aa:21cf


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

snd_pcsp: index=-2
snd_usb_audio: index=-2
snd_atiixp_modem: index=-2
snd_intel8x0m: index=-2
snd_via82xx_modem: index=-2
snd_hda_intel: power_save_controller=Y 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)
	patch : (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 : 0
	power_save_controller : N
	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: Conexant CX20590
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x14f1506e
Subsystem Id: 0x17aa21cf
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D1 D2 D3 D3cold CLKSTOP EPSS
  Power: setting=D0, actual=D0
GPIO: io=4, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, 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
Node 0x10 [Audio Output] wcaps 0xc1d: Stereo Amp-Out R/L
  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
  Device: name="CX20590 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=1
  Amp-Out vals:  [0x47 0x47]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
Node 0x11 [Audio Output] wcaps 0xc1d: Stereo Amp-Out R/L
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=1
  Amp-Out vals:  [0x4a 0x4a]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
Node 0x12 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
Node 0x13 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Control: name="Beep Playback Volume", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="Beep Playback Switch", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x07, nsteps=0x07, stepsize=0x0f, mute=0
  Amp-Out vals:  [0x01]
Node 0x14 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Device: name="CX20590 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x00 0x00] [0x80 0x80]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 4
     0x17 0x18 0x23* 0x24
Node 0x15 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L
  Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=1
  Amp-In vals:  [0x4a 0x4a] [0x4a 0x4a] [0x4a 0x4a] [0x4a 0x4a]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 4
     0x17* 0x18 0x23 0x24
Node 0x16 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L
  Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=1
  Amp-In vals:  [0x4a 0x4a] [0x4a 0x4a] [0x4a 0x4a] [0x4a 0x4a]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 4
     0x17* 0x18 0x23 0x24
Node 0x17 [Audio Selector] wcaps 0x30050d: Stereo Amp-Out
  Control: name="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 4
     0x1a* 0x1b 0x1d 0x1e
Node 0x18 [Audio Selector] wcaps 0x30050d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 4
     0x1a* 0x1b 0x1d 0x1e
Node 0x19 [Pin Complex] wcaps 0x400581: Stereo
  Control: name="Headphone Jack", index=0, device=0
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x04211040: [Jack] HP Out at Ext Right
    Conn = 1/8, Color = Black
    DefAssociation = 0x4, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=02, enabled=1
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x10 0x11*
Node 0x1a [Pin Complex] wcaps 0x400481: Stereo
  Control: name="Dock Mic Jack", index=0, device=0
  Pincap 0x00001324: IN Detect
    Vref caps: HIZ 50 80
  Pin Default 0x61a19050: [N/A] Mic at Sep Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x5, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=03, enabled=1
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
Node 0x1b [Pin Complex] wcaps 0x400581: Stereo
  Control: name="Mic Jack", index=0, device=0
  Pincap 0x00011334: IN OUT EAPD Detect
    Vref caps: HIZ 50 80
  EAPD 0x2: EAPD
  Pin Default 0x04a11060: [Jack] Mic at Ext Right
    Conn = 1/8, Color = Black
    DefAssociation = 0x6, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x10* 0x11
Node 0x1c [Pin Complex] wcaps 0x400581: Stereo
  Control: name="Dock Headphone Jack", index=0, device=0
  Pincap 0x00000014: OUT Detect
  Pin Default 0x6121401f: [N/A] HP Out at Sep Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x10 0x11*
Node 0x1d [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x00010034: IN OUT EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x40f001f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x10* 0x11
Node 0x1e [Pin Complex] wcaps 0x400481: Stereo
  Pincap 0x00000024: IN Detect
  Pin Default 0x40f001f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
Node 0x1f [Pin Complex] wcaps 0x400501: Stereo
  Control: name="Speaker Phantom Jack", index=0, device=0
  Pincap 0x00000010: OUT
  Pin Default 0x90170110: [Fixed] Speaker at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x10* 0x11
Node 0x20 [Pin Complex] wcaps 0x400781: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x40f001f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x12
Node 0x21 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
Node 0x22 [Pin Complex] wcaps 0x400781: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x40f001f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x21
Node 0x23 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
  Control: name="Internal Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Internal Mic Phantom Jack", index=0, device=0
  Amp-In caps: ofs=0x00, nsteps=0x04, stepsize=0x2f, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x90a60170: [Fixed] Mic at Int N/A
    Conn = Digital, Color = Unknown
    DefAssociation = 0x7, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
Node 0x24 [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
  Amp-In caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x10 0x11
Node 0x25 [Vendor Defined Widget] wcaps 0xf00000: Mono
Codec: Conexant ID 2c06
Address: 1
MFG Function Id: 0x2 (unsol 1)
Vendor Id: 0x14f12c06
Subsystem Id: 0x17aa2122
Revision Id: 0x100000
Modem Function Group: 0x2
Codec: Intel CougarPoint HDMI
Address: 3
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x80862805
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
  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
  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
  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="HDMI/DP,pcm=3 Jack", index=0, device=0
  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 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x02
Node 0x06 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Control: name="HDMI/DP,pcm=7 Jack", index=0, device=0
  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 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560020: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=02, enabled=1
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x03
Node 0x07 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Control: name="HDMI/DP,pcm=8 Jack", index=0, device=0
  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 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560030: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=03, enabled=1
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x04
Node 0x08 [Vendor Defined Widget] wcaps 0xf00000: Mono
--endcollapse--


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

crw-rw----+ 1 root audio 116,  2 May 21 10:38 /dev/snd/controlC0
crw-rw----+ 1 root audio 116,  8 May 21 10:38 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116,  9 May 21 10:38 /dev/snd/hwC0D1
crw-rw----+ 1 root audio 116, 10 May 21 10:38 /dev/snd/hwC0D3
crw-rw----+ 1 root audio 116,  4 May 21 10:38 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116,  3 May 21 10:38 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116,  5 May 21 10:38 /dev/snd/pcmC0D3p
crw-rw----+ 1 root audio 116,  6 May 21 10:38 /dev/snd/pcmC0D7p
crw-rw----+ 1 root audio 116,  7 May 21 10:38 /dev/snd/pcmC0D8p
crw-rw----+ 1 root audio 116,  1 May 21 10:38 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 May 21 10:38 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 May 21 10:38 .
drwxr-xr-x 3 root root 280 May 21 10:38 ..
lrwxrwxrwx 1 root root  12 May 21 10:38 pci-0000:00:1b.0 -> ../controlC0


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

!!System wide config file (/etc/asound.conf)

pcm.phonon {
        type plug
        slave.pcm "dmix"
        hint {
                show on
                description "HDA Intel PCH mit Mixer"
        }
}


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

APLAY

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

ARECORD

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

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

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

Card hw:0 'PCH'/'HDA Intel PCH at 0xf2520000 irq 29'
  Mixer name	: 'Intel CougarPoint HDMI'
  Components	: 'HDA:14f1506e,17aa21cf,00100000 HDA:14f12c06,17aa2122,00100000 HDA:80862805,80860101,00100000'
  Controls      : 44
  Simple ctrls  : 13
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 74
  Mono: Playback 74 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 74
  Mono:
  Front Left: Playback 74 [100%] [0.00dB] [on]
  Front Right: Playback 74 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 74
  Mono:
  Front Left: Playback 71 [96%] [-3.00dB] [on]
  Front Right: Playback 71 [96%] [-3.00dB] [on]
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 - 4
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
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]
Simple mixer control 'Beep',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 7
  Mono: Playback 1 [14%] [-24.00dB] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 80
  Front Left: Capture 0 [0%] [-74.00dB] [on]
  Front Right: Capture 0 [0%] [-74.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
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]
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 4
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]


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

--startcollapse--
state.PCH {
	control.1 {
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 71
		value.1 71
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 74'
			dbmin -7400
			dbmax 0
			dbvalue.0 -300
			dbvalue.1 -300
		}
	}
	control.2 {
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.3 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 74
		value.1 74
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 74'
			dbmin -7400
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.4 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.5 {
		iface MIXER
		name 'Auto-Mute Mode'
		value Disabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.6 {
		iface MIXER
		name 'Capture Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 80'
			dbmin -7400
			dbmax 600
			dbvalue.0 -7400
			dbvalue.1 -7400
		}
	}
	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 'Internal Mic Boost Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 4'
			dbmin 0
			dbmax 4800
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.9 {
		iface MIXER
		name 'Mic Boost Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 4'
			dbmin 0
			dbmax 4000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.10 {
		iface MIXER
		name 'Master Playback Volume'
		value 74
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 74'
			dbmin -7400
			dbmax 0
			dbvalue.0 0
		}
	}
	control.11 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.12 {
		iface CARD
		name 'Internal Mic Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.13 {
		iface CARD
		name 'Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.14 {
		iface CARD
		name 'Dock Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.15 {
		iface CARD
		name 'Speaker Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.16 {
		iface CARD
		name 'Dock Headphone Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.17 {
		iface CARD
		name 'Headphone Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.18 {
		iface MIXER
		name 'Beep Playback Volume'
		value 1
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 7'
			dbmin -2800
			dbmax 0
			dbvalue.0 -2400
		}
	}
	control.19 {
		iface MIXER
		name 'Beep Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.20 {
		iface PCM
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		value.2 0
		value.3 0
		comment {
			access read
			type INTEGER
			count 4
			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 CARD
		name 'HDMI/DP,pcm=3 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.23 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.24 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.25 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.26 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.27 {
		iface PCM
		device 3
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.28 {
		iface CARD
		name 'HDMI/DP,pcm=7 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.29 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 1
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.30 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 1
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.31 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 1
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.32 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 1
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.33 {
		iface PCM
		device 7
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.34 {
		iface CARD
		name 'HDMI/DP,pcm=8 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.35 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 2
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.36 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 2
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.37 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 2
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.38 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 2
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.39 {
		iface PCM
		device 8
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.40 {
		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.41 {
		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.42 {
		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'
		}
	}
	control.43 {
		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.44 {
		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
ebtable_filter
ebtables
ip6table_filter
ip6_tables
iptable_filter
ip_tables
x_tables
binfmt_misc
pci_stub
vboxpci
vboxnetadp
vboxnetflt
vboxdrv
bnep
bluetooth
cpufreq_userspace
cpufreq_stats
cpufreq_powersave
cpufreq_conservative
ext4
crc16
mbcache
msr
jbd2
x86_pkg_temp_thermal
intel_powerclamp
kvm_intel
kvm
crct10dif_pclmul
crc32_pclmul
ghash_clmulni_intel
aesni_intel
snd_hda_codec_hdmi
aes_x86_64
psmouse
lrw
gf128mul
glue_helper
ablk_helper
iwldvm
mac80211
cryptd
serio_raw
pcspkr
iwlwifi
thinkpad_acpi
snd_hda_codec_conexant
snd_hda_codec_generic
tpm_tis
ac
battery
cfg80211
tpm
nvram
snd_hda_intel
snd_hda_controller
snd_hda_codec
snd_hwdep
snd_pcm
rfkill
snd_timer
snd
acpi_cpufreq
soundcore
i2c_i801
lpc_ich
processor
shpchp
mfd_core
evdev
joydev
sbs
sbshc
coretemp
hdaps
tp_smapi
thinkpad_ec
loop
firewire_sbp2
fuse
ecryptfs
autofs4
md_mod
btrfs
xor
raid6_pq
microcode
dm_mirror
dm_region_hash
dm_log
dm_mod
sr_mod
sg
cdrom
sd_mod
crc32c_intel
ahci
libahci
sata_sil24
sdhci_pci
libata
sdhci
ehci_pci
mmc_core
firewire_ohci
ehci_hcd
scsi_mod
firewire_core
crc_itu_t
e1000e
usbcore
ptp
usb_common
pps_core
thermal


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

/sys/class/sound/hwC0D0/init_pin_configs:
0x19 0x04211040
0x1a 0x61a19050
0x1b 0x04a11060
0x1c 0x6121401f
0x1d 0x40f001f0
0x1e 0x40f001f0
0x1f 0x90170110
0x20 0x40f001f0
0x22 0x40f001f0
0x23 0x90a60170

/sys/class/sound/hwC0D0/driver_pin_configs:
0x19 0x042110ff
0x1a 0x21a190f0
0x1c 0x212140ff

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D0/hints:

/sys/class/sound/hwC0D1/init_pin_configs:
0x73 0x016a10f0

/sys/class/sound/hwC0D1/driver_pin_configs:

/sys/class/sound/hwC0D1/user_pin_configs:

/sys/class/sound/hwC0D1/init_verbs:

/sys/class/sound/hwC0D1/hints:

/sys/class/sound/hwC0D3/init_pin_configs:
0x05 0x18560010
0x06 0x18560020
0x07 0x18560030

/sys/class/sound/hwC0D3/driver_pin_configs:

/sys/class/sound/hwC0D3/user_pin_configs:

/sys/class/sound/hwC0D3/init_verbs:

/sys/class/sound/hwC0D3/hints:


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

[    6.233383] hdaps: device successfully initialized.
[    6.235037] input: ThinkPad HDAPS joystick emulation as /devices/virtual/input/input6
[    6.235104] input: ThinkPad HDAPS accelerometer data as /devices/virtual/input/input7
[    6.235105] hdaps: driver successfully loaded.
--
[    6.793727] cfg80211: Calling CRDA to update world regulatory domain
[    6.797423] sound hdaudioC0D0: CX20590: BIOS auto-probing.
[    6.800825] sound hdaudioC0D0: autoconfig for CX20590: line_outs=1 (0x1f/0x0/0x0/0x0/0x0) type:speaker
[    6.803493] sound hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    6.806342] sound hdaudioC0D0:    hp_outs=2 (0x1c/0x19/0x0/0x0/0x0)
[    6.806425] tpm_tis 00:05: 1.2 TPM (device-id 0x0, rev-id 78)
--
[    6.835176] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input8
[    6.850245] sound hdaudioC0D0:    mono: mono_out=0x0
[    6.851072] Intel(R) Wireless WiFi driver for Linux
--
[    6.851362] iwlwifi 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
[    6.861066] sound hdaudioC0D0:    inputs:
[    6.861320] input: PC Speaker as /devices/platform/pcspkr/input/input9
[    6.862001] iwlwifi 0000:03:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm
[    6.869278] sound hdaudioC0D0:      Internal Mic=0x23
[    6.872027] sound hdaudioC0D0:      Mic=0x1b
[    6.874741] sound hdaudioC0D0:      Dock Mic=0x1a
[    6.878574] sound hdaudioC0D0: Enable sync_write for stable communication
[    6.889734] Error: Driver 'pcspkr' is already registered, aborting...
[    6.890095] sound hdaudioC0D1: autoconfig for ID 2c06: line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line
[    6.890098] sound hdaudioC0D1:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    6.890100] sound hdaudioC0D1:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    6.890101] sound hdaudioC0D1:    mono: mono_out=0x0
[    6.890103] sound hdaudioC0D1:    inputs:
[    6.903874] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUG disabled
--
[    6.938662] AVX version of gcm_enc/dec engaged.
[    6.941683] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card0/hdaudioC0D0/input10
[    6.942563] AES CTR mode by8 optimization enabled
[    6.948179] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[    6.950992] input: HDA Intel PCH Dock Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[    6.954265] input: HDA Intel PCH Dock Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
[    6.957418] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15
[    6.960641] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
[    6.963811] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input17
[    6.966896] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input18
[    6.970697] alg: No test for __gcm-aes-aesni (__driver-gcm-aes-aesni)



[-- Attachment #4: setfacl-4.0.1-working.txt --]
[-- Type: text/plain, Size: 2209 bytes --]


merkaba:~> cd /dev/snd
merkaba:/dev/snd> ls -l
insgesamt 0
drwxr-xr-x  2 root root       60 Mai 21 10:38 by-path
crw-rw----+ 1 root audio 116,  2 Mai 21 10:38 controlC0
crw-rw----+ 1 root audio 116,  8 Mai 21 10:38 hwC0D0
crw-rw----+ 1 root audio 116,  9 Mai 21 10:38 hwC0D1
crw-rw----+ 1 root audio 116, 10 Mai 21 10:38 hwC0D3
crw-rw----+ 1 root audio 116,  4 Mai 21 10:38 pcmC0D0c
crw-rw----+ 1 root audio 116,  3 Mai 21 10:38 pcmC0D0p
crw-rw----+ 1 root audio 116,  5 Mai 21 10:38 pcmC0D3p
crw-rw----+ 1 root audio 116,  6 Mai 21 10:38 pcmC0D7p
crw-rw----+ 1 root audio 116,  7 Mai 21 10:38 pcmC0D8p
crw-rw----+ 1 root audio 116,  1 Mai 21 10:38 seq
crw-rw----+ 1 root audio 116, 33 Mai 21 10:38 timer
merkaba:/dev/snd> getfacl *
# file: by-path
# owner: root
# group: root
user::rwx
group::r-x
other::r-x

# file: controlC0
# owner: root
# group: audio
user::rw-
user:martin:rw-
group::rw-
mask::rw-
other::---

# file: hwC0D0
# owner: root
# group: audio
user::rw-
user:martin:rw-
group::rw-
mask::rw-
other::---

# file: hwC0D1
# owner: root
# group: audio
user::rw-
user:martin:rw-
group::rw-
mask::rw-
other::---

# file: hwC0D3
# owner: root
# group: audio
user::rw-
user:martin:rw-
group::rw-
mask::rw-
other::---

# file: pcmC0D0c
# owner: root
# group: audio
user::rw-
user:martin:rw-
group::rw-
mask::rw-
other::---

# file: pcmC0D0p
# owner: root
# group: audio
user::rw-
user:martin:rw-
group::rw-
mask::rw-
other::---

# file: pcmC0D3p
# owner: root
# group: audio
user::rw-
user:martin:rw-
group::rw-
mask::rw-
other::---

# file: pcmC0D7p
# owner: root
# group: audio
user::rw-
user:martin:rw-
group::rw-
mask::rw-
other::---

# file: pcmC0D8p
# owner: root
# group: audio
user::rw-
user:martin:rw-
group::rw-
mask::rw-
other::---

# file: seq
# owner: root
# group: audio
user::rw-
user:martin:rw-
group::rw-
mask::rw-
other::---

# file: timer
# owner: root
# group: audio
user::rw-
user:martin:rw-
group::rw-
mask::rw-
other::---

merkaba:/dev/snd> id martin
uid=1000(martin) gid=1000(martin) Gruppen=1000(martin),4(adm),7(lp),20(dialout),24(cdrom),25(floppy),27(sudo),30(dip),44(video),46(plugdev),60(games),106(netdev),107(bluetooth),108(lpadmin),111(fuse),119(vboxusers),126(sbuild)


[-- Attachment #5: setfacl-4.1-rc4-muted.txt --]
[-- Type: text/plain, Size: 2212 bytes --]


merkaba:~> cd /dev/snd
merkaba:/dev/snd> ls -l
insgesamt 0
drwxr-xr-x  2 root root       60 Mai 21 09:04 by-path
crw-rw----+ 1 root audio 116,  2 Mai 21 09:04 controlC0
crw-rw----+ 1 root audio 116,  8 Mai 21 09:04 hwC0D0
crw-rw----+ 1 root audio 116,  9 Mai 21 09:04 hwC0D1
crw-rw----+ 1 root audio 116, 10 Mai 21 09:04 hwC0D3
crw-rw----+ 1 root audio 116,  4 Mai 21 09:04 pcmC0D0c
crw-rw----+ 1 root audio 116,  3 Mai 21 09:04 pcmC0D0p
crw-rw----+ 1 root audio 116,  5 Mai 21 09:04 pcmC0D3p
crw-rw----+ 1 root audio 116,  6 Mai 21 09:04 pcmC0D7p
crw-rw----+ 1 root audio 116,  7 Mai 21 09:04 pcmC0D8p
crw-rw----+ 1 root audio 116,  1 Mai 21 09:04 seq
crw-rw----+ 1 root audio 116, 33 Mai 21 09:04 timer

merkaba:/dev/snd> getfacl *
# file: by-path
# owner: root
# group: root
user::rwx
group::r-x
other::r-x

# file: controlC0
# owner: root
# group: audio
user::rw-
user:martin:rw-
group::rw-
mask::rw-
other::---

# file: hwC0D0
# owner: root
# group: audio
user::rw-
user:martin:rw-
group::rw-
mask::rw-
other::---

# file: hwC0D1
# owner: root
# group: audio
user::rw-
user:martin:rw-
group::rw-
mask::rw-
other::---

# file: hwC0D3
# owner: root
# group: audio
user::rw-
user:martin:rw-
group::rw-
mask::rw-
other::---

# file: pcmC0D0c
# owner: root
# group: audio
user::rw-
user:martin:rw-
group::rw-
mask::rw-
other::---

# file: pcmC0D0p
# owner: root
# group: audio
user::rw-
user:martin:rw-
group::rw-
mask::rw-
other::---

# file: pcmC0D3p
# owner: root
# group: audio
user::rw-
user:martin:rw-
group::rw-
mask::rw-
other::---

# file: pcmC0D7p
# owner: root
# group: audio
user::rw-
user:martin:rw-
group::rw-
mask::rw-
other::---

# file: pcmC0D8p
# owner: root
# group: audio
user::rw-
user:martin:rw-
group::rw-
mask::rw-
other::---

# file: seq
# owner: root
# group: audio
user::rw-
user:martin:rw-
group::rw-
mask::rw-
other::---

# file: timer
# owner: root
# group: audio
user::rw-
user:martin:rw-
group::rw-
mask::rw-
other::---


merkaba:/dev/snd> id martin
uid=1000(martin) gid=1000(martin) Gruppen=1000(martin),4(adm),7(lp),20(dialout),24(cdrom),25(floppy),27(sudo),30(dip),44(video),46(plugdev),60(games),106(netdev),107(bluetooth),108(lpadmin),111(fuse),119(vboxusers),126(sbuild)



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

* Re: [REGRESSION] 4.1-rc4: Sound muted after boot
  2015-05-21  4:28 ` Takashi Iwai
  2015-05-21  8:53   ` Martin Steigerwald
@ 2015-05-21  9:08   ` Martin Steigerwald
  2015-05-21  9:19     ` Takashi Iwai
  1 sibling, 1 reply; 10+ messages in thread
From: Martin Steigerwald @ 2015-05-21  9:08 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: linux-kernel, alsa-devel

Am Donnerstag, 21. Mai 2015, 06:28:24 schrieb Takashi Iwai:
> At Wed, 20 May 2015 16:31:55 +0200,
> 
> Martin Steigerwald wrote:
> > Hello!
> > 
> > On ThinkPad T520 (Intel Sandybridge) with 4.14-rc4 + two BTRFS patches
> > and one Intel P-State debug patch I have no sound output on internal
> > Intel HD audio codec.
> > 
> > According to ThinkPad T520 LED with striked-through speaker the loud
> > speaker is in disabled state. Also KDE´s Phonon says a soundcard is
> > missing. In alsa-mixer I see nothing as MM for muted. If I press the
> > key next to the LED I get a notification on the desktop that loud
> > speaker has been enabled / disabled, but the LED still is on for it
> > being disabled.

One clarification: Phonon still seems to see a sound card… but it reports a 
change to the list of soundcards.

And another observation: The speaker disable LED is switched on KDE/Plasma 
4.14.2 session startup, I just rebooted to 4.1-rc4 after I gathered debug 
output of 4.0.1, and there on boot the speaker disable LED was off during 
boot.

So there seems Phonon is confused about some difference in ALSA between these 
two kernel versions and probably doesn´t fully find the sound card or mutes 
it, but on the other hand I can´t see it in alsa-mixer as muted.

And alsa-mixer still finds the internal sound.

Also this does not happen for external USB JBL Pebbles speakers (excellent 
ones!) at home, sound just works with 4.1-rc4 with these.

I am now on 4.1-rc4 again so could try to dig out more what KDE Phonon sees 
as a difference. In trainings breaks. Now need to continue with the course I 
hold.

Phonon runs without PulseAudio here, cause PulseAudio creates additional 
issues with sound. Okay, this is the message I get:

KDE hat festgestellt, dass eines oder mehrere interne Geräte entfernt 
wurden.
Soll KDE die Informationen zu diesen Geräten dauerhaft löschen?
Dies ist die Liste der Geräte, die entfernt werden können:
Aufnahme: HDA Intel PCH (CX20590 Analog)
Wiedergabe: HDA Intel PCH (CX20590 Analog)

Which means: KDE has found that one or more internal devices were removed.

So it seems KDE really does not find the sound card anymore, while alsa-mixer 
finds it, yet, also aplay does not produce any sound.

But then I still have a "HDA Intel PCH (CX20590 Analog)" in systemsettings 
for Phonon. There is one greyed out and another one which is not greyed out, 
but does not produce any sound on clicking the test button either.

> > I do not hear anything in Amarok or with aplay. alsa-mixer sound volumes
> > are 100 for master and PCM. I also tried with disabling "Auto-Mute
> > Mod", but still no sound.
> > 
> > When I reboot and in BIOS or GRUB press the key then the LED toggles
> > state.
> > 
> > When I reboot into Linux 4.0.1 sound is working fine and loud speaker
> > disabled LED is toggled off, so I bet this is a regression 4.1-rc4
> > compared to 4.0.1.
> 
> Please run alsa-info.sh at both working and non-working cases (with
> old and new kernels), and attach the outputs. Run the script with
> --no-upload option.

I sent a separate mail with these already.

> Also, such a problem is rather the device permissions problem.
> Check the device permissions of /dev/snd/* files (also check getfacl
> /dev/snd/*, too).

-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7

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

* Re: [REGRESSION] 4.1-rc4: Sound muted after boot
  2015-05-21  8:53   ` Martin Steigerwald
@ 2015-05-21  9:16     ` Takashi Iwai
  2015-05-21  9:52       ` Martin Steigerwald
  0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2015-05-21  9:16 UTC (permalink / raw)
  To: Martin Steigerwald; +Cc: linux-kernel, alsa-devel

At Thu, 21 May 2015 10:53:46 +0200,
Martin Steigerwald wrote:
> 
> Am Donnerstag, 21. Mai 2015, 06:28:24 schrieb Takashi Iwai:
> > At Wed, 20 May 2015 16:31:55 +0200,
> > 
> > Martin Steigerwald wrote:
> > > Hello!
> > > 
> > > On ThinkPad T520 (Intel Sandybridge) with 4.14-rc4 + two BTRFS patches
> > > and one Intel P-State debug patch I have no sound output on internal
> > > Intel HD audio codec.
> > > 
> > > According to ThinkPad T520 LED with striked-through speaker the loud
> > > speaker is in disabled state. Also KDE´s Phonon says a soundcard is
> > > missing. In alsa-mixer I see nothing as MM for muted. If I press the
> > > key next to the LED I get a notification on the desktop that loud
> > > speaker has been enabled / disabled, but the LED still is on for it
> > > being disabled.
> > > 
> > > I do not hear anything in Amarok or with aplay. alsa-mixer sound volumes
> > > are 100 for master and PCM. I also tried with disabling "Auto-Mute
> > > Mod", but still no sound.
> > > 
> > > When I reboot and in BIOS or GRUB press the key then the LED toggles
> > > state.
> > > 
> > > When I reboot into Linux 4.0.1 sound is working fine and loud speaker
> > > disabled LED is toggled off, so I bet this is a regression 4.1-rc4
> > > compared to 4.0.1.
> > 
> > Please run alsa-info.sh at both working and non-working cases (with
> > old and new kernels), and attach the outputs. Run the script with
> > --no-upload option.
> 
> All attached.
> 
> I also have full dmesg outputs available in case it is needed.
>  
> > Also, such a problem is rather the device permissions problem.
> > Check the device permissions of /dev/snd/* files (also check getfacl
> > /dev/snd/*, too).
> 
> If its a permissions problem, why does it happen with 4.1-rc4, but not with 
> 4.0.1 oder any earlier kernels?

I wanted to mean it's rather "often" a permission problem.  Not
necessarily your case, but still worth to check.

The mute LED behavior change is because of the new control added
recently.  You seem to have changed the value to "On" while the
default should be "Follow Master".  This explains the difference of
behavior from 4.0.  It's no regression but manual misconfiguration by
user.  In this mode, LED has no connection with the sound output at
all.

Other than that, no different is seen in the hardware level.  The
codec registers show all same values.  That is, from the driver POV,
the sound should work.  (Though, you set "Disabled" to "Auto-Mute
Mode" control which looks rather weird.) 

So, revert "Mute-LED Mode" control to "Follow Master".  It can be done
via alsamixer, amixer or whatever.  Then check whether the sound
works again.  Check also from the headphone, too.


Takashi

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

* Re: [REGRESSION] 4.1-rc4: Sound muted after boot
  2015-05-21  9:08   ` Martin Steigerwald
@ 2015-05-21  9:19     ` Takashi Iwai
  0 siblings, 0 replies; 10+ messages in thread
From: Takashi Iwai @ 2015-05-21  9:19 UTC (permalink / raw)
  To: Martin Steigerwald; +Cc: linux-kernel, alsa-devel

At Thu, 21 May 2015 11:08:36 +0200,
Martin Steigerwald wrote:
> 
> Am Donnerstag, 21. Mai 2015, 06:28:24 schrieb Takashi Iwai:
> > At Wed, 20 May 2015 16:31:55 +0200,
> > 
> > Martin Steigerwald wrote:
> > > Hello!
> > > 
> > > On ThinkPad T520 (Intel Sandybridge) with 4.14-rc4 + two BTRFS patches
> > > and one Intel P-State debug patch I have no sound output on internal
> > > Intel HD audio codec.
> > > 
> > > According to ThinkPad T520 LED with striked-through speaker the loud
> > > speaker is in disabled state. Also KDE´s Phonon says a soundcard is
> > > missing. In alsa-mixer I see nothing as MM for muted. If I press the
> > > key next to the LED I get a notification on the desktop that loud
> > > speaker has been enabled / disabled, but the LED still is on for it
> > > being disabled.
> 
> One clarification: Phonon still seems to see a sound card… but it reports a 
> change to the list of soundcards.
> 
> And another observation: The speaker disable LED is switched on KDE/Plasma 
> 4.14.2 session startup, I just rebooted to 4.1-rc4 after I gathered debug 
> output of 4.0.1, and there on boot the speaker disable LED was off during 
> boot.
> 
> So there seems Phonon is confused about some difference in ALSA between these 
> two kernel versions and probably doesn´t fully find the sound card or mutes 
> it, but on the other hand I can´t see it in alsa-mixer as muted.
> 
> And alsa-mixer still finds the internal sound.
> 
> Also this does not happen for external USB JBL Pebbles speakers (excellent 
> ones!) at home, sound just works with 4.1-rc4 with these.
> 
> I am now on 4.1-rc4 again so could try to dig out more what KDE Phonon sees 
> as a difference. In trainings breaks. Now need to continue with the course I 
> hold.
> 
> Phonon runs without PulseAudio here, cause PulseAudio creates additional 
> issues with sound. Okay, this is the message I get:
> 
> KDE hat festgestellt, dass eines oder mehrere interne Geräte entfernt 
> wurden.
> Soll KDE die Informationen zu diesen Geräten dauerhaft löschen?
> Dies ist die Liste der Geräte, die entfernt werden können:
> Aufnahme: HDA Intel PCH (CX20590 Analog)
> Wiedergabe: HDA Intel PCH (CX20590 Analog)
> 
> Which means: KDE has found that one or more internal devices were removed.
> 
> So it seems KDE really does not find the sound card anymore, while alsa-mixer 
> finds it, yet, also aplay does not produce any sound.
> 
> But then I still have a "HDA Intel PCH (CX20590 Analog)" in systemsettings 
> for Phonon. There is one greyed out and another one which is not greyed out, 
> but does not produce any sound on clicking the test button either.

All of these sound like a problem with Phonon.  There is no change in
the interface and device names of your board between 4.0 and 4.1 in
the kernel level.  You can compare alsa-info.sh outputs.


Takashi

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

* Re: [REGRESSION] 4.1-rc4: Sound muted after boot
  2015-05-21  9:16     ` Takashi Iwai
@ 2015-05-21  9:52       ` Martin Steigerwald
  2015-05-21 10:07         ` Takashi Iwai
  0 siblings, 1 reply; 10+ messages in thread
From: Martin Steigerwald @ 2015-05-21  9:52 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: linux-kernel, alsa-devel

Am Donnerstag, 21. Mai 2015, 11:16:24 schrieb Takashi Iwai:
> At Thu, 21 May 2015 10:53:46 +0200,
> 
> Martin Steigerwald wrote:
> > Am Donnerstag, 21. Mai 2015, 06:28:24 schrieb Takashi Iwai:
> > > At Wed, 20 May 2015 16:31:55 +0200,
> > > 
> > > Martin Steigerwald wrote:
> > > > Hello!
> > > > 
> > > > On ThinkPad T520 (Intel Sandybridge) with 4.14-rc4 + two BTRFS
> > > > patches
> > > > and one Intel P-State debug patch I have no sound output on internal
> > > > Intel HD audio codec.
> > > > 
> > > > According to ThinkPad T520 LED with striked-through speaker the loud
> > > > speaker is in disabled state. Also KDE´s Phonon says a soundcard is
> > > > missing. In alsa-mixer I see nothing as MM for muted. If I press the
> > > > key next to the LED I get a notification on the desktop that loud
> > > > speaker has been enabled / disabled, but the LED still is on for it
> > > > being disabled.
> > > > 
> > > > I do not hear anything in Amarok or with aplay. alsa-mixer sound
> > > > volumes
> > > > are 100 for master and PCM. I also tried with disabling "Auto-Mute
> > > > Mod", but still no sound.
> > > > 
> > > > When I reboot and in BIOS or GRUB press the key then the LED toggles
> > > > state.
> > > > 
> > > > When I reboot into Linux 4.0.1 sound is working fine and loud
> > > > speaker
> > > > disabled LED is toggled off, so I bet this is a regression 4.1-rc4
> > > > compared to 4.0.1.
> > > 
> > > Please run alsa-info.sh at both working and non-working cases (with
> > > old and new kernels), and attach the outputs. Run the script with
> > > --no-upload option.
> > 
> > All attached.
> > 
> > I also have full dmesg outputs available in case it is needed.
> > 
> > > Also, such a problem is rather the device permissions problem.
> > > Check the device permissions of /dev/snd/* files (also check getfacl
> > > /dev/snd/*, too).
> > 
> > If its a permissions problem, why does it happen with 4.1-rc4, but not
> > with 4.0.1 oder any earlier kernels?
> 
> I wanted to mean it's rather "often" a permission problem.  Not
> necessarily your case, but still worth to check.
> 
> The mute LED behavior change is because of the new control added
> recently.  You seem to have changed the value to "On" while the
> default should be "Follow Master".  This explains the difference of
> behavior from 4.0.  It's no regression but manual misconfiguration by
> user.  In this mode, LED has no connection with the sound output at
> all.

I didn´t change ALSA configuration on upgrade from 4.0 to 4.1. Can it be it 
picked "On" as default? Cause I certainly didn´t touch this. Unless it could 
have been changed on earlier kernels as well. Well then it could be, cause 
there have been times I tried to set stuff in ALSA for various reasons, but 
quite some time ago.

I only changed "Auto-Mute Mod" to "disabled" as I tried to debug the muting 
issue, but other than that I didn´t change 

> Other than that, no different is seen in the hardware level.  The
> codec registers show all same values.  That is, from the driver POV,
> the sound should work.  (Though, you set "Disabled" to "Auto-Mute
> Mode" control which looks rather weird.)
> 
> So, revert "Mute-LED Mode" control to "Follow Master".  It can be done
> via alsamixer, amixer or whatever.  Then check whether the sound
> works again.  Check also from the headphone, too.

That works. Thank you. Headphone I will check later.

Ciao,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7

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

* Re: [REGRESSION] 4.1-rc4: Sound muted after boot
  2015-05-21  9:52       ` Martin Steigerwald
@ 2015-05-21 10:07         ` Takashi Iwai
  2015-05-21 11:23           ` Martin Steigerwald
  0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2015-05-21 10:07 UTC (permalink / raw)
  To: Martin Steigerwald; +Cc: linux-kernel, alsa-devel

At Thu, 21 May 2015 11:52:08 +0200,
Martin Steigerwald wrote:
> 
> Am Donnerstag, 21. Mai 2015, 11:16:24 schrieb Takashi Iwai:
> > At Thu, 21 May 2015 10:53:46 +0200,
> > 
> > Martin Steigerwald wrote:
> > > Am Donnerstag, 21. Mai 2015, 06:28:24 schrieb Takashi Iwai:
> > > > At Wed, 20 May 2015 16:31:55 +0200,
> > > > 
> > > > Martin Steigerwald wrote:
> > > > > Hello!
> > > > > 
> > > > > On ThinkPad T520 (Intel Sandybridge) with 4.14-rc4 + two BTRFS
> > > > > patches
> > > > > and one Intel P-State debug patch I have no sound output on internal
> > > > > Intel HD audio codec.
> > > > > 
> > > > > According to ThinkPad T520 LED with striked-through speaker the loud
> > > > > speaker is in disabled state. Also KDE´s Phonon says a soundcard is
> > > > > missing. In alsa-mixer I see nothing as MM for muted. If I press the
> > > > > key next to the LED I get a notification on the desktop that loud
> > > > > speaker has been enabled / disabled, but the LED still is on for it
> > > > > being disabled.
> > > > > 
> > > > > I do not hear anything in Amarok or with aplay. alsa-mixer sound
> > > > > volumes
> > > > > are 100 for master and PCM. I also tried with disabling "Auto-Mute
> > > > > Mod", but still no sound.
> > > > > 
> > > > > When I reboot and in BIOS or GRUB press the key then the LED toggles
> > > > > state.
> > > > > 
> > > > > When I reboot into Linux 4.0.1 sound is working fine and loud
> > > > > speaker
> > > > > disabled LED is toggled off, so I bet this is a regression 4.1-rc4
> > > > > compared to 4.0.1.
> > > > 
> > > > Please run alsa-info.sh at both working and non-working cases (with
> > > > old and new kernels), and attach the outputs. Run the script with
> > > > --no-upload option.
> > > 
> > > All attached.
> > > 
> > > I also have full dmesg outputs available in case it is needed.
> > > 
> > > > Also, such a problem is rather the device permissions problem.
> > > > Check the device permissions of /dev/snd/* files (also check getfacl
> > > > /dev/snd/*, too).
> > > 
> > > If its a permissions problem, why does it happen with 4.1-rc4, but not
> > > with 4.0.1 oder any earlier kernels?
> > 
> > I wanted to mean it's rather "often" a permission problem.  Not
> > necessarily your case, but still worth to check.
> > 
> > The mute LED behavior change is because of the new control added
> > recently.  You seem to have changed the value to "On" while the
> > default should be "Follow Master".  This explains the difference of
> > behavior from 4.0.  It's no regression but manual misconfiguration by
> > user.  In this mode, LED has no connection with the sound output at
> > all.
> 
> I didn´t change ALSA configuration on upgrade from 4.0 to 4.1. Can it be it 
> picked "On" as default?

It shouldn't.  The default is "follow master".
Might it be changed by kmix or such...?

> Cause I certainly didn´t touch this. Unless it could 
> have been changed on earlier kernels as well. Well then it could be, cause 
> there have been times I tried to set stuff in ALSA for various reasons, but 
> quite some time ago.
> 
> I only changed "Auto-Mute Mod" to "disabled" as I tried to debug the muting 
> issue, but other than that I didn´t change 

OK.

> > Other than that, no different is seen in the hardware level.  The
> > codec registers show all same values.  That is, from the driver POV,
> > the sound should work.  (Though, you set "Disabled" to "Auto-Mute
> > Mode" control which looks rather weird.)
> > 
> > So, revert "Mute-LED Mode" control to "Follow Master".  It can be done
> > via alsamixer, amixer or whatever.  Then check whether the sound
> > works again.  Check also from the headphone, too.
> 
> That works. Thank you. Headphone I will check later.

Interesting.  Could you confirm that changing "Mute-LED Mode" really
mutes the output, not only changing the LED?  This control was
supposed to behave independently from the sound output.


thanks,

Takashi


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

* Re: [REGRESSION] 4.1-rc4: Sound muted after boot
  2015-05-21 10:07         ` Takashi Iwai
@ 2015-05-21 11:23           ` Martin Steigerwald
  2015-05-21 12:42             ` Takashi Iwai
  0 siblings, 1 reply; 10+ messages in thread
From: Martin Steigerwald @ 2015-05-21 11:23 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: linux-kernel, alsa-devel

Am Donnerstag, 21. Mai 2015, 12:07:30 schrieb Takashi Iwai:
> At Thu, 21 May 2015 11:52:08 +0200,
> 
> Martin Steigerwald wrote:
> > Am Donnerstag, 21. Mai 2015, 11:16:24 schrieb Takashi Iwai:
> > > At Thu, 21 May 2015 10:53:46 +0200,
> > > 
> > > Martin Steigerwald wrote:
> > > > Am Donnerstag, 21. Mai 2015, 06:28:24 schrieb Takashi Iwai:
> > > > > At Wed, 20 May 2015 16:31:55 +0200,
> > > > > 
> > > > > Martin Steigerwald wrote:
> > > > > > Hello!
> > > > > > 
> > > > > > On ThinkPad T520 (Intel Sandybridge) with 4.14-rc4 + two BTRFS
> > > > > > patches
> > > > > > and one Intel P-State debug patch I have no sound output on
> > > > > > internal
> > > > > > Intel HD audio codec.
> > > > > > 
> > > > > > According to ThinkPad T520 LED with striked-through speaker the
> > > > > > loud
> > > > > > speaker is in disabled state. Also KDE´s Phonon says a soundcard
> > > > > > is
> > > > > > missing. In alsa-mixer I see nothing as MM for muted. If I press
> > > > > > the
> > > > > > key next to the LED I get a notification on the desktop that
> > > > > > loud
> > > > > > speaker has been enabled / disabled, but the LED still is on for
> > > > > > it
> > > > > > being disabled.
> > > > > > 
> > > > > > I do not hear anything in Amarok or with aplay. alsa-mixer sound
> > > > > > volumes
> > > > > > are 100 for master and PCM. I also tried with disabling
> > > > > > "Auto-Mute
> > > > > > Mod", but still no sound.
> > > > > > 
> > > > > > When I reboot and in BIOS or GRUB press the key then the LED
> > > > > > toggles
> > > > > > state.
> > > > > > 
> > > > > > When I reboot into Linux 4.0.1 sound is working fine and loud
> > > > > > speaker
> > > > > > disabled LED is toggled off, so I bet this is a regression
> > > > > > 4.1-rc4
> > > > > > compared to 4.0.1.
> > > > > 
> > > > > Please run alsa-info.sh at both working and non-working cases
> > > > > (with
> > > > > old and new kernels), and attach the outputs. Run the script with
> > > > > --no-upload option.
> > > > 
> > > > All attached.
> > > > 
> > > > I also have full dmesg outputs available in case it is needed.
> > > > 
> > > > > Also, such a problem is rather the device permissions problem.
> > > > > Check the device permissions of /dev/snd/* files (also check
> > > > > getfacl
> > > > > /dev/snd/*, too).
> > > > 
> > > > If its a permissions problem, why does it happen with 4.1-rc4, but
> > > > not
> > > > with 4.0.1 oder any earlier kernels?
> > > 
> > > I wanted to mean it's rather "often" a permission problem.  Not
> > > necessarily your case, but still worth to check.
> > > 
> > > The mute LED behavior change is because of the new control added
> > > recently.  You seem to have changed the value to "On" while the
> > > default should be "Follow Master".  This explains the difference of
> > > behavior from 4.0.  It's no regression but manual misconfiguration by
> > > user.  In this mode, LED has no connection with the sound output at
> > > all.
> > 
> > I didn´t change ALSA configuration on upgrade from 4.0 to 4.1. Can it be
> > it picked "On" as default?
> 
> It shouldn't.  The default is "follow master".
> Might it be changed by kmix or such...?

I don´t know, but in my KMix setup the Mute-LED Mode is not within the 
displayed channels, but on available channels, so I didn´t see this.
 
> > > Other than that, no different is seen in the hardware level.  The
> > > codec registers show all same values.  That is, from the driver POV,
> > > the sound should work.  (Though, you set "Disabled" to "Auto-Mute
> > > Mode" control which looks rather weird.)
> > > 
> > > So, revert "Mute-LED Mode" control to "Follow Master".  It can be done
> > > via alsamixer, amixer or whatever.  Then check whether the sound
> > > works again.  Check also from the headphone, too.
> > 
> > That works. Thank you. Headphone I will check later.
> 
> Interesting.  Could you confirm that changing "Mute-LED Mode" really
> mutes the output, not only changing the LED?  This control was
> supposed to behave independently from the sound output.

When I set it back to "On" again output is muted. On setting "Off" or "Follow 
master" I can hear sound.

Thanks,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7

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

* Re: [REGRESSION] 4.1-rc4: Sound muted after boot
  2015-05-21 11:23           ` Martin Steigerwald
@ 2015-05-21 12:42             ` Takashi Iwai
  0 siblings, 0 replies; 10+ messages in thread
From: Takashi Iwai @ 2015-05-21 12:42 UTC (permalink / raw)
  To: Martin Steigerwald; +Cc: linux-kernel, alsa-devel

At Thu, 21 May 2015 13:23:54 +0200,
Martin Steigerwald wrote:
> 
> Am Donnerstag, 21. Mai 2015, 12:07:30 schrieb Takashi Iwai:
> > At Thu, 21 May 2015 11:52:08 +0200,
> > 
> > Martin Steigerwald wrote:
> > > Am Donnerstag, 21. Mai 2015, 11:16:24 schrieb Takashi Iwai:
> > > > At Thu, 21 May 2015 10:53:46 +0200,
> > > > 
> > > > Martin Steigerwald wrote:
> > > > > Am Donnerstag, 21. Mai 2015, 06:28:24 schrieb Takashi Iwai:
> > > > > > At Wed, 20 May 2015 16:31:55 +0200,
> > > > > > 
> > > > > > Martin Steigerwald wrote:
> > > > > > > Hello!
> > > > > > > 
> > > > > > > On ThinkPad T520 (Intel Sandybridge) with 4.14-rc4 + two BTRFS
> > > > > > > patches
> > > > > > > and one Intel P-State debug patch I have no sound output on
> > > > > > > internal
> > > > > > > Intel HD audio codec.
> > > > > > > 
> > > > > > > According to ThinkPad T520 LED with striked-through speaker the
> > > > > > > loud
> > > > > > > speaker is in disabled state. Also KDE´s Phonon says a soundcard
> > > > > > > is
> > > > > > > missing. In alsa-mixer I see nothing as MM for muted. If I press
> > > > > > > the
> > > > > > > key next to the LED I get a notification on the desktop that
> > > > > > > loud
> > > > > > > speaker has been enabled / disabled, but the LED still is on for
> > > > > > > it
> > > > > > > being disabled.
> > > > > > > 
> > > > > > > I do not hear anything in Amarok or with aplay. alsa-mixer sound
> > > > > > > volumes
> > > > > > > are 100 for master and PCM. I also tried with disabling
> > > > > > > "Auto-Mute
> > > > > > > Mod", but still no sound.
> > > > > > > 
> > > > > > > When I reboot and in BIOS or GRUB press the key then the LED
> > > > > > > toggles
> > > > > > > state.
> > > > > > > 
> > > > > > > When I reboot into Linux 4.0.1 sound is working fine and loud
> > > > > > > speaker
> > > > > > > disabled LED is toggled off, so I bet this is a regression
> > > > > > > 4.1-rc4
> > > > > > > compared to 4.0.1.
> > > > > > 
> > > > > > Please run alsa-info.sh at both working and non-working cases
> > > > > > (with
> > > > > > old and new kernels), and attach the outputs. Run the script with
> > > > > > --no-upload option.
> > > > > 
> > > > > All attached.
> > > > > 
> > > > > I also have full dmesg outputs available in case it is needed.
> > > > > 
> > > > > > Also, such a problem is rather the device permissions problem.
> > > > > > Check the device permissions of /dev/snd/* files (also check
> > > > > > getfacl
> > > > > > /dev/snd/*, too).
> > > > > 
> > > > > If its a permissions problem, why does it happen with 4.1-rc4, but
> > > > > not
> > > > > with 4.0.1 oder any earlier kernels?
> > > > 
> > > > I wanted to mean it's rather "often" a permission problem.  Not
> > > > necessarily your case, but still worth to check.
> > > > 
> > > > The mute LED behavior change is because of the new control added
> > > > recently.  You seem to have changed the value to "On" while the
> > > > default should be "Follow Master".  This explains the difference of
> > > > behavior from 4.0.  It's no regression but manual misconfiguration by
> > > > user.  In this mode, LED has no connection with the sound output at
> > > > all.
> > > 
> > > I didn´t change ALSA configuration on upgrade from 4.0 to 4.1. Can it be
> > > it picked "On" as default?
> > 
> > It shouldn't.  The default is "follow master".
> > Might it be changed by kmix or such...?
> 
> I don´t know, but in my KMix setup the Mute-LED Mode is not within the 
> displayed channels, but on available channels, so I didn´t see this.

kmix was just a wild guess from the past experiences, as it tends to
play wild.  Might be something else.  Who knows...

> > > > Other than that, no different is seen in the hardware level.  The
> > > > codec registers show all same values.  That is, from the driver POV,
> > > > the sound should work.  (Though, you set "Disabled" to "Auto-Mute
> > > > Mode" control which looks rather weird.)
> > > > 
> > > > So, revert "Mute-LED Mode" control to "Follow Master".  It can be done
> > > > via alsamixer, amixer or whatever.  Then check whether the sound
> > > > works again.  Check also from the headphone, too.
> > > 
> > > That works. Thank you. Headphone I will check later.
> > 
> > Interesting.  Could you confirm that changing "Mute-LED Mode" really
> > mutes the output, not only changing the LED?  This control was
> > supposed to behave independently from the sound output.
> 
> When I set it back to "On" again output is muted. On setting "Off" or "Follow 
> master" I can hear sound.

OK, then it's different from HP machines.  Then I'm inclined to remove
this again, at least for Conexant codecs; it's tied with the actual
sound output, so changing it via this control is confusing.


thanks,

Takashi

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

end of thread, other threads:[~2015-05-21 12:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-20 14:31 [REGRESSION] 4.1-rc4: Sound muted after boot Martin Steigerwald
2015-05-21  4:28 ` Takashi Iwai
2015-05-21  8:53   ` Martin Steigerwald
2015-05-21  9:16     ` Takashi Iwai
2015-05-21  9:52       ` Martin Steigerwald
2015-05-21 10:07         ` Takashi Iwai
2015-05-21 11:23           ` Martin Steigerwald
2015-05-21 12:42             ` Takashi Iwai
2015-05-21  9:08   ` Martin Steigerwald
2015-05-21  9:19     ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox