All of lore.kernel.org
 help / color / mirror / Atom feed
* No sound after suspend-to-ram
@ 2015-10-22  8:38 George Gugulea
  2015-10-22 15:15 ` Takashi Iwai
  0 siblings, 1 reply; 16+ messages in thread
From: George Gugulea @ 2015-10-22  8:38 UTC (permalink / raw)
  To: alsa-devel

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

After a fresh reboot, the sound works ok but if I put the computer to
sleep (pm-suspend), after it wakes up there is no sound anymore.

I did try 'alsa force-reload' after suspend but still no sound.
After 'pm-hibernate' sound is back again.

I found an old thread here:
https://bugzilla.kernel.org/show_bug.cgi?id=49421 where Michael seems
to have the same problem which is still unsolved; maybe I can help
with more info.

I attached the 'alsa-info.sh' output before and after suspend:
'alsa-info.txt.before' and 'alsa-info.txt.after' (as a patch to stay
below 80k mail size rule: diff -u alsa-info.txt.before
alsa-info.txt.after > alsa-info.txt.patch)

The only difference between before and after is this one:
@@ -241,7 +241,7 @@
 Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In
   Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
   Amp-In vals:  [0x12 0x12]
-  Converter: stream=4, channel=0
+  Converter: stream=0, channel=0
   SDI-Select: 0
   PCM:
     rates [0x160]: 44100 48000 96000


The PC is here: http://www.dell.com/us/p/xps-27-2720-aio/pd?ref=PD_OC,
but the 2y older version with no touch

If I boot into windows (8.1) everything works great, including sound
(even after suspend)

-- 
gg

[-- Attachment #2: alsa-info.txt.before --]
[-- Type: application/octet-stream, Size: 32269 bytes --]

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

!!Script ran on: Tue Oct 20 20:37:31 UTC 2015


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

Ubuntu 14.04.3 LTS \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS" NAME="Ubuntu" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 14.04.3 LTS" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"


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

Manufacturer:      Dell Inc.
Product Name:      XPS One 2710
Product Version:   00
Firmware Version:  A12


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

Kernel release:    3.19.0-30-generic
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         x86_64
SMP Enabled:       Yes


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

Driver version:     k3.19.0-30-generic
Library version:    1.0.27.2
Utilities version:  1.0.27.2


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

snd_hda_intel


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

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes


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

 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7c10000 irq 40


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

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


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

00:1b.0 0403: 8086:1e20 (rev 04)
	Subsystem: 1028:054b


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

snd_atiixp_modem: index=-2
snd_intel8x0m: index=-2
snd_via82xx_modem: index=-2
snd_usb_audio: index=-2
snd_usb_caiaq: index=-2
snd_usb_ua101: index=-2
snd_usb_us122l: index=-2
snd_usb_usx2y: index=-2
snd_cmipci: mpu_port=0x330 fm_port=0x388
snd_pcsp: index=-2
snd_usb_audio: index=-2


!!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 : N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
	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 : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : N
	snoop : -1


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

Codec: Realtek ALC3260
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0275
Subsystem Id: 0x1028054b
Revision Id: 0x100008
No Modem Function Group found
Default PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    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 CLKSTOP EPSS
  Power: setting=D0, actual=D0
GPIO: io=4, o=0, i=0, unsolicited=1, wake=1
  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 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="ALC3260 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x3f, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x20 0x20]
  Converter: stream=8, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x3f, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x20 0x20]
  Converter: stream=8, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x07 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  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="ALC3260 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x12 0x12]
  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 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x24
Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x90 0x90]
  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 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x23
Node 0x09 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Beep Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  Control: name="Beep Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 5
     0x18 0x19 0x1a 0x1b 0x1d
Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010a: Mono Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00] [0x80]
  Connection: 2
     0x0c 0x0d
Node 0x0f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x12 0x12]
  Converter: stream=4, 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 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x22
Node 0x12 [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=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x01 0x01]
  Pincap 0x00000020: IN
  Pin Default 0x99a30930: [Fixed] Mic at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x13 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x14 [Pin Complex] wcaps 0x40050d: Stereo Amp-Out
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Speaker Phantom Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00010050: OUT EAPD Balanced
  EAPD 0x2: EAPD
  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 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c 0x0d*
Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Headphone Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001001c: OUT HP EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x0321441f: [Jack] HP Out at Ext Left
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c* 0x0d
Node 0x16 [Pin Complex] wcaps 0x40050c: Mono Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80]
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0e
Node 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x18 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Mic Jack", index=0, device=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003734: IN OUT Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x03a19820: [Jack] Mic at Ext Left
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c* 0x0d
Node 0x19 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003734: IN OUT Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c* 0x0d
Node 0x1a [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000373c: IN OUT HP Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c* 0x0d
Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003734: IN OUT Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c* 0x0d
Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1d [Pin Complex] wcaps 0x400400: Mono
  Pincap 0x00000020: IN
  Pin Default 0x4016862d: [N/A] Speaker at Ext N/A
    Conn = Digital, Color = Purple
    DefAssociation = 0x2, Sequence = 0xd
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1e [Pin Complex] wcaps 0x400701: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=64
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x12* 0x13
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 6
     0x18 0x19 0x1a 0x1b 0x1d 0x0b
Node 0x24 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 6
     0x18 0x19 0x1a 0x1b 0x1d 0x0b
Codec: Intel PantherPoint HDMI
Address: 3
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x80862806
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
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x80]
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x58560020: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  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
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x80]
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x58560030: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  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 Oct 20 00:10 /dev/snd/controlC0
crw-rw----+ 1 root audio 116,  6 Oct 20 00:10 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116,  7 Oct 20 00:10 /dev/snd/hwC0D3
crw-rw----+ 1 root audio 116,  4 Oct 20 23:11 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116,  3 Oct 20 23:10 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116,  5 Oct 20 21:33 /dev/snd/pcmC0D3p
crw-rw----+ 1 root audio 116,  1 Oct 20 21:33 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Oct 20 00:10 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Oct 20 22:06 .
drwxr-xr-x 3 root root 220 Oct 20 22:06 ..
lrwxrwxrwx 1 root root  12 Oct 20 00:10 pci-0000:00:1b.0 -> ../controlC0


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

APLAY

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

ARECORD

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

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

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

Card hw:0 'PCH'/'HDA Intel PCH at 0xf7c10000 irq 40'
  Mixer name	: 'Intel PantherPoint HDMI'
  Components	: 'HDA:10ec0275,1028054b,00100008 HDA:80862806,80860101,00100000'
  Controls      : 29
  Simple ctrls  : 11
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 33 [52%] [-31.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 63 [98%] [0.00dB] [on]
  Front Right: Playback 63 [98%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 63 [98%] [0.00dB] [on]
  Front Right: Playback 63 [98%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 253 [99%] [-0.40dB]
  Front Right: Playback 253 [99%] [-0.40dB]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [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 'Beep',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 18 [39%] [1.00dB] [on]
  Front Right: Capture 18 [39%] [1.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 1 [33%] [10.00dB]
  Front Right: 1 [33%] [10.00dB]


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

--startcollapse--
state.PCH {
	control.1 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 63
		value.1 63
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6300
			dbmax 100
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.2 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.3 {
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 63
		value.1 63
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6300
			dbmax 100
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.4 {
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.5 {
		iface MIXER
		name 'Mic Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.6 {
		iface MIXER
		name 'Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.7 {
		iface MIXER
		name 'Auto-Mute Mode'
		value Enabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.8 {
		iface MIXER
		name 'Capture Volume'
		value.0 18
		value.1 18
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 46'
			dbmin -1700
			dbmax 2900
			dbvalue.0 100
			dbvalue.1 100
		}
	}
	control.9 {
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.10 {
		iface MIXER
		name 'Mic Boost Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.11 {
		iface MIXER
		name 'Internal Mic Boost Volume'
		value.0 1
		value.1 1
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 1000
			dbvalue.1 1000
		}
	}
	control.12 {
		iface MIXER
		name 'Master Playback Volume'
		value 33
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 -3100
		}
	}
	control.13 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			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 'Internal Mic Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.16 {
		iface CARD
		name 'Headphone Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.17 {
		iface CARD
		name 'Speaker Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.18 {
		iface MIXER
		name 'Beep Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.19 {
		iface MIXER
		name 'Beep Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.20 {
		iface PCM
		name 'Playback Channel Map'
		value.0 3
		value.1 4
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.21 {
		iface PCM
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.22 {
		iface 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 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.29 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 253
		value.1 253
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 255'
			tlv '0000000100000008ffffec1400000014'
			dbmin -5100
			dbmax 0
			dbvalue.0 -40
			dbvalue.1 -40
		}
	}
}
--endcollapse--


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

Module
alx
mdio
snd_usb_audio
snd_usbmidi_lib
snd_seq_midi
snd_seq_midi_event
snd_seq
snd_rawmidi
snd_seq_device
dm_crypt
iptable_filter
ip_tables
x_tables
bbswitch
ses
enclosure
bnep
rfcomm
nls_iso8859_1
uvcvideo
videobuf2_vmalloc
ath3k
videobuf2_memops
btusb
videobuf2_core
v4l2_common
bluetooth
videodev
media
joydev
hid_generic
dell_wmi_aio
snd_hda_codec_hdmi
sparse_keymap
intel_rapl
iosf_mbi
x86_pkg_temp_thermal
usbhid
intel_powerclamp
snd_hda_codec_realtek
coretemp
hid
snd_hda_codec_generic
kvm_intel
arc4
snd_hda_intel
snd_hda_controller
kvm
snd_hda_codec
ath9k
crct10dif_pclmul
snd_hwdep
crc32_pclmul
ath9k_common
ath9k_hw
snd_pcm
ghash_clmulni_intel
ath
mac80211
ir_lirc_codec
ir_xmp_decoder
lirc_dev
ir_mce_kbd_decoder
ir_sharp_decoder
ir_sony_decoder
ir_sanyo_decoder
ir_jvc_decoder
ir_rc6_decoder
uas
ir_rc5_decoder
dcdbas
ir_nec_decoder
aesni_intel
aes_x86_64
lrw
gf128mul
cfg80211
glue_helper
ablk_helper
cryptd
usb_storage
snd_timer
serio_raw
rtsx_pci_ms
rc_rc6_mce
snd
fintek_cir
memstick
lpc_ich
rc_core
soundcore
8250_fintek
mac_hid
nvidia
wmi
i915
video
drm_kms_helper
drm
mei_me
mei
shpchp
ie31200_edac
i2c_algo_bit
edac_core
parport_pc
ppdev
lp
parport
rtsx_pci_sdmmc
ahci
psmouse
libahci
sdhci_pci
rtsx_pci
sdhci
floppy


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

/sys/class/sound/hwC0D0/init_pin_configs:
0x12 0x99a30930
0x13 0x411111f0
0x14 0x90170110
0x15 0x0321441f
0x16 0x411111f0
0x18 0x03a19820
0x19 0x411111f0
0x1a 0x411111f0
0x1b 0x411111f0
0x1d 0x4016862d
0x1e 0x411111f0

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D0/hints:

/sys/class/sound/hwC0D3/init_pin_configs:
0x05 0x18560010
0x06 0x58560020
0x07 0x58560030

/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
!!--------------

[    1.601502] ath: Regpair used: 0x60
[    1.607673] snd_hda_intel 0000:00:1b.0: enabling device (0000 -> 0002)
[    1.617859] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
--
[    1.628316] hidraw: raw HID events driver (C) Jiri Kosina
[    1.630037] sound hdaudioC0D0: autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    1.630039] sound hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    1.630041] sound hdaudioC0D0:    hp_outs=1 (0x15/0x0/0x0/0x0/0x0)
[    1.630042] sound hdaudioC0D0:    mono: mono_out=0x0
[    1.630043] sound hdaudioC0D0:    inputs:
[    1.630045] sound hdaudioC0D0:      Mic=0x18
[    1.630046] sound hdaudioC0D0:      Internal Mic=0x12
[    1.637327] intel_rapl: Found RAPL domain package
--
[    1.640615] usbhid: USB HID core driver
[    1.642753] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[    1.642822] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[    1.642868] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[    1.653878] input: Dell Dell KM713 Wireless Keyboard and Mouse as /devices/pci0000:00/0000:00:1a.0/usb5/5-1/5-1.2/5-1.2:1.0/0003:413C:2506.0001/input/input13
--
[ 8749.885150] hid-generic 0003:046D:0A0B.0007: input,hidraw3: USB HID v1.00 Device [Logitech Logitech USB Headset] on usb-0000:00:14.0-4/input3
[ 8749.922884] usbcore: registered new interface driver snd-usb-audio
[ 9477.761032] PM: Syncing filesystems ... done.



[-- Attachment #3: alsa-info.txt.patch --]
[-- Type: text/x-patch, Size: 1155 bytes --]

--- alsa-info.txt.before	2015-10-21 16:41:42.777532532 +0300
+++ alsa-info.txt.after	2015-10-21 16:41:41.269514082 +0300
@@ -3,7 +3,7 @@
 !!ALSA Information Script v 0.4.64
 !!################################
 
-!!Script ran on: Tue Oct 20 20:37:31 UTC 2015
+!!Script ran on: Tue Oct 20 20:42:33 UTC 2015
 
 
 !!Linux Distribution
@@ -241,7 +241,7 @@
 Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In
   Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
   Amp-In vals:  [0x12 0x12]
-  Converter: stream=4, channel=0
+  Converter: stream=0, channel=0
   SDI-Select: 0
   PCM:
     rates [0x160]: 44100 48000 96000
@@ -537,7 +537,7 @@
 crw-rw----+ 1 root audio 116,  6 Oct 20 00:10 /dev/snd/hwC0D0
 crw-rw----+ 1 root audio 116,  7 Oct 20 00:10 /dev/snd/hwC0D3
 crw-rw----+ 1 root audio 116,  4 Oct 20 23:11 /dev/snd/pcmC0D0c
-crw-rw----+ 1 root audio 116,  3 Oct 20 23:10 /dev/snd/pcmC0D0p
+crw-rw----+ 1 root audio 116,  3 Oct 20 23:42 /dev/snd/pcmC0D0p
 crw-rw----+ 1 root audio 116,  5 Oct 20 21:33 /dev/snd/pcmC0D3p
 crw-rw----+ 1 root audio 116,  1 Oct 20 21:33 /dev/snd/seq
 crw-rw----+ 1 root audio 116, 33 Oct 20 00:10 /dev/snd/timer

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



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

* Re: No sound after suspend-to-ram
  2015-10-22  8:38 No sound after suspend-to-ram George Gugulea
@ 2015-10-22 15:15 ` Takashi Iwai
  2015-10-22 21:23   ` George Gugulea
  0 siblings, 1 reply; 16+ messages in thread
From: Takashi Iwai @ 2015-10-22 15:15 UTC (permalink / raw)
  To: George Gugulea; +Cc: alsa-devel

On Thu, 22 Oct 2015 10:38:37 +0200,
George Gugulea wrote:
> 
> After a fresh reboot, the sound works ok but if I put the computer to
> sleep (pm-suspend), after it wakes up there is no sound anymore.
> 
> I did try 'alsa force-reload' after suspend but still no sound.
> After 'pm-hibernate' sound is back again.
> 
> I found an old thread here:
> https://bugzilla.kernel.org/show_bug.cgi?id=49421 where Michael seems
> to have the same problem which is still unsolved; maybe I can help
> with more info.
> 
> I attached the 'alsa-info.sh' output before and after suspend:
> 'alsa-info.txt.before' and 'alsa-info.txt.after' (as a patch to stay
> below 80k mail size rule: diff -u alsa-info.txt.before
> alsa-info.txt.after > alsa-info.txt.patch)
> 
> The only difference between before and after is this one:
> @@ -241,7 +241,7 @@
>  Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In
>    Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
>    Amp-In vals:  [0x12 0x12]
> -  Converter: stream=4, channel=0
> +  Converter: stream=0, channel=0
>    SDI-Select: 0
>    PCM:
>      rates [0x160]: 44100 48000 96000
> 
> 
> The PC is here: http://www.dell.com/us/p/xps-27-2720-aio/pd?ref=PD_OC,
> but the 2y older version with no touch
> 
> If I boot into windows (8.1) everything works great, including sound
> (even after suspend)

Did you test with 4.3-rc kernel?  3.19 is very old.

It's likely codec-specific stuff, as there is no difference seen in
alsa-info.sh outputs (the converter is the value assigned dynamically
at playback, so it doesn't matter at all).


Takashi

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

* Re: No sound after suspend-to-ram
  2015-10-22 15:15 ` Takashi Iwai
@ 2015-10-22 21:23   ` George Gugulea
  2015-10-23  7:30     ` Takashi Iwai
  0 siblings, 1 reply; 16+ messages in thread
From: George Gugulea @ 2015-10-22 21:23 UTC (permalink / raw)
  To: alsa-devel

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

I did now with 4.3.0-rc6 and there is the same problem.
I reattached the two outputs, before and after (as a patch) suspend-to-ram:
diff -u alsa-info.txt.4.3-rc6.before alsa-info.txt.4.3-rc6.after >
alsa-info.txt.4.3-rc6.patch



On Thu, Oct 22, 2015 at 6:15 PM, Takashi Iwai <tiwai@suse.de> wrote:
> On Thu, 22 Oct 2015 10:38:37 +0200,
> George Gugulea wrote:
>>
>> After a fresh reboot, the sound works ok but if I put the computer to
>> sleep (pm-suspend), after it wakes up there is no sound anymore.
>>
>> I did try 'alsa force-reload' after suspend but still no sound.
>> After 'pm-hibernate' sound is back again.
>>
>> I found an old thread here:
>> https://bugzilla.kernel.org/show_bug.cgi?id=49421 where Michael seems
>> to have the same problem which is still unsolved; maybe I can help
>> with more info.
>>
>> I attached the 'alsa-info.sh' output before and after suspend:
>> 'alsa-info.txt.before' and 'alsa-info.txt.after' (as a patch to stay
>> below 80k mail size rule: diff -u alsa-info.txt.before
>> alsa-info.txt.after > alsa-info.txt.patch)
>>
>> The only difference between before and after is this one:
>> @@ -241,7 +241,7 @@
>>  Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In
>>    Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
>>    Amp-In vals:  [0x12 0x12]
>> -  Converter: stream=4, channel=0
>> +  Converter: stream=0, channel=0
>>    SDI-Select: 0
>>    PCM:
>>      rates [0x160]: 44100 48000 96000
>>
>>
>> The PC is here: http://www.dell.com/us/p/xps-27-2720-aio/pd?ref=PD_OC,
>> but the 2y older version with no touch
>>
>> If I boot into windows (8.1) everything works great, including sound
>> (even after suspend)
>
> Did you test with 4.3-rc kernel?  3.19 is very old.
>
> It's likely codec-specific stuff, as there is no difference seen in
> alsa-info.sh outputs (the converter is the value assigned dynamically
> at playback, so it doesn't matter at all).
>
>
> Takashi



-- 
gg

[-- Attachment #2: alsa-info.txt.4.3-rc6.before --]
[-- Type: application/octet-stream, Size: 31457 bytes --]

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

!!Script ran on: Thu Oct 22 20:41:23 UTC 2015


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

Ubuntu 14.04.3 LTS \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS" NAME="Ubuntu" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 14.04.3 LTS" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"


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

Manufacturer:      Dell Inc.
Product Name:      XPS One 2710
Product Version:   00
Firmware Version:  A12


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

Kernel release:    4.3.0-rc6
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         x86_64
SMP Enabled:       Yes


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

Driver version:     k4.3.0-rc6
Library version:    1.0.27.2
Utilities version:  1.0.27.2


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

snd_hda_intel


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

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes


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

 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7c10000 irq 39


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

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


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

00:1b.0 0403: 8086:1e20 (rev 04)
	Subsystem: 1028:054b


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

snd_atiixp_modem: index=-2
snd_intel8x0m: index=-2
snd_via82xx_modem: index=-2
snd_usb_audio: index=-2
snd_usb_caiaq: index=-2
snd_usb_ua101: index=-2
snd_usb_us122l: index=-2
snd_usb_usx2y: index=-2
snd_cmipci: mpu_port=0x330 fm_port=0x388
snd_pcsp: index=-2
snd_usb_audio: index=-2


!!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 : N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
	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 : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : N
	snoop : -1


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

Codec: Realtek ALC3260
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0275
Subsystem Id: 0x1028054b
Revision Id: 0x100008
No Modem Function Group found
Default PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    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 CLKSTOP EPSS
  Power: setting=D0, actual=D0
GPIO: io=4, o=0, i=0, unsolicited=1, wake=1
  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 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="ALC3260 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x3f, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x25 0x25]
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x3f, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x25 0x25]
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
Node 0x07 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  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="ALC3260 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x11 0x11]
  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 EPSS
  Power: setting=D3, actual=D3
  Connection: 1
     0x24
Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x90 0x90]
  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 EPSS
  Power: setting=D3, actual=D3
  Connection: 1
     0x23
Node 0x09 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Beep Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  Control: name="Beep Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 5
     0x18 0x19 0x1a 0x1b 0x1d
Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010a: Mono Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00] [0x80]
  Connection: 2
     0x0c 0x0d
Node 0x0f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x11 0x11]
  Converter: stream=1, 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 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x22
Node 0x12 [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
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x02 0x02]
  Pincap 0x00000020: IN
  Pin Default 0x99a30930: [Fixed] Mic at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x13 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
Node 0x14 [Pin Complex] wcaps 0x40050d: Stereo Amp-Out
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00010050: OUT EAPD Balanced
  EAPD 0x2: EAPD
  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 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c 0x0d*
Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001001c: OUT HP EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x0321441f: [Jack] HP Out at Ext Left
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
  Connection: 2
     0x0c* 0x0d
Node 0x16 [Pin Complex] wcaps 0x40050c: Mono Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80]
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
  Connection: 1
     0x0e
Node 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x18 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003734: IN OUT Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x03a19820: [Jack] Mic at Ext Left
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
  Connection: 2
     0x0c* 0x0d
Node 0x19 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003734: IN OUT Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
  Connection: 2
     0x0c* 0x0d
Node 0x1a [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000373c: IN OUT HP Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
  Connection: 2
     0x0c* 0x0d
Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003734: IN OUT Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
  Connection: 2
     0x0c* 0x0d
Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1d [Pin Complex] wcaps 0x400400: Mono
  Pincap 0x00000020: IN
  Pin Default 0x4016862d: [N/A] Speaker at Ext N/A
    Conn = Digital, Color = Purple
    DefAssociation = 0x2, Sequence = 0xd
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
Node 0x1e [Pin Complex] wcaps 0x400701: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
  Connection: 1
     0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=64
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x12* 0x13
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 6
     0x18 0x19 0x1a 0x1b 0x1d 0x0b
Node 0x24 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 6
     0x18 0x19 0x1a 0x1b 0x1d 0x0b
Codec: Intel PantherPoint HDMI
Address: 3
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x80862806
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="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
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x80]
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x58560020: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  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
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x80]
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x58560030: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  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 Oct 22 23:40 /dev/snd/controlC0
crw-rw----+ 1 root audio 116,  6 Oct 22 23:40 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116,  7 Oct 22 23:40 /dev/snd/hwC0D3
crw-rw----+ 1 root audio 116,  4 Oct 22 23:40 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116,  3 Oct 22 23:40 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116,  5 Oct 22 23:40 /dev/snd/pcmC0D3p
crw-rw----+ 1 root audio 116,  1 Oct 22 23:40 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Oct 22 23:40 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Oct 22 23:40 .
drwxr-xr-x 3 root root 220 Oct 22 23:40 ..
lrwxrwxrwx 1 root root  12 Oct 22 23:40 pci-0000:00:1b.0 -> ../controlC0


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

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC3260 Analog [ALC3260 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

ARECORD

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

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

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

Card hw:0 'PCH'/'HDA Intel PCH at 0xf7c10000 irq 39'
  Mixer name	: 'Intel PantherPoint HDMI'
  Components	: 'HDA:10ec0275,1028054b,00100008 HDA:80862806,80860101,00100000'
  Controls      : 29
  Simple ctrls  : 11
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 38 [59%] [-26.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 63 [98%] [0.00dB] [on]
  Front Right: Playback 63 [98%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 63 [98%] [0.00dB] [on]
  Front Right: Playback 63 [98%] [0.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',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [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 'Beep',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 17 [37%] [0.00dB] [on]
  Front Right: Capture 17 [37%] [0.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 2 [67%] [20.00dB]
  Front Right: 2 [67%] [20.00dB]


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

--startcollapse--
state.PCH {
	control.1 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 63
		value.1 63
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6300
			dbmax 100
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.2 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.3 {
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 63
		value.1 63
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6300
			dbmax 100
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.4 {
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.5 {
		iface MIXER
		name 'Mic Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.6 {
		iface MIXER
		name 'Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.7 {
		iface MIXER
		name 'Auto-Mute Mode'
		value Enabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.8 {
		iface MIXER
		name 'Capture Volume'
		value.0 17
		value.1 17
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 46'
			dbmin -1700
			dbmax 2900
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.9 {
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.10 {
		iface MIXER
		name 'Mic Boost Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.11 {
		iface MIXER
		name 'Internal Mic Boost Volume'
		value.0 2
		value.1 2
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 2000
			dbvalue.1 2000
		}
	}
	control.12 {
		iface MIXER
		name 'Master Playback Volume'
		value 38
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 -2600
		}
	}
	control.13 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			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 'Internal Mic Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.16 {
		iface CARD
		name 'Headphone Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.17 {
		iface CARD
		name 'Speaker Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.18 {
		iface MIXER
		name 'Beep Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.19 {
		iface MIXER
		name 'Beep Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.20 {
		iface PCM
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.21 {
		iface PCM
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.22 {
		iface 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 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.29 {
		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
		}
	}
}
--endcollapse--


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

Module
cmac
rfcomm
bnep
nls_iso8859_1
arc4
ath9k
ath9k_common
ath9k_hw
i915
ath
mac80211
snd_hda_codec_hdmi
snd_hda_codec_realtek
snd_hda_codec_generic
snd_hda_intel
snd_hda_codec
snd_hda_core
snd_hwdep
snd_pcm
drm_kms_helper
intel_rapl
iosf_mbi
ath3k
x86_pkg_temp_thermal
intel_powerclamp
btusb
coretemp
snd_seq_midi
btrtl
kvm_intel
joydev
snd_seq_midi_event
btbcm
cfg80211
uvcvideo
drm
kvm
snd_rawmidi
btintel
hid_generic
bluetooth
dell_wmi_aio
sparse_keymap
videobuf2_vmalloc
snd_seq
videobuf2_memops
videobuf2_core
v4l2_common
dcdbas
videodev
crct10dif_pclmul
snd_seq_device
usbhid
crc32_pclmul
snd_timer
aesni_intel
snd
hid
mei_me
aes_x86_64
media
rtsx_pci_ms
lrw
ses
gf128mul
mei
ir_lirc_codec
memstick
glue_helper
enclosure
lirc_dev
ir_xmp_decoder
ablk_helper
ir_mce_kbd_decoder
ir_sharp_decoder
cryptd
ir_sanyo_decoder
i2c_algo_bit
ir_sony_decoder
ir_jvc_decoder
ir_rc5_decoder
ir_rc6_decoder
fb_sys_fops
serio_raw
ir_nec_decoder
syscopyarea
soundcore
ie31200_edac
parport_pc
shpchp
sysfillrect
edac_core
sysimgblt
lpc_ich
ppdev
rc_rc6_mce
fintek_cir
lp
wmi
rc_core
parport
mac_hid
8250_fintek
video
uas
usb_storage
rtsx_pci_sdmmc
psmouse
ahci
sdhci_pci
alx
rtsx_pci
libahci
sdhci
mdio
floppy


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

/sys/class/sound/hwC0D0/init_pin_configs:
0x12 0x99a30930
0x13 0x411111f0
0x14 0x90170110
0x15 0x0321441f
0x16 0x411111f0
0x18 0x03a19820
0x19 0x411111f0
0x1a 0x411111f0
0x1b 0x411111f0
0x1d 0x4016862d
0x1e 0x411111f0

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D0/hints:

/sys/class/sound/hwC0D3/init_pin_configs:
0x05 0x18560010
0x06 0x58560020
0x07 0x58560030

/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
!!--------------

[    4.448418] intel_rapl: Found RAPL domain uncore
[    4.532425] snd_hda_intel 0000:00:1b.0: enabling device (0000 -> 0002)
[    4.560909] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3260: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    4.560913] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.560916] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x15/0x0/0x0/0x0/0x0)
[    4.560916] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    4.560917] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    4.560919] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x18
[    4.560920] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
[    4.580012] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[    4.580071] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[    4.580124] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
[    4.726336] [drm] Memory usable by graphics device = 2048M



[-- Attachment #3: alsa-info.txt.4.3-rc6.patch --]
[-- Type: text/x-patch, Size: 5440 bytes --]

--- alsa-info.txt.4.3-rc6.before	2015-10-22 23:41:24.265081408 +0300
+++ alsa-info.txt.4.3-rc6.after	2015-10-22 23:46:30.584791012 +0300
@@ -3,7 +3,7 @@
 !!ALSA Information Script v 0.4.64
 !!################################
 
-!!Script ran on: Thu Oct 22 20:41:23 UTC 2015
+!!Script ran on: Thu Oct 22 20:46:30 UTC 2015
 
 
 !!Linux Distribution
@@ -142,26 +142,26 @@
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   Device: name="ALC3260 Analog", type="Audio", device=0
   Amp-Out caps: ofs=0x3f, nsteps=0x40, stepsize=0x03, mute=0
-  Amp-Out vals:  [0x25 0x25]
-  Converter: stream=5, channel=0
+  Amp-Out vals:  [0x21 0x21]
+  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 EPSS
-  Power: setting=D0, actual=D0
+  Power: setting=D3, actual=D3
 Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
   Control: name="Speaker Playback Volume", index=0, device=0
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   Amp-Out caps: ofs=0x3f, nsteps=0x40, stepsize=0x03, mute=0
-  Amp-Out vals:  [0x25 0x25]
-  Converter: stream=5, channel=0
+  Amp-Out vals:  [0x21 0x21]
+  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 EPSS
-  Power: setting=D0, actual=D0
+  Power: setting=D3, actual=D3
 Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
 Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
 Node 0x06 [Audio Output] wcaps 0x611: Stereo Digital
@@ -182,7 +182,7 @@
     ControlAmp: chs=3, dir=In, idx=0, ofs=0
   Device: name="ALC3260 Analog", type="Audio", device=0
   Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
-  Amp-In vals:  [0x11 0x11]
+  Amp-In vals:  [0x10 0x10]
   Converter: stream=0, channel=0
   SDI-Select: 0
   PCM:
@@ -240,7 +240,7 @@
 Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
 Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In
   Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
-  Amp-In vals:  [0x11 0x11]
+  Amp-In vals:  [0x10 0x10]
   Converter: stream=1, channel=0
   SDI-Select: 0
   PCM:
@@ -288,7 +288,7 @@
     Misc = NO_PRESENCE
   Pin-ctls: 0x40: OUT
   Power states:  D0 D1 D2 D3 EPSS
-  Power: setting=D0, actual=D0
+  Power: setting=D3, actual=D3
   Connection: 2
      0x0c 0x0d*
 Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
@@ -531,8 +531,8 @@
 crw-rw----+ 1 root audio 116,  2 Oct 22 23:40 /dev/snd/controlC0
 crw-rw----+ 1 root audio 116,  6 Oct 22 23:40 /dev/snd/hwC0D0
 crw-rw----+ 1 root audio 116,  7 Oct 22 23:40 /dev/snd/hwC0D3
-crw-rw----+ 1 root audio 116,  4 Oct 22 23:40 /dev/snd/pcmC0D0c
-crw-rw----+ 1 root audio 116,  3 Oct 22 23:40 /dev/snd/pcmC0D0p
+crw-rw----+ 1 root audio 116,  4 Oct 22 23:46 /dev/snd/pcmC0D0c
+crw-rw----+ 1 root audio 116,  3 Oct 22 23:45 /dev/snd/pcmC0D0p
 crw-rw----+ 1 root audio 116,  5 Oct 22 23:40 /dev/snd/pcmC0D3p
 crw-rw----+ 1 root audio 116,  1 Oct 22 23:40 /dev/snd/seq
 crw-rw----+ 1 root audio 116, 33 Oct 22 23:40 /dev/snd/timer
@@ -578,7 +578,7 @@
   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
   Playback channels: Mono
   Limits: Playback 0 - 64
-  Mono: Playback 38 [59%] [-26.00dB] [on]
+  Mono: Playback 34 [53%] [-30.00dB] [on]
 Simple mixer control 'Headphone',0
   Capabilities: pvolume pswitch
   Playback channels: Front Left - Front Right
@@ -598,8 +598,8 @@
   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]
+  Front Left: Playback 253 [99%] [-0.40dB]
+  Front Right: Playback 253 [99%] [-0.40dB]
 Simple mixer control 'Mic',0
   Capabilities: pvolume pswitch
   Playback channels: Front Left - Front Right
@@ -629,8 +629,8 @@
   Capabilities: cvolume cswitch
   Capture channels: Front Left - Front Right
   Limits: Capture 0 - 46
-  Front Left: Capture 17 [37%] [0.00dB] [on]
-  Front Right: Capture 17 [37%] [0.00dB] [on]
+  Front Left: Capture 16 [35%] [-1.00dB] [on]
+  Front Right: Capture 16 [35%] [-1.00dB] [on]
 Simple mixer control 'Auto-Mute Mode',0
   Capabilities: enum
   Items: 'Disabled' 'Enabled'
@@ -745,8 +745,8 @@
 	control.8 {
 		iface MIXER
 		name 'Capture Volume'
-		value.0 17
-		value.1 17
+		value.0 16
+		value.1 16
 		comment {
 			access 'read write'
 			type INTEGER
@@ -754,8 +754,8 @@
 			range '0 - 46'
 			dbmin -1700
 			dbmax 2900
-			dbvalue.0 0
-			dbvalue.1 0
+			dbvalue.0 -100
+			dbvalue.1 -100
 		}
 	}
 	control.9 {
@@ -804,7 +804,7 @@
 	control.12 {
 		iface MIXER
 		name 'Master Playback Volume'
-		value 38
+		value 34
 		comment {
 			access 'read write'
 			type INTEGER
@@ -812,7 +812,7 @@
 			range '0 - 64'
 			dbmin -6400
 			dbmax 0
-			dbvalue.0 -2600
+			dbvalue.0 -3000
 		}
 	}
 	control.13 {
@@ -999,8 +999,8 @@
 	control.29 {
 		iface MIXER
 		name 'PCM Playback Volume'
-		value.0 255
-		value.1 255
+		value.0 253
+		value.1 253
 		comment {
 			access 'read write user'
 			type INTEGER
@@ -1009,8 +1009,8 @@
 			tlv '0000000100000008ffffec1400000014'
 			dbmin -5100
 			dbmax 0
-			dbvalue.0 0
-			dbvalue.1 0
+			dbvalue.0 -40
+			dbvalue.1 -40
 		}
 	}
 }
@@ -1021,6 +1021,8 @@
 !!------------------
 
 Module
+alx
+mdio
 cmac
 rfcomm
 bnep
@@ -1131,11 +1133,9 @@
 psmouse
 ahci
 sdhci_pci
-alx
 rtsx_pci
 libahci
 sdhci
-mdio
 floppy
 
 

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



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

* Re: No sound after suspend-to-ram
  2015-10-22 21:23   ` George Gugulea
@ 2015-10-23  7:30     ` Takashi Iwai
  2015-10-23  7:34       ` Takashi Iwai
  2015-10-23  8:28       ` Kailang
  0 siblings, 2 replies; 16+ messages in thread
From: Takashi Iwai @ 2015-10-23  7:30 UTC (permalink / raw)
  To: George Gugulea; +Cc: alsa-devel, Kailang Yang

On Thu, 22 Oct 2015 23:23:05 +0200,
George Gugulea wrote:
> 
> I did now with 4.3.0-rc6 and there is the same problem.
> I reattached the two outputs, before and after (as a patch) suspend-to-ram:
> diff -u alsa-info.txt.4.3-rc6.before alsa-info.txt.4.3-rc6.after >
> alsa-info.txt.4.3-rc6.patch

OK, so we need to hunt more.

Kailang, could you check whether anything missing for this codec?
The symptom appears like the COEF thingy you fixed by extra init
verbs.


thanks,

Takashi

> 
> 
> 
> On Thu, Oct 22, 2015 at 6:15 PM, Takashi Iwai <tiwai@suse.de> wrote:
> > On Thu, 22 Oct 2015 10:38:37 +0200,
> > George Gugulea wrote:
> >>
> >> After a fresh reboot, the sound works ok but if I put the computer to
> >> sleep (pm-suspend), after it wakes up there is no sound anymore.
> >>
> >> I did try 'alsa force-reload' after suspend but still no sound.
> >> After 'pm-hibernate' sound is back again.
> >>
> >> I found an old thread here:
> >> https://bugzilla.kernel.org/show_bug.cgi?id=49421 where Michael seems
> >> to have the same problem which is still unsolved; maybe I can help
> >> with more info.
> >>
> >> I attached the 'alsa-info.sh' output before and after suspend:
> >> 'alsa-info.txt.before' and 'alsa-info.txt.after' (as a patch to stay
> >> below 80k mail size rule: diff -u alsa-info.txt.before
> >> alsa-info.txt.after > alsa-info.txt.patch)
> >>
> >> The only difference between before and after is this one:
> >> @@ -241,7 +241,7 @@
> >>  Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In
> >>    Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
> >>    Amp-In vals:  [0x12 0x12]
> >> -  Converter: stream=4, channel=0
> >> +  Converter: stream=0, channel=0
> >>    SDI-Select: 0
> >>    PCM:
> >>      rates [0x160]: 44100 48000 96000
> >>
> >>
> >> The PC is here: http://www.dell.com/us/p/xps-27-2720-aio/pd?ref=PD_OC,
> >> but the 2y older version with no touch
> >>
> >> If I boot into windows (8.1) everything works great, including sound
> >> (even after suspend)
> >
> > Did you test with 4.3-rc kernel?  3.19 is very old.
> >
> > It's likely codec-specific stuff, as there is no difference seen in
> > alsa-info.sh outputs (the converter is the value assigned dynamically
> > at playback, so it doesn't matter at all).
> >
> >
> > Takashi
> 
> 
> 
> -- 
> gg
> [2 alsa-info.txt.4.3-rc6.before <application/octet-stream (base64)>]
> 
> --- alsa-info.txt.4.3-rc6.before	2015-10-22 23:41:24.265081408 +0300
> +++ alsa-info.txt.4.3-rc6.after	2015-10-22 23:46:30.584791012 +0300
> @@ -3,7 +3,7 @@
>  !!ALSA Information Script v 0.4.64
>  !!################################
>  
> -!!Script ran on: Thu Oct 22 20:41:23 UTC 2015
> +!!Script ran on: Thu Oct 22 20:46:30 UTC 2015
>  
>  
>  !!Linux Distribution
> @@ -142,26 +142,26 @@
>      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>    Device: name="ALC3260 Analog", type="Audio", device=0
>    Amp-Out caps: ofs=0x3f, nsteps=0x40, stepsize=0x03, mute=0
> -  Amp-Out vals:  [0x25 0x25]
> -  Converter: stream=5, channel=0
> +  Amp-Out vals:  [0x21 0x21]
> +  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 EPSS
> -  Power: setting=D0, actual=D0
> +  Power: setting=D3, actual=D3
>  Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
>    Control: name="Speaker Playback Volume", index=0, device=0
>      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>    Amp-Out caps: ofs=0x3f, nsteps=0x40, stepsize=0x03, mute=0
> -  Amp-Out vals:  [0x25 0x25]
> -  Converter: stream=5, channel=0
> +  Amp-Out vals:  [0x21 0x21]
> +  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 EPSS
> -  Power: setting=D0, actual=D0
> +  Power: setting=D3, actual=D3
>  Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
>  Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
>  Node 0x06 [Audio Output] wcaps 0x611: Stereo Digital
> @@ -182,7 +182,7 @@
>      ControlAmp: chs=3, dir=In, idx=0, ofs=0
>    Device: name="ALC3260 Analog", type="Audio", device=0
>    Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
> -  Amp-In vals:  [0x11 0x11]
> +  Amp-In vals:  [0x10 0x10]
>    Converter: stream=0, channel=0
>    SDI-Select: 0
>    PCM:
> @@ -240,7 +240,7 @@
>  Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
>  Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In
>    Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
> -  Amp-In vals:  [0x11 0x11]
> +  Amp-In vals:  [0x10 0x10]
>    Converter: stream=1, channel=0
>    SDI-Select: 0
>    PCM:
> @@ -288,7 +288,7 @@
>      Misc = NO_PRESENCE
>    Pin-ctls: 0x40: OUT
>    Power states:  D0 D1 D2 D3 EPSS
> -  Power: setting=D0, actual=D0
> +  Power: setting=D3, actual=D3
>    Connection: 2
>       0x0c 0x0d*
>  Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
> @@ -531,8 +531,8 @@
>  crw-rw----+ 1 root audio 116,  2 Oct 22 23:40 /dev/snd/controlC0
>  crw-rw----+ 1 root audio 116,  6 Oct 22 23:40 /dev/snd/hwC0D0
>  crw-rw----+ 1 root audio 116,  7 Oct 22 23:40 /dev/snd/hwC0D3
> -crw-rw----+ 1 root audio 116,  4 Oct 22 23:40 /dev/snd/pcmC0D0c
> -crw-rw----+ 1 root audio 116,  3 Oct 22 23:40 /dev/snd/pcmC0D0p
> +crw-rw----+ 1 root audio 116,  4 Oct 22 23:46 /dev/snd/pcmC0D0c
> +crw-rw----+ 1 root audio 116,  3 Oct 22 23:45 /dev/snd/pcmC0D0p
>  crw-rw----+ 1 root audio 116,  5 Oct 22 23:40 /dev/snd/pcmC0D3p
>  crw-rw----+ 1 root audio 116,  1 Oct 22 23:40 /dev/snd/seq
>  crw-rw----+ 1 root audio 116, 33 Oct 22 23:40 /dev/snd/timer
> @@ -578,7 +578,7 @@
>    Capabilities: pvolume pvolume-joined pswitch pswitch-joined
>    Playback channels: Mono
>    Limits: Playback 0 - 64
> -  Mono: Playback 38 [59%] [-26.00dB] [on]
> +  Mono: Playback 34 [53%] [-30.00dB] [on]
>  Simple mixer control 'Headphone',0
>    Capabilities: pvolume pswitch
>    Playback channels: Front Left - Front Right
> @@ -598,8 +598,8 @@
>    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]
> +  Front Left: Playback 253 [99%] [-0.40dB]
> +  Front Right: Playback 253 [99%] [-0.40dB]
>  Simple mixer control 'Mic',0
>    Capabilities: pvolume pswitch
>    Playback channels: Front Left - Front Right
> @@ -629,8 +629,8 @@
>    Capabilities: cvolume cswitch
>    Capture channels: Front Left - Front Right
>    Limits: Capture 0 - 46
> -  Front Left: Capture 17 [37%] [0.00dB] [on]
> -  Front Right: Capture 17 [37%] [0.00dB] [on]
> +  Front Left: Capture 16 [35%] [-1.00dB] [on]
> +  Front Right: Capture 16 [35%] [-1.00dB] [on]
>  Simple mixer control 'Auto-Mute Mode',0
>    Capabilities: enum
>    Items: 'Disabled' 'Enabled'
> @@ -745,8 +745,8 @@
>  	control.8 {
>  		iface MIXER
>  		name 'Capture Volume'
> -		value.0 17
> -		value.1 17
> +		value.0 16
> +		value.1 16
>  		comment {
>  			access 'read write'
>  			type INTEGER
> @@ -754,8 +754,8 @@
>  			range '0 - 46'
>  			dbmin -1700
>  			dbmax 2900
> -			dbvalue.0 0
> -			dbvalue.1 0
> +			dbvalue.0 -100
> +			dbvalue.1 -100
>  		}
>  	}
>  	control.9 {
> @@ -804,7 +804,7 @@
>  	control.12 {
>  		iface MIXER
>  		name 'Master Playback Volume'
> -		value 38
> +		value 34
>  		comment {
>  			access 'read write'
>  			type INTEGER
> @@ -812,7 +812,7 @@
>  			range '0 - 64'
>  			dbmin -6400
>  			dbmax 0
> -			dbvalue.0 -2600
> +			dbvalue.0 -3000
>  		}
>  	}
>  	control.13 {
> @@ -999,8 +999,8 @@
>  	control.29 {
>  		iface MIXER
>  		name 'PCM Playback Volume'
> -		value.0 255
> -		value.1 255
> +		value.0 253
> +		value.1 253
>  		comment {
>  			access 'read write user'
>  			type INTEGER
> @@ -1009,8 +1009,8 @@
>  			tlv '0000000100000008ffffec1400000014'
>  			dbmin -5100
>  			dbmax 0
> -			dbvalue.0 0
> -			dbvalue.1 0
> +			dbvalue.0 -40
> +			dbvalue.1 -40
>  		}
>  	}
>  }
> @@ -1021,6 +1021,8 @@
>  !!------------------
>  
>  Module
> +alx
> +mdio
>  cmac
>  rfcomm
>  bnep
> @@ -1131,11 +1133,9 @@
>  psmouse
>  ahci
>  sdhci_pci
> -alx
>  rtsx_pci
>  libahci
>  sdhci
> -mdio
>  floppy
>  
>  
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: No sound after suspend-to-ram
  2015-10-23  7:30     ` Takashi Iwai
@ 2015-10-23  7:34       ` Takashi Iwai
  2015-10-23  8:28       ` Kailang
  1 sibling, 0 replies; 16+ messages in thread
From: Takashi Iwai @ 2015-10-23  7:34 UTC (permalink / raw)
  To: George Gugulea; +Cc: alsa-devel, Kailang Yang

On Fri, 23 Oct 2015 09:30:38 +0200,
Takashi Iwai wrote:
> 
> On Thu, 22 Oct 2015 23:23:05 +0200,
> George Gugulea wrote:
> > 
> > I did now with 4.3.0-rc6 and there is the same problem.
> > I reattached the two outputs, before and after (as a patch) suspend-to-ram:
> > diff -u alsa-info.txt.4.3-rc6.before alsa-info.txt.4.3-rc6.after >
> > alsa-info.txt.4.3-rc6.patch
> 
> OK, so we need to hunt more.
> 
> Kailang, could you check whether anything missing for this codec?
> The symptom appears like the COEF thingy you fixed by extra init
> verbs.

One thing I forgot George can test easily.  After reboot, enable proc
coef dump via
	echo 1 > /sys/modules/snd_hda_codec/parameters/dump_coef

Then get alsa-info.sh before and after PM.  Now likely you'll get more
differences.  The coef values can be updated even manually from
user-space, e.g. via hda-verb.


Takashi

> 
> 
> thanks,
> 
> Takashi
> 
> > 
> > 
> > 
> > On Thu, Oct 22, 2015 at 6:15 PM, Takashi Iwai <tiwai@suse.de> wrote:
> > > On Thu, 22 Oct 2015 10:38:37 +0200,
> > > George Gugulea wrote:
> > >>
> > >> After a fresh reboot, the sound works ok but if I put the computer to
> > >> sleep (pm-suspend), after it wakes up there is no sound anymore.
> > >>
> > >> I did try 'alsa force-reload' after suspend but still no sound.
> > >> After 'pm-hibernate' sound is back again.
> > >>
> > >> I found an old thread here:
> > >> https://bugzilla.kernel.org/show_bug.cgi?id=49421 where Michael seems
> > >> to have the same problem which is still unsolved; maybe I can help
> > >> with more info.
> > >>
> > >> I attached the 'alsa-info.sh' output before and after suspend:
> > >> 'alsa-info.txt.before' and 'alsa-info.txt.after' (as a patch to stay
> > >> below 80k mail size rule: diff -u alsa-info.txt.before
> > >> alsa-info.txt.after > alsa-info.txt.patch)
> > >>
> > >> The only difference between before and after is this one:
> > >> @@ -241,7 +241,7 @@
> > >>  Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In
> > >>    Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
> > >>    Amp-In vals:  [0x12 0x12]
> > >> -  Converter: stream=4, channel=0
> > >> +  Converter: stream=0, channel=0
> > >>    SDI-Select: 0
> > >>    PCM:
> > >>      rates [0x160]: 44100 48000 96000
> > >>
> > >>
> > >> The PC is here: http://www.dell.com/us/p/xps-27-2720-aio/pd?ref=PD_OC,
> > >> but the 2y older version with no touch
> > >>
> > >> If I boot into windows (8.1) everything works great, including sound
> > >> (even after suspend)
> > >
> > > Did you test with 4.3-rc kernel?  3.19 is very old.
> > >
> > > It's likely codec-specific stuff, as there is no difference seen in
> > > alsa-info.sh outputs (the converter is the value assigned dynamically
> > > at playback, so it doesn't matter at all).
> > >
> > >
> > > Takashi
> > 
> > 
> > 
> > -- 
> > gg
> > [2 alsa-info.txt.4.3-rc6.before <application/octet-stream (base64)>]
> > 
> > --- alsa-info.txt.4.3-rc6.before	2015-10-22 23:41:24.265081408 +0300
> > +++ alsa-info.txt.4.3-rc6.after	2015-10-22 23:46:30.584791012 +0300
> > @@ -3,7 +3,7 @@
> >  !!ALSA Information Script v 0.4.64
> >  !!################################
> >  
> > -!!Script ran on: Thu Oct 22 20:41:23 UTC 2015
> > +!!Script ran on: Thu Oct 22 20:46:30 UTC 2015
> >  
> >  
> >  !!Linux Distribution
> > @@ -142,26 +142,26 @@
> >      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >    Device: name="ALC3260 Analog", type="Audio", device=0
> >    Amp-Out caps: ofs=0x3f, nsteps=0x40, stepsize=0x03, mute=0
> > -  Amp-Out vals:  [0x25 0x25]
> > -  Converter: stream=5, channel=0
> > +  Amp-Out vals:  [0x21 0x21]
> > +  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 EPSS
> > -  Power: setting=D0, actual=D0
> > +  Power: setting=D3, actual=D3
> >  Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
> >    Control: name="Speaker Playback Volume", index=0, device=0
> >      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >    Amp-Out caps: ofs=0x3f, nsteps=0x40, stepsize=0x03, mute=0
> > -  Amp-Out vals:  [0x25 0x25]
> > -  Converter: stream=5, channel=0
> > +  Amp-Out vals:  [0x21 0x21]
> > +  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 EPSS
> > -  Power: setting=D0, actual=D0
> > +  Power: setting=D3, actual=D3
> >  Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
> >  Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
> >  Node 0x06 [Audio Output] wcaps 0x611: Stereo Digital
> > @@ -182,7 +182,7 @@
> >      ControlAmp: chs=3, dir=In, idx=0, ofs=0
> >    Device: name="ALC3260 Analog", type="Audio", device=0
> >    Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
> > -  Amp-In vals:  [0x11 0x11]
> > +  Amp-In vals:  [0x10 0x10]
> >    Converter: stream=0, channel=0
> >    SDI-Select: 0
> >    PCM:
> > @@ -240,7 +240,7 @@
> >  Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
> >  Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In
> >    Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
> > -  Amp-In vals:  [0x11 0x11]
> > +  Amp-In vals:  [0x10 0x10]
> >    Converter: stream=1, channel=0
> >    SDI-Select: 0
> >    PCM:
> > @@ -288,7 +288,7 @@
> >      Misc = NO_PRESENCE
> >    Pin-ctls: 0x40: OUT
> >    Power states:  D0 D1 D2 D3 EPSS
> > -  Power: setting=D0, actual=D0
> > +  Power: setting=D3, actual=D3
> >    Connection: 2
> >       0x0c 0x0d*
> >  Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
> > @@ -531,8 +531,8 @@
> >  crw-rw----+ 1 root audio 116,  2 Oct 22 23:40 /dev/snd/controlC0
> >  crw-rw----+ 1 root audio 116,  6 Oct 22 23:40 /dev/snd/hwC0D0
> >  crw-rw----+ 1 root audio 116,  7 Oct 22 23:40 /dev/snd/hwC0D3
> > -crw-rw----+ 1 root audio 116,  4 Oct 22 23:40 /dev/snd/pcmC0D0c
> > -crw-rw----+ 1 root audio 116,  3 Oct 22 23:40 /dev/snd/pcmC0D0p
> > +crw-rw----+ 1 root audio 116,  4 Oct 22 23:46 /dev/snd/pcmC0D0c
> > +crw-rw----+ 1 root audio 116,  3 Oct 22 23:45 /dev/snd/pcmC0D0p
> >  crw-rw----+ 1 root audio 116,  5 Oct 22 23:40 /dev/snd/pcmC0D3p
> >  crw-rw----+ 1 root audio 116,  1 Oct 22 23:40 /dev/snd/seq
> >  crw-rw----+ 1 root audio 116, 33 Oct 22 23:40 /dev/snd/timer
> > @@ -578,7 +578,7 @@
> >    Capabilities: pvolume pvolume-joined pswitch pswitch-joined
> >    Playback channels: Mono
> >    Limits: Playback 0 - 64
> > -  Mono: Playback 38 [59%] [-26.00dB] [on]
> > +  Mono: Playback 34 [53%] [-30.00dB] [on]
> >  Simple mixer control 'Headphone',0
> >    Capabilities: pvolume pswitch
> >    Playback channels: Front Left - Front Right
> > @@ -598,8 +598,8 @@
> >    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]
> > +  Front Left: Playback 253 [99%] [-0.40dB]
> > +  Front Right: Playback 253 [99%] [-0.40dB]
> >  Simple mixer control 'Mic',0
> >    Capabilities: pvolume pswitch
> >    Playback channels: Front Left - Front Right
> > @@ -629,8 +629,8 @@
> >    Capabilities: cvolume cswitch
> >    Capture channels: Front Left - Front Right
> >    Limits: Capture 0 - 46
> > -  Front Left: Capture 17 [37%] [0.00dB] [on]
> > -  Front Right: Capture 17 [37%] [0.00dB] [on]
> > +  Front Left: Capture 16 [35%] [-1.00dB] [on]
> > +  Front Right: Capture 16 [35%] [-1.00dB] [on]
> >  Simple mixer control 'Auto-Mute Mode',0
> >    Capabilities: enum
> >    Items: 'Disabled' 'Enabled'
> > @@ -745,8 +745,8 @@
> >  	control.8 {
> >  		iface MIXER
> >  		name 'Capture Volume'
> > -		value.0 17
> > -		value.1 17
> > +		value.0 16
> > +		value.1 16
> >  		comment {
> >  			access 'read write'
> >  			type INTEGER
> > @@ -754,8 +754,8 @@
> >  			range '0 - 46'
> >  			dbmin -1700
> >  			dbmax 2900
> > -			dbvalue.0 0
> > -			dbvalue.1 0
> > +			dbvalue.0 -100
> > +			dbvalue.1 -100
> >  		}
> >  	}
> >  	control.9 {
> > @@ -804,7 +804,7 @@
> >  	control.12 {
> >  		iface MIXER
> >  		name 'Master Playback Volume'
> > -		value 38
> > +		value 34
> >  		comment {
> >  			access 'read write'
> >  			type INTEGER
> > @@ -812,7 +812,7 @@
> >  			range '0 - 64'
> >  			dbmin -6400
> >  			dbmax 0
> > -			dbvalue.0 -2600
> > +			dbvalue.0 -3000
> >  		}
> >  	}
> >  	control.13 {
> > @@ -999,8 +999,8 @@
> >  	control.29 {
> >  		iface MIXER
> >  		name 'PCM Playback Volume'
> > -		value.0 255
> > -		value.1 255
> > +		value.0 253
> > +		value.1 253
> >  		comment {
> >  			access 'read write user'
> >  			type INTEGER
> > @@ -1009,8 +1009,8 @@
> >  			tlv '0000000100000008ffffec1400000014'
> >  			dbmin -5100
> >  			dbmax 0
> > -			dbvalue.0 0
> > -			dbvalue.1 0
> > +			dbvalue.0 -40
> > +			dbvalue.1 -40
> >  		}
> >  	}
> >  }
> > @@ -1021,6 +1021,8 @@
> >  !!------------------
> >  
> >  Module
> > +alx
> > +mdio
> >  cmac
> >  rfcomm
> >  bnep
> > @@ -1131,11 +1133,9 @@
> >  psmouse
> >  ahci
> >  sdhci_pci
> > -alx
> >  rtsx_pci
> >  libahci
> >  sdhci
> > -mdio
> >  floppy
> >  
> >  
> > _______________________________________________
> > Alsa-devel mailing list
> > Alsa-devel@alsa-project.org
> > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: No sound after suspend-to-ram
  2015-10-23  7:30     ` Takashi Iwai
  2015-10-23  7:34       ` Takashi Iwai
@ 2015-10-23  8:28       ` Kailang
  2015-10-23 22:01         ` George Gugulea
  1 sibling, 1 reply; 16+ messages in thread
From: Kailang @ 2015-10-23  8:28 UTC (permalink / raw)
  To: Takashi Iwai, George Gugulea; +Cc: alsa-devel


Was speaker no sound only? Or Headphone also no sound. 

> -----Original Message-----
> From: Takashi Iwai [mailto:tiwai@suse.de] 
> Sent: Friday, October 23, 2015 3:31 PM
> To: George Gugulea
> Cc: Kailang; alsa-devel@alsa-project.org
> Subject: Re: [alsa-devel] No sound after suspend-to-ram
> 
> On Thu, 22 Oct 2015 23:23:05 +0200,
> George Gugulea wrote:
> > 
> > I did now with 4.3.0-rc6 and there is the same problem.
> > I reattached the two outputs, before and after (as a patch) 
> suspend-to-ram:
> > diff -u alsa-info.txt.4.3-rc6.before alsa-info.txt.4.3-rc6.after > 
> > alsa-info.txt.4.3-rc6.patch
> 
> OK, so we need to hunt more.
> 
> Kailang, could you check whether anything missing for this codec?
> The symptom appears like the COEF thingy you fixed by extra 
> init verbs.
> 
> 
> thanks,
> 
> Takashi
> 
> > 
> > 
> > 
> > On Thu, Oct 22, 2015 at 6:15 PM, Takashi Iwai <tiwai@suse.de> wrote:
> > > On Thu, 22 Oct 2015 10:38:37 +0200,
> > > George Gugulea wrote:
> > >>
> > >> After a fresh reboot, the sound works ok but if I put 
> the computer 
> > >> to sleep (pm-suspend), after it wakes up there is no 
> sound anymore.
> > >>
> > >> I did try 'alsa force-reload' after suspend but still no sound.
> > >> After 'pm-hibernate' sound is back again.
> > >>
> > >> I found an old thread here:
> > >> https://bugzilla.kernel.org/show_bug.cgi?id=49421 where Michael 
> > >> seems to have the same problem which is still unsolved; 
> maybe I can 
> > >> help with more info.
> > >>
> > >> I attached the 'alsa-info.sh' output before and after suspend:
> > >> 'alsa-info.txt.before' and 'alsa-info.txt.after' (as a patch to 
> > >> stay below 80k mail size rule: diff -u alsa-info.txt.before 
> > >> alsa-info.txt.after > alsa-info.txt.patch)
> > >>
> > >> The only difference between before and after is this one:
> > >> @@ -241,7 +241,7 @@
> > >>  Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In
> > >>    Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
> > >>    Amp-In vals:  [0x12 0x12]
> > >> -  Converter: stream=4, channel=0
> > >> +  Converter: stream=0, channel=0
> > >>    SDI-Select: 0
> > >>    PCM:
> > >>      rates [0x160]: 44100 48000 96000
> > >>
> > >>
> > >> The PC is here: 
> > >> http://www.dell.com/us/p/xps-27-2720-aio/pd?ref=PD_OC,
> > >> but the 2y older version with no touch
> > >>
> > >> If I boot into windows (8.1) everything works great, including 
> > >> sound (even after suspend)
> > >
> > > Did you test with 4.3-rc kernel?  3.19 is very old.
> > >
> > > It's likely codec-specific stuff, as there is no 
> difference seen in 
> > > alsa-info.sh outputs (the converter is the value assigned 
> > > dynamically at playback, so it doesn't matter at all).
> > >
> > >
> > > Takashi
> > 
> > 
> > 
> > --
> > gg
> > [2 alsa-info.txt.4.3-rc6.before <application/octet-stream (base64)>]
> > 
> > --- alsa-info.txt.4.3-rc6.before	2015-10-22 
> 23:41:24.265081408 +0300
> > +++ alsa-info.txt.4.3-rc6.after	2015-10-22 
> 23:46:30.584791012 +0300
> > @@ -3,7 +3,7 @@
> >  !!ALSA Information Script v 0.4.64
> >  !!################################
> >  
> > -!!Script ran on: Thu Oct 22 20:41:23 UTC 2015
> > +!!Script ran on: Thu Oct 22 20:46:30 UTC 2015
> >  
> >  
> >  !!Linux Distribution
> > @@ -142,26 +142,26 @@
> >      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >    Device: name="ALC3260 Analog", type="Audio", device=0
> >    Amp-Out caps: ofs=0x3f, nsteps=0x40, stepsize=0x03, mute=0
> > -  Amp-Out vals:  [0x25 0x25]
> > -  Converter: stream=5, channel=0
> > +  Amp-Out vals:  [0x21 0x21]
> > +  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 EPSS
> > -  Power: setting=D0, actual=D0
> > +  Power: setting=D3, actual=D3
> >  Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
> >    Control: name="Speaker Playback Volume", index=0, device=0
> >      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
> >    Amp-Out caps: ofs=0x3f, nsteps=0x40, stepsize=0x03, mute=0
> > -  Amp-Out vals:  [0x25 0x25]
> > -  Converter: stream=5, channel=0
> > +  Amp-Out vals:  [0x21 0x21]
> > +  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 EPSS
> > -  Power: setting=D0, actual=D0
> > +  Power: setting=D3, actual=D3
> >  Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono  Node 0x05 
> > [Vendor Defined Widget] wcaps 0xf00000: Mono  Node 0x06 
> [Audio Output] 
> > wcaps 0x611: Stereo Digital @@ -182,7 +182,7 @@
> >      ControlAmp: chs=3, dir=In, idx=0, ofs=0
> >    Device: name="ALC3260 Analog", type="Audio", device=0
> >    Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
> > -  Amp-In vals:  [0x11 0x11]
> > +  Amp-In vals:  [0x10 0x10]
> >    Converter: stream=0, channel=0
> >    SDI-Select: 0
> >    PCM:
> > @@ -240,7 +240,7 @@
> >  Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono  Node 0x11 
> > [Audio Input] wcaps 0x10051b: Stereo Amp-In
> >    Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
> > -  Amp-In vals:  [0x11 0x11]
> > +  Amp-In vals:  [0x10 0x10]
> >    Converter: stream=1, channel=0
> >    SDI-Select: 0
> >    PCM:
> > @@ -288,7 +288,7 @@
> >      Misc = NO_PRESENCE
> >    Pin-ctls: 0x40: OUT
> >    Power states:  D0 D1 D2 D3 EPSS
> > -  Power: setting=D0, actual=D0
> > +  Power: setting=D3, actual=D3
> >    Connection: 2
> >       0x0c 0x0d*
> >  Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out @@ -531,8 
> > +531,8 @@  crw-rw----+ 1 root audio 116,  2 Oct 22 23:40 
> > /dev/snd/controlC0  crw-rw----+ 1 root audio 116,  6 Oct 22 23:40 
> > /dev/snd/hwC0D0  crw-rw----+ 1 root audio 116,  7 Oct 22 23:40 
> > /dev/snd/hwC0D3
> > -crw-rw----+ 1 root audio 116,  4 Oct 22 23:40 /dev/snd/pcmC0D0c
> > -crw-rw----+ 1 root audio 116,  3 Oct 22 23:40 /dev/snd/pcmC0D0p
> > +crw-rw----+ 1 root audio 116,  4 Oct 22 23:46 /dev/snd/pcmC0D0c
> > +crw-rw----+ 1 root audio 116,  3 Oct 22 23:45 /dev/snd/pcmC0D0p
> >  crw-rw----+ 1 root audio 116,  5 Oct 22 23:40 /dev/snd/pcmC0D3p  
> > crw-rw----+ 1 root audio 116,  1 Oct 22 23:40 /dev/snd/seq  
> > crw-rw----+ 1 root audio 116, 33 Oct 22 23:40 
> /dev/snd/timer @@ -578,7 
> > +578,7 @@
> >    Capabilities: pvolume pvolume-joined pswitch pswitch-joined
> >    Playback channels: Mono
> >    Limits: Playback 0 - 64
> > -  Mono: Playback 38 [59%] [-26.00dB] [on]
> > +  Mono: Playback 34 [53%] [-30.00dB] [on]
> >  Simple mixer control 'Headphone',0
> >    Capabilities: pvolume pswitch
> >    Playback channels: Front Left - Front Right @@ -598,8 +598,8 @@
> >    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]
> > +  Front Left: Playback 253 [99%] [-0.40dB]  Front Right: 
> Playback 253 
> > + [99%] [-0.40dB]
> >  Simple mixer control 'Mic',0
> >    Capabilities: pvolume pswitch
> >    Playback channels: Front Left - Front Right @@ -629,8 +629,8 @@
> >    Capabilities: cvolume cswitch
> >    Capture channels: Front Left - Front Right
> >    Limits: Capture 0 - 46
> > -  Front Left: Capture 17 [37%] [0.00dB] [on]
> > -  Front Right: Capture 17 [37%] [0.00dB] [on]
> > +  Front Left: Capture 16 [35%] [-1.00dB] [on]  Front 
> Right: Capture 
> > + 16 [35%] [-1.00dB] [on]
> >  Simple mixer control 'Auto-Mute Mode',0
> >    Capabilities: enum
> >    Items: 'Disabled' 'Enabled'
> > @@ -745,8 +745,8 @@
> >  	control.8 {
> >  		iface MIXER
> >  		name 'Capture Volume'
> > -		value.0 17
> > -		value.1 17
> > +		value.0 16
> > +		value.1 16
> >  		comment {
> >  			access 'read write'
> >  			type INTEGER
> > @@ -754,8 +754,8 @@
> >  			range '0 - 46'
> >  			dbmin -1700
> >  			dbmax 2900
> > -			dbvalue.0 0
> > -			dbvalue.1 0
> > +			dbvalue.0 -100
> > +			dbvalue.1 -100
> >  		}
> >  	}
> >  	control.9 {
> > @@ -804,7 +804,7 @@
> >  	control.12 {
> >  		iface MIXER
> >  		name 'Master Playback Volume'
> > -		value 38
> > +		value 34
> >  		comment {
> >  			access 'read write'
> >  			type INTEGER
> > @@ -812,7 +812,7 @@
> >  			range '0 - 64'
> >  			dbmin -6400
> >  			dbmax 0
> > -			dbvalue.0 -2600
> > +			dbvalue.0 -3000
> >  		}
> >  	}
> >  	control.13 {
> > @@ -999,8 +999,8 @@
> >  	control.29 {
> >  		iface MIXER
> >  		name 'PCM Playback Volume'
> > -		value.0 255
> > -		value.1 255
> > +		value.0 253
> > +		value.1 253
> >  		comment {
> >  			access 'read write user'
> >  			type INTEGER
> > @@ -1009,8 +1009,8 @@
> >  			tlv '0000000100000008ffffec1400000014'
> >  			dbmin -5100
> >  			dbmax 0
> > -			dbvalue.0 0
> > -			dbvalue.1 0
> > +			dbvalue.0 -40
> > +			dbvalue.1 -40
> >  		}
> >  	}
> >  }
> > @@ -1021,6 +1021,8 @@
> >  !!------------------
> >  
> >  Module
> > +alx
> > +mdio
> >  cmac
> >  rfcomm
> >  bnep
> > @@ -1131,11 +1133,9 @@
> >  psmouse
> >  ahci
> >  sdhci_pci
> > -alx
> >  rtsx_pci
> >  libahci
> >  sdhci
> > -mdio
> >  floppy
> >  
> >  
> > _______________________________________________
> > Alsa-devel mailing list
> > Alsa-devel@alsa-project.org
> > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 
> ------Please consider the environment before printing this e-mail.
> 

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

* Re: No sound after suspend-to-ram
  2015-10-23  8:28       ` Kailang
@ 2015-10-23 22:01         ` George Gugulea
  2015-10-24  7:38           ` Takashi Iwai
  0 siblings, 1 reply; 16+ messages in thread
From: George Gugulea @ 2015-10-23 22:01 UTC (permalink / raw)
  To: Kailang; +Cc: Takashi Iwai, alsa-devel

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

Sure thing,

Kailang, yes, there is a side headphones jack and it does work OK
after PM suspend-to-ram

I did `echo 1 > /sys/modules/snd_hda_codec/parameters/dump_coef ` and
I attached the output but you are probably interested in this:

Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
.....
447c447
<     Coeff 0x1f: 0x00c0
---
>     Coeff 0x1f: 0x0000
464c464
<     Coeff 0x30: 0x00b1
---
>     Coeff 0x30: 0x0090

And after I reset the two processing caps, the sound is back again.

hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x1f
hda-verb /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0x00c0
hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x30
hda-verb /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0x00b1

I'm not sure that this are the correct parameters of hda-verb (because
I lack the knowledge of alsa development) but based on the result it
seems to be correct

Takashi, thanks for the hint

On Fri, Oct 23, 2015 at 11:28 AM, Kailang <kailang@realtek.com> wrote:
>
> Was speaker no sound only? Or Headphone also no sound.
>
>> -----Original Message-----
>> From: Takashi Iwai [mailto:tiwai@suse.de]
>> Sent: Friday, October 23, 2015 3:31 PM
>> To: George Gugulea
>> Cc: Kailang; alsa-devel@alsa-project.org
>> Subject: Re: [alsa-devel] No sound after suspend-to-ram
>>
>> On Thu, 22 Oct 2015 23:23:05 +0200,
>> George Gugulea wrote:
>> >
>> > I did now with 4.3.0-rc6 and there is the same problem.
>> > I reattached the two outputs, before and after (as a patch)
>> suspend-to-ram:
>> > diff -u alsa-info.txt.4.3-rc6.before alsa-info.txt.4.3-rc6.after >
>> > alsa-info.txt.4.3-rc6.patch
>>
>> OK, so we need to hunt more.
>>
>> Kailang, could you check whether anything missing for this codec?
>> The symptom appears like the COEF thingy you fixed by extra
>> init verbs.
>>
>>
>> thanks,
>>
>> Takashi
>>
>> >
>> >
>> >
>> > On Thu, Oct 22, 2015 at 6:15 PM, Takashi Iwai <tiwai@suse.de> wrote:
>> > > On Thu, 22 Oct 2015 10:38:37 +0200,
>> > > George Gugulea wrote:
>> > >>
>> > >> After a fresh reboot, the sound works ok but if I put
>> the computer
>> > >> to sleep (pm-suspend), after it wakes up there is no
>> sound anymore.
>> > >>
>> > >> I did try 'alsa force-reload' after suspend but still no sound.
>> > >> After 'pm-hibernate' sound is back again.
>> > >>
>> > >> I found an old thread here:
>> > >> https://bugzilla.kernel.org/show_bug.cgi?id=49421 where Michael
>> > >> seems to have the same problem which is still unsolved;
>> maybe I can
>> > >> help with more info.
>> > >>
>> > >> I attached the 'alsa-info.sh' output before and after suspend:
>> > >> 'alsa-info.txt.before' and 'alsa-info.txt.after' (as a patch to
>> > >> stay below 80k mail size rule: diff -u alsa-info.txt.before
>> > >> alsa-info.txt.after > alsa-info.txt.patch)
>> > >>
>> > >> The only difference between before and after is this one:
>> > >> @@ -241,7 +241,7 @@
>> > >>  Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In
>> > >>    Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
>> > >>    Amp-In vals:  [0x12 0x12]
>> > >> -  Converter: stream=4, channel=0
>> > >> +  Converter: stream=0, channel=0
>> > >>    SDI-Select: 0
>> > >>    PCM:
>> > >>      rates [0x160]: 44100 48000 96000
>> > >>
>> > >>
>> > >> The PC is here:
>> > >> http://www.dell.com/us/p/xps-27-2720-aio/pd?ref=PD_OC,
>> > >> but the 2y older version with no touch
>> > >>
>> > >> If I boot into windows (8.1) everything works great, including
>> > >> sound (even after suspend)
>> > >
>> > > Did you test with 4.3-rc kernel?  3.19 is very old.
>> > >
>> > > It's likely codec-specific stuff, as there is no
>> difference seen in
>> > > alsa-info.sh outputs (the converter is the value assigned
>> > > dynamically at playback, so it doesn't matter at all).
>> > >
>> > >
>> > > Takashi
>> >
>> >
>> >
>> > --
>> > gg
>> > [2 alsa-info.txt.4.3-rc6.before <application/octet-stream (base64)>]
>> >
>> > --- alsa-info.txt.4.3-rc6.before    2015-10-22
>> 23:41:24.265081408 +0300
>> > +++ alsa-info.txt.4.3-rc6.after     2015-10-22
>> 23:46:30.584791012 +0300
>> > @@ -3,7 +3,7 @@
>> >  !!ALSA Information Script v 0.4.64
>> >  !!################################
>> >
>> > -!!Script ran on: Thu Oct 22 20:41:23 UTC 2015
>> > +!!Script ran on: Thu Oct 22 20:46:30 UTC 2015
>> >
>> >
>> >  !!Linux Distribution
>> > @@ -142,26 +142,26 @@
>> >      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>> >    Device: name="ALC3260 Analog", type="Audio", device=0
>> >    Amp-Out caps: ofs=0x3f, nsteps=0x40, stepsize=0x03, mute=0
>> > -  Amp-Out vals:  [0x25 0x25]
>> > -  Converter: stream=5, channel=0
>> > +  Amp-Out vals:  [0x21 0x21]
>> > +  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 EPSS
>> > -  Power: setting=D0, actual=D0
>> > +  Power: setting=D3, actual=D3
>> >  Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
>> >    Control: name="Speaker Playback Volume", index=0, device=0
>> >      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>> >    Amp-Out caps: ofs=0x3f, nsteps=0x40, stepsize=0x03, mute=0
>> > -  Amp-Out vals:  [0x25 0x25]
>> > -  Converter: stream=5, channel=0
>> > +  Amp-Out vals:  [0x21 0x21]
>> > +  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 EPSS
>> > -  Power: setting=D0, actual=D0
>> > +  Power: setting=D3, actual=D3
>> >  Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono  Node 0x05
>> > [Vendor Defined Widget] wcaps 0xf00000: Mono  Node 0x06
>> [Audio Output]
>> > wcaps 0x611: Stereo Digital @@ -182,7 +182,7 @@
>> >      ControlAmp: chs=3, dir=In, idx=0, ofs=0
>> >    Device: name="ALC3260 Analog", type="Audio", device=0
>> >    Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
>> > -  Amp-In vals:  [0x11 0x11]
>> > +  Amp-In vals:  [0x10 0x10]
>> >    Converter: stream=0, channel=0
>> >    SDI-Select: 0
>> >    PCM:
>> > @@ -240,7 +240,7 @@
>> >  Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono  Node 0x11
>> > [Audio Input] wcaps 0x10051b: Stereo Amp-In
>> >    Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
>> > -  Amp-In vals:  [0x11 0x11]
>> > +  Amp-In vals:  [0x10 0x10]
>> >    Converter: stream=1, channel=0
>> >    SDI-Select: 0
>> >    PCM:
>> > @@ -288,7 +288,7 @@
>> >      Misc = NO_PRESENCE
>> >    Pin-ctls: 0x40: OUT
>> >    Power states:  D0 D1 D2 D3 EPSS
>> > -  Power: setting=D0, actual=D0
>> > +  Power: setting=D3, actual=D3
>> >    Connection: 2
>> >       0x0c 0x0d*
>> >  Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out @@ -531,8
>> > +531,8 @@  crw-rw----+ 1 root audio 116,  2 Oct 22 23:40
>> > /dev/snd/controlC0  crw-rw----+ 1 root audio 116,  6 Oct 22 23:40
>> > /dev/snd/hwC0D0  crw-rw----+ 1 root audio 116,  7 Oct 22 23:40
>> > /dev/snd/hwC0D3
>> > -crw-rw----+ 1 root audio 116,  4 Oct 22 23:40 /dev/snd/pcmC0D0c
>> > -crw-rw----+ 1 root audio 116,  3 Oct 22 23:40 /dev/snd/pcmC0D0p
>> > +crw-rw----+ 1 root audio 116,  4 Oct 22 23:46 /dev/snd/pcmC0D0c
>> > +crw-rw----+ 1 root audio 116,  3 Oct 22 23:45 /dev/snd/pcmC0D0p
>> >  crw-rw----+ 1 root audio 116,  5 Oct 22 23:40 /dev/snd/pcmC0D3p
>> > crw-rw----+ 1 root audio 116,  1 Oct 22 23:40 /dev/snd/seq
>> > crw-rw----+ 1 root audio 116, 33 Oct 22 23:40
>> /dev/snd/timer @@ -578,7
>> > +578,7 @@
>> >    Capabilities: pvolume pvolume-joined pswitch pswitch-joined
>> >    Playback channels: Mono
>> >    Limits: Playback 0 - 64
>> > -  Mono: Playback 38 [59%] [-26.00dB] [on]
>> > +  Mono: Playback 34 [53%] [-30.00dB] [on]
>> >  Simple mixer control 'Headphone',0
>> >    Capabilities: pvolume pswitch
>> >    Playback channels: Front Left - Front Right @@ -598,8 +598,8 @@
>> >    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]
>> > +  Front Left: Playback 253 [99%] [-0.40dB]  Front Right:
>> Playback 253
>> > + [99%] [-0.40dB]
>> >  Simple mixer control 'Mic',0
>> >    Capabilities: pvolume pswitch
>> >    Playback channels: Front Left - Front Right @@ -629,8 +629,8 @@
>> >    Capabilities: cvolume cswitch
>> >    Capture channels: Front Left - Front Right
>> >    Limits: Capture 0 - 46
>> > -  Front Left: Capture 17 [37%] [0.00dB] [on]
>> > -  Front Right: Capture 17 [37%] [0.00dB] [on]
>> > +  Front Left: Capture 16 [35%] [-1.00dB] [on]  Front
>> Right: Capture
>> > + 16 [35%] [-1.00dB] [on]
>> >  Simple mixer control 'Auto-Mute Mode',0
>> >    Capabilities: enum
>> >    Items: 'Disabled' 'Enabled'
>> > @@ -745,8 +745,8 @@
>> >     control.8 {
>> >             iface MIXER
>> >             name 'Capture Volume'
>> > -           value.0 17
>> > -           value.1 17
>> > +           value.0 16
>> > +           value.1 16
>> >             comment {
>> >                     access 'read write'
>> >                     type INTEGER
>> > @@ -754,8 +754,8 @@
>> >                     range '0 - 46'
>> >                     dbmin -1700
>> >                     dbmax 2900
>> > -                   dbvalue.0 0
>> > -                   dbvalue.1 0
>> > +                   dbvalue.0 -100
>> > +                   dbvalue.1 -100
>> >             }
>> >     }
>> >     control.9 {
>> > @@ -804,7 +804,7 @@
>> >     control.12 {
>> >             iface MIXER
>> >             name 'Master Playback Volume'
>> > -           value 38
>> > +           value 34
>> >             comment {
>> >                     access 'read write'
>> >                     type INTEGER
>> > @@ -812,7 +812,7 @@
>> >                     range '0 - 64'
>> >                     dbmin -6400
>> >                     dbmax 0
>> > -                   dbvalue.0 -2600
>> > +                   dbvalue.0 -3000
>> >             }
>> >     }
>> >     control.13 {
>> > @@ -999,8 +999,8 @@
>> >     control.29 {
>> >             iface MIXER
>> >             name 'PCM Playback Volume'
>> > -           value.0 255
>> > -           value.1 255
>> > +           value.0 253
>> > +           value.1 253
>> >             comment {
>> >                     access 'read write user'
>> >                     type INTEGER
>> > @@ -1009,8 +1009,8 @@
>> >                     tlv '0000000100000008ffffec1400000014'
>> >                     dbmin -5100
>> >                     dbmax 0
>> > -                   dbvalue.0 0
>> > -                   dbvalue.1 0
>> > +                   dbvalue.0 -40
>> > +                   dbvalue.1 -40
>> >             }
>> >     }
>> >  }
>> > @@ -1021,6 +1021,8 @@
>> >  !!------------------
>> >
>> >  Module
>> > +alx
>> > +mdio
>> >  cmac
>> >  rfcomm
>> >  bnep
>> > @@ -1131,11 +1133,9 @@
>> >  psmouse
>> >  ahci
>> >  sdhci_pci
>> > -alx
>> >  rtsx_pci
>> >  libahci
>> >  sdhci
>> > -mdio
>> >  floppy
>> >
>> >
>> > _______________________________________________
>> > Alsa-devel mailing list
>> > Alsa-devel@alsa-project.org
>> > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>>
>> ------Please consider the environment before printing this e-mail.
>>



-- 
gg

[-- Attachment #2: alsa-info.txt.4.3-rc6.coef1.before --]
[-- Type: application/octet-stream, Size: 32934 bytes --]

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

!!Script ran on: Fri Oct 23 21:28:51 UTC 2015


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

Ubuntu 14.04.3 LTS \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS" NAME="Ubuntu" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 14.04.3 LTS" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"


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

Manufacturer:      Dell Inc.
Product Name:      XPS One 2710
Product Version:   00
Firmware Version:  A12


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

Kernel release:    4.3.0-rc6
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         x86_64
SMP Enabled:       Yes


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

Driver version:     k4.3.0-rc6
Library version:    1.0.27.2
Utilities version:  1.0.27.2


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

snd_hda_intel


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

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes


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

 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7c10000 irq 39


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

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


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

00:1b.0 0403: 8086:1e20 (rev 04)
	Subsystem: 1028:054b


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

snd_atiixp_modem: index=-2
snd_intel8x0m: index=-2
snd_via82xx_modem: index=-2
snd_usb_audio: index=-2
snd_usb_caiaq: index=-2
snd_usb_ua101: index=-2
snd_usb_us122l: index=-2
snd_usb_usx2y: index=-2
snd_cmipci: mpu_port=0x330 fm_port=0x388
snd_pcsp: index=-2
snd_usb_audio: index=-2


!!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 : N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
	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 : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : N
	snoop : -1


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

Codec: Realtek ALC3260
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0275
Subsystem Id: 0x1028054b
Revision Id: 0x100008
No Modem Function Group found
Default PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    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 CLKSTOP EPSS
  Power: setting=D0, actual=D0
GPIO: io=4, o=0, i=0, unsolicited=1, wake=1
  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 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="ALC3260 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x3f, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x2d 0x2d]
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x3f, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x2d 0x2d]
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
Node 0x07 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  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="ALC3260 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x11 0x11]
  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 EPSS
  Power: setting=D3, actual=D3
  Connection: 1
     0x24
Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x90 0x90]
  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 EPSS
  Power: setting=D3, actual=D3
  Connection: 1
     0x23
Node 0x09 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Beep Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  Control: name="Beep Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x81 0x80]
  Connection: 5
     0x18 0x19 0x1a 0x1b 0x1d
Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010a: Mono Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00] [0x80]
  Connection: 2
     0x0c 0x0d
Node 0x0f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x11 0x11]
  Converter: stream=1, 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 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x22
Node 0x12 [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
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x02 0x02]
  Pincap 0x00000020: IN
  Pin Default 0x99a30930: [Fixed] Mic at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x13 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
Node 0x14 [Pin Complex] wcaps 0x40050d: Stereo Amp-Out
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00010050: OUT EAPD Balanced
  EAPD 0x2: EAPD
  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 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c 0x0d*
Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001001c: OUT HP EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x0321441f: [Jack] HP Out at Ext Left
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
  Connection: 2
     0x0c* 0x0d
Node 0x16 [Pin Complex] wcaps 0x40050c: Mono Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80]
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
  Connection: 1
     0x0e
Node 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x18 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003734: IN OUT Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x03a19820: [Jack] Mic at Ext Left
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
  Connection: 2
     0x0c* 0x0d
Node 0x19 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003734: IN OUT Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
  Connection: 2
     0x0c* 0x0d
Node 0x1a [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000373c: IN OUT HP Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
  Connection: 2
     0x0c* 0x0d
Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003734: IN OUT Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
  Connection: 2
     0x0c* 0x0d
Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1d [Pin Complex] wcaps 0x400400: Mono
  Pincap 0x00000020: IN
  Pin Default 0x4016862d: [N/A] Speaker at Ext N/A
    Conn = Digital, Color = Purple
    DefAssociation = 0x2, Sequence = 0xd
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
Node 0x1e [Pin Complex] wcaps 0x400701: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
  Connection: 1
     0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=64
    Coeff 0x00: 0x8009
    Coeff 0x01: 0xc961
    Coeff 0x02: 0x8eac
    Coeff 0x03: 0x4802
    Coeff 0x04: 0x1012
    Coeff 0x05: 0xcccc
    Coeff 0x06: 0xcccc
    Coeff 0x07: 0x3064
    Coeff 0x08: 0x07c0
    Coeff 0x09: 0x0000
    Coeff 0x0a: 0x0020
    Coeff 0x0b: 0xef19
    Coeff 0x0c: 0x5964
    Coeff 0x0d: 0x9400
    Coeff 0x0e: 0x0001
    Coeff 0x0f: 0x3303
    Coeff 0x10: 0x4000
    Coeff 0x11: 0x0000
    Coeff 0x12: 0x0000
    Coeff 0x13: 0x0000
    Coeff 0x14: 0x0000
    Coeff 0x15: 0x0000
    Coeff 0x16: 0x0000
    Coeff 0x17: 0x0000
    Coeff 0x18: 0x0000
    Coeff 0x19: 0x0000
    Coeff 0x1a: 0x0000
    Coeff 0x1b: 0x0000
    Coeff 0x1c: 0x0000
    Coeff 0x1d: 0x0000
    Coeff 0x1e: 0x0803
    Coeff 0x1f: 0x00c0
    Coeff 0x20: 0x2020
    Coeff 0x21: 0x8840
    Coeff 0x22: 0x0800
    Coeff 0x23: 0x7fff
    Coeff 0x24: 0x0390
    Coeff 0x25: 0x0001
    Coeff 0x26: 0x126b
    Coeff 0x27: 0x0400
    Coeff 0x28: 0x00af
    Coeff 0x29: 0x0000
    Coeff 0x2a: 0x00af
    Coeff 0x2b: 0x00af
    Coeff 0x2c: 0xd000
    Coeff 0x2d: 0x0000
    Coeff 0x2e: 0x0000
    Coeff 0x2f: 0x3000
    Coeff 0x30: 0x00b1
    Coeff 0x31: 0x0000
    Coeff 0x32: 0x0000
    Coeff 0x33: 0x0000
    Coeff 0x34: 0xc040
    Coeff 0x35: 0x00dd
    Coeff 0x36: 0xc202
    Coeff 0x37: 0x0000
    Coeff 0x38: 0x0000
    Coeff 0x39: 0x0000
    Coeff 0x3a: 0x0000
    Coeff 0x3b: 0x0100
    Coeff 0x3c: 0x00ac
    Coeff 0x3d: 0x0000
    Coeff 0x3e: 0x0000
    Coeff 0x3f: 0xff00
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x12* 0x13
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 6
     0x18 0x19 0x1a 0x1b 0x1d 0x0b
Node 0x24 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 6
     0x18 0x19 0x1a 0x1b 0x1d 0x0b
Codec: Intel PantherPoint HDMI
Address: 3
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x80862806
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="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
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x80]
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x58560020: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  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
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x80]
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x58560030: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  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 Oct 24 00:21 /dev/snd/controlC0
crw-rw----+ 1 root audio 116,  6 Oct 24 00:21 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116,  7 Oct 24 00:21 /dev/snd/hwC0D3
crw-rw----+ 1 root audio 116,  4 Oct 24 00:21 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116,  3 Oct 24 00:21 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116,  5 Oct 24 00:21 /dev/snd/pcmC0D3p
crw-rw----+ 1 root audio 116,  1 Oct 24 00:21 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Oct 24 00:21 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Oct 24 00:21 .
drwxr-xr-x 3 root root 220 Oct 24 00:21 ..
lrwxrwxrwx 1 root root  12 Oct 24 00:21 pci-0000:00:1b.0 -> ../controlC0


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

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC3260 Analog [ALC3260 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

ARECORD

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

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

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

Card hw:0 'PCH'/'HDA Intel PCH at 0xf7c10000 irq 39'
  Mixer name	: 'Intel PantherPoint HDMI'
  Components	: 'HDA:10ec0275,1028054b,00100008 HDA:80862806,80860101,00100000'
  Controls      : 29
  Simple ctrls  : 11
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 46 [72%] [-18.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 63 [98%] [0.00dB] [on]
  Front Right: Playback 63 [98%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 63 [98%] [0.00dB] [on]
  Front Right: Playback 63 [98%] [0.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',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [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 'Beep',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 1 [3%] [-33.00dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 17 [37%] [0.00dB] [on]
  Front Right: Capture 17 [37%] [0.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 2 [67%] [20.00dB]
  Front Right: 2 [67%] [20.00dB]


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

--startcollapse--
state.PCH {
	control.1 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 63
		value.1 63
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6300
			dbmax 100
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.2 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.3 {
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 63
		value.1 63
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6300
			dbmax 100
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.4 {
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.5 {
		iface MIXER
		name 'Mic Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.6 {
		iface MIXER
		name 'Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.7 {
		iface MIXER
		name 'Auto-Mute Mode'
		value Enabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.8 {
		iface MIXER
		name 'Capture Volume'
		value.0 17
		value.1 17
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 46'
			dbmin -1700
			dbmax 2900
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.9 {
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.10 {
		iface MIXER
		name 'Mic Boost Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.11 {
		iface MIXER
		name 'Internal Mic Boost Volume'
		value.0 2
		value.1 2
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 2000
			dbvalue.1 2000
		}
	}
	control.12 {
		iface MIXER
		name 'Master Playback Volume'
		value 46
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 -1800
		}
	}
	control.13 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			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 'Internal Mic Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.16 {
		iface CARD
		name 'Headphone Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.17 {
		iface CARD
		name 'Speaker Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.18 {
		iface MIXER
		name 'Beep Playback Volume'
		value.0 1
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3300
			dbvalue.1 -3450
		}
	}
	control.19 {
		iface MIXER
		name 'Beep Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.20 {
		iface PCM
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.21 {
		iface PCM
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.22 {
		iface 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 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.29 {
		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
		}
	}
}
--endcollapse--


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

Module
cmac
rfcomm
bnep
arc4
nls_iso8859_1
ath9k
ath9k_common
ath9k_hw
i915
ath
mac80211
snd_hda_codec_hdmi
snd_hda_codec_realtek
snd_hda_codec_generic
snd_hda_intel
snd_hda_codec
intel_rapl
iosf_mbi
snd_hda_core
x86_pkg_temp_thermal
intel_powerclamp
joydev
coretemp
snd_hwdep
kvm_intel
drm_kms_helper
snd_pcm
kvm
drm
cfg80211
ath3k
uvcvideo
btusb
btrtl
snd_seq_midi
btbcm
snd_seq_midi_event
snd_rawmidi
videobuf2_vmalloc
btintel
videobuf2_memops
dell_wmi_aio
bluetooth
snd_seq
hid_generic
videobuf2_core
sparse_keymap
v4l2_common
videodev
dcdbas
snd_seq_device
crct10dif_pclmul
snd_timer
crc32_pclmul
usbhid
snd
aesni_intel
hid
aes_x86_64
mei_me
lrw
ses
gf128mul
rtsx_pci_ms
media
glue_helper
mei
i2c_algo_bit
enclosure
ir_lirc_codec
memstick
serio_raw
fb_sys_fops
ablk_helper
lirc_dev
ir_xmp_decoder
cryptd
ir_mce_kbd_decoder
ir_sony_decoder
ie31200_edac
ir_sanyo_decoder
ir_sharp_decoder
ir_rc6_decoder
ir_rc5_decoder
ir_jvc_decoder
ir_nec_decoder
syscopyarea
edac_core
soundcore
shpchp
sysfillrect
parport_pc
sysimgblt
lpc_ich
ppdev
rc_rc6_mce
fintek_cir
lp
8250_fintek
rc_core
video
parport
mac_hid
wmi
uas
usb_storage
rtsx_pci_sdmmc
psmouse
sdhci_pci
alx
ahci
rtsx_pci
sdhci
libahci
mdio
floppy


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

/sys/class/sound/hwC0D0/init_pin_configs:
0x12 0x99a30930
0x13 0x411111f0
0x14 0x90170110
0x15 0x0321441f
0x16 0x411111f0
0x18 0x03a19820
0x19 0x411111f0
0x1a 0x411111f0
0x1b 0x411111f0
0x1d 0x4016862d
0x1e 0x411111f0

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D0/hints:

/sys/class/sound/hwC0D3/init_pin_configs:
0x05 0x18560010
0x06 0x58560020
0x07 0x58560030

/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
!!--------------

[    4.525369] intel_rapl: Found RAPL domain uncore
[    4.553666] snd_hda_intel 0000:00:1b.0: enabling device (0000 -> 0002)
[    4.583900] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3260: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    4.583902] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.583904] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x15/0x0/0x0/0x0/0x0)
[    4.583905] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    4.583906] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    4.583908] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x18
[    4.583909] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
[    4.605987] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[    4.606054] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[    4.606112] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
[    4.685885] EXT4-fs (sdb2): re-mounted. Opts: errors=remount-ro



[-- Attachment #3: alsa-info.txt.4.3-rc6.coef1.patch --]
[-- Type: text/x-patch, Size: 3210 bytes --]

--- alsa-info.txt.4.3-rc6.coef1.before	2015-10-24 00:28:53.785387486 +0300
+++ alsa-info.txt.4.3-rc6.coef1.after	2015-10-24 00:31:00.358090086 +0300
@@ -3,7 +3,7 @@
 !!ALSA Information Script v 0.4.64
 !!################################
 
-!!Script ran on: Fri Oct 23 21:28:51 UTC 2015
+!!Script ran on: Fri Oct 23 21:30:59 UTC 2015
 
 
 !!Linux Distribution
@@ -143,25 +143,25 @@
   Device: name="ALC3260 Analog", type="Audio", device=0
   Amp-Out caps: ofs=0x3f, nsteps=0x40, stepsize=0x03, mute=0
   Amp-Out vals:  [0x2d 0x2d]
-  Converter: stream=5, channel=0
+  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 EPSS
-  Power: setting=D0, actual=D0
+  Power: setting=D3, actual=D3
 Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
   Control: name="Speaker Playback Volume", index=0, device=0
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   Amp-Out caps: ofs=0x3f, nsteps=0x40, stepsize=0x03, mute=0
   Amp-Out vals:  [0x2d 0x2d]
-  Converter: stream=5, channel=0
+  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 EPSS
-  Power: setting=D0, actual=D0
+  Power: setting=D3, actual=D3
 Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
 Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
 Node 0x06 [Audio Output] wcaps 0x611: Stereo Digital
@@ -241,14 +241,14 @@
 Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In
   Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
   Amp-In vals:  [0x11 0x11]
-  Converter: stream=1, channel=0
+  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 EPSS
-  Power: setting=D0, actual=D0
+  Power: setting=D3, actual=D3
   Connection: 1
      0x22
 Node 0x12 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
@@ -263,7 +263,7 @@
     Misc = NO_PRESENCE
   Pin-ctls: 0x20: IN
   Power states:  D0 D1 D2 D3 EPSS
-  Power: setting=D0, actual=D0
+  Power: setting=D3, actual=D3
 Node 0x13 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
   Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
   Amp-In vals:  [0x00 0x00]
@@ -288,7 +288,7 @@
     Misc = NO_PRESENCE
   Pin-ctls: 0x40: OUT
   Power states:  D0 D1 D2 D3 EPSS
-  Power: setting=D0, actual=D0
+  Power: setting=D3, actual=D3
   Connection: 2
      0x0c 0x0d*
 Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
@@ -444,7 +444,7 @@
     Coeff 0x1c: 0x0000
     Coeff 0x1d: 0x0000
     Coeff 0x1e: 0x0803
-    Coeff 0x1f: 0x00c0
+    Coeff 0x1f: 0x0000
     Coeff 0x20: 0x2020
     Coeff 0x21: 0x8840
     Coeff 0x22: 0x0800
@@ -461,7 +461,7 @@
     Coeff 0x2d: 0x0000
     Coeff 0x2e: 0x0000
     Coeff 0x2f: 0x3000
-    Coeff 0x30: 0x00b1
+    Coeff 0x30: 0x0090
     Coeff 0x31: 0x0000
     Coeff 0x32: 0x0000
     Coeff 0x33: 0x0000
@@ -1085,6 +1085,8 @@
 !!------------------
 
 Module
+alx
+mdio
 cmac
 rfcomm
 bnep
@@ -1194,12 +1196,10 @@
 rtsx_pci_sdmmc
 psmouse
 sdhci_pci
-alx
 ahci
 rtsx_pci
 sdhci
 libahci
-mdio
 floppy
 
 

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



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

* Re: No sound after suspend-to-ram
  2015-10-23 22:01         ` George Gugulea
@ 2015-10-24  7:38           ` Takashi Iwai
  2015-10-26  3:20             ` Kailang
  2015-10-26  7:00             ` Kailang
  0 siblings, 2 replies; 16+ messages in thread
From: Takashi Iwai @ 2015-10-24  7:38 UTC (permalink / raw)
  To: George Gugulea; +Cc: alsa-devel, Kailang

On Sat, 24 Oct 2015 00:01:00 +0200,
George Gugulea wrote:
> 
> Sure thing,
> 
> Kailang, yes, there is a side headphones jack and it does work OK
> after PM suspend-to-ram
> 
> I did `echo 1 > /sys/modules/snd_hda_codec/parameters/dump_coef ` and
> I attached the output but you are probably interested in this:
> 
> Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
> .....
> 447c447
> <     Coeff 0x1f: 0x00c0
> ---
> >     Coeff 0x1f: 0x0000
> 464c464
> <     Coeff 0x30: 0x00b1
> ---
> >     Coeff 0x30: 0x0090
> 
> And after I reset the two processing caps, the sound is back again.
> 
> hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x1f
> hda-verb /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0x00c0
> hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x30
> hda-verb /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0x00b1
> 
> I'm not sure that this are the correct parameters of hda-verb (because
> I lack the knowledge of alsa development) but based on the result it
> seems to be correct

Yes, the command sequences are correct (sorry I didn't write it in
details).  Mostly only some of these bits are mandatory, but only
Realtek knows this secret...


Takashi

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

* Re: No sound after suspend-to-ram
  2015-10-24  7:38           ` Takashi Iwai
@ 2015-10-26  3:20             ` Kailang
  2015-10-26  7:00             ` Kailang
  1 sibling, 0 replies; 16+ messages in thread
From: Kailang @ 2015-10-26  3:20 UTC (permalink / raw)
  To: Takashi Iwai, George Gugulea; +Cc: alsa-devel

Hi George,

I think your machine had the I2C codec for speaker. I will check it with our AE.
BIOS fill the verb table for initial I2C part  to enable speaker function.
But Linux didn't know this feature. 
So, when you enter to suspend state, the codec hiden register will return to default value.
When you resume, speaker will no sound. 
Because driver need to fill the initial verb for I2C codec. But Linux didn't do it.
This says Dell had not support this machine for Linux OS.
If this support Linux OS, Ubuntu will request this from me.

This case just need to fill two registers for turn on speaker.
I could make a patch for this.

BR,
Kailang

> -----Original Message-----
> From: Takashi Iwai [mailto:tiwai@suse.de] 
> Sent: Saturday, October 24, 2015 3:38 PM
> To: George Gugulea
> Cc: Kailang; alsa-devel@alsa-project.org
> Subject: Re: [alsa-devel] No sound after suspend-to-ram
> 
> On Sat, 24 Oct 2015 00:01:00 +0200,
> George Gugulea wrote:
> > 
> > Sure thing,
> > 
> > Kailang, yes, there is a side headphones jack and it does work OK 
> > after PM suspend-to-ram
> > 
> > I did `echo 1 > 
> /sys/modules/snd_hda_codec/parameters/dump_coef ` and 
> > I attached the output but you are probably interested in this:
> > 
> > Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono .....
> > 447c447
> > <     Coeff 0x1f: 0x00c0
> > ---
> > >     Coeff 0x1f: 0x0000
> > 464c464
> > <     Coeff 0x30: 0x00b1
> > ---
> > >     Coeff 0x30: 0x0090
> > 
> > And after I reset the two processing caps, the sound is back again.
> > 
> > hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x1f hda-verb 
> > /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0x00c0 hda-verb /dev/snd/hwC0D0 
> > 0x20 SET_COEF_INDEX 0x30 hda-verb /dev/snd/hwC0D0 0x20 
> SET_PROC_COEF 
> > 0x00b1
> > 
> > I'm not sure that this are the correct parameters of 
> hda-verb (because 
> > I lack the knowledge of alsa development) but based on the 
> result it 
> > seems to be correct
> 
> Yes, the command sequences are correct (sorry I didn't write 
> it in details).  Mostly only some of these bits are 
> mandatory, but only Realtek knows this secret...
> 
> 
> Takashi
> 
> ------Please consider the environment before printing this e-mail.
> 

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

* Re: No sound after suspend-to-ram
  2015-10-24  7:38           ` Takashi Iwai
  2015-10-26  3:20             ` Kailang
@ 2015-10-26  7:00             ` Kailang
  2015-10-26  7:13               ` Takashi Iwai
  1 sibling, 1 reply; 16+ messages in thread
From: Kailang @ 2015-10-26  7:00 UTC (permalink / raw)
  To: Takashi Iwai, George Gugulea; +Cc: alsa-devel

Hi Takashi,

        [ALC275_FIXUP_DELL_XPS] = {
                .type = HDA_FIXUP_VERBS,
                .v.verbs = (const struct hda_verb[]) {
                        /* Enables internal speaker */
                        {0x20, AC_VERB_SET_COEF_INDEX, 0x1f},
                        {0x20, AC_VERB_SET_PROC_COEF, 0x00c0},
                        {0x20, AC_VERB_SET_COEF_INDEX, 0x30},
                        {0x20, AC_VERB_SET_PROC_COEF, 0x00b1},
                        {}
                }
        },

Could I put code as upper? Was it enter to initial state?
I think it should be execute atfter resume back. Right?

BR,
Kailang

> -----Original Message-----
> From: Takashi Iwai [mailto:tiwai@suse.de] 
> Sent: Saturday, October 24, 2015 3:38 PM
> To: George Gugulea
> Cc: Kailang; alsa-devel@alsa-project.org
> Subject: Re: [alsa-devel] No sound after suspend-to-ram
> 
> On Sat, 24 Oct 2015 00:01:00 +0200,
> George Gugulea wrote:
> > 
> > Sure thing,
> > 
> > Kailang, yes, there is a side headphones jack and it does work OK 
> > after PM suspend-to-ram
> > 
> > I did `echo 1 > 
> /sys/modules/snd_hda_codec/parameters/dump_coef ` and 
> > I attached the output but you are probably interested in this:
> > 
> > Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono .....
> > 447c447
> > <     Coeff 0x1f: 0x00c0
> > ---
> > >     Coeff 0x1f: 0x0000
> > 464c464
> > <     Coeff 0x30: 0x00b1
> > ---
> > >     Coeff 0x30: 0x0090
> > 
> > And after I reset the two processing caps, the sound is back again.
> > 
> > hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x1f hda-verb 
> > /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0x00c0 hda-verb /dev/snd/hwC0D0 
> > 0x20 SET_COEF_INDEX 0x30 hda-verb /dev/snd/hwC0D0 0x20 
> SET_PROC_COEF 
> > 0x00b1
> > 
> > I'm not sure that this are the correct parameters of 
> hda-verb (because 
> > I lack the knowledge of alsa development) but based on the 
> result it 
> > seems to be correct
> 
> Yes, the command sequences are correct (sorry I didn't write 
> it in details).  Mostly only some of these bits are 
> mandatory, but only Realtek knows this secret...
> 
> 
> Takashi
> 
> ------Please consider the environment before printing this e-mail.
> 

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

* Re: No sound after suspend-to-ram
  2015-10-26  7:00             ` Kailang
@ 2015-10-26  7:13               ` Takashi Iwai
       [not found]                 ` <6FAB7C47BCF00940BB0999A99BE3547A17A237D4@RTITMBSV09.realtek.com.tw>
  0 siblings, 1 reply; 16+ messages in thread
From: Takashi Iwai @ 2015-10-26  7:13 UTC (permalink / raw)
  To: Kailang; +Cc: George Gugulea, alsa-devel

On Mon, 26 Oct 2015 08:00:20 +0100,
Kailang wrote:
> 
> Hi Takashi,
> 
>         [ALC275_FIXUP_DELL_XPS] = {
>                 .type = HDA_FIXUP_VERBS,
>                 .v.verbs = (const struct hda_verb[]) {
>                         /* Enables internal speaker */
>                         {0x20, AC_VERB_SET_COEF_INDEX, 0x1f},
>                         {0x20, AC_VERB_SET_PROC_COEF, 0x00c0},
>                         {0x20, AC_VERB_SET_COEF_INDEX, 0x30},
>                         {0x20, AC_VERB_SET_PROC_COEF, 0x00b1},
>                         {}
>                 }
>         },
> 
> Could I put code as upper? Was it enter to initial state?
> I think it should be execute atfter resume back. Right?

Yes, these are performed at resume.  But the COEF stuff needs a bit
care since it's written in multiple places.  If you can cook up the
patch, I can check it hda-emu, too.


thanks,

Takashi

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

* Re: No sound after suspend-to-ram
       [not found]                 ` <6FAB7C47BCF00940BB0999A99BE3547A17A237D4@RTITMBSV09.realtek.com.tw>
@ 2015-10-26  9:00                   ` George Gugulea
  2015-10-26 11:39                   ` Takashi Iwai
  1 sibling, 0 replies; 16+ messages in thread
From: George Gugulea @ 2015-10-26  9:00 UTC (permalink / raw)
  To: Kailang; +Cc: Takashi Iwai, alsa-devel

I will test the patch on my system as well.

On Mon, Oct 26, 2015 at 9:45 AM, Kailang <kailang@realtek.com> wrote:
>
> Attach is the patch.
>
>> -----Original Message-----
>> From: Takashi Iwai [mailto:tiwai@suse.de]
>> Sent: Monday, October 26, 2015 3:13 PM
>> To: Kailang
>> Cc: George Gugulea; alsa-devel@alsa-project.org
>> Subject: Re: [alsa-devel] No sound after suspend-to-ram
>>
>> On Mon, 26 Oct 2015 08:00:20 +0100,
>> Kailang wrote:
>> >
>> > Hi Takashi,
>> >
>> >         [ALC275_FIXUP_DELL_XPS] = {
>> >                 .type = HDA_FIXUP_VERBS,
>> >                 .v.verbs = (const struct hda_verb[]) {
>> >                         /* Enables internal speaker */
>> >                         {0x20, AC_VERB_SET_COEF_INDEX, 0x1f},
>> >                         {0x20, AC_VERB_SET_PROC_COEF, 0x00c0},
>> >                         {0x20, AC_VERB_SET_COEF_INDEX, 0x30},
>> >                         {0x20, AC_VERB_SET_PROC_COEF, 0x00b1},
>> >                         {}
>> >                 }
>> >         },
>> >
>> > Could I put code as upper? Was it enter to initial state?
>> > I think it should be execute atfter resume back. Right?
>>
>> Yes, these are performed at resume.  But the COEF stuff needs
>> a bit care since it's written in multiple places.  If you can
>> cook up the patch, I can check it hda-emu, too.
>>
>>
>> thanks,
>>
>> Takashi
>>
>> ------Please consider the environment before printing this e-mail.
>>



-- 
gg

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

* Re: No sound after suspend-to-ram
       [not found]                 ` <6FAB7C47BCF00940BB0999A99BE3547A17A237D4@RTITMBSV09.realtek.com.tw>
  2015-10-26  9:00                   ` George Gugulea
@ 2015-10-26 11:39                   ` Takashi Iwai
  2015-10-26 21:51                     ` George Gugulea
  1 sibling, 1 reply; 16+ messages in thread
From: Takashi Iwai @ 2015-10-26 11:39 UTC (permalink / raw)
  To: Kailang; +Cc: George Gugulea, alsa-devel

On Mon, 26 Oct 2015 08:45:02 +0100,
Kailang wrote:
> 
> 
> Attach is the patch. 

Looks good to me.
I'm going to queue it once when George confirms that it works indeed.


thanks,

Takashi

> 
> > -----Original Message-----
> > From: Takashi Iwai [mailto:tiwai@suse.de] 
> > Sent: Monday, October 26, 2015 3:13 PM
> > To: Kailang
> > Cc: George Gugulea; alsa-devel@alsa-project.org
> > Subject: Re: [alsa-devel] No sound after suspend-to-ram
> > 
> > On Mon, 26 Oct 2015 08:00:20 +0100,
> > Kailang wrote:
> > > 
> > > Hi Takashi,
> > > 
> > >         [ALC275_FIXUP_DELL_XPS] = {
> > >                 .type = HDA_FIXUP_VERBS,
> > >                 .v.verbs = (const struct hda_verb[]) {
> > >                         /* Enables internal speaker */
> > >                         {0x20, AC_VERB_SET_COEF_INDEX, 0x1f},
> > >                         {0x20, AC_VERB_SET_PROC_COEF, 0x00c0},
> > >                         {0x20, AC_VERB_SET_COEF_INDEX, 0x30},
> > >                         {0x20, AC_VERB_SET_PROC_COEF, 0x00b1},
> > >                         {}
> > >                 }
> > >         },
> > > 
> > > Could I put code as upper? Was it enter to initial state?
> > > I think it should be execute atfter resume back. Right?
> > 
> > Yes, these are performed at resume.  But the COEF stuff needs 
> > a bit care since it's written in multiple places.  If you can 
> > cook up the patch, I can check it hda-emu, too.
> > 
> > 
> > thanks,
> > 
> > Takashi
> > 
> > ------Please consider the environment before printing this e-mail.
> > 
> [2 0000-dell-xps-speaker-no-sound.patch <application/octet-stream (base64)>]
> 

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

* Re: No sound after suspend-to-ram
  2015-10-26 11:39                   ` Takashi Iwai
@ 2015-10-26 21:51                     ` George Gugulea
  2015-10-27  6:50                       ` Takashi Iwai
  0 siblings, 1 reply; 16+ messages in thread
From: George Gugulea @ 2015-10-26 21:51 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, Kailang

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

Thanks Kailang, I applied the patch and it works.
I attached again the diffs, before and after PM (with `echo 1 >
/sys/modules/snd_hda_codec/parameters/dump_coef`) so you can see the
coefs have the same values.



On Mon, Oct 26, 2015 at 1:39 PM, Takashi Iwai <tiwai@suse.de> wrote:
> On Mon, 26 Oct 2015 08:45:02 +0100,
> Kailang wrote:
>>
>>
>> Attach is the patch.
>
> Looks good to me.
> I'm going to queue it once when George confirms that it works indeed.
>
>
> thanks,
>
> Takashi
>
>>
>> > -----Original Message-----
>> > From: Takashi Iwai [mailto:tiwai@suse.de]
>> > Sent: Monday, October 26, 2015 3:13 PM
>> > To: Kailang
>> > Cc: George Gugulea; alsa-devel@alsa-project.org
>> > Subject: Re: [alsa-devel] No sound after suspend-to-ram
>> >
>> > On Mon, 26 Oct 2015 08:00:20 +0100,
>> > Kailang wrote:
>> > >
>> > > Hi Takashi,
>> > >
>> > >         [ALC275_FIXUP_DELL_XPS] = {
>> > >                 .type = HDA_FIXUP_VERBS,
>> > >                 .v.verbs = (const struct hda_verb[]) {
>> > >                         /* Enables internal speaker */
>> > >                         {0x20, AC_VERB_SET_COEF_INDEX, 0x1f},
>> > >                         {0x20, AC_VERB_SET_PROC_COEF, 0x00c0},
>> > >                         {0x20, AC_VERB_SET_COEF_INDEX, 0x30},
>> > >                         {0x20, AC_VERB_SET_PROC_COEF, 0x00b1},
>> > >                         {}
>> > >                 }
>> > >         },
>> > >
>> > > Could I put code as upper? Was it enter to initial state?
>> > > I think it should be execute atfter resume back. Right?
>> >
>> > Yes, these are performed at resume.  But the COEF stuff needs
>> > a bit care since it's written in multiple places.  If you can
>> > cook up the patch, I can check it hda-emu, too.
>> >
>> >
>> > thanks,
>> >
>> > Takashi
>> >
>> > ------Please consider the environment before printing this e-mail.
>> >
>> [2 0000-dell-xps-speaker-no-sound.patch <application/octet-stream (base64)>]
>>



-- 
gg

[-- Attachment #2: alsa-info.txt.4.3-rc6.fix.before --]
[-- Type: application/octet-stream, Size: 31585 bytes --]

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

!!Script ran on: Mon Oct 26 21:23:02 UTC 2015


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

Ubuntu 14.04.3 LTS \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS" NAME="Ubuntu" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 14.04.3 LTS" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"


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

Manufacturer:      Dell Inc.
Product Name:      XPS One 2710
Product Version:   00
Firmware Version:  A12


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

Kernel release:    4.3.0-rc6
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         x86_64
SMP Enabled:       Yes


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

Driver version:     k4.3.0-rc6
Library version:    1.0.27.2
Utilities version:  1.0.27.2


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

snd_hda_intel


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

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes


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

 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7c10000 irq 39


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

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


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

00:1b.0 0403: 8086:1e20 (rev 04)
	Subsystem: 1028:054b


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

snd_atiixp_modem: index=-2
snd_intel8x0m: index=-2
snd_via82xx_modem: index=-2
snd_usb_audio: index=-2
snd_usb_caiaq: index=-2
snd_usb_ua101: index=-2
snd_usb_us122l: index=-2
snd_usb_usx2y: index=-2
snd_cmipci: mpu_port=0x330 fm_port=0x388
snd_pcsp: index=-2
snd_usb_audio: index=-2


!!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 : N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
	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 : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : N
	snoop : -1


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

Codec: Realtek ALC3260
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0275
Subsystem Id: 0x1028054b
Revision Id: 0x100008
No Modem Function Group found
Default PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    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 CLKSTOP EPSS
  Power: setting=D0, actual=D0
GPIO: io=4, o=0, i=0, unsolicited=1, wake=1
  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 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="ALC3260 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x3f, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x1f 0x1f]
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x3f, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x1f 0x1f]
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
Node 0x07 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  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="ALC3260 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x10 0x10]
  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 EPSS
  Power: setting=D3, actual=D3
  Connection: 1
     0x24
Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x90 0x90]
  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 EPSS
  Power: setting=D3, actual=D3
  Connection: 1
     0x23
Node 0x09 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Beep Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  Control: name="Beep Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x81 0x80]
  Connection: 5
     0x18 0x19 0x1a 0x1b 0x1d
Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010a: Mono Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00] [0x80]
  Connection: 2
     0x0c 0x0d
Node 0x0f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
  Amp-In vals:  [0x10 0x10]
  Converter: stream=1, 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 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x22
Node 0x12 [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
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x02 0x02]
  Pincap 0x00000020: IN
  Pin Default 0x99a30930: [Fixed] Mic at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x13 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
Node 0x14 [Pin Complex] wcaps 0x40050d: Stereo Amp-Out
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00010050: OUT EAPD Balanced
  EAPD 0x2: EAPD
  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 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c 0x0d*
Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001001c: OUT HP EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x0321441f: [Jack] HP Out at Ext Left
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
  Connection: 2
     0x0c* 0x0d
Node 0x16 [Pin Complex] wcaps 0x40050c: Mono Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80]
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
  Connection: 1
     0x0e
Node 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x18 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003734: IN OUT Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x03a19820: [Jack] Mic at Ext Left
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
  Connection: 2
     0x0c* 0x0d
Node 0x19 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003734: IN OUT Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
  Connection: 2
     0x0c* 0x0d
Node 0x1a [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000373c: IN OUT HP Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
  Connection: 2
     0x0c* 0x0d
Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00003734: IN OUT Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
  Connection: 2
     0x0c* 0x0d
Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1d [Pin Complex] wcaps 0x400400: Mono
  Pincap 0x00000020: IN
  Pin Default 0x4016862d: [N/A] Speaker at Ext N/A
    Conn = Digital, Color = Purple
    DefAssociation = 0x2, Sequence = 0xd
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
Node 0x1e [Pin Complex] wcaps 0x400701: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D3, actual=D3
  Connection: 1
     0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=64
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x12* 0x13
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 6
     0x18 0x19 0x1a 0x1b 0x1d 0x0b
Node 0x24 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 6
     0x18 0x19 0x1a 0x1b 0x1d 0x0b
Codec: Intel PantherPoint HDMI
Address: 3
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x80862806
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="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
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x80]
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x58560020: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  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
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x80]
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x58560030: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  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 Oct 26 23:22 /dev/snd/controlC0
crw-rw----+ 1 root audio 116,  6 Oct 26 23:22 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116,  7 Oct 26 23:22 /dev/snd/hwC0D3
crw-rw----+ 1 root audio 116,  4 Oct 26 23:22 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116,  3 Oct 26 23:22 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116,  5 Oct 26 23:22 /dev/snd/pcmC0D3p
crw-rw----+ 1 root audio 116,  1 Oct 26 23:22 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Oct 26 23:22 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Oct 26 23:22 .
drwxr-xr-x 3 root root 220 Oct 26 23:22 ..
lrwxrwxrwx 1 root root  12 Oct 26 23:22 pci-0000:00:1b.0 -> ../controlC0


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

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC3260 Analog [ALC3260 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

ARECORD

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

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

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

Card hw:0 'PCH'/'HDA Intel PCH at 0xf7c10000 irq 39'
  Mixer name	: 'Intel PantherPoint HDMI'
  Components	: 'HDA:10ec0275,1028054b,00100008 HDA:80862806,80860101,00100000'
  Controls      : 29
  Simple ctrls  : 11
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 32 [50%] [-32.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 63 [98%] [0.00dB] [on]
  Front Right: Playback 63 [98%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 63 [98%] [0.00dB] [on]
  Front Right: Playback 63 [98%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 253 [99%] [-0.40dB]
  Front Right: Playback 253 [99%] [-0.40dB]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [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 'Beep',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 1 [3%] [-33.00dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 16 [35%] [-1.00dB] [on]
  Front Right: Capture 16 [35%] [-1.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 2 [67%] [20.00dB]
  Front Right: 2 [67%] [20.00dB]


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

--startcollapse--
state.PCH {
	control.1 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 63
		value.1 63
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6300
			dbmax 100
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.2 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.3 {
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 63
		value.1 63
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6300
			dbmax 100
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.4 {
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.5 {
		iface MIXER
		name 'Mic Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.6 {
		iface MIXER
		name 'Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.7 {
		iface MIXER
		name 'Auto-Mute Mode'
		value Enabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.8 {
		iface MIXER
		name 'Capture Volume'
		value.0 16
		value.1 16
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 46'
			dbmin -1700
			dbmax 2900
			dbvalue.0 -100
			dbvalue.1 -100
		}
	}
	control.9 {
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.10 {
		iface MIXER
		name 'Mic Boost Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.11 {
		iface MIXER
		name 'Internal Mic Boost Volume'
		value.0 2
		value.1 2
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 2000
			dbvalue.1 2000
		}
	}
	control.12 {
		iface MIXER
		name 'Master Playback Volume'
		value 32
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 -3200
		}
	}
	control.13 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			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 'Internal Mic Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.16 {
		iface CARD
		name 'Headphone Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.17 {
		iface CARD
		name 'Speaker Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.18 {
		iface MIXER
		name 'Beep Playback Volume'
		value.0 1
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3300
			dbvalue.1 -3450
		}
	}
	control.19 {
		iface MIXER
		name 'Beep Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.20 {
		iface PCM
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.21 {
		iface PCM
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.22 {
		iface 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 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.29 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 253
		value.1 253
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 255'
			tlv '0000000100000008ffffec1400000014'
			dbmin -5100
			dbmax 0
			dbvalue.0 -40
			dbvalue.1 -40
		}
	}
}
--endcollapse--


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

Module
vmnet
vmw_vsock_vmci_transport
vsock
vmw_vmci
vmmon
rfcomm
bnep
arc4
uvcvideo
ath3k
btusb
ath9k
dm_crypt
btrtl
btbcm
videobuf2_vmalloc
btintel
videobuf2_memops
bluetooth
videobuf2_core
v4l2_common
ath9k_common
videodev
ses
enclosure
nls_iso8859_1
ath9k_hw
i915
media
ath
mac80211
snd_hda_codec_hdmi
snd_hda_codec_realtek
snd_hda_codec_generic
snd_hda_intel
snd_hda_codec
nvidia
snd_hda_core
joydev
snd_hwdep
intel_rapl
snd_pcm
iosf_mbi
x86_pkg_temp_thermal
intel_powerclamp
coretemp
snd_seq_midi
drm_kms_helper
kvm_intel
snd_seq_midi_event
snd_rawmidi
drm
hid_generic
cfg80211
kvm
usbhid
hid
snd_seq
dell_wmi_aio
sparse_keymap
snd_seq_device
dcdbas
crct10dif_pclmul
snd_timer
crc32_pclmul
ir_lirc_codec
aesni_intel
snd
lirc_dev
mei_me
aes_x86_64
ir_xmp_decoder
ir_mce_kbd_decoder
ir_sharp_decoder
ir_sanyo_decoder
lrw
ir_sony_decoder
rtsx_pci_ms
ir_jvc_decoder
ir_rc6_decoder
gf128mul
ir_rc5_decoder
mei
ir_nec_decoder
glue_helper
i2c_algo_bit
ie31200_edac
memstick
ablk_helper
edac_core
cryptd
fb_sys_fops
syscopyarea
serio_raw
sysfillrect
shpchp
sysimgblt
rc_rc6_mce
lpc_ich
8250_fintek
soundcore
fintek_cir
video
rc_core
wmi
mac_hid
parport_pc
ppdev
lp
parport
uas
usb_storage
rtsx_pci_sdmmc
psmouse
ahci
alx
sdhci_pci
libahci
rtsx_pci
mdio
sdhci
floppy


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

/sys/class/sound/hwC0D0/init_pin_configs:
0x12 0x99a30930
0x13 0x411111f0
0x14 0x90170110
0x15 0x0321441f
0x16 0x411111f0
0x18 0x03a19820
0x19 0x411111f0
0x1a 0x411111f0
0x1b 0x411111f0
0x1d 0x4016862d
0x1e 0x411111f0

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D0/hints:

/sys/class/sound/hwC0D3/init_pin_configs:
0x05 0x18560010
0x06 0x58560020
0x07 0x58560030

/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
!!--------------

[    3.487191] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  352.55  Thu Oct  8 15:18:00 PDT 2015
[    3.522399] snd_hda_intel 0000:00:1b.0: enabling device (0000 -> 0002)
[    3.552851] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3260: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    3.552853] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    3.552854] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x15/0x0/0x0/0x0/0x0)
[    3.552855] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    3.552856] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    3.552858] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x18
[    3.552859] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
[    3.572573] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[    3.572646] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[    3.572732] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[    3.598377] EXT4-fs (sdb2): re-mounted. Opts: errors=remount-ro



[-- Attachment #3: alsa-info.txt.4.3-rc6.fix.patch --]
[-- Type: text/x-patch, Size: 3699 bytes --]

--- alsa-info.txt.4.3-rc6.fix.before	2015-10-26 23:23:04.626388315 +0200
+++ alsa-info.txt.4.3-rc6.fix.after	2015-10-26 23:27:32.191807203 +0200
@@ -3,7 +3,7 @@
 !!ALSA Information Script v 0.4.64
 !!################################
 
-!!Script ran on: Mon Oct 26 21:23:02 UTC 2015
+!!Script ran on: Mon Oct 26 21:27:31 UTC 2015
 
 
 !!Linux Distribution
@@ -142,7 +142,7 @@
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   Device: name="ALC3260 Analog", type="Audio", device=0
   Amp-Out caps: ofs=0x3f, nsteps=0x40, stepsize=0x03, mute=0
-  Amp-Out vals:  [0x1f 0x1f]
+  Amp-Out vals:  [0x24 0x24]
   Converter: stream=5, channel=0
   PCM:
     rates [0x560]: 44100 48000 96000 192000
@@ -154,7 +154,7 @@
   Control: name="Speaker Playback Volume", index=0, device=0
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   Amp-Out caps: ofs=0x3f, nsteps=0x40, stepsize=0x03, mute=0
-  Amp-Out vals:  [0x1f 0x1f]
+  Amp-Out vals:  [0x24 0x24]
   Converter: stream=5, channel=0
   PCM:
     rates [0x560]: 44100 48000 96000 192000
@@ -241,14 +241,14 @@
 Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In
   Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
   Amp-In vals:  [0x10 0x10]
-  Converter: stream=1, channel=0
+  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 EPSS
-  Power: setting=D0, actual=D0
+  Power: setting=D3, actual=D3
   Connection: 1
      0x22
 Node 0x12 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
@@ -263,7 +263,7 @@
     Misc = NO_PRESENCE
   Pin-ctls: 0x20: IN
   Power states:  D0 D1 D2 D3 EPSS
-  Power: setting=D0, actual=D0
+  Power: setting=D3, actual=D3
 Node 0x13 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
   Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
   Amp-In vals:  [0x00 0x00]
@@ -532,7 +532,7 @@
 crw-rw----+ 1 root audio 116,  6 Oct 26 23:22 /dev/snd/hwC0D0
 crw-rw----+ 1 root audio 116,  7 Oct 26 23:22 /dev/snd/hwC0D3
 crw-rw----+ 1 root audio 116,  4 Oct 26 23:22 /dev/snd/pcmC0D0c
-crw-rw----+ 1 root audio 116,  3 Oct 26 23:22 /dev/snd/pcmC0D0p
+crw-rw----+ 1 root audio 116,  3 Oct 26 23:27 /dev/snd/pcmC0D0p
 crw-rw----+ 1 root audio 116,  5 Oct 26 23:22 /dev/snd/pcmC0D3p
 crw-rw----+ 1 root audio 116,  1 Oct 26 23:22 /dev/snd/seq
 crw-rw----+ 1 root audio 116, 33 Oct 26 23:22 /dev/snd/timer
@@ -551,7 +551,7 @@
 
 **** List of PLAYBACK Hardware Devices ****
 card 0: PCH [HDA Intel PCH], device 0: ALC3260 Analog [ALC3260 Analog]
-  Subdevices: 1/1
+  Subdevices: 0/1
   Subdevice #0: subdevice #0
 card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
   Subdevices: 1/1
@@ -578,7 +578,7 @@
   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
   Playback channels: Mono
   Limits: Playback 0 - 64
-  Mono: Playback 32 [50%] [-32.00dB] [on]
+  Mono: Playback 37 [58%] [-27.00dB] [on]
 Simple mixer control 'Headphone',0
   Capabilities: pvolume pswitch
   Playback channels: Front Left - Front Right
@@ -804,7 +804,7 @@
 	control.12 {
 		iface MIXER
 		name 'Master Playback Volume'
-		value 32
+		value 37
 		comment {
 			access 'read write'
 			type INTEGER
@@ -812,7 +812,7 @@
 			range '0 - 64'
 			dbmin -6400
 			dbmax 0
-			dbvalue.0 -3200
+			dbvalue.0 -2700
 		}
 	}
 	control.13 {
@@ -895,8 +895,8 @@
 	control.20 {
 		iface PCM
 		name 'Playback Channel Map'
-		value.0 0
-		value.1 0
+		value.0 3
+		value.1 4
 		comment {
 			access read
 			type INTEGER
@@ -1021,6 +1021,8 @@
 !!------------------
 
 Module
+alx
+mdio
 vmnet
 vmw_vsock_vmci_transport
 vsock
@@ -1136,11 +1138,9 @@
 rtsx_pci_sdmmc
 psmouse
 ahci
-alx
 sdhci_pci
 libahci
 rtsx_pci
-mdio
 sdhci
 floppy
 

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



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

* Re: No sound after suspend-to-ram
  2015-10-26 21:51                     ` George Gugulea
@ 2015-10-27  6:50                       ` Takashi Iwai
  0 siblings, 0 replies; 16+ messages in thread
From: Takashi Iwai @ 2015-10-27  6:50 UTC (permalink / raw)
  To: George Gugulea; +Cc: alsa-devel, Kailang

On Mon, 26 Oct 2015 22:51:18 +0100,
George Gugulea wrote:
> 
> Thanks Kailang, I applied the patch and it works.
> I attached again the diffs, before and after PM (with `echo 1 >
> /sys/modules/snd_hda_codec/parameters/dump_coef`) so you can see the
> coefs have the same values.

OK, I queued the patch now.  Not sure whether this will be in 4.3
final, but certainly included in 4.4-rc1.


thanks,

Takashi

> 
> 
> On Mon, Oct 26, 2015 at 1:39 PM, Takashi Iwai <tiwai@suse.de> wrote:
> > On Mon, 26 Oct 2015 08:45:02 +0100,
> > Kailang wrote:
> >>
> >>
> >> Attach is the patch.
> >
> > Looks good to me.
> > I'm going to queue it once when George confirms that it works indeed.
> >
> >
> > thanks,
> >
> > Takashi
> >
> >>
> >> > -----Original Message-----
> >> > From: Takashi Iwai [mailto:tiwai@suse.de]
> >> > Sent: Monday, October 26, 2015 3:13 PM
> >> > To: Kailang
> >> > Cc: George Gugulea; alsa-devel@alsa-project.org
> >> > Subject: Re: [alsa-devel] No sound after suspend-to-ram
> >> >
> >> > On Mon, 26 Oct 2015 08:00:20 +0100,
> >> > Kailang wrote:
> >> > >
> >> > > Hi Takashi,
> >> > >
> >> > >         [ALC275_FIXUP_DELL_XPS] = {
> >> > >                 .type = HDA_FIXUP_VERBS,
> >> > >                 .v.verbs = (const struct hda_verb[]) {
> >> > >                         /* Enables internal speaker */
> >> > >                         {0x20, AC_VERB_SET_COEF_INDEX, 0x1f},
> >> > >                         {0x20, AC_VERB_SET_PROC_COEF, 0x00c0},
> >> > >                         {0x20, AC_VERB_SET_COEF_INDEX, 0x30},
> >> > >                         {0x20, AC_VERB_SET_PROC_COEF, 0x00b1},
> >> > >                         {}
> >> > >                 }
> >> > >         },
> >> > >
> >> > > Could I put code as upper? Was it enter to initial state?
> >> > > I think it should be execute atfter resume back. Right?
> >> >
> >> > Yes, these are performed at resume.  But the COEF stuff needs
> >> > a bit care since it's written in multiple places.  If you can
> >> > cook up the patch, I can check it hda-emu, too.
> >> >
> >> >
> >> > thanks,
> >> >
> >> > Takashi
> >> >
> >> > ------Please consider the environment before printing this e-mail.
> >> >
> >> [2 0000-dell-xps-speaker-no-sound.patch <application/octet-stream (base64)>]
> >>
> 
> 
> 
> -- 
> gg
> [2 alsa-info.txt.4.3-rc6.fix.before <application/octet-stream (base64)>]
> 
> --- alsa-info.txt.4.3-rc6.fix.before	2015-10-26 23:23:04.626388315 +0200
> +++ alsa-info.txt.4.3-rc6.fix.after	2015-10-26 23:27:32.191807203 +0200
> @@ -3,7 +3,7 @@
>  !!ALSA Information Script v 0.4.64
>  !!################################
>  
> -!!Script ran on: Mon Oct 26 21:23:02 UTC 2015
> +!!Script ran on: Mon Oct 26 21:27:31 UTC 2015
>  
>  
>  !!Linux Distribution
> @@ -142,7 +142,7 @@
>      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>    Device: name="ALC3260 Analog", type="Audio", device=0
>    Amp-Out caps: ofs=0x3f, nsteps=0x40, stepsize=0x03, mute=0
> -  Amp-Out vals:  [0x1f 0x1f]
> +  Amp-Out vals:  [0x24 0x24]
>    Converter: stream=5, channel=0
>    PCM:
>      rates [0x560]: 44100 48000 96000 192000
> @@ -154,7 +154,7 @@
>    Control: name="Speaker Playback Volume", index=0, device=0
>      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>    Amp-Out caps: ofs=0x3f, nsteps=0x40, stepsize=0x03, mute=0
> -  Amp-Out vals:  [0x1f 0x1f]
> +  Amp-Out vals:  [0x24 0x24]
>    Converter: stream=5, channel=0
>    PCM:
>      rates [0x560]: 44100 48000 96000 192000
> @@ -241,14 +241,14 @@
>  Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In
>    Amp-In caps: ofs=0x11, nsteps=0x2e, stepsize=0x03, mute=1
>    Amp-In vals:  [0x10 0x10]
> -  Converter: stream=1, channel=0
> +  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 EPSS
> -  Power: setting=D0, actual=D0
> +  Power: setting=D3, actual=D3
>    Connection: 1
>       0x22
>  Node 0x12 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
> @@ -263,7 +263,7 @@
>      Misc = NO_PRESENCE
>    Pin-ctls: 0x20: IN
>    Power states:  D0 D1 D2 D3 EPSS
> -  Power: setting=D0, actual=D0
> +  Power: setting=D3, actual=D3
>  Node 0x13 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
>    Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
>    Amp-In vals:  [0x00 0x00]
> @@ -532,7 +532,7 @@
>  crw-rw----+ 1 root audio 116,  6 Oct 26 23:22 /dev/snd/hwC0D0
>  crw-rw----+ 1 root audio 116,  7 Oct 26 23:22 /dev/snd/hwC0D3
>  crw-rw----+ 1 root audio 116,  4 Oct 26 23:22 /dev/snd/pcmC0D0c
> -crw-rw----+ 1 root audio 116,  3 Oct 26 23:22 /dev/snd/pcmC0D0p
> +crw-rw----+ 1 root audio 116,  3 Oct 26 23:27 /dev/snd/pcmC0D0p
>  crw-rw----+ 1 root audio 116,  5 Oct 26 23:22 /dev/snd/pcmC0D3p
>  crw-rw----+ 1 root audio 116,  1 Oct 26 23:22 /dev/snd/seq
>  crw-rw----+ 1 root audio 116, 33 Oct 26 23:22 /dev/snd/timer
> @@ -551,7 +551,7 @@
>  
>  **** List of PLAYBACK Hardware Devices ****
>  card 0: PCH [HDA Intel PCH], device 0: ALC3260 Analog [ALC3260 Analog]
> -  Subdevices: 1/1
> +  Subdevices: 0/1
>    Subdevice #0: subdevice #0
>  card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
>    Subdevices: 1/1
> @@ -578,7 +578,7 @@
>    Capabilities: pvolume pvolume-joined pswitch pswitch-joined
>    Playback channels: Mono
>    Limits: Playback 0 - 64
> -  Mono: Playback 32 [50%] [-32.00dB] [on]
> +  Mono: Playback 37 [58%] [-27.00dB] [on]
>  Simple mixer control 'Headphone',0
>    Capabilities: pvolume pswitch
>    Playback channels: Front Left - Front Right
> @@ -804,7 +804,7 @@
>  	control.12 {
>  		iface MIXER
>  		name 'Master Playback Volume'
> -		value 32
> +		value 37
>  		comment {
>  			access 'read write'
>  			type INTEGER
> @@ -812,7 +812,7 @@
>  			range '0 - 64'
>  			dbmin -6400
>  			dbmax 0
> -			dbvalue.0 -3200
> +			dbvalue.0 -2700
>  		}
>  	}
>  	control.13 {
> @@ -895,8 +895,8 @@
>  	control.20 {
>  		iface PCM
>  		name 'Playback Channel Map'
> -		value.0 0
> -		value.1 0
> +		value.0 3
> +		value.1 4
>  		comment {
>  			access read
>  			type INTEGER
> @@ -1021,6 +1021,8 @@
>  !!------------------
>  
>  Module
> +alx
> +mdio
>  vmnet
>  vmw_vsock_vmci_transport
>  vsock
> @@ -1136,11 +1138,9 @@
>  rtsx_pci_sdmmc
>  psmouse
>  ahci
> -alx
>  sdhci_pci
>  libahci
>  rtsx_pci
> -mdio
>  sdhci
>  floppy
>  

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

* No sound after suspend-to-ram
@ 2015-10-21 17:29 George Gugulea
  0 siblings, 0 replies; 16+ messages in thread
From: George Gugulea @ 2015-10-21 17:29 UTC (permalink / raw)
  To: alsa-devel

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

After a fresh reboot, the sound works ok but if I put the computer to
sleep (pm-suspend), after it wakes up there is no sound anymore.

I did try 'alsa force-reload' after suspend but still no sound.
After 'pm-hibernate' sound is back again.

I found an old thread here:
https://bugzilla.kernel.org/show_bug.cgi?id=49421 where Michael seems
to have the same problem which is still unsolved; maybe I can help
with more info.

I attached the 'alsa-info.sh' output before and after suspend:
'alsa-info.txt.before' and 'alsa-info.txt.after'

The PC is here: http://www.dell.com/us/p/xps-27-2720-aio/pd?ref=PD_OC,
but the 2y older version with no touch

If I boot into windows (8.1) everything works great, including sound
(even after suspend)

-- 
gg

[-- Attachment #2: alsa-info.txt.after.gz --]
[-- Type: application/x-gzip, Size: 6180 bytes --]

[-- Attachment #3: alsa-info.txt.before.gz --]
[-- Type: application/x-gzip, Size: 6182 bytes --]

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



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

end of thread, other threads:[~2015-10-27  6:50 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-22  8:38 No sound after suspend-to-ram George Gugulea
2015-10-22 15:15 ` Takashi Iwai
2015-10-22 21:23   ` George Gugulea
2015-10-23  7:30     ` Takashi Iwai
2015-10-23  7:34       ` Takashi Iwai
2015-10-23  8:28       ` Kailang
2015-10-23 22:01         ` George Gugulea
2015-10-24  7:38           ` Takashi Iwai
2015-10-26  3:20             ` Kailang
2015-10-26  7:00             ` Kailang
2015-10-26  7:13               ` Takashi Iwai
     [not found]                 ` <6FAB7C47BCF00940BB0999A99BE3547A17A237D4@RTITMBSV09.realtek.com.tw>
2015-10-26  9:00                   ` George Gugulea
2015-10-26 11:39                   ` Takashi Iwai
2015-10-26 21:51                     ` George Gugulea
2015-10-27  6:50                       ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2015-10-21 17:29 George Gugulea

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