All of lore.kernel.org
 help / color / mirror / Atom feed
* No sound on Quanta KN1 with kernel 3.4
@ 2012-04-14 17:10 Uros Vampl
  2012-04-14 19:25 ` Takashi Iwai
  0 siblings, 1 reply; 19+ messages in thread
From: Uros Vampl @ 2012-04-14 17:10 UTC (permalink / raw)
  To: alsa-devel

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

Hi,

as I wrote on the -users list, I don't have sound anymore in kernel 3.4. 
I was told to post the output of alsa-info.sh here, so here I am. The 
requested output is attached.

Regards,
Uroš

[-- Attachment #2: alsa-info.txt.JgpU6PkFMK --]
[-- Type: text/plain, Size: 26207 bytes --]

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

!!Script ran on: Sat Apr 14 17:05:26 UTC 2012


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

Arch Linux @ \n (\r) \l


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

Manufacturer:      Gericom Inc
Product Name:      KN1             
Product Version:   Not Applicable


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

Kernel release:    3.4.0-rc2-zanic_kista
Operating System:  GNU/Linux
Architecture:      i686
Processor:         Intel(R) Pentium(R) M processor 1.73GHz
SMP Enabled:       No


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

Driver version:     1.0.25
Library version:    1.0.25
Utilities version:  1.0.25


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



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

No sound servers found.


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

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xc0000000 irq 44


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

00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)


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

00:1b.0 0403: 8086:2668 (rev 04)
	Subsystem: 152d:0729


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


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

Codec: Realtek ALC260
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0260
Subsystem Id: 0x02600000
Revision Id: 0x100400
No Modem Function Group found
Default PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=4, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x11: Stereo
  Device: name="ALC260 Analog", type="Audio", device=0
  Converter: stream=8, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x211: Stereo Digital
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
  Device: name="ALC260 Digital", type="SPDIF", device=1
  Converter: stream=8, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
Node 0x04 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Control: name="Input Source", index=0, device=0
  Control: name="Capture Switch", index=0, device=0
  Control: name="Capture Volume", index=0, device=0
  Device: name="ALC260 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x00, nsteps=0x23, stepsize=0x03, mute=1
  Amp-In vals:  [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Connection: 7
     0x12* 0x13 0x14 0x15 0x16 0x0f 0x10
Node 0x05 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Control: name="Input Source", index=1, device=0
  Control: name="Capture Switch", index=1, device=0
  Control: name="Capture Volume", index=1, device=0
  Device: name="ALC260 Analog", type="Audio", device=2
  Amp-In caps: ofs=0x00, nsteps=0x23, stepsize=0x03, mute=1
  Amp-In vals:  [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Connection: 8
     0x12* 0x13 0x14 0x15 0x16 0x07 0x0f 0x10
Node 0x06 [Audio Input] wcaps 0x100391: Stereo Digital
  Control: name="IEC958 Capture Switch", index=0, device=0
  Control: name="IEC958 Capture Default", index=0, device=0
  Device: name="ALC260 Digital", type="SPDIF", device=1
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x19
Node 0x07 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Rear Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Rear Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Front Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="Front Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="Line Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Control: name="Line Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Control: name="CD Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  Control: name="CD Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  Control: name="Aux Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=3, ofs=0
  Control: name="Aux Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=3, ofs=0
  Control: name="Beep Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=5, ofs=0
  Control: name="Beep Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=5, ofs=0
  Amp-In caps: ofs=0x23, nsteps=0x41, stepsize=0x03, mute=1
  Amp-In vals:  [0x80 0x80] [0xab 0xab] [0xab 0xab] [0x80 0x80] [0x2b 0x2b] [0x0c 0x0c] [0x80 0x80] [0x80 0x80]
  Connection: 8
     0x12 0x13 0x14 0x15 0x16 0x17 0x0f 0x10
Node 0x08 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x40 0x40]
  Connection: 2
     0x02 0x07
Node 0x09 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Control: name="Master Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x2a 0x2a]
  Connection: 2
     0x02 0x07
Node 0x0a [Audio Mixer] wcaps 0x20010e: Mono Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00] [0x80]
  Amp-Out caps: ofs=0x23, nsteps=0x41, stepsize=0x03, mute=0
  Amp-Out vals:  [0x23]
  Connection: 2
     0x02 0x07
Node 0x0b [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x08* 0x09
Node 0x0c [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x08* 0x09
Node 0x0d [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x08* 0x09
Node 0x0e [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x08* 0x09
Node 0x0f [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0001003f: IN OUT HP EAPD Detect Trigger ImpSense
  EAPD 0x2: EAPD
  Pin Default 0x01014000: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x08
Node 0x10 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Master Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Front Headphone Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001003f: IN OUT HP EAPD Detect Trigger ImpSense
  EAPD 0x2: EAPD
  Pin Default 0x02214000: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Connection: 1
     0x09
Node 0x11 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80]
  Pincap 0x00000010: OUT
  Pin Default 0x50171000: [N/A] Speaker at Int N/A
    Conn = Analog, Color = Black
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x0a
Node 0x12 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Rear Mic Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 80
  Pin Default 0x01a19000: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x21: IN VREF_50
  Unsolicited: tag=02, enabled=1
  Connection: 1
     0x0b
Node 0x13 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Front Mic Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 80
  Pin Default 0x02a19000: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=03, enabled=1
  Connection: 1
     0x0c
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Line Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 80
  Pin Default 0x01813000: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=04, enabled=1
  Connection: 1
     0x0d
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 80
  Pin Default 0x99931000: [Fixed] Aux at Int ATAPI
    Conn = ATAPI, Color = Black
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0e
Node 0x16 [Pin Complex] wcaps 0x400001: Stereo
  Pincap 0x00000020: IN
  Pin Default 0x99331000: [Fixed] CD at Int ATAPI
    Conn = ATAPI, Color = Black
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x00:
Node 0x17 [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x00000020: IN
  Pin Default 0x90f71000: [Fixed] Other at Int N/A
    Conn = Analog, Color = Black
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x00:
Node 0x18 [Pin Complex] wcaps 0x400380: Mono Digital
  Control: name="SPDIF Jack", index=0, device=0
  Pincap 0x00000014: OUT Detect
  Pin Default 0x01446000: [Jack] SPDIF Out at Ext Rear
    Conn = RCA, Color = Orange
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x03
Node 0x19 [Pin Complex] wcaps 0x400280: Mono Digital
  Control: name="SPDIF In Jack", index=0, device=0
  Pincap 0x00000024: IN Detect
  Pin Default 0x01c41000: [Jack] SPDIF In at Ext Rear
    Conn = RCA, Color = Black
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
Node 0x1a [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=13
Node 0x1b [Volume Knob Widget] wcaps 0x600080: Mono
  Volume-Knob: delta=0, steps=64, direct=0, val=0
  Unsolicited: tag=00, enabled=0
  Connection: 0
Codec: Motorola ID 3055
Address: 1
MFG Function Id: 0x2 (unsol 1)
Vendor Id: 0x10573055
Subsystem Id: 0x10573055
Revision Id: 0x100700
Modem Function Group: 0x1
--endcollapse--


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

crw-rw---- 1 root audio 116,  0 Apr 14 19:03 /dev/snd/controlC0
crw-rw---- 1 root audio 116,  4 Apr 14 19:03 /dev/snd/hwC0D0
crw-rw---- 1 root audio 116,  5 Apr 14 19:03 /dev/snd/hwC0D1
crw-rw---- 1 root audio 116, 24 Apr 14 19:03 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 16 Apr 14 19:04 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 25 Apr 14 19:03 /dev/snd/pcmC0D1c
crw-rw---- 1 root audio 116, 17 Apr 14 19:03 /dev/snd/pcmC0D1p
crw-rw---- 1 root audio 116, 26 Apr 14 19:03 /dev/snd/pcmC0D2c
crw-rw---- 1 root audio 116,  1 Apr 14 19:03 /dev/snd/seq
crw-rw---- 1 root audio 116, 33 Apr 14 19:03 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Apr 14 19:03 .
drwxr-xr-x 3 root root 260 Apr 14 19:03 ..
lrwxrwxrwx 1 root root  12 Apr 14 19:03 pci-0000:00:1b.0 -> ../controlC0


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

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC260 Analog [ALC260 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC260 Digital [ALC260 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

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

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

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

Card hw:0 'Intel'/'HDA Intel at 0xc0000000 irq 44'
  Mixer name	: 'Realtek ALC260'
  Components	: 'HDA:10ec0260,02600000,00100400 HDA:10573055,10573055,00100700'
  Controls      : 35
  Simple ctrls  : 15
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 42 [66%] [-22.00dB] [on]
  Front Right: Playback 42 [66%] [-22.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  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 'Front Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65
  Mono:
  Front Left: Playback 43 [66%] [8.00dB] [off]
  Front Right: Playback 43 [66%] [8.00dB] [off]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65
  Mono:
  Front Left: Playback 43 [66%] [8.00dB] [off]
  Front Right: Playback 43 [66%] [8.00dB] [off]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65
  Mono:
  Front Left: Playback 43 [66%] [8.00dB] [on]
  Front Right: Playback 43 [66%] [8.00dB] [on]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined cswitch cswitch-joined penum
  Playback channels: Mono
  Capture channels: Mono
  Mono: Playback [off] Capture [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Beep',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65
  Mono:
  Front Left: Playback 12 [18%] [-23.00dB] [on]
  Front Right: Playback 12 [18%] [-23.00dB] [on]
Simple mixer control 'Aux',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65
  Mono:
  Front Left: Playback 0 [0%] [-35.00dB] [off]
  Front Right: Playback 0 [0%] [-35.00dB] [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 35
  Front Left: Capture 23 [66%] [23.00dB] [off]
  Front Right: Capture 23 [66%] [23.00dB] [off]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 35
  Front Left: Capture 23 [66%] [23.00dB] [off]
  Front Right: Capture 23 [66%] [23.00dB] [off]
Simple mixer control 'Digital',0
  Capabilities: cvolume penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 60 [50%] [0.00dB]
  Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Rear Mic' 'Front Mic' 'Line' 'CD' 'Aux'
  Item0: 'Rear Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Rear Mic' 'Front Mic' 'Line' 'CD' 'Aux'
  Item0: 'Rear Mic'
Simple mixer control 'Rear Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65
  Mono:
  Front Left: Playback 0 [0%] [-35.00dB] [off]
  Front Right: Playback 0 [0%] [-35.00dB] [off]


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

--startcollapse--
state.Intel {
	control.1 {
		iface MIXER
		name 'Master Playback Volume'
		value.0 42
		value.1 42
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 -2200
			dbvalue.1 -2200
		}
	}
	control.2 {
		iface MIXER
		name 'Master Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.3 {
		iface MIXER
		name 'Rear Mic Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 65'
			dbmin -3500
			dbmax 3000
			dbvalue.0 -3500
			dbvalue.1 -3500
		}
	}
	control.4 {
		iface MIXER
		name 'Rear Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.5 {
		iface MIXER
		name 'Front Mic Playback Volume'
		value.0 43
		value.1 43
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 65'
			dbmin -3500
			dbmax 3000
			dbvalue.0 800
			dbvalue.1 800
		}
	}
	control.6 {
		iface MIXER
		name 'Front Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.7 {
		iface MIXER
		name 'Line Playback Volume'
		value.0 43
		value.1 43
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 65'
			dbmin -3500
			dbmax 3000
			dbvalue.0 800
			dbvalue.1 800
		}
	}
	control.8 {
		iface MIXER
		name 'Line Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.9 {
		iface MIXER
		name 'CD Playback Volume'
		value.0 43
		value.1 43
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 65'
			dbmin -3500
			dbmax 3000
			dbvalue.0 800
			dbvalue.1 800
		}
	}
	control.10 {
		iface MIXER
		name 'CD Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.11 {
		iface MIXER
		name 'Aux Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 65'
			dbmin -3500
			dbmax 3000
			dbvalue.0 -3500
			dbvalue.1 -3500
		}
	}
	control.12 {
		iface MIXER
		name 'Aux Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.13 {
		iface MIXER
		name 'Capture Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.14 {
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.15 {
		iface MIXER
		name 'Capture Volume'
		value.0 23
		value.1 23
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 35'
			dbmin 0
			dbmax 3500
			dbvalue.0 2300
			dbvalue.1 2300
		}
	}
	control.16 {
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 23
		value.1 23
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 35'
			dbmin 0
			dbmax 3500
			dbvalue.0 2300
			dbvalue.1 2300
		}
	}
	control.17 {
		iface MIXER
		name 'Input Source'
		value 'Rear Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Rear Mic'
			item.1 'Front Mic'
			item.2 Line
			item.3 CD
			item.4 Aux
		}
	}
	control.18 {
		iface MIXER
		name 'Input Source'
		index 1
		value 'Rear Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Rear Mic'
			item.1 'Front Mic'
			item.2 Line
			item.3 CD
			item.4 Aux
		}
	}
	control.19 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.20 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.21 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.22 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.23 {
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.24 {
		iface MIXER
		name 'IEC958 Capture Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.25 {
		iface MIXER
		name 'IEC958 Capture Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.26 {
		iface MIXER
		name 'Beep Playback Volume'
		value.0 12
		value.1 12
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 65'
			dbmin -3500
			dbmax 3000
			dbvalue.0 -2300
			dbvalue.1 -2300
		}
	}
	control.27 {
		iface MIXER
		name 'Beep Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.28 {
		iface CARD
		name 'Front Headphone Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.29 {
		iface CARD
		name 'Rear Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.30 {
		iface CARD
		name 'Front Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.31 {
		iface CARD
		name 'Line Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.32 {
		iface CARD
		name 'SPDIF Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.33 {
		iface CARD
		name 'SPDIF In Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.34 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 255
		value.1 255
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 255'
			tlv '0000000100000008ffffec1400000014'
			dbmin -5100
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.35 {
		iface MIXER
		name 'Digital Capture Volume'
		value.0 60
		value.1 60
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 120'
			tlv '0000000100000008fffff44800000032'
			dbmin -3000
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
}
--endcollapse--


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

Module
nvidia
snd_hda_codec_realtek
snd_hda_intel
snd_hda_codec
snd_pcm_oss
snd_mixer_oss
snd_hwdep
snd_pcm
snd_page_alloc
snd_timer
tifm_7xx1
tifm_core


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

/sys/class/sound/hwC0D0/init_pin_configs:
0x0f 0x01014000
0x10 0x02214000
0x11 0x50171000
0x12 0x01a19000
0x13 0x02a19000
0x14 0x01813000
0x15 0x99931000
0x16 0x99331000
0x17 0x90f71000
0x18 0x01446000
0x19 0x01c41000

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D1/init_pin_configs:

/sys/class/sound/hwC0D1/driver_pin_configs:

/sys/class/sound/hwC0D1/user_pin_configs:

/sys/class/sound/hwC0D1/init_verbs:


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

usbhid: USB HID core driver
ALSA device list:
  No soundcards found.
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
--
usb 1-3: reset high-speed USB device number 3 using ehci_hcd
snd_hda_intel 0000:00:1b.0: irq 44 for MSI/MSI-X
input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input6
nvidia: module license 'NVIDIA' taints kernel.



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



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

* Re: No sound on Quanta KN1 with kernel 3.4
  2012-04-14 17:10 No sound on Quanta KN1 with kernel 3.4 Uros Vampl
@ 2012-04-14 19:25 ` Takashi Iwai
       [not found]   ` <20120414205209.GA1041@zanic_kista>
  0 siblings, 1 reply; 19+ messages in thread
From: Takashi Iwai @ 2012-04-14 19:25 UTC (permalink / raw)
  To: Uros Vampl; +Cc: alsa-devel

At Sat, 14 Apr 2012 19:10:30 +0200,
Uros Vampl wrote:
> 
> Hi,
> 
> as I wrote on the -users list, I don't have sound anymore in kernel 3.4. 
> I was told to post the output of alsa-info.sh here, so here I am. The 
> requested output is attached.

Could you give the alsa-info.sh output on the working kernel?
In that way, it becomes easier to spot out what caused the problem.


thanks,

Takashi

> 
> Regards,
> Uroš
> [2 alsa-info.txt.JgpU6PkFMK <text/plain; us-ascii (7bit)>]
> upload=true&script=true&cardinfo=
> !!################################
> !!ALSA Information Script v 0.4.60
> !!################################
> 
> !!Script ran on: Sat Apr 14 17:05:26 UTC 2012
> 
> 
> !!Linux Distribution
> !!------------------
> 
> Arch Linux @ \n (\r) \l
> 
> 
> !!DMI Information
> !!---------------
> 
> Manufacturer:      Gericom Inc
> Product Name:      KN1             
> Product Version:   Not Applicable
> 
> 
> !!Kernel Information
> !!------------------
> 
> Kernel release:    3.4.0-rc2-zanic_kista
> Operating System:  GNU/Linux
> Architecture:      i686
> Processor:         Intel(R) Pentium(R) M processor 1.73GHz
> SMP Enabled:       No
> 
> 
> !!ALSA Version
> !!------------
> 
> Driver version:     1.0.25
> Library version:    1.0.25
> Utilities version:  1.0.25
> 
> 
> !!Loaded ALSA modules
> !!-------------------
> 
> 
> 
> !!Sound Servers on this system
> !!----------------------------
> 
> No sound servers found.
> 
> 
> !!Soundcards recognised by ALSA
> !!-----------------------------
> 
>  0 [Intel          ]: HDA-Intel - HDA Intel
>                       HDA Intel at 0xc0000000 irq 44
> 
> 
> !!PCI Soundcards installed in the system
> !!--------------------------------------
> 
> 00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)
> 
> 
> !!Advanced information - PCI Vendor/Device/Subsystem ID's
> !!--------------------------------------------------------
> 
> 00:1b.0 0403: 8086:2668 (rev 04)
> 	Subsystem: 152d:0729
> 
> 
> !!Loaded sound module options
> !!--------------------------
> 
> 
> !!HDA-Intel Codec information
> !!---------------------------
> --startcollapse--
> 
> Codec: Realtek ALC260
> Address: 0
> AFG Function Id: 0x1 (unsol 1)
> Vendor Id: 0x10ec0260
> Subsystem Id: 0x02600000
> Revision Id: 0x100400
> No Modem Function Group found
> Default PCM:
>     rates [0x560]: 44100 48000 96000 192000
>     bits [0xe]: 16 20 24
>     formats [0x1]: PCM
> Default Amp-In caps: N/A
> Default Amp-Out caps: N/A
> GPIO: io=4, o=0, i=0, unsolicited=1, wake=0
>   IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
>   IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
>   IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
>   IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
> Node 0x02 [Audio Output] wcaps 0x11: Stereo
>   Device: name="ALC260 Analog", type="Audio", device=0
>   Converter: stream=8, channel=0
>   PCM:
>     rates [0x560]: 44100 48000 96000 192000
>     bits [0xe]: 16 20 24
>     formats [0x1]: PCM
> Node 0x03 [Audio Output] wcaps 0x211: Stereo Digital
>   Control: name="IEC958 Playback Con Mask", index=0, device=0
>   Control: name="IEC958 Playback Pro Mask", index=0, device=0
>   Control: name="IEC958 Playback Default", index=0, device=0
>   Control: name="IEC958 Playback Switch", index=0, device=0
>   Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
>   Device: name="ALC260 Digital", type="SPDIF", device=1
>   Converter: stream=8, channel=0
>   Digital:
>   Digital category: 0x0
>   PCM:
>     rates [0x560]: 44100 48000 96000 192000
>     bits [0x1e]: 16 20 24 32
>     formats [0x1]: PCM
> Node 0x04 [Audio Input] wcaps 0x10011b: Stereo Amp-In
>   Control: name="Input Source", index=0, device=0
>   Control: name="Capture Switch", index=0, device=0
>   Control: name="Capture Volume", index=0, device=0
>   Device: name="ALC260 Analog", type="Audio", device=0
>   Amp-In caps: ofs=0x00, nsteps=0x23, stepsize=0x03, mute=1
>   Amp-In vals:  [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
>   Converter: stream=0, channel=0
>   SDI-Select: 0
>   PCM:
>     rates [0x160]: 44100 48000 96000
>     bits [0x6]: 16 20
>     formats [0x1]: PCM
>   Connection: 7
>      0x12* 0x13 0x14 0x15 0x16 0x0f 0x10
> Node 0x05 [Audio Input] wcaps 0x10011b: Stereo Amp-In
>   Control: name="Input Source", index=1, device=0
>   Control: name="Capture Switch", index=1, device=0
>   Control: name="Capture Volume", index=1, device=0
>   Device: name="ALC260 Analog", type="Audio", device=2
>   Amp-In caps: ofs=0x00, nsteps=0x23, stepsize=0x03, mute=1
>   Amp-In vals:  [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
>   Converter: stream=0, channel=0
>   SDI-Select: 0
>   PCM:
>     rates [0x160]: 44100 48000 96000
>     bits [0x6]: 16 20
>     formats [0x1]: PCM
>   Connection: 8
>      0x12* 0x13 0x14 0x15 0x16 0x07 0x0f 0x10
> Node 0x06 [Audio Input] wcaps 0x100391: Stereo Digital
>   Control: name="IEC958 Capture Switch", index=0, device=0
>   Control: name="IEC958 Capture Default", index=0, device=0
>   Device: name="ALC260 Digital", type="SPDIF", device=1
>   Converter: stream=0, channel=0
>   SDI-Select: 0
>   Digital:
>   Digital category: 0x0
>   PCM:
>     rates [0x160]: 44100 48000 96000
>     bits [0x1e]: 16 20 24 32
>     formats [0x1]: PCM
>   Unsolicited: tag=00, enabled=0
>   Connection: 1
>      0x19
> Node 0x07 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
>   Control: name="Rear Mic Playback Volume", index=0, device=0
>     ControlAmp: chs=3, dir=In, idx=0, ofs=0
>   Control: name="Rear Mic Playback Switch", index=0, device=0
>     ControlAmp: chs=3, dir=In, idx=0, ofs=0
>   Control: name="Front Mic Playback Volume", index=0, device=0
>     ControlAmp: chs=3, dir=In, idx=1, ofs=0
>   Control: name="Front Mic Playback Switch", index=0, device=0
>     ControlAmp: chs=3, dir=In, idx=1, ofs=0
>   Control: name="Line Playback Volume", index=0, device=0
>     ControlAmp: chs=3, dir=In, idx=2, ofs=0
>   Control: name="Line Playback Switch", index=0, device=0
>     ControlAmp: chs=3, dir=In, idx=2, ofs=0
>   Control: name="CD Playback Volume", index=0, device=0
>     ControlAmp: chs=3, dir=In, idx=4, ofs=0
>   Control: name="CD Playback Switch", index=0, device=0
>     ControlAmp: chs=3, dir=In, idx=4, ofs=0
>   Control: name="Aux Playback Volume", index=0, device=0
>     ControlAmp: chs=3, dir=In, idx=3, ofs=0
>   Control: name="Aux Playback Switch", index=0, device=0
>     ControlAmp: chs=3, dir=In, idx=3, ofs=0
>   Control: name="Beep Playback Volume", index=0, device=0
>     ControlAmp: chs=3, dir=In, idx=5, ofs=0
>   Control: name="Beep Playback Switch", index=0, device=0
>     ControlAmp: chs=3, dir=In, idx=5, ofs=0
>   Amp-In caps: ofs=0x23, nsteps=0x41, stepsize=0x03, mute=1
>   Amp-In vals:  [0x80 0x80] [0xab 0xab] [0xab 0xab] [0x80 0x80] [0x2b 0x2b] [0x0c 0x0c] [0x80 0x80] [0x80 0x80]
>   Connection: 8
>      0x12 0x13 0x14 0x15 0x16 0x17 0x0f 0x10
> Node 0x08 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
>   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>   Amp-In vals:  [0x00 0x00] [0x80 0x80]
>   Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
>   Amp-Out vals:  [0x40 0x40]
>   Connection: 2
>      0x02 0x07
> Node 0x09 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
>   Control: name="Master Playback Volume", index=0, device=0
>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>   Amp-In vals:  [0x00 0x00] [0x00 0x00]
>   Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
>   Amp-Out vals:  [0x2a 0x2a]
>   Connection: 2
>      0x02 0x07
> Node 0x0a [Audio Mixer] wcaps 0x20010e: Mono Amp-In Amp-Out
>   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>   Amp-In vals:  [0x00] [0x80]
>   Amp-Out caps: ofs=0x23, nsteps=0x41, stepsize=0x03, mute=0
>   Amp-Out vals:  [0x23]
>   Connection: 2
>      0x02 0x07
> Node 0x0b [Audio Selector] wcaps 0x300101: Stereo
>   Connection: 2
>      0x08* 0x09
> Node 0x0c [Audio Selector] wcaps 0x300101: Stereo
>   Connection: 2
>      0x08* 0x09
> Node 0x0d [Audio Selector] wcaps 0x300101: Stereo
>   Connection: 2
>      0x08* 0x09
> Node 0x0e [Audio Selector] wcaps 0x300101: Stereo
>   Connection: 2
>      0x08* 0x09
> Node 0x0f [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
>   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>   Amp-Out vals:  [0x80 0x80]
>   Pincap 0x0001003f: IN OUT HP EAPD Detect Trigger ImpSense
>   EAPD 0x2: EAPD
>   Pin Default 0x01014000: [Jack] Line Out at Ext Rear
>     Conn = 1/8, Color = Green
>     DefAssociation = 0x0, Sequence = 0x0
>   Pin-ctls: 0x20: IN
>   Unsolicited: tag=00, enabled=0
>   Connection: 1
>      0x08
> Node 0x10 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
>   Control: name="Master Playback Switch", index=0, device=0
>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>   Control: name="Front Headphone Jack", index=0, device=0
>   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>   Amp-Out vals:  [0x00 0x00]
>   Pincap 0x0001003f: IN OUT HP EAPD Detect Trigger ImpSense
>   EAPD 0x2: EAPD
>   Pin Default 0x02214000: [Jack] HP Out at Ext Front
>     Conn = 1/8, Color = Green
>     DefAssociation = 0x0, Sequence = 0x0
>   Pin-ctls: 0xc0: OUT HP
>   Unsolicited: tag=01, enabled=1
>   Connection: 1
>      0x09
> Node 0x11 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
>   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>   Amp-Out vals:  [0x80]
>   Pincap 0x00000010: OUT
>   Pin Default 0x50171000: [N/A] Speaker at Int N/A
>     Conn = Analog, Color = Black
>     DefAssociation = 0x0, Sequence = 0x0
>   Pin-ctls: 0x40: OUT
>   Connection: 1
>      0x0a
> Node 0x12 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
>   Control: name="Rear Mic Jack", index=0, device=0
>   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>   Amp-Out vals:  [0x80 0x80]
>   Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
>     Vref caps: HIZ 50 80
>   Pin Default 0x01a19000: [Jack] Mic at Ext Rear
>     Conn = 1/8, Color = Pink
>     DefAssociation = 0x0, Sequence = 0x0
>   Pin-ctls: 0x21: IN VREF_50
>   Unsolicited: tag=02, enabled=1
>   Connection: 1
>      0x0b
> Node 0x13 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
>   Control: name="Front Mic Jack", index=0, device=0
>   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>   Amp-Out vals:  [0x80 0x80]
>   Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
>     Vref caps: HIZ 50 80
>   Pin Default 0x02a19000: [Jack] Mic at Ext Front
>     Conn = 1/8, Color = Pink
>     DefAssociation = 0x0, Sequence = 0x0
>   Pin-ctls: 0x24: IN VREF_80
>   Unsolicited: tag=03, enabled=1
>   Connection: 1
>      0x0c
> Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
>   Control: name="Line Jack", index=0, device=0
>   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>   Amp-Out vals:  [0x80 0x80]
>   Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
>     Vref caps: HIZ 50 80
>   Pin Default 0x01813000: [Jack] Line In at Ext Rear
>     Conn = 1/8, Color = Blue
>     DefAssociation = 0x0, Sequence = 0x0
>   Pin-ctls: 0x20: IN VREF_HIZ
>   Unsolicited: tag=04, enabled=1
>   Connection: 1
>      0x0d
> Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
>   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>   Amp-Out vals:  [0x80 0x80]
>   Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
>     Vref caps: HIZ 50 80
>   Pin Default 0x99931000: [Fixed] Aux at Int ATAPI
>     Conn = ATAPI, Color = Black
>     DefAssociation = 0x0, Sequence = 0x0
>   Pin-ctls: 0x20: IN VREF_HIZ
>   Unsolicited: tag=00, enabled=0
>   Connection: 1
>      0x0e
> Node 0x16 [Pin Complex] wcaps 0x400001: Stereo
>   Pincap 0x00000020: IN
>   Pin Default 0x99331000: [Fixed] CD at Int ATAPI
>     Conn = ATAPI, Color = Black
>     DefAssociation = 0x0, Sequence = 0x0
>   Pin-ctls: 0x00:
> Node 0x17 [Pin Complex] wcaps 0x400000: Mono
>   Pincap 0x00000020: IN
>   Pin Default 0x90f71000: [Fixed] Other at Int N/A
>     Conn = Analog, Color = Black
>     DefAssociation = 0x0, Sequence = 0x0
>   Pin-ctls: 0x00:
> Node 0x18 [Pin Complex] wcaps 0x400380: Mono Digital
>   Control: name="SPDIF Jack", index=0, device=0
>   Pincap 0x00000014: OUT Detect
>   Pin Default 0x01446000: [Jack] SPDIF Out at Ext Rear
>     Conn = RCA, Color = Orange
>     DefAssociation = 0x0, Sequence = 0x0
>   Pin-ctls: 0x00:
>   Unsolicited: tag=00, enabled=0
>   Connection: 1
>      0x03
> Node 0x19 [Pin Complex] wcaps 0x400280: Mono Digital
>   Control: name="SPDIF In Jack", index=0, device=0
>   Pincap 0x00000024: IN Detect
>   Pin Default 0x01c41000: [Jack] SPDIF In at Ext Rear
>     Conn = RCA, Color = Black
>     DefAssociation = 0x0, Sequence = 0x0
>   Pin-ctls: 0x00:
>   Unsolicited: tag=00, enabled=0
> Node 0x1a [Vendor Defined Widget] wcaps 0xf00040: Mono
>   Processing caps: benign=0, ncoeff=13
> Node 0x1b [Volume Knob Widget] wcaps 0x600080: Mono
>   Volume-Knob: delta=0, steps=64, direct=0, val=0
>   Unsolicited: tag=00, enabled=0
>   Connection: 0
> Codec: Motorola ID 3055
> Address: 1
> MFG Function Id: 0x2 (unsol 1)
> Vendor Id: 0x10573055
> Subsystem Id: 0x10573055
> Revision Id: 0x100700
> Modem Function Group: 0x1
> --endcollapse--
> 
> 
> !!ALSA Device nodes
> !!-----------------
> 
> crw-rw---- 1 root audio 116,  0 Apr 14 19:03 /dev/snd/controlC0
> crw-rw---- 1 root audio 116,  4 Apr 14 19:03 /dev/snd/hwC0D0
> crw-rw---- 1 root audio 116,  5 Apr 14 19:03 /dev/snd/hwC0D1
> crw-rw---- 1 root audio 116, 24 Apr 14 19:03 /dev/snd/pcmC0D0c
> crw-rw---- 1 root audio 116, 16 Apr 14 19:04 /dev/snd/pcmC0D0p
> crw-rw---- 1 root audio 116, 25 Apr 14 19:03 /dev/snd/pcmC0D1c
> crw-rw---- 1 root audio 116, 17 Apr 14 19:03 /dev/snd/pcmC0D1p
> crw-rw---- 1 root audio 116, 26 Apr 14 19:03 /dev/snd/pcmC0D2c
> crw-rw---- 1 root audio 116,  1 Apr 14 19:03 /dev/snd/seq
> crw-rw---- 1 root audio 116, 33 Apr 14 19:03 /dev/snd/timer
> 
> /dev/snd/by-path:
> total 0
> drwxr-xr-x 2 root root  60 Apr 14 19:03 .
> drwxr-xr-x 3 root root 260 Apr 14 19:03 ..
> lrwxrwxrwx 1 root root  12 Apr 14 19:03 pci-0000:00:1b.0 -> ../controlC0
> 
> 
> !!Aplay/Arecord output
> !!------------
> 
> APLAY
> 
> **** List of PLAYBACK Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: ALC260 Analog [ALC260 Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: Intel [HDA Intel], device 1: ALC260 Digital [ALC260 Digital]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> 
> ARECORD
> 
> **** List of CAPTURE Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: ALC260 Analog [ALC260 Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: Intel [HDA Intel], device 1: ALC260 Digital [ALC260 Digital]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: Intel [HDA Intel], device 2: ALC260 Analog [ALC260 Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> 
> !!Amixer output
> !!-------------
> 
> !!-------Mixer controls for card 0 [Intel]
> 
> Card hw:0 'Intel'/'HDA Intel at 0xc0000000 irq 44'
>   Mixer name	: 'Realtek ALC260'
>   Components	: 'HDA:10ec0260,02600000,00100400 HDA:10573055,10573055,00100700'
>   Controls      : 35
>   Simple ctrls  : 15
> Simple mixer control 'Master',0
>   Capabilities: pvolume pswitch penum
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 64
>   Mono:
>   Front Left: Playback 42 [66%] [-22.00dB] [on]
>   Front Right: Playback 42 [66%] [-22.00dB] [on]
> Simple mixer control 'PCM',0
>   Capabilities: pvolume penum
>   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 'Front Mic',0
>   Capabilities: pvolume pswitch penum
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 65
>   Mono:
>   Front Left: Playback 43 [66%] [8.00dB] [off]
>   Front Right: Playback 43 [66%] [8.00dB] [off]
> Simple mixer control 'Line',0
>   Capabilities: pvolume pswitch penum
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 65
>   Mono:
>   Front Left: Playback 43 [66%] [8.00dB] [off]
>   Front Right: Playback 43 [66%] [8.00dB] [off]
> Simple mixer control 'CD',0
>   Capabilities: pvolume pswitch penum
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 65
>   Mono:
>   Front Left: Playback 43 [66%] [8.00dB] [on]
>   Front Right: Playback 43 [66%] [8.00dB] [on]
> Simple mixer control 'IEC958',0
>   Capabilities: pswitch pswitch-joined cswitch cswitch-joined penum
>   Playback channels: Mono
>   Capture channels: Mono
>   Mono: Playback [off] Capture [off]
> Simple mixer control 'IEC958 Default PCM',0
>   Capabilities: pswitch pswitch-joined penum
>   Playback channels: Mono
>   Mono: Playback [on]
> Simple mixer control 'Beep',0
>   Capabilities: pvolume pswitch penum
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 65
>   Mono:
>   Front Left: Playback 12 [18%] [-23.00dB] [on]
>   Front Right: Playback 12 [18%] [-23.00dB] [on]
> Simple mixer control 'Aux',0
>   Capabilities: pvolume pswitch penum
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 65
>   Mono:
>   Front Left: Playback 0 [0%] [-35.00dB] [off]
>   Front Right: Playback 0 [0%] [-35.00dB] [off]
> Simple mixer control 'Capture',0
>   Capabilities: cvolume cswitch penum
>   Capture channels: Front Left - Front Right
>   Limits: Capture 0 - 35
>   Front Left: Capture 23 [66%] [23.00dB] [off]
>   Front Right: Capture 23 [66%] [23.00dB] [off]
> Simple mixer control 'Capture',1
>   Capabilities: cvolume cswitch penum
>   Capture channels: Front Left - Front Right
>   Limits: Capture 0 - 35
>   Front Left: Capture 23 [66%] [23.00dB] [off]
>   Front Right: Capture 23 [66%] [23.00dB] [off]
> Simple mixer control 'Digital',0
>   Capabilities: cvolume penum
>   Capture channels: Front Left - Front Right
>   Limits: Capture 0 - 120
>   Front Left: Capture 60 [50%] [0.00dB]
>   Front Right: Capture 60 [50%] [0.00dB]
> Simple mixer control 'Input Source',0
>   Capabilities: cenum
>   Items: 'Rear Mic' 'Front Mic' 'Line' 'CD' 'Aux'
>   Item0: 'Rear Mic'
> Simple mixer control 'Input Source',1
>   Capabilities: cenum
>   Items: 'Rear Mic' 'Front Mic' 'Line' 'CD' 'Aux'
>   Item0: 'Rear Mic'
> Simple mixer control 'Rear Mic',0
>   Capabilities: pvolume pswitch penum
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 65
>   Mono:
>   Front Left: Playback 0 [0%] [-35.00dB] [off]
>   Front Right: Playback 0 [0%] [-35.00dB] [off]
> 
> 
> !!Alsactl output
> !!-------------
> 
> --startcollapse--
> state.Intel {
> 	control.1 {
> 		iface MIXER
> 		name 'Master Playback Volume'
> 		value.0 42
> 		value.1 42
> 		comment {
> 			access 'read write'
> 			type INTEGER
> 			count 2
> 			range '0 - 64'
> 			dbmin -6400
> 			dbmax 0
> 			dbvalue.0 -2200
> 			dbvalue.1 -2200
> 		}
> 	}
> 	control.2 {
> 		iface MIXER
> 		name 'Master Playback Switch'
> 		value.0 true
> 		value.1 true
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 2
> 		}
> 	}
> 	control.3 {
> 		iface MIXER
> 		name 'Rear Mic Playback Volume'
> 		value.0 0
> 		value.1 0
> 		comment {
> 			access 'read write'
> 			type INTEGER
> 			count 2
> 			range '0 - 65'
> 			dbmin -3500
> 			dbmax 3000
> 			dbvalue.0 -3500
> 			dbvalue.1 -3500
> 		}
> 	}
> 	control.4 {
> 		iface MIXER
> 		name 'Rear Mic Playback Switch'
> 		value.0 false
> 		value.1 false
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 2
> 		}
> 	}
> 	control.5 {
> 		iface MIXER
> 		name 'Front Mic Playback Volume'
> 		value.0 43
> 		value.1 43
> 		comment {
> 			access 'read write'
> 			type INTEGER
> 			count 2
> 			range '0 - 65'
> 			dbmin -3500
> 			dbmax 3000
> 			dbvalue.0 800
> 			dbvalue.1 800
> 		}
> 	}
> 	control.6 {
> 		iface MIXER
> 		name 'Front Mic Playback Switch'
> 		value.0 false
> 		value.1 false
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 2
> 		}
> 	}
> 	control.7 {
> 		iface MIXER
> 		name 'Line Playback Volume'
> 		value.0 43
> 		value.1 43
> 		comment {
> 			access 'read write'
> 			type INTEGER
> 			count 2
> 			range '0 - 65'
> 			dbmin -3500
> 			dbmax 3000
> 			dbvalue.0 800
> 			dbvalue.1 800
> 		}
> 	}
> 	control.8 {
> 		iface MIXER
> 		name 'Line Playback Switch'
> 		value.0 false
> 		value.1 false
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 2
> 		}
> 	}
> 	control.9 {
> 		iface MIXER
> 		name 'CD Playback Volume'
> 		value.0 43
> 		value.1 43
> 		comment {
> 			access 'read write'
> 			type INTEGER
> 			count 2
> 			range '0 - 65'
> 			dbmin -3500
> 			dbmax 3000
> 			dbvalue.0 800
> 			dbvalue.1 800
> 		}
> 	}
> 	control.10 {
> 		iface MIXER
> 		name 'CD Playback Switch'
> 		value.0 true
> 		value.1 true
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 2
> 		}
> 	}
> 	control.11 {
> 		iface MIXER
> 		name 'Aux Playback Volume'
> 		value.0 0
> 		value.1 0
> 		comment {
> 			access 'read write'
> 			type INTEGER
> 			count 2
> 			range '0 - 65'
> 			dbmin -3500
> 			dbmax 3000
> 			dbvalue.0 -3500
> 			dbvalue.1 -3500
> 		}
> 	}
> 	control.12 {
> 		iface MIXER
> 		name 'Aux Playback Switch'
> 		value.0 false
> 		value.1 false
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 2
> 		}
> 	}
> 	control.13 {
> 		iface MIXER
> 		name 'Capture Switch'
> 		value.0 false
> 		value.1 false
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 2
> 		}
> 	}
> 	control.14 {
> 		iface MIXER
> 		name 'Capture Switch'
> 		index 1
> 		value.0 false
> 		value.1 false
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 2
> 		}
> 	}
> 	control.15 {
> 		iface MIXER
> 		name 'Capture Volume'
> 		value.0 23
> 		value.1 23
> 		comment {
> 			access 'read write'
> 			type INTEGER
> 			count 2
> 			range '0 - 35'
> 			dbmin 0
> 			dbmax 3500
> 			dbvalue.0 2300
> 			dbvalue.1 2300
> 		}
> 	}
> 	control.16 {
> 		iface MIXER
> 		name 'Capture Volume'
> 		index 1
> 		value.0 23
> 		value.1 23
> 		comment {
> 			access 'read write'
> 			type INTEGER
> 			count 2
> 			range '0 - 35'
> 			dbmin 0
> 			dbmax 3500
> 			dbvalue.0 2300
> 			dbvalue.1 2300
> 		}
> 	}
> 	control.17 {
> 		iface MIXER
> 		name 'Input Source'
> 		value 'Rear Mic'
> 		comment {
> 			access 'read write'
> 			type ENUMERATED
> 			count 1
> 			item.0 'Rear Mic'
> 			item.1 'Front Mic'
> 			item.2 Line
> 			item.3 CD
> 			item.4 Aux
> 		}
> 	}
> 	control.18 {
> 		iface MIXER
> 		name 'Input Source'
> 		index 1
> 		value 'Rear Mic'
> 		comment {
> 			access 'read write'
> 			type ENUMERATED
> 			count 1
> 			item.0 'Rear Mic'
> 			item.1 'Front Mic'
> 			item.2 Line
> 			item.3 CD
> 			item.4 Aux
> 		}
> 	}
> 	control.19 {
> 		iface MIXER
> 		name 'IEC958 Playback Con Mask'
> 		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
> 		comment {
> 			access read
> 			type IEC958
> 			count 1
> 		}
> 	}
> 	control.20 {
> 		iface MIXER
> 		name 'IEC958 Playback Pro Mask'
> 		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
> 		comment {
> 			access read
> 			type IEC958
> 			count 1
> 		}
> 	}
> 	control.21 {
> 		iface MIXER
> 		name 'IEC958 Playback Default'
> 		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
> 		comment {
> 			access 'read write'
> 			type IEC958
> 			count 1
> 		}
> 	}
> 	control.22 {
> 		iface MIXER
> 		name 'IEC958 Playback Switch'
> 		value false
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.23 {
> 		iface MIXER
> 		name 'IEC958 Default PCM Playback Switch'
> 		value true
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.24 {
> 		iface MIXER
> 		name 'IEC958 Capture Switch'
> 		value false
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.25 {
> 		iface MIXER
> 		name 'IEC958 Capture Default'
> 		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
> 		comment {
> 			access read
> 			type IEC958
> 			count 1
> 		}
> 	}
> 	control.26 {
> 		iface MIXER
> 		name 'Beep Playback Volume'
> 		value.0 12
> 		value.1 12
> 		comment {
> 			access 'read write'
> 			type INTEGER
> 			count 2
> 			range '0 - 65'
> 			dbmin -3500
> 			dbmax 3000
> 			dbvalue.0 -2300
> 			dbvalue.1 -2300
> 		}
> 	}
> 	control.27 {
> 		iface MIXER
> 		name 'Beep Playback Switch'
> 		value.0 true
> 		value.1 true
> 		comment {
> 			access 'read write'
> 			type BOOLEAN
> 			count 2
> 		}
> 	}
> 	control.28 {
> 		iface CARD
> 		name 'Front Headphone Jack'
> 		value false
> 		comment {
> 			access read
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.29 {
> 		iface CARD
> 		name 'Rear Mic Jack'
> 		value false
> 		comment {
> 			access read
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.30 {
> 		iface CARD
> 		name 'Front Mic Jack'
> 		value false
> 		comment {
> 			access read
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.31 {
> 		iface CARD
> 		name 'Line Jack'
> 		value false
> 		comment {
> 			access read
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.32 {
> 		iface CARD
> 		name 'SPDIF Jack'
> 		value false
> 		comment {
> 			access read
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.33 {
> 		iface CARD
> 		name 'SPDIF In Jack'
> 		value false
> 		comment {
> 			access read
> 			type BOOLEAN
> 			count 1
> 		}
> 	}
> 	control.34 {
> 		iface MIXER
> 		name 'PCM Playback Volume'
> 		value.0 255
> 		value.1 255
> 		comment {
> 			access 'read write user'
> 			type INTEGER
> 			count 2
> 			range '0 - 255'
> 			tlv '0000000100000008ffffec1400000014'
> 			dbmin -5100
> 			dbmax 0
> 			dbvalue.0 0
> 			dbvalue.1 0
> 		}
> 	}
> 	control.35 {
> 		iface MIXER
> 		name 'Digital Capture Volume'
> 		value.0 60
> 		value.1 60
> 		comment {
> 			access 'read write user'
> 			type INTEGER
> 			count 2
> 			range '0 - 120'
> 			tlv '0000000100000008fffff44800000032'
> 			dbmin -3000
> 			dbmax 3000
> 			dbvalue.0 0
> 			dbvalue.1 0
> 		}
> 	}
> }
> --endcollapse--
> 
> 
> !!All Loaded Modules
> !!------------------
> 
> Module
> nvidia
> snd_hda_codec_realtek
> snd_hda_intel
> snd_hda_codec
> snd_pcm_oss
> snd_mixer_oss
> snd_hwdep
> snd_pcm
> snd_page_alloc
> snd_timer
> tifm_7xx1
> tifm_core
> 
> 
> !!Sysfs Files
> !!-----------
> 
> /sys/class/sound/hwC0D0/init_pin_configs:
> 0x0f 0x01014000
> 0x10 0x02214000
> 0x11 0x50171000
> 0x12 0x01a19000
> 0x13 0x02a19000
> 0x14 0x01813000
> 0x15 0x99931000
> 0x16 0x99331000
> 0x17 0x90f71000
> 0x18 0x01446000
> 0x19 0x01c41000
> 
> /sys/class/sound/hwC0D0/driver_pin_configs:
> 
> /sys/class/sound/hwC0D0/user_pin_configs:
> 
> /sys/class/sound/hwC0D0/init_verbs:
> 
> /sys/class/sound/hwC0D1/init_pin_configs:
> 
> /sys/class/sound/hwC0D1/driver_pin_configs:
> 
> /sys/class/sound/hwC0D1/user_pin_configs:
> 
> /sys/class/sound/hwC0D1/init_verbs:
> 
> 
> !!ALSA/HDA dmesg
> !!------------------
> 
> usbhid: USB HID core driver
> ALSA device list:
>   No soundcards found.
> nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
> --
> usb 1-3: reset high-speed USB device number 3 using ehci_hcd
> snd_hda_intel 0000:00:1b.0: irq 44 for MSI/MSI-X
> input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input6
> nvidia: module license 'NVIDIA' taints kernel.
> 
> 
> [3  <text/plain; us-ascii (7bit)>]
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: No sound on Quanta KN1 with kernel 3.4
       [not found]   ` <20120414205209.GA1041@zanic_kista>
@ 2012-04-16 14:07     ` Takashi Iwai
  2012-04-16 17:56       ` Uros Vampl
  0 siblings, 1 reply; 19+ messages in thread
From: Takashi Iwai @ 2012-04-16 14:07 UTC (permalink / raw)
  To: Uros Vampl; +Cc: alsa-devel

At Sat, 14 Apr 2012 22:52:09 +0200,
Uros Vampl wrote:
> 
> On 14.04.12 21:25, Takashi Iwai wrote:
> > At Sat, 14 Apr 2012 19:10:30 +0200,
> > Uros Vampl wrote:
> > > 
> > > Hi,
> > > 
> > > as I wrote on the -users list, I don't have sound anymore in kernel 3.4. 
> > > I was told to post the output of alsa-info.sh here, so here I am. The 
> > > requested output is attached.
> > 
> > Could you give the alsa-info.sh output on the working kernel?
> > In that way, it becomes easier to spot out what caused the problem.
> 
> Attached.

Could you try the patch below?

Also, which output is missing?  Is it a speaker output or a line-out
jack?  Basically it's a bug of BIOS that doesn't give the proper
association number for the corresponding pin 0x0f.  The patch is just
to make less restrictive.

But, if it's a laptop, the corresponding pin is likely a speaker
output, so it'd be better to fix the pin-default value itself via
pinfix table.


thanks,

Takashi

---
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index 7a8fcc4..83f0b13 100644
--- a/sound/pci/hda/hda_codec.c
+++ b/sound/pci/hda/hda_codec.c
@@ -4957,8 +4957,6 @@ int snd_hda_parse_pin_defcfg(struct hda_codec *codec,
 			if (!(wid_caps & AC_WCAP_STEREO))
 				if (!cfg->mono_out_pin)
 					cfg->mono_out_pin = nid;
-			if (!assoc)
-				continue;
 			if (!assoc_line_out)
 				assoc_line_out = assoc;
 			else if (assoc_line_out != assoc)

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

* Re: No sound on Quanta KN1 with kernel 3.4
  2012-04-16 14:07     ` Takashi Iwai
@ 2012-04-16 17:56       ` Uros Vampl
  2012-04-16 19:25         ` Takashi Iwai
  0 siblings, 1 reply; 19+ messages in thread
From: Uros Vampl @ 2012-04-16 17:56 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On 16.04.12 16:07, Takashi Iwai wrote:
> Could you try the patch below?
> 
> Also, which output is missing?  Is it a speaker output or a line-out
> jack?  Basically it's a bug of BIOS that doesn't give the proper
> association number for the corresponding pin 0x0f.  The patch is just
> to make less restrictive.
> 
> But, if it's a laptop, the corresponding pin is likely a speaker
> output, so it'd be better to fix the pin-default value itself via
> pinfix table.


It's a laptop. There's no sound, not from internal speakers, not from 
headphone out. There is a mild crackling sound when the module is 
loaded, but that's it. The patch does not change things.

Regards,
Uroš
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: No sound on Quanta KN1 with kernel 3.4
  2012-04-16 17:56       ` Uros Vampl
@ 2012-04-16 19:25         ` Takashi Iwai
  2012-04-18  8:05           ` Takashi Iwai
  0 siblings, 1 reply; 19+ messages in thread
From: Takashi Iwai @ 2012-04-16 19:25 UTC (permalink / raw)
  To: Uros Vampl; +Cc: alsa-devel

At Mon, 16 Apr 2012 19:56:09 +0200,
Uros Vampl wrote:
> 
> On 16.04.12 16:07, Takashi Iwai wrote:
> > Could you try the patch below?
> > 
> > Also, which output is missing?  Is it a speaker output or a line-out
> > jack?  Basically it's a bug of BIOS that doesn't give the proper
> > association number for the corresponding pin 0x0f.  The patch is just
> > to make less restrictive.
> > 
> > But, if it's a laptop, the corresponding pin is likely a speaker
> > output, so it'd be better to fix the pin-default value itself via
> > pinfix table.
> 
> 
> It's a laptop. There's no sound, not from internal speakers, not from 
> headphone out. There is a mild crackling sound when the module is 
> loaded, but that's it. The patch does not change things.

OK, I'll send another patch tomorrow.  But the previous patch should
work, still.  Make sure that you adjusted and unmuted the mixer
elements after applying the patch.  There should be some new mixer
elements.

If it still doesn't work after the mixer adjustment, give alsa-info.sh
output again.


Takashi

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

* Re: No sound on Quanta KN1 with kernel 3.4
  2012-04-16 19:25         ` Takashi Iwai
@ 2012-04-18  8:05           ` Takashi Iwai
  2012-04-18  9:55             ` Uros Vampl
  0 siblings, 1 reply; 19+ messages in thread
From: Takashi Iwai @ 2012-04-18  8:05 UTC (permalink / raw)
  To: Uros Vampl; +Cc: alsa-devel

At Mon, 16 Apr 2012 21:25:01 +0200,
Takashi Iwai wrote:
> 
> At Mon, 16 Apr 2012 19:56:09 +0200,
> Uros Vampl wrote:
> > 
> > On 16.04.12 16:07, Takashi Iwai wrote:
> > > Could you try the patch below?
> > > 
> > > Also, which output is missing?  Is it a speaker output or a line-out
> > > jack?  Basically it's a bug of BIOS that doesn't give the proper
> > > association number for the corresponding pin 0x0f.  The patch is just
> > > to make less restrictive.
> > > 
> > > But, if it's a laptop, the corresponding pin is likely a speaker
> > > output, so it'd be better to fix the pin-default value itself via
> > > pinfix table.
> > 
> > 
> > It's a laptop. There's no sound, not from internal speakers, not from 
> > headphone out. There is a mild crackling sound when the module is 
> > loaded, but that's it. The patch does not change things.
> 
> OK, I'll send another patch tomorrow.  But the previous patch should
> work, still.  Make sure that you adjusted and unmuted the mixer
> elements after applying the patch.  There should be some new mixer
> elements.
> 
> If it still doesn't work after the mixer adjustment, give alsa-info.sh
> output again.

Also, there are many bogus input pins on your device.
Which physical inputs are on the machine?  BIOS advertises that there
are front-mic, rear-mic, line-in, aux-in and CD.  Do all these work
properly?  You can choose it from "Input Source" mixer enum.

Also, it also advertises SPDIF input and output.  Are really both on
your machine?


Takashi

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

* Re: No sound on Quanta KN1 with kernel 3.4
  2012-04-18  8:05           ` Takashi Iwai
@ 2012-04-18  9:55             ` Uros Vampl
  2012-04-18 10:20               ` Uros Vampl
  2012-04-18 10:27               ` Takashi Iwai
  0 siblings, 2 replies; 19+ messages in thread
From: Uros Vampl @ 2012-04-18  9:55 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

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

On 18.04.12 10:05, Takashi Iwai wrote:
> > > It's a laptop. There's no sound, not from internal speakers, not from 
> > > headphone out. There is a mild crackling sound when the module is 
> > > loaded, but that's it. The patch does not change things.
> > 
> > OK, I'll send another patch tomorrow.  But the previous patch should
> > work, still.  Make sure that you adjusted and unmuted the mixer
> > elements after applying the patch.  There should be some new mixer
> > elements.
> > 
> > If it still doesn't work after the mixer adjustment, give alsa-info.sh
> > output again.
> 
> Also, there are many bogus input pins on your device.
> Which physical inputs are on the machine?  BIOS advertises that there
> are front-mic, rear-mic, line-in, aux-in and CD.  Do all these work
> properly?  You can choose it from "Input Source" mixer enum.
> 
> Also, it also advertises SPDIF input and output.  Are really both on
> your machine?

The only physical input is mic-in. But there's also an integrated 
microphone. In kernel 3.3 the intergrated mic is simply "Mic" and works 
for both playback and capture. I don't have an external mic to test.

In kernel 3.4 I still don't have sound, even with the patch (I unmuted 
everything there was to unmute, then muted SPDIF, nothing produced 
sound), so I could only test capture - "Rear Mic" captures from the 
integrated microphone.

I assume "Front Mic" would work for an external microphone, and maybe CD 
is for listening to audio CDs? The CD drive broke a few years back, so I 
can't test it.

No idea about SPDIF-in, but headphone-out doubles as SPDIF-out. There's 
a red light inside the jack, and if I unmute SPDIF, the light goes on. I 
remember it was like that also in Windows. I don't have appropriate 
hardware to test if it actually works.

Attached is a alsa-info.txt with the patch. There are some differences 
compared to without patch, but like I said above, still no sound.


Regards,
Uroš

[-- Attachment #2: alsa-info.txt.5SoKYr3Vcw --]
[-- Type: text/plain, Size: 27569 bytes --]

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

!!Script ran on: Wed Apr 18 09:50:38 UTC 2012


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

Arch Linux @ \n (\r) \l


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

Manufacturer:      Gericom Inc
Product Name:      KN1             
Product Version:   Not Applicable


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

Kernel release:    3.4.0-rc3-zanic_kista
Operating System:  GNU/Linux
Architecture:      i686
Processor:         Intel(R) Pentium(R) M processor 1.73GHz
SMP Enabled:       No


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

Driver version:     1.0.25
Library version:    1.0.25
Utilities version:  1.0.25


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



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

No sound servers found.


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

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xc0000000 irq 44


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

00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)


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

00:1b.0 0403: 8086:2668 (rev 04)
	Subsystem: 152d:0729


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


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

Codec: Realtek ALC260
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0260
Subsystem Id: 0x02600000
Revision Id: 0x100400
No Modem Function Group found
Default PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=4, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x11: Stereo
  Device: name="ALC260 Analog", type="Audio", device=0
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x211: Stereo Digital
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
  Device: name="ALC260 Digital", type="SPDIF", device=1
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
Node 0x04 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Control: name="Input Source", index=0, device=0
  Control: name="Capture Switch", index=0, device=0
  Control: name="Capture Volume", index=0, device=0
  Device: name="ALC260 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x00, nsteps=0x23, stepsize=0x03, mute=1
  Amp-In vals:  [0x17 0x17] [0x17 0x17] [0x17 0x17] [0x17 0x17] [0x17 0x17] [0x17 0x17] [0x17 0x17]
  Converter: stream=4, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Connection: 7
     0x12* 0x13 0x14 0x15 0x16 0x0f 0x10
Node 0x05 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Control: name="Input Source", index=1, device=0
  Control: name="Capture Switch", index=1, device=0
  Control: name="Capture Volume", index=1, device=0
  Device: name="ALC260 Analog", type="Audio", device=2
  Amp-In caps: ofs=0x00, nsteps=0x23, stepsize=0x03, mute=1
  Amp-In vals:  [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Connection: 8
     0x12 0x13* 0x14 0x15 0x16 0x07 0x0f 0x10
Node 0x06 [Audio Input] wcaps 0x100391: Stereo Digital
  Control: name="IEC958 Capture Switch", index=0, device=0
  Control: name="IEC958 Capture Default", index=0, device=0
  Device: name="ALC260 Digital", type="SPDIF", device=1
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x19
Node 0x07 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Rear Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Rear Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Front Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="Front Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="Line Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Control: name="Line Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Control: name="CD Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  Control: name="CD Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  Control: name="Aux Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=3, ofs=0
  Control: name="Aux Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=3, ofs=0
  Control: name="Beep Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=5, ofs=0
  Control: name="Beep Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=5, ofs=0
  Amp-In caps: ofs=0x23, nsteps=0x41, stepsize=0x03, mute=1
  Amp-In vals:  [0x2b 0x2b] [0x2b 0x2b] [0x2b 0x2b] [0x2b 0x2b] [0x2b 0x2b] [0x0c 0x0c] [0x80 0x80] [0x80 0x80]
  Connection: 8
     0x12 0x13 0x14 0x15 0x16 0x17 0x0f 0x10
Node 0x08 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Control: name="PCM Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x2a 0x2a]
  Connection: 2
     0x02 0x07
Node 0x09 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x14 0x14]
  Connection: 2
     0x02 0x07
Node 0x0a [Audio Mixer] wcaps 0x20010e: Mono Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00] [0x80]
  Amp-Out caps: ofs=0x23, nsteps=0x41, stepsize=0x03, mute=0
  Amp-Out vals:  [0x23]
  Connection: 2
     0x02 0x07
Node 0x0b [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x08* 0x09
Node 0x0c [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x08* 0x09
Node 0x0d [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x08* 0x09
Node 0x0e [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x08* 0x09
Node 0x0f [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="PCM Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001003f: IN OUT HP EAPD Detect Trigger ImpSense
  EAPD 0x2: EAPD
  Pin Default 0x01014000: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=02, enabled=1
  Connection: 1
     0x08
Node 0x10 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Front Headphone Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001003f: IN OUT HP EAPD Detect Trigger ImpSense
  EAPD 0x2: EAPD
  Pin Default 0x02214000: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Connection: 1
     0x09
Node 0x11 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80]
  Pincap 0x00000010: OUT
  Pin Default 0x50171000: [N/A] Speaker at Int N/A
    Conn = Analog, Color = Black
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x0a
Node 0x12 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Rear Mic Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 80
  Pin Default 0x01a19000: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x21: IN VREF_50
  Unsolicited: tag=03, enabled=1
  Connection: 1
     0x0b
Node 0x13 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Front Mic Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 80
  Pin Default 0x02a19000: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=04, enabled=1
  Connection: 1
     0x0c
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Line Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 80
  Pin Default 0x01813000: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=05, enabled=1
  Connection: 1
     0x0d
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 80
  Pin Default 0x99931000: [Fixed] Aux at Int ATAPI
    Conn = ATAPI, Color = Black
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0e
Node 0x16 [Pin Complex] wcaps 0x400001: Stereo
  Pincap 0x00000020: IN
  Pin Default 0x99331000: [Fixed] CD at Int ATAPI
    Conn = ATAPI, Color = Black
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x00:
Node 0x17 [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x00000020: IN
  Pin Default 0x90f71000: [Fixed] Other at Int N/A
    Conn = Analog, Color = Black
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x00:
Node 0x18 [Pin Complex] wcaps 0x400380: Mono Digital
  Control: name="SPDIF Jack", index=0, device=0
  Pincap 0x00000014: OUT Detect
  Pin Default 0x01446000: [Jack] SPDIF Out at Ext Rear
    Conn = RCA, Color = Orange
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x03
Node 0x19 [Pin Complex] wcaps 0x400280: Mono Digital
  Control: name="SPDIF In Jack", index=0, device=0
  Pincap 0x00000024: IN Detect
  Pin Default 0x01c41000: [Jack] SPDIF In at Ext Rear
    Conn = RCA, Color = Black
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
Node 0x1a [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=13
Node 0x1b [Volume Knob Widget] wcaps 0x600080: Mono
  Volume-Knob: delta=0, steps=64, direct=0, val=0
  Unsolicited: tag=00, enabled=0
  Connection: 0
Codec: Motorola ID 3055
Address: 1
MFG Function Id: 0x2 (unsol 1)
Vendor Id: 0x10573055
Subsystem Id: 0x10573055
Revision Id: 0x100700
Modem Function Group: 0x1
--endcollapse--


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

crw-rw---- 1 root audio 116,  0 Apr 18 11:24 /dev/snd/controlC0
crw-rw---- 1 root audio 116,  4 Apr 18 11:24 /dev/snd/hwC0D0
crw-rw---- 1 root audio 116,  5 Apr 18 11:24 /dev/snd/hwC0D1
crw-rw---- 1 root audio 116, 24 Apr 18 11:39 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 16 Apr 18 11:24 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 25 Apr 18 11:24 /dev/snd/pcmC0D1c
crw-rw---- 1 root audio 116, 17 Apr 18 11:24 /dev/snd/pcmC0D1p
crw-rw---- 1 root audio 116, 26 Apr 18 11:24 /dev/snd/pcmC0D2c
crw-rw---- 1 root audio 116,  1 Apr 18 11:24 /dev/snd/seq
crw-rw---- 1 root audio 116, 33 Apr 18 11:24 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Apr 18 11:24 .
drwxr-xr-x 3 root root 260 Apr 18 11:24 ..
lrwxrwxrwx 1 root root  12 Apr 18 11:24 pci-0000:00:1b.0 -> ../controlC0


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

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC260 Analog [ALC260 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC260 Digital [ALC260 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

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

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

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

Card hw:0 'Intel'/'HDA Intel at 0xc0000000 irq 44'
  Mixer name	: 'Realtek ALC260'
  Components	: 'HDA:10ec0260,02600000,00100400 HDA:10573055,10573055,00100700'
  Controls      : 40
  Simple ctrls  : 17
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 42 [66%] [-22.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 42 [66%] [-22.00dB] [on]
  Front Right: Playback 42 [66%] [-22.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65
  Mono:
  Front Left: Playback 43 [66%] [8.00dB] [on]
  Front Right: Playback 43 [66%] [8.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65
  Mono:
  Front Left: Playback 43 [66%] [8.00dB] [on]
  Front Right: Playback 43 [66%] [8.00dB] [on]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65
  Mono:
  Front Left: Playback 43 [66%] [8.00dB] [on]
  Front Right: Playback 43 [66%] [8.00dB] [on]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined cswitch cswitch-joined penum
  Playback channels: Mono
  Capture channels: Mono
  Mono: Playback [off] Capture [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Beep',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65
  Mono:
  Front Left: Playback 12 [18%] [-23.00dB] [on]
  Front Right: Playback 12 [18%] [-23.00dB] [on]
Simple mixer control 'Aux',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65
  Mono:
  Front Left: Playback 43 [66%] [8.00dB] [on]
  Front Right: Playback 43 [66%] [8.00dB] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 35
  Front Left: Capture 23 [66%] [23.00dB] [on]
  Front Right: Capture 23 [66%] [23.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 35
  Front Left: Capture 23 [66%] [23.00dB] [off]
  Front Right: Capture 23 [66%] [23.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Digital',0
  Capabilities: cvolume penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 60 [50%] [0.00dB]
  Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Rear Mic' 'Front Mic' 'Line' 'CD' 'Aux'
  Item0: 'Rear Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Rear Mic' 'Front Mic' 'Line' 'CD' 'Aux'
  Item0: 'Front Mic'
Simple mixer control 'Rear Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65
  Mono:
  Front Left: Playback 43 [66%] [8.00dB] [on]
  Front Right: Playback 43 [66%] [8.00dB] [on]


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

--startcollapse--
state.Intel {
	control.1 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 64
		value.1 64
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.2 {
		iface MIXER
		name 'PCM Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.3 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 42
		value.1 42
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 -2200
			dbvalue.1 -2200
		}
	}
	control.4 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.5 {
		iface MIXER
		name 'Rear Mic Playback Volume'
		value.0 43
		value.1 43
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 65'
			dbmin -3500
			dbmax 3000
			dbvalue.0 800
			dbvalue.1 800
		}
	}
	control.6 {
		iface MIXER
		name 'Rear Mic Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.7 {
		iface MIXER
		name 'Front Mic Playback Volume'
		value.0 43
		value.1 43
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 65'
			dbmin -3500
			dbmax 3000
			dbvalue.0 800
			dbvalue.1 800
		}
	}
	control.8 {
		iface MIXER
		name 'Front Mic Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.9 {
		iface MIXER
		name 'Line Playback Volume'
		value.0 43
		value.1 43
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 65'
			dbmin -3500
			dbmax 3000
			dbvalue.0 800
			dbvalue.1 800
		}
	}
	control.10 {
		iface MIXER
		name 'Line Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.11 {
		iface MIXER
		name 'CD Playback Volume'
		value.0 43
		value.1 43
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 65'
			dbmin -3500
			dbmax 3000
			dbvalue.0 800
			dbvalue.1 800
		}
	}
	control.12 {
		iface MIXER
		name 'CD Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.13 {
		iface MIXER
		name 'Aux Playback Volume'
		value.0 43
		value.1 43
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 65'
			dbmin -3500
			dbmax 3000
			dbvalue.0 800
			dbvalue.1 800
		}
	}
	control.14 {
		iface MIXER
		name 'Aux Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.15 {
		iface MIXER
		name 'Auto-Mute Mode'
		value Enabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.16 {
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.17 {
		iface MIXER
		name 'Capture Switch'
		index 1
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.18 {
		iface MIXER
		name 'Capture Volume'
		value.0 23
		value.1 23
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 35'
			dbmin 0
			dbmax 3500
			dbvalue.0 2300
			dbvalue.1 2300
		}
	}
	control.19 {
		iface MIXER
		name 'Capture Volume'
		index 1
		value.0 23
		value.1 23
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 35'
			dbmin 0
			dbmax 3500
			dbvalue.0 2300
			dbvalue.1 2300
		}
	}
	control.20 {
		iface MIXER
		name 'Input Source'
		value 'Rear Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Rear Mic'
			item.1 'Front Mic'
			item.2 Line
			item.3 CD
			item.4 Aux
		}
	}
	control.21 {
		iface MIXER
		name 'Input Source'
		index 1
		value 'Front Mic'
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 'Rear Mic'
			item.1 'Front Mic'
			item.2 Line
			item.3 CD
			item.4 Aux
		}
	}
	control.22 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.23 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.24 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.25 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.26 {
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.27 {
		iface MIXER
		name 'IEC958 Capture Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.28 {
		iface MIXER
		name 'IEC958 Capture Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.29 {
		iface MIXER
		name 'Beep Playback Volume'
		value.0 12
		value.1 12
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 65'
			dbmin -3500
			dbmax 3000
			dbvalue.0 -2300
			dbvalue.1 -2300
		}
	}
	control.30 {
		iface MIXER
		name 'Beep Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.31 {
		iface MIXER
		name 'Master Playback Volume'
		value 42
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 -2200
		}
	}
	control.32 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.33 {
		iface CARD
		name 'Line Out Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.34 {
		iface CARD
		name 'Front Headphone Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.35 {
		iface CARD
		name 'Rear Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.36 {
		iface CARD
		name 'Front Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.37 {
		iface CARD
		name 'Line Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.38 {
		iface CARD
		name 'SPDIF Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.39 {
		iface CARD
		name 'SPDIF In Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.40 {
		iface MIXER
		name 'Digital Capture Volume'
		value.0 60
		value.1 60
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 120'
			tlv '0000000100000008fffff44800000032'
			dbmin -3000
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
}
--endcollapse--


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

Module
nvidia
snd_hda_codec_realtek
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_pcm_oss
snd_mixer_oss
snd_pcm
snd_page_alloc
snd_timer
tifm_7xx1
tifm_core


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

/sys/class/sound/hwC0D0/init_pin_configs:
0x0f 0x01014000
0x10 0x02214000
0x11 0x50171000
0x12 0x01a19000
0x13 0x02a19000
0x14 0x01813000
0x15 0x99931000
0x16 0x99331000
0x17 0x90f71000
0x18 0x01446000
0x19 0x01c41000

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D1/init_pin_configs:

/sys/class/sound/hwC0D1/driver_pin_configs:

/sys/class/sound/hwC0D1/user_pin_configs:

/sys/class/sound/hwC0D1/init_verbs:


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

usbhid: USB HID core driver
ALSA device list:
  No soundcards found.
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
--
usb 1-2: reset high-speed USB device number 2 using ehci_hcd
snd_hda_intel 0000:00:1b.0: irq 44 for MSI/MSI-X
input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input6
hda-codec: No codec parser is available
nvidia: module license 'NVIDIA' taints kernel.



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



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

* Re: No sound on Quanta KN1 with kernel 3.4
  2012-04-18  9:55             ` Uros Vampl
@ 2012-04-18 10:20               ` Uros Vampl
  2012-04-18 10:27               ` Takashi Iwai
  1 sibling, 0 replies; 19+ messages in thread
From: Uros Vampl @ 2012-04-18 10:20 UTC (permalink / raw)
  To: Takashi Iwai, alsa-devel

On 18.04.12 11:55, Uros Vampl wrote:
> The only physical input is mic-in. But there's also an integrated 
> microphone. In kernel 3.3 the intergrated mic is simply "Mic" and works 
> for both playback and capture. I don't have an external mic to test.
> 
> In kernel 3.4 I still don't have sound, even with the patch (I unmuted 
> everything there was to unmute, then muted SPDIF, nothing produced 
> sound), so I could only test capture - "Rear Mic" captures from the 
> integrated microphone.
> 
> I assume "Front Mic" would work for an external microphone, and maybe CD 
> is for listening to audio CDs? The CD drive broke a few years back, so I 
> can't test it.
> 
> No idea about SPDIF-in, but headphone-out doubles as SPDIF-out. There's 
> a red light inside the jack, and if I unmute SPDIF, the light goes on. I 
> remember it was like that also in Windows. I don't have appropriate 
> hardware to test if it actually works.
> 
> Attached is a alsa-info.txt with the patch. There are some differences 
> compared to without patch, but like I said above, still no sound.

Looking at the various alsa-info.txt files I've sent, I think I know 
which crucial mixer control is missing in kernel 3.4, causing me to not 
have sound - "Front". It's there with kernel 3.3 and controls 
volume/mute of both speakers and headphones (the "Headphone" control 
does nothing). It's not there in kernel 3.4, with or without patch.

Regards,
Uroš
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: No sound on Quanta KN1 with kernel 3.4
  2012-04-18  9:55             ` Uros Vampl
  2012-04-18 10:20               ` Uros Vampl
@ 2012-04-18 10:27               ` Takashi Iwai
  2012-04-18 10:32                 ` Takashi Iwai
  1 sibling, 1 reply; 19+ messages in thread
From: Takashi Iwai @ 2012-04-18 10:27 UTC (permalink / raw)
  To: Uros Vampl; +Cc: alsa-devel

At Wed, 18 Apr 2012 11:55:45 +0200,
Uros Vampl wrote:
> 
> On 18.04.12 10:05, Takashi Iwai wrote:
> > > > It's a laptop. There's no sound, not from internal speakers, not from 
> > > > headphone out. There is a mild crackling sound when the module is 
> > > > loaded, but that's it. The patch does not change things.
> > > 
> > > OK, I'll send another patch tomorrow.  But the previous patch should
> > > work, still.  Make sure that you adjusted and unmuted the mixer
> > > elements after applying the patch.  There should be some new mixer
> > > elements.
> > > 
> > > If it still doesn't work after the mixer adjustment, give alsa-info.sh
> > > output again.
> > 
> > Also, there are many bogus input pins on your device.
> > Which physical inputs are on the machine?  BIOS advertises that there
> > are front-mic, rear-mic, line-in, aux-in and CD.  Do all these work
> > properly?  You can choose it from "Input Source" mixer enum.
> > 
> > Also, it also advertises SPDIF input and output.  Are really both on
> > your machine?
> 
> The only physical input is mic-in. But there's also an integrated 
> microphone. In kernel 3.3 the intergrated mic is simply "Mic" and works 
> for both playback and capture. I don't have an external mic to test.

You can use even a headphone although the recording level is low.
Just plug your headphone into the mic jack and shout.

> In kernel 3.4 I still don't have sound, even with the patch (I unmuted 
> everything there was to unmute, then muted SPDIF, nothing produced 
> sound), so I could only test capture - "Rear Mic" captures from the 
> integrated microphone.

OK.

> I assume "Front Mic" would work for an external microphone, and maybe CD 
> is for listening to audio CDs? The CD drive broke a few years back, so I 
> can't test it.

On most of laptops, it's already deprecated.  So we can drop it.

> No idea about SPDIF-in,

If it has no jack, then we can drop it.

> but headphone-out doubles as SPDIF-out. There's 
> a red light inside the jack, and if I unmute SPDIF, the light goes on. I 
> remember it was like that also in Windows. I don't have appropriate 
> hardware to test if it actually works.

OK, then it must be kept.

> Attached is a alsa-info.txt with the patch. There are some differences 
> compared to without patch, but like I said above, still no sound.

Then the speaker pin is not 0x0f but 0x11.

I'll cook up the test patch based on the current information and post
it later.


thanks,

Takashi

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

* Re: No sound on Quanta KN1 with kernel 3.4
  2012-04-18 10:27               ` Takashi Iwai
@ 2012-04-18 10:32                 ` Takashi Iwai
  2012-04-18 11:36                   ` Uros Vampl
  0 siblings, 1 reply; 19+ messages in thread
From: Takashi Iwai @ 2012-04-18 10:32 UTC (permalink / raw)
  To: Uros Vampl; +Cc: alsa-devel

At Wed, 18 Apr 2012 12:27:09 +0200,
Takashi Iwai wrote:
> 
> At Wed, 18 Apr 2012 11:55:45 +0200,
> Uros Vampl wrote:
> > 
> > On 18.04.12 10:05, Takashi Iwai wrote:
> > > > > It's a laptop. There's no sound, not from internal speakers, not from 
> > > > > headphone out. There is a mild crackling sound when the module is 
> > > > > loaded, but that's it. The patch does not change things.
> > > > 
> > > > OK, I'll send another patch tomorrow.  But the previous patch should
> > > > work, still.  Make sure that you adjusted and unmuted the mixer
> > > > elements after applying the patch.  There should be some new mixer
> > > > elements.
> > > > 
> > > > If it still doesn't work after the mixer adjustment, give alsa-info.sh
> > > > output again.
> > > 
> > > Also, there are many bogus input pins on your device.
> > > Which physical inputs are on the machine?  BIOS advertises that there
> > > are front-mic, rear-mic, line-in, aux-in and CD.  Do all these work
> > > properly?  You can choose it from "Input Source" mixer enum.
> > > 
> > > Also, it also advertises SPDIF input and output.  Are really both on
> > > your machine?
> > 
> > The only physical input is mic-in. But there's also an integrated 
> > microphone. In kernel 3.3 the intergrated mic is simply "Mic" and works 
> > for both playback and capture. I don't have an external mic to test.
> 
> You can use even a headphone although the recording level is low.
> Just plug your headphone into the mic jack and shout.
> 
> > In kernel 3.4 I still don't have sound, even with the patch (I unmuted 
> > everything there was to unmute, then muted SPDIF, nothing produced 
> > sound), so I could only test capture - "Rear Mic" captures from the 
> > integrated microphone.
> 
> OK.
> 
> > I assume "Front Mic" would work for an external microphone, and maybe CD 
> > is for listening to audio CDs? The CD drive broke a few years back, so I 
> > can't test it.
> 
> On most of laptops, it's already deprecated.  So we can drop it.
> 
> > No idea about SPDIF-in,
> 
> If it has no jack, then we can drop it.
> 
> > but headphone-out doubles as SPDIF-out. There's 
> > a red light inside the jack, and if I unmute SPDIF, the light goes on. I 
> > remember it was like that also in Windows. I don't have appropriate 
> > hardware to test if it actually works.
> 
> OK, then it must be kept.
> 
> > Attached is a alsa-info.txt with the patch. There are some differences 
> > compared to without patch, but like I said above, still no sound.
> 
> Then the speaker pin is not 0x0f but 0x11.
> 
> I'll cook up the test patch based on the current information and post
> it later.

Below is the test patch.  Again, adjust the mixer volumes after
applying the patch.  Now you should have "Headphone" and "Speaker"
volumes & switches.

Also, the speaker is muted automatically when the headphone is plugged.
For testing the speaker, unplug the headphone.


Takashi

---
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 2508f81..1231a17 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -4861,6 +4861,7 @@ enum {
 	ALC260_FIXUP_GPIO1_TOGGLE,
 	ALC260_FIXUP_REPLACER,
 	ALC260_FIXUP_HP_B1900,
+	ALC260_FIXUP_KN1,
 };
 
 static void alc260_gpio1_automute(struct hda_codec *codec)
@@ -4938,7 +4939,25 @@ static const struct alc_fixup alc260_fixups[] = {
 		.v.func = alc260_fixup_gpio1_toggle,
 		.chained = true,
 		.chain_id = ALC260_FIXUP_COEF,
-	}
+	},
+	[ALC260_FIXUP_KN1] = {
+		.type = ALC_FIXUP_PINS,
+		.v.pins = (const struct alc_pincfg[]) {
+			{ 0x10, 0x02214000 }, /* HP */
+			{ 0x11, 0x99130110 }, /* speaker */
+			{ 0x12, 0x90a60160 }, /* int mic */
+			{ 0x13, 0x02a19000 }, /* ext mic */
+			{ 0x18, 0x01446000 }, /* SPDIF out */
+			/* disable bogus I/O pins */
+			{ 0x0f, 0x411111f0 },
+			{ 0x14, 0x411111f0 },
+			{ 0x15, 0x411111f0 },
+			{ 0x16, 0x411111f0 },
+			{ 0x17, 0x411111f0 },
+			{ 0x19, 0x411111f0 },
+			{ }
+		}
+	},
 };
 
 static const struct snd_pci_quirk alc260_fixup_tbl[] = {
@@ -4948,6 +4967,7 @@ static const struct snd_pci_quirk alc260_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x103c, 0x280a, "HP dc5750", ALC260_FIXUP_HP_DC5750),
 	SND_PCI_QUIRK(0x103c, 0x30ba, "HP Presario B1900", ALC260_FIXUP_HP_B1900),
 	SND_PCI_QUIRK(0x1509, 0x4540, "Favorit 100XS", ALC260_FIXUP_GPIO1),
+	SND_PCI_QUIRK(0x152d, 0x0729, "Quanta KN1", ALC260_FIXUP_KN1),
 	SND_PCI_QUIRK(0x161f, 0x2057, "Replacer 672V", ALC260_FIXUP_REPLACER),
 	SND_PCI_QUIRK(0x1631, 0xc017, "PB V7900", ALC260_FIXUP_COEF),
 	{}

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

* Re: No sound on Quanta KN1 with kernel 3.4
  2012-04-18 10:32                 ` Takashi Iwai
@ 2012-04-18 11:36                   ` Uros Vampl
  2012-04-18 12:16                     ` Takashi Iwai
  0 siblings, 1 reply; 19+ messages in thread
From: Uros Vampl @ 2012-04-18 11:36 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

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

On 18.04.12 12:32, Takashi Iwai wrote:
> Below is the test patch.  Again, adjust the mixer volumes after
> applying the patch.  Now you should have "Headphone" and "Speaker"
> volumes & switches.
> 
> Also, the speaker is muted automatically when the headphone is plugged.
> For testing the speaker, unplug the headphone.

Still no sound, not speakers, not headphones. Did you see my other mail 
about the "Front" control?

Also, there's only one capture control now. Shouldn't I be able to 
choose whether to capture from internal or external mic?

Attached is alsa-info.txt with the new patch.


Regards,
Uroš

[-- Attachment #2: alsa-info.txt.XzqSmgC6SY --]
[-- Type: text/plain, Size: 22307 bytes --]

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

!!Script ran on: Wed Apr 18 11:30:58 UTC 2012


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

Arch Linux @ \n (\r) \l


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

Manufacturer:      Gericom Inc
Product Name:      KN1             
Product Version:   Not Applicable


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

Kernel release:    3.4.0-rc3-zanic_kista
Operating System:  GNU/Linux
Architecture:      i686
Processor:         Intel(R) Pentium(R) M processor 1.73GHz
SMP Enabled:       No


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

Driver version:     1.0.25
Library version:    1.0.25
Utilities version:  1.0.25


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



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

No sound servers found.


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

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xc0000000 irq 44


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

00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)


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

00:1b.0 0403: 8086:2668 (rev 04)
	Subsystem: 152d:0729


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


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

Codec: Realtek ALC260
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0260
Subsystem Id: 0x02600000
Revision Id: 0x100400
No Modem Function Group found
Default PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=4, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x11: Stereo
  Device: name="ALC260 Analog", type="Audio", device=0
  Converter: stream=8, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x211: Stereo Digital
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
  Device: name="ALC260 Digital", type="SPDIF", device=1
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
Node 0x04 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Control: name="Capture Switch", index=0, device=0
  Control: name="Capture Volume", index=0, device=0
  Device: name="ALC260 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x00, nsteps=0x23, stepsize=0x03, mute=1
  Amp-In vals:  [0x8e 0x8e] [0x8e 0x8e] [0x8e 0x8e] [0x8e 0x8e] [0x8e 0x8e] [0x8e 0x8e] [0x8e 0x8e]
  Converter: stream=4, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Connection: 7
     0x12* 0x13 0x14 0x15 0x16 0x0f 0x10
Node 0x05 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x23, stepsize=0x03, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Connection: 8
     0x12* 0x13 0x14 0x15 0x16 0x07 0x0f 0x10
Node 0x06 [Audio Input] wcaps 0x100391: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x19
Node 0x07 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Internal Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Internal Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="Beep Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=5, ofs=0
  Control: name="Beep Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=5, ofs=0
  Amp-In caps: ofs=0x23, nsteps=0x41, stepsize=0x03, mute=1
  Amp-In vals:  [0xa3 0xa3] [0xa3 0xa3] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x0b 0x0b] [0x80 0x80] [0x80 0x80]
  Connection: 8
     0x12 0x13 0x14 0x15 0x16 0x17 0x0f 0x10
Node 0x08 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x40 0x40]
  Connection: 2
     0x02 0x07
Node 0x09 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x2c 0x2c]
  Connection: 2
     0x02 0x07
Node 0x0a [Audio Mixer] wcaps 0x20010e: Mono Amp-In Amp-Out
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00] [0x00]
  Amp-Out caps: ofs=0x23, nsteps=0x41, stepsize=0x03, mute=0
  Amp-Out vals:  [0x0f]
  Connection: 2
     0x02 0x07
Node 0x0b [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x08* 0x09
Node 0x0c [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x08* 0x09
Node 0x0d [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x08* 0x09
Node 0x0e [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x08* 0x09
Node 0x0f [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0001003f: IN OUT HP EAPD Detect Trigger ImpSense
  EAPD 0x2: EAPD
  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
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x08
Node 0x10 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Front Headphone Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001003f: IN OUT HP EAPD Detect Trigger ImpSense
  EAPD 0x2: EAPD
  Pin Default 0x02214000: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Connection: 1
     0x09
Node 0x11 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00]
  Pincap 0x00000010: OUT
  Pin Default 0x99130110: [Fixed] Speaker at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x0a
Node 0x12 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 80
  Pin Default 0x90a60160: [Fixed] Mic at Int N/A
    Conn = Digital, Color = Unknown
    DefAssociation = 0x6, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x21: IN VREF_50
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0b
Node 0x13 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Mic Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 80
  Pin Default 0x02a19000: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
  Connection: 1
     0x0c
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 80
  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
  Connection: 1
     0x0d
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 80
  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
  Connection: 1
     0x0e
Node 0x16 [Pin Complex] wcaps 0x400001: Stereo
  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:
Node 0x17 [Pin Complex] wcaps 0x400000: Mono
  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:
Node 0x18 [Pin Complex] wcaps 0x400380: Mono Digital
  Control: name="SPDIF Jack", index=0, device=0
  Pincap 0x00000014: OUT Detect
  Pin Default 0x01446000: [Jack] SPDIF Out at Ext Rear
    Conn = RCA, Color = Orange
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x03
Node 0x19 [Pin Complex] wcaps 0x400280: Mono Digital
  Pincap 0x00000024: IN Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
Node 0x1a [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=13
Node 0x1b [Volume Knob Widget] wcaps 0x600080: Mono
  Volume-Knob: delta=0, steps=64, direct=0, val=0
  Unsolicited: tag=00, enabled=0
  Connection: 0
Codec: Motorola ID 3055
Address: 1
MFG Function Id: 0x2 (unsol 1)
Vendor Id: 0x10573055
Subsystem Id: 0x10573055
Revision Id: 0x100700
Modem Function Group: 0x1
--endcollapse--


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

crw-rw---- 1 root audio 116,  0 Apr 18 13:08 /dev/snd/controlC0
crw-rw---- 1 root audio 116,  4 Apr 18 13:08 /dev/snd/hwC0D0
crw-rw---- 1 root audio 116,  5 Apr 18 13:08 /dev/snd/hwC0D1
crw-rw---- 1 root audio 116, 24 Apr 18 13:28 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 16 Apr 18 13:12 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 17 Apr 18 13:08 /dev/snd/pcmC0D1p
crw-rw---- 1 root audio 116,  1 Apr 18 13:08 /dev/snd/seq
crw-rw---- 1 root audio 116, 33 Apr 18 13:08 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Apr 18 13:08 .
drwxr-xr-x 3 root root 220 Apr 18 13:08 ..
lrwxrwxrwx 1 root root  12 Apr 18 13:08 pci-0000:00:1b.0 -> ../controlC0


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

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC260 Analog [ALC260 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC260 Digital [ALC260 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

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

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

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

Card hw:0 'Intel'/'HDA Intel at 0xc0000000 irq 44'
  Mixer name	: 'Realtek ALC260'
  Components	: 'HDA:10ec0260,02600000,00100400 HDA:10573055,10573055,00100700'
  Controls      : 25
  Simple ctrls  : 12
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 44 [69%] [-20.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 65
  Mono: Playback 35 [54%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  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 penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65
  Mono:
  Front Left: Playback 35 [54%] [0.00dB] [off]
  Front Right: Playback 35 [54%] [0.00dB] [off]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Beep',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65
  Mono:
  Front Left: Playback 11 [17%] [-24.00dB] [on]
  Front Right: Playback 11 [17%] [-24.00dB] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 35
  Front Left: Capture 14 [40%] [14.00dB] [off]
  Front Right: Capture 14 [40%] [14.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Digital',0
  Capabilities: cvolume penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 60 [50%] [0.00dB]
  Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Internal Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65
  Mono:
  Front Left: Playback 35 [54%] [0.00dB] [off]
  Front Right: Playback 35 [54%] [0.00dB] [off]


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

--startcollapse--
state.Intel {
	control.1 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 64
		value.1 64
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.2 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.3 {
		iface MIXER
		name 'Speaker Playback Volume'
		value 35
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 65'
			dbmin -3500
			dbmax 3000
			dbvalue.0 0
		}
	}
	control.4 {
		iface MIXER
		name 'Speaker Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.5 {
		iface MIXER
		name 'Internal Mic Playback Volume'
		value.0 35
		value.1 35
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 65'
			dbmin -3500
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.6 {
		iface MIXER
		name 'Internal Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.7 {
		iface MIXER
		name 'Mic Playback Volume'
		value.0 35
		value.1 35
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 65'
			dbmin -3500
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.8 {
		iface MIXER
		name 'Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.9 {
		iface MIXER
		name 'Auto-Mute Mode'
		value Enabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.10 {
		iface MIXER
		name 'Capture Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.11 {
		iface MIXER
		name 'Capture Volume'
		value.0 14
		value.1 14
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 35'
			dbmin 0
			dbmax 3500
			dbvalue.0 1400
			dbvalue.1 1400
		}
	}
	control.12 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.13 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.14 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.15 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.16 {
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.17 {
		iface MIXER
		name 'Beep Playback Volume'
		value.0 11
		value.1 11
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 65'
			dbmin -3500
			dbmax 3000
			dbvalue.0 -2400
			dbvalue.1 -2400
		}
	}
	control.18 {
		iface MIXER
		name 'Beep Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.19 {
		iface MIXER
		name 'Master Playback Volume'
		value 44
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 -2000
		}
	}
	control.20 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.21 {
		iface CARD
		name 'Front Headphone Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.22 {
		iface CARD
		name 'Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.23 {
		iface CARD
		name 'SPDIF Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.24 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 255
		value.1 255
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 255'
			tlv '0000000100000008ffffec1400000014'
			dbmin -5100
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.25 {
		iface MIXER
		name 'Digital Capture Volume'
		value.0 60
		value.1 60
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 120'
			tlv '0000000100000008fffff44800000032'
			dbmin -3000
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
}
--endcollapse--


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

Module
nvidia
snd_hda_codec_realtek
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_pcm_oss
snd_mixer_oss
snd_pcm
snd_page_alloc
snd_timer
tifm_7xx1
tifm_core


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

/sys/class/sound/hwC0D0/init_pin_configs:
0x0f 0x01014000
0x10 0x02214000
0x11 0x50171000
0x12 0x01a19000
0x13 0x02a19000
0x14 0x01813000
0x15 0x99931000
0x16 0x99331000
0x17 0x90f71000
0x18 0x01446000
0x19 0x01c41000

/sys/class/sound/hwC0D0/driver_pin_configs:
0x10 0x02214000
0x11 0x99130110
0x12 0x90a60160
0x13 0x02a19000
0x18 0x01446000
0x0f 0x411111f0
0x14 0x411111f0
0x15 0x411111f0
0x16 0x411111f0
0x17 0x411111f0
0x19 0x411111f0

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D1/init_pin_configs:

/sys/class/sound/hwC0D1/driver_pin_configs:

/sys/class/sound/hwC0D1/user_pin_configs:

/sys/class/sound/hwC0D1/init_verbs:


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

usbhid: USB HID core driver
ALSA device list:
  No soundcards found.
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
--
usb 1-2: reset high-speed USB device number 2 using ehci_hcd
snd_hda_intel 0000:00:1b.0: irq 44 for MSI/MSI-X
input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input6
hda-codec: No codec parser is available
nvidia: module license 'NVIDIA' taints kernel.



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



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

* Re: No sound on Quanta KN1 with kernel 3.4
  2012-04-18 11:36                   ` Uros Vampl
@ 2012-04-18 12:16                     ` Takashi Iwai
  2012-04-18 16:25                       ` Uros Vampl
  0 siblings, 1 reply; 19+ messages in thread
From: Takashi Iwai @ 2012-04-18 12:16 UTC (permalink / raw)
  To: Uros Vampl; +Cc: alsa-devel

At Wed, 18 Apr 2012 13:36:55 +0200,
Uros Vampl wrote:
> 
> On 18.04.12 12:32, Takashi Iwai wrote:
> > Below is the test patch.  Again, adjust the mixer volumes after
> > applying the patch.  Now you should have "Headphone" and "Speaker"
> > volumes & switches.
> > 
> > Also, the speaker is muted automatically when the headphone is plugged.
> > For testing the speaker, unplug the headphone.
> 
> Still no sound, not speakers, not headphones. Did you see my other mail 
> about the "Front" control?

Yes, but it alone doesn't help for analysis because it's already an
abstracted mixer element.  We need to figure out which pin corresponds
to the speaker output.  It must be either 0x0f or 0x11.

BTW, any reason to set the "Speaker" volume so low?  It's almost
inaudible.  Raise this volume.

If raising volume doesn't change, and if you can still run the older
kernel, try to change the pin control via hda-verb like:
	# hda-verb /dev/snd/hwC0D0 0x0f SET_PIN_WID 0x00
and check whether the speaker still works.  If 0x0f doesn't change,
try 0x11,
	# hda-verb /dev/snd/hwC0D0 0x11 SET_PIN_WID 0x00

If the pin 0x0f actually changes the speaker output, use the patch
below instead of the previous one.

> Also, there's only one capture control now.

This is correct.  When there are only internal and external mics,
the driver enables the auto-mic switching mode.

> Shouldn't I be able to 
> choose whether to capture from internal or external mic?

Just plugging the mic jack should switch to the external mic
automatically just like the headphone/speaker switch.


Takashi

---
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 2508f81..c826a6d 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -4861,6 +4861,7 @@ enum {
 	ALC260_FIXUP_GPIO1_TOGGLE,
 	ALC260_FIXUP_REPLACER,
 	ALC260_FIXUP_HP_B1900,
+	ALC260_FIXUP_KN1,
 };
 
 static void alc260_gpio1_automute(struct hda_codec *codec)
@@ -4938,7 +4939,25 @@ static const struct alc_fixup alc260_fixups[] = {
 		.v.func = alc260_fixup_gpio1_toggle,
 		.chained = true,
 		.chain_id = ALC260_FIXUP_COEF,
-	}
+	},
+	[ALC260_FIXUP_KN1] = {
+		.type = ALC_FIXUP_PINS,
+		.v.pins = (const struct alc_pincfg[]) {
+			{ 0x0f, 0x99130110 }, /* speaker */
+			{ 0x10, 0x02214000 }, /* HP */
+			{ 0x12, 0x90a60160 }, /* int mic */
+			{ 0x13, 0x02a19000 }, /* ext mic */
+			{ 0x18, 0x01446000 }, /* SPDIF out */
+			/* disable bogus I/O pins */
+			{ 0x11, 0x411111f0 },
+			{ 0x14, 0x411111f0 },
+			{ 0x15, 0x411111f0 },
+			{ 0x16, 0x411111f0 },
+			{ 0x17, 0x411111f0 },
+			{ 0x19, 0x411111f0 },
+			{ }
+		}
+	},
 };
 
 static const struct snd_pci_quirk alc260_fixup_tbl[] = {
@@ -4948,6 +4967,7 @@ static const struct snd_pci_quirk alc260_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x103c, 0x280a, "HP dc5750", ALC260_FIXUP_HP_DC5750),
 	SND_PCI_QUIRK(0x103c, 0x30ba, "HP Presario B1900", ALC260_FIXUP_HP_B1900),
 	SND_PCI_QUIRK(0x1509, 0x4540, "Favorit 100XS", ALC260_FIXUP_GPIO1),
+	SND_PCI_QUIRK(0x152d, 0x0729, "Quanta KN1", ALC260_FIXUP_KN1),
 	SND_PCI_QUIRK(0x161f, 0x2057, "Replacer 672V", ALC260_FIXUP_REPLACER),
 	SND_PCI_QUIRK(0x1631, 0xc017, "PB V7900", ALC260_FIXUP_COEF),
 	{}

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

* Re: No sound on Quanta KN1 with kernel 3.4
  2012-04-18 12:16                     ` Takashi Iwai
@ 2012-04-18 16:25                       ` Uros Vampl
  2012-04-18 16:41                         ` Takashi Iwai
  0 siblings, 1 reply; 19+ messages in thread
From: Uros Vampl @ 2012-04-18 16:25 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

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

On 18.04.12 14:16, Takashi Iwai wrote:
> Yes, but it alone doesn't help for analysis because it's already an
> abstracted mixer element.  We need to figure out which pin corresponds
> to the speaker output.  It must be either 0x0f or 0x11.
> 
> BTW, any reason to set the "Speaker" volume so low?  It's almost
> inaudible.  Raise this volume.

No reason. I tried again with all volume sliders to the max, still no 
sound.

> If raising volume doesn't change, and if you can still run the older
> kernel, try to change the pin control via hda-verb like:
> 	# hda-verb /dev/snd/hwC0D0 0x0f SET_PIN_WID 0x00
> and check whether the speaker still works.  If 0x0f doesn't change,
> try 0x11,
> 	# hda-verb /dev/snd/hwC0D0 0x11 SET_PIN_WID 0x00
> 
> If the pin 0x0f actually changes the speaker output, use the patch
> below instead of the previous one.

By older kernel, you mean 3.3? If I do
       # hda-verb /dev/snd/hwC0D0 0x0f SET_PIN_WID 0x00
on 3.3, sound disappears. On both speakers and headphones. Doing
       # hda-verb /dev/snd/hwC0D0 0x0f SET_PIN_WID 0x40
turns sound back on. That means we have our pin, right?

Well, I tried the new patch which sets 0x0f as the speaker pin, no 
sound. Attached is alsa-info with this patch.

> > Also, there's only one capture control now.
> 
> This is correct.  When there are only internal and external mics,
> the driver enables the auto-mic switching mode.
> 
> > Shouldn't I be able to 
> > choose whether to capture from internal or external mic?
> 
> Just plugging the mic jack should switch to the external mic
> automatically just like the headphone/speaker switch.

Ah interesting, that's good info to have.

So what now? Neither of the patches work. Does the fact that pin 0x0f 
controls both speakers and headphones on kernel 3.3 provide a clue?

Regards,
Uroš

[-- Attachment #2: alsa-info.txt.cZwl8wwaik --]
[-- Type: text/plain, Size: 21910 bytes --]

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

!!Script ran on: Wed Apr 18 14:30:40 UTC 2012


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

Arch Linux @ \n (\r) \l


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

Manufacturer:      Gericom Inc
Product Name:      KN1             
Product Version:   Not Applicable


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

Kernel release:    3.4.0-rc3-zanic_kista
Operating System:  GNU/Linux
Architecture:      i686
Processor:         Intel(R) Pentium(R) M processor 1.73GHz
SMP Enabled:       No


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

Driver version:     1.0.25
Library version:    1.0.25
Utilities version:  1.0.25


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



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

No sound servers found.


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

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xc0000000 irq 44


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

00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)


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

00:1b.0 0403: 8086:2668 (rev 04)
	Subsystem: 152d:0729


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


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

Codec: Realtek ALC260
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0260
Subsystem Id: 0x02600000
Revision Id: 0x100400
No Modem Function Group found
Default PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=4, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x11: Stereo
  Device: name="ALC260 Analog", type="Audio", device=0
  Converter: stream=8, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x211: Stereo Digital
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
  Device: name="ALC260 Digital", type="SPDIF", device=1
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
Node 0x04 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Control: name="Capture Switch", index=0, device=0
  Control: name="Capture Volume", index=0, device=0
  Device: name="ALC260 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x00, nsteps=0x23, stepsize=0x03, mute=1
  Amp-In vals:  [0x8e 0x8e] [0x8e 0x8e] [0x8e 0x8e] [0x8e 0x8e] [0x8e 0x8e] [0x8e 0x8e] [0x8e 0x8e]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Connection: 7
     0x12* 0x13 0x14 0x15 0x16 0x0f 0x10
Node 0x05 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x23, stepsize=0x03, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Connection: 8
     0x12* 0x13 0x14 0x15 0x16 0x07 0x0f 0x10
Node 0x06 [Audio Input] wcaps 0x100391: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x19
Node 0x07 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Internal Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Internal Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="Beep Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=5, ofs=0
  Control: name="Beep Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=5, ofs=0
  Amp-In caps: ofs=0x23, nsteps=0x41, stepsize=0x03, mute=1
  Amp-In vals:  [0xa3 0xa3] [0xa3 0xa3] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x0b 0x0b] [0x80 0x80] [0x80 0x80]
  Connection: 8
     0x12 0x13 0x14 0x15 0x16 0x17 0x0f 0x10
Node 0x08 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x2e 0x2e]
  Connection: 2
     0x02 0x07
Node 0x09 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals:  [0x2e 0x2e]
  Connection: 2
     0x02 0x07
Node 0x0a [Audio Mixer] wcaps 0x20010e: Mono Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00] [0x80]
  Amp-Out caps: ofs=0x23, nsteps=0x41, stepsize=0x03, mute=0
  Amp-Out vals:  [0x23]
  Connection: 2
     0x02 0x07
Node 0x0b [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x08* 0x09
Node 0x0c [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x08* 0x09
Node 0x0d [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x08* 0x09
Node 0x0e [Audio Selector] wcaps 0x300101: Stereo
  Connection: 2
     0x08* 0x09
Node 0x0f [Pin Complex] wcaps 0x40018d: 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 0x0001003f: IN OUT HP EAPD Detect Trigger ImpSense
  EAPD 0x2: EAPD
  Pin Default 0x99130110: [Fixed] Speaker at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x08
Node 0x10 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Front Headphone Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001003f: IN OUT HP EAPD Detect Trigger ImpSense
  EAPD 0x2: EAPD
  Pin Default 0x02214000: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Connection: 1
     0x09
Node 0x11 [Pin Complex] wcaps 0x40010c: 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: 0x40: OUT
  Connection: 1
     0x0a
Node 0x12 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 80
  Pin Default 0x90a60160: [Fixed] Mic at Int N/A
    Conn = Digital, Color = Unknown
    DefAssociation = 0x6, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x21: IN VREF_50
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0b
Node 0x13 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Mic Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 80
  Pin Default 0x02a19000: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
  Connection: 1
     0x0c
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 80
  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
  Connection: 1
     0x0d
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000133f: IN OUT HP Detect Trigger ImpSense
    Vref caps: HIZ 50 80
  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
  Connection: 1
     0x0e
Node 0x16 [Pin Complex] wcaps 0x400001: Stereo
  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:
Node 0x17 [Pin Complex] wcaps 0x400000: Mono
  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:
Node 0x18 [Pin Complex] wcaps 0x400380: Mono Digital
  Control: name="SPDIF Jack", index=0, device=0
  Pincap 0x00000014: OUT Detect
  Pin Default 0x01446000: [Jack] SPDIF Out at Ext Rear
    Conn = RCA, Color = Orange
    DefAssociation = 0x0, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x03
Node 0x19 [Pin Complex] wcaps 0x400280: Mono Digital
  Pincap 0x00000024: IN Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
Node 0x1a [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=13
Node 0x1b [Volume Knob Widget] wcaps 0x600080: Mono
  Volume-Knob: delta=0, steps=64, direct=0, val=0
  Unsolicited: tag=00, enabled=0
  Connection: 0
Codec: Motorola ID 3055
Address: 1
MFG Function Id: 0x2 (unsol 1)
Vendor Id: 0x10573055
Subsystem Id: 0x10573055
Revision Id: 0x100700
Modem Function Group: 0x1
--endcollapse--


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

crw-rw---- 1 root audio 116,  0 Apr 18 16:28 /dev/snd/controlC0
crw-rw---- 1 root audio 116,  4 Apr 18 16:28 /dev/snd/hwC0D0
crw-rw---- 1 root audio 116,  5 Apr 18 16:28 /dev/snd/hwC0D1
crw-rw---- 1 root audio 116, 24 Apr 18 16:28 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 16 Apr 18 16:30 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 17 Apr 18 16:28 /dev/snd/pcmC0D1p
crw-rw---- 1 root audio 116,  1 Apr 18 16:28 /dev/snd/seq
crw-rw---- 1 root audio 116, 33 Apr 18 16:28 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Apr 18 16:28 .
drwxr-xr-x 3 root root 220 Apr 18 16:28 ..
lrwxrwxrwx 1 root root  12 Apr 18 16:28 pci-0000:00:1b.0 -> ../controlC0


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

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC260 Analog [ALC260 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC260 Digital [ALC260 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

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

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

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

Card hw:0 'Intel'/'HDA Intel at 0xc0000000 irq 44'
  Mixer name	: 'Realtek ALC260'
  Components	: 'HDA:10ec0260,02600000,00100400 HDA:10573055,10573055,00100700'
  Controls      : 24
  Simple ctrls  : 11
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 46 [72%] [-18.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  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 penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65
  Mono:
  Front Left: Playback 35 [54%] [0.00dB] [off]
  Front Right: Playback 35 [54%] [0.00dB] [off]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Beep',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65
  Mono:
  Front Left: Playback 11 [17%] [-24.00dB] [on]
  Front Right: Playback 11 [17%] [-24.00dB] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 35
  Front Left: Capture 14 [40%] [14.00dB] [off]
  Front Right: Capture 14 [40%] [14.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Internal Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65
  Mono:
  Front Left: Playback 35 [54%] [0.00dB] [off]
  Front Right: Playback 35 [54%] [0.00dB] [off]


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

--startcollapse--
state.Intel {
	control.1 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 64
		value.1 64
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6400
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.2 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.3 {
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 64
		value.1 64
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 64'
			dbmin -6400
			dbmax 0
			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 'Internal Mic Playback Volume'
		value.0 35
		value.1 35
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 65'
			dbmin -3500
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.6 {
		iface MIXER
		name 'Internal Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.7 {
		iface MIXER
		name 'Mic Playback Volume'
		value.0 35
		value.1 35
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 65'
			dbmin -3500
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.8 {
		iface MIXER
		name 'Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.9 {
		iface MIXER
		name 'Auto-Mute Mode'
		value Enabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.10 {
		iface MIXER
		name 'Capture Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.11 {
		iface MIXER
		name 'Capture Volume'
		value.0 14
		value.1 14
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 35'
			dbmin 0
			dbmax 3500
			dbvalue.0 1400
			dbvalue.1 1400
		}
	}
	control.12 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.13 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.14 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.15 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.16 {
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.17 {
		iface MIXER
		name 'Beep Playback Volume'
		value.0 11
		value.1 11
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 65'
			dbmin -3500
			dbmax 3000
			dbvalue.0 -2400
			dbvalue.1 -2400
		}
	}
	control.18 {
		iface MIXER
		name 'Beep Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.19 {
		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.20 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.21 {
		iface CARD
		name 'Front Headphone Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.22 {
		iface CARD
		name 'Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.23 {
		iface CARD
		name 'SPDIF Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.24 {
		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
nvidia
snd_hda_codec_realtek
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_pcm_oss
snd_mixer_oss
snd_pcm
snd_page_alloc
snd_timer
tifm_7xx1
tifm_core


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

/sys/class/sound/hwC0D0/init_pin_configs:
0x0f 0x01014000
0x10 0x02214000
0x11 0x50171000
0x12 0x01a19000
0x13 0x02a19000
0x14 0x01813000
0x15 0x99931000
0x16 0x99331000
0x17 0x90f71000
0x18 0x01446000
0x19 0x01c41000

/sys/class/sound/hwC0D0/driver_pin_configs:
0x0f 0x99130110
0x10 0x02214000
0x12 0x90a60160
0x13 0x02a19000
0x18 0x01446000
0x11 0x411111f0
0x14 0x411111f0
0x15 0x411111f0
0x16 0x411111f0
0x17 0x411111f0
0x19 0x411111f0

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D1/init_pin_configs:

/sys/class/sound/hwC0D1/driver_pin_configs:

/sys/class/sound/hwC0D1/user_pin_configs:

/sys/class/sound/hwC0D1/init_verbs:


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

usbhid: USB HID core driver
ALSA device list:
  No soundcards found.
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
--
usb 1-2: reset high-speed USB device number 2 using ehci_hcd
snd_hda_intel 0000:00:1b.0: irq 44 for MSI/MSI-X
input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input6
hda-codec: No codec parser is available
nvidia: module license 'NVIDIA' taints kernel.



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



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

* Re: No sound on Quanta KN1 with kernel 3.4
  2012-04-18 16:25                       ` Uros Vampl
@ 2012-04-18 16:41                         ` Takashi Iwai
  2012-04-18 17:33                           ` Uros Vampl
  0 siblings, 1 reply; 19+ messages in thread
From: Takashi Iwai @ 2012-04-18 16:41 UTC (permalink / raw)
  To: Uros Vampl; +Cc: alsa-devel

At Wed, 18 Apr 2012 18:25:27 +0200,
Uros Vampl wrote:
> 
> On 18.04.12 14:16, Takashi Iwai wrote:
> > Yes, but it alone doesn't help for analysis because it's already an
> > abstracted mixer element.  We need to figure out which pin corresponds
> > to the speaker output.  It must be either 0x0f or 0x11.
> > 
> > BTW, any reason to set the "Speaker" volume so low?  It's almost
> > inaudible.  Raise this volume.
> 
> No reason. I tried again with all volume sliders to the max, still no 
> sound.
> 
> > If raising volume doesn't change, and if you can still run the older
> > kernel, try to change the pin control via hda-verb like:
> > 	# hda-verb /dev/snd/hwC0D0 0x0f SET_PIN_WID 0x00
> > and check whether the speaker still works.  If 0x0f doesn't change,
> > try 0x11,
> > 	# hda-verb /dev/snd/hwC0D0 0x11 SET_PIN_WID 0x00
> > 
> > If the pin 0x0f actually changes the speaker output, use the patch
> > below instead of the previous one.
> 
> By older kernel, you mean 3.3? If I do
>        # hda-verb /dev/snd/hwC0D0 0x0f SET_PIN_WID 0x00
> on 3.3, sound disappears. On both speakers and headphones. Doing
>        # hda-verb /dev/snd/hwC0D0 0x0f SET_PIN_WID 0x40
> turns sound back on. That means we have our pin, right?

Ah, does it affect both?
What happens if you change the pin 0x10?  Does it affect the headphone
or speaker output?

> Well, I tried the new patch which sets 0x0f as the speaker pin, no 
> sound. Attached is alsa-info with this patch.
> 
> > > Also, there's only one capture control now.
> > 
> > This is correct.  When there are only internal and external mics,
> > the driver enables the auto-mic switching mode.
> > 
> > > Shouldn't I be able to 
> > > choose whether to capture from internal or external mic?
> > 
> > Just plugging the mic jack should switch to the external mic
> > automatically just like the headphone/speaker switch.
> 
> Ah interesting, that's good info to have.
> 
> So what now? Neither of the patches work. Does the fact that pin 0x0f 
> controls both speakers and headphones on kernel 3.3 provide a clue?

Does the headphone output work with 3.4 kernel at all?

Also, just to be sure, try the patch below in addition to another.
This will disable the COEF setup, and it wasn't applied to previous
models.


Takashi

---
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 2508f81..15cdc21 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -789,6 +789,7 @@ static void alc_auto_init_amp(struct hda_codec *codec, int type)
 	case ALC_INIT_DEFAULT:
 		switch (codec->vendor_id) {
 		case 0x10ec0260:
+#if 0
 			snd_hda_codec_write(codec, 0x1a, 0,
 					    AC_VERB_SET_COEF_INDEX, 7);
 			tmp = snd_hda_codec_read(codec, 0x1a, 0,
@@ -798,6 +799,7 @@ static void alc_auto_init_amp(struct hda_codec *codec, int type)
 			snd_hda_codec_write(codec, 0x1a, 0,
 					    AC_VERB_SET_PROC_COEF,
 					    tmp | 0x2010);
+#endif
 			break;
 		case 0x10ec0262:
 		case 0x10ec0880:

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

* Re: No sound on Quanta KN1 with kernel 3.4
  2012-04-18 16:41                         ` Takashi Iwai
@ 2012-04-18 17:33                           ` Uros Vampl
  2012-04-18 18:43                             ` Takashi Iwai
  0 siblings, 1 reply; 19+ messages in thread
From: Uros Vampl @ 2012-04-18 17:33 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On 18.04.12 18:41, Takashi Iwai wrote:
> Ah, does it affect both?
> What happens if you change the pin 0x10?  Does it affect the headphone
> or speaker output?

Pin 0x0f affects both. Pin 0x10 affects neither.

> Does the headphone output work with 3.4 kernel at all?

No. I always tested both speakers and headphones with each patch (and 
without patches). There was never any sound from either of the two.

> Also, just to be sure, try the patch below in addition to another.
> This will disable the COEF setup, and it wasn't applied to previous
> models.

This patch does the trick! First I tried it with the patch that deletes 
two lines from hda_codec.c, worked already, but there was no Speaker 
control. Then I instead tried with the patch that sets pin 0x0f. Sound 
works and I have a Speaker control. Interesting thing though, the 
Headphone control does nothing and the Speaker control affects both 
speakers and headphones. Maybe pin 0x10 is bogus too.

Also interesting, the Auto-Mute control does nothing. No matter what 
it's set to, when I plug in headphones the speakers go silent. It seems 
the machine has hardware auto-mute handling.

Thank you for your work, I now have sound again!

Regards,
Uroš
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: No sound on Quanta KN1 with kernel 3.4
  2012-04-18 17:33                           ` Uros Vampl
@ 2012-04-18 18:43                             ` Takashi Iwai
  2012-04-18 19:25                               ` Takashi Iwai
  2012-04-18 20:27                               ` Uros Vampl
  0 siblings, 2 replies; 19+ messages in thread
From: Takashi Iwai @ 2012-04-18 18:43 UTC (permalink / raw)
  To: Uros Vampl; +Cc: alsa-devel

At Wed, 18 Apr 2012 19:33:35 +0200,
Uros Vampl wrote:
> 
> On 18.04.12 18:41, Takashi Iwai wrote:
> > Ah, does it affect both?
> > What happens if you change the pin 0x10?  Does it affect the headphone
> > or speaker output?
> 
> Pin 0x0f affects both. Pin 0x10 affects neither.
> 
> > Does the headphone output work with 3.4 kernel at all?
> 
> No. I always tested both speakers and headphones with each patch (and 
> without patches). There was never any sound from either of the two.

OK.  This explains lots.

> > Also, just to be sure, try the patch below in addition to another.
> > This will disable the COEF setup, and it wasn't applied to previous
> > models.
> 
> This patch does the trick! First I tried it with the patch that deletes 
> two lines from hda_codec.c, worked already, but there was no Speaker 
> control. Then I instead tried with the patch that sets pin 0x0f. Sound 
> works and I have a Speaker control. Interesting thing though, the 
> Headphone control does nothing and the Speaker control affects both 
> speakers and headphones. Maybe pin 0x10 is bogus too.
> 
> Also interesting, the Auto-Mute control does nothing. No matter what 
> it's set to, when I plug in headphones the speakers go silent. It seems 
> the machine has hardware auto-mute handling.
> 
> Thank you for your work, I now have sound again!

The patch below is the integrated fix patch.
Try this one instead of the all previous fixes.
Again with this patch, you'll have only "Master" volume, as both
speaker and headphone share the same pin, thus no individual amps are
present.

Hopefully this works for you.


Takashi

---
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 2508f81..e65e354 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -1445,6 +1445,13 @@ enum {
 	ALC_FIXUP_ACT_BUILD,
 };
 
+static void alc_apply_pincfgs(struct hda_codec *codec,
+			      const struct alc_pincfg *cfg)
+{
+	for (; cfg->nid; cfg++)
+		snd_hda_codec_set_pincfg(codec, cfg->nid, cfg->val);
+}
+
 static void alc_apply_fixup(struct hda_codec *codec, int action)
 {
 	struct alc_spec *spec = codec->spec;
@@ -1478,9 +1485,7 @@ static void alc_apply_fixup(struct hda_codec *codec, int action)
 			snd_printdd(KERN_INFO "hda_codec: %s: "
 				    "Apply pincfg for %s\n",
 				    codec->chip_name, modelname);
-			for (; cfg->nid; cfg++)
-				snd_hda_codec_set_pincfg(codec, cfg->nid,
-							 cfg->val);
+			alc_apply_pincfgs(codec, cfg);
 			break;
 		case ALC_FIXUP_VERBS:
 			if (action != ALC_FIXUP_ACT_PROBE || !fix->v.verbs)
@@ -4861,6 +4866,7 @@ enum {
 	ALC260_FIXUP_GPIO1_TOGGLE,
 	ALC260_FIXUP_REPLACER,
 	ALC260_FIXUP_HP_B1900,
+	ALC260_FIXUP_KN1,
 };
 
 static void alc260_gpio1_automute(struct hda_codec *codec)
@@ -4888,6 +4894,36 @@ static void alc260_fixup_gpio1_toggle(struct hda_codec *codec,
 	}
 }
 
+static void alc260_fixup_kn1(struct hda_codec *codec,
+			     const struct alc_fixup *fix, int action)
+{
+	struct alc_spec *spec = codec->spec;
+	static const struct alc_pincfg pincfgs[] = {
+		{ 0x0f, 0x02214000 }, /* HP/speaker */
+		{ 0x12, 0x90a60160 }, /* int mic */
+		{ 0x13, 0x02a19000 }, /* ext mic */
+		{ 0x18, 0x01446000 }, /* SPDIF out */
+		/* disable bogus I/O pins */
+		{ 0x10, 0x411111f0 },
+		{ 0x11, 0x411111f0 },
+		{ 0x14, 0x411111f0 },
+		{ 0x15, 0x411111f0 },
+		{ 0x16, 0x411111f0 },
+		{ 0x17, 0x411111f0 },
+		{ 0x19, 0x411111f0 },
+		{ }
+	};
+
+	switch (action) {
+	case ALC_FIXUP_ACT_PRE_PROBE:
+		alc_apply_pincfgs(codec, pincfgs);
+		break;
+	case ALC_FIXUP_ACT_PROBE:
+		spec->init_amp = ALC_INIT_NONE;
+		break;
+	}
+}
+
 static const struct alc_fixup alc260_fixups[] = {
 	[ALC260_FIXUP_HP_DC5750] = {
 		.type = ALC_FIXUP_PINS,
@@ -4938,7 +4974,11 @@ static const struct alc_fixup alc260_fixups[] = {
 		.v.func = alc260_fixup_gpio1_toggle,
 		.chained = true,
 		.chain_id = ALC260_FIXUP_COEF,
-	}
+	},
+	[ALC260_FIXUP_KN1] = {
+		.type = ALC_FIXUP_FUNC,
+		.v.func = alc260_fixup_kn1,
+	},
 };
 
 static const struct snd_pci_quirk alc260_fixup_tbl[] = {
@@ -4948,6 +4988,7 @@ static const struct snd_pci_quirk alc260_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x103c, 0x280a, "HP dc5750", ALC260_FIXUP_HP_DC5750),
 	SND_PCI_QUIRK(0x103c, 0x30ba, "HP Presario B1900", ALC260_FIXUP_HP_B1900),
 	SND_PCI_QUIRK(0x1509, 0x4540, "Favorit 100XS", ALC260_FIXUP_GPIO1),
+	SND_PCI_QUIRK(0x152d, 0x0729, "Quanta KN1", ALC260_FIXUP_KN1),
 	SND_PCI_QUIRK(0x161f, 0x2057, "Replacer 672V", ALC260_FIXUP_REPLACER),
 	SND_PCI_QUIRK(0x1631, 0xc017, "PB V7900", ALC260_FIXUP_COEF),
 	{}

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

* Re: No sound on Quanta KN1 with kernel 3.4
  2012-04-18 18:43                             ` Takashi Iwai
@ 2012-04-18 19:25                               ` Takashi Iwai
  2012-04-18 20:27                               ` Uros Vampl
  1 sibling, 0 replies; 19+ messages in thread
From: Takashi Iwai @ 2012-04-18 19:25 UTC (permalink / raw)
  To: Uros Vampl; +Cc: alsa-devel

At Wed, 18 Apr 2012 20:43:51 +0200,
Takashi Iwai wrote:
> 
> At Wed, 18 Apr 2012 19:33:35 +0200,
> Uros Vampl wrote:
> > 
> > On 18.04.12 18:41, Takashi Iwai wrote:
> > > Ah, does it affect both?
> > > What happens if you change the pin 0x10?  Does it affect the headphone
> > > or speaker output?
> > 
> > Pin 0x0f affects both. Pin 0x10 affects neither.
> > 
> > > Does the headphone output work with 3.4 kernel at all?
> > 
> > No. I always tested both speakers and headphones with each patch (and 
> > without patches). There was never any sound from either of the two.
> 
> OK.  This explains lots.
> 
> > > Also, just to be sure, try the patch below in addition to another.
> > > This will disable the COEF setup, and it wasn't applied to previous
> > > models.
> > 
> > This patch does the trick! First I tried it with the patch that deletes 
> > two lines from hda_codec.c, worked already, but there was no Speaker 
> > control. Then I instead tried with the patch that sets pin 0x0f. Sound 
> > works and I have a Speaker control. Interesting thing though, the 
> > Headphone control does nothing and the Speaker control affects both 
> > speakers and headphones. Maybe pin 0x10 is bogus too.
> > 
> > Also interesting, the Auto-Mute control does nothing. No matter what 
> > it's set to, when I plug in headphones the speakers go silent. It seems 
> > the machine has hardware auto-mute handling.
> > 
> > Thank you for your work, I now have sound again!
> 
> The patch below is the integrated fix patch.
> Try this one instead of the all previous fixes.
> Again with this patch, you'll have only "Master" volume, as both
> speaker and headphone share the same pin, thus no individual amps are
> present.
> 
> Hopefully this works for you.

BTW, has the auto-mute via HP plug ever worked with your machine?

If not, try the patch below instead.  It might be that your machine
needs a similar trick like some other ALC260 laptops.


Takashi

---
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 2508f81..7de3502 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -1445,6 +1445,13 @@ enum {
 	ALC_FIXUP_ACT_BUILD,
 };
 
+static void alc_apply_pincfgs(struct hda_codec *codec,
+			      const struct alc_pincfg *cfg)
+{
+	for (; cfg->nid; cfg++)
+		snd_hda_codec_set_pincfg(codec, cfg->nid, cfg->val);
+}
+
 static void alc_apply_fixup(struct hda_codec *codec, int action)
 {
 	struct alc_spec *spec = codec->spec;
@@ -1478,9 +1485,7 @@ static void alc_apply_fixup(struct hda_codec *codec, int action)
 			snd_printdd(KERN_INFO "hda_codec: %s: "
 				    "Apply pincfg for %s\n",
 				    codec->chip_name, modelname);
-			for (; cfg->nid; cfg++)
-				snd_hda_codec_set_pincfg(codec, cfg->nid,
-							 cfg->val);
+			alc_apply_pincfgs(codec, cfg);
 			break;
 		case ALC_FIXUP_VERBS:
 			if (action != ALC_FIXUP_ACT_PROBE || !fix->v.verbs)
@@ -4861,6 +4866,7 @@ enum {
 	ALC260_FIXUP_GPIO1_TOGGLE,
 	ALC260_FIXUP_REPLACER,
 	ALC260_FIXUP_HP_B1900,
+	ALC260_FIXUP_KN1,
 };
 
 static void alc260_gpio1_automute(struct hda_codec *codec)
@@ -4888,6 +4894,36 @@ static void alc260_fixup_gpio1_toggle(struct hda_codec *codec,
 	}
 }
 
+static void alc260_fixup_kn1(struct hda_codec *codec,
+			     const struct alc_fixup *fix, int action)
+{
+	struct alc_spec *spec = codec->spec;
+	static const struct alc_pincfg pincfgs[] = {
+		{ 0x0f, 0x02214000 }, /* HP/speaker */
+		{ 0x12, 0x90a60160 }, /* int mic */
+		{ 0x13, 0x02a19000 }, /* ext mic */
+		{ 0x18, 0x01446000 }, /* SPDIF out */
+		/* disable bogus I/O pins */
+		{ 0x10, 0x411111f0 },
+		{ 0x11, 0x411111f0 },
+		{ 0x14, 0x411111f0 },
+		{ 0x15, 0x411111f0 },
+		{ 0x16, 0x411111f0 },
+		{ 0x17, 0x411111f0 },
+		{ 0x19, 0x411111f0 },
+		{ }
+	};
+
+	switch (action) {
+	case ALC_FIXUP_ACT_PRE_PROBE:
+		alc_apply_pincfgs(codec, pincfgs);
+		break;
+	case ALC_FIXUP_ACT_PROBE:
+		spec->init_amp = ALC_INIT_NONE;
+		break;
+	}
+}
+
 static const struct alc_fixup alc260_fixups[] = {
 	[ALC260_FIXUP_HP_DC5750] = {
 		.type = ALC_FIXUP_PINS,
@@ -4938,7 +4974,13 @@ static const struct alc_fixup alc260_fixups[] = {
 		.v.func = alc260_fixup_gpio1_toggle,
 		.chained = true,
 		.chain_id = ALC260_FIXUP_COEF,
-	}
+	},
+	[ALC260_FIXUP_KN1] = {
+		.type = ALC_FIXUP_FUNC,
+		.v.func = alc260_fixup_kn1,
+		.chained = true,
+		.chain_id = ALC260_FIXUP_GPIO1_TOGGLE,
+	},
 };
 
 static const struct snd_pci_quirk alc260_fixup_tbl[] = {
@@ -4948,6 +4990,7 @@ static const struct snd_pci_quirk alc260_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x103c, 0x280a, "HP dc5750", ALC260_FIXUP_HP_DC5750),
 	SND_PCI_QUIRK(0x103c, 0x30ba, "HP Presario B1900", ALC260_FIXUP_HP_B1900),
 	SND_PCI_QUIRK(0x1509, 0x4540, "Favorit 100XS", ALC260_FIXUP_GPIO1),
+	SND_PCI_QUIRK(0x152d, 0x0729, "Quanta KN1", ALC260_FIXUP_KN1),
 	SND_PCI_QUIRK(0x161f, 0x2057, "Replacer 672V", ALC260_FIXUP_REPLACER),
 	SND_PCI_QUIRK(0x1631, 0xc017, "PB V7900", ALC260_FIXUP_COEF),
 	{}

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

* Re: No sound on Quanta KN1 with kernel 3.4
  2012-04-18 18:43                             ` Takashi Iwai
  2012-04-18 19:25                               ` Takashi Iwai
@ 2012-04-18 20:27                               ` Uros Vampl
  2012-04-19  5:39                                 ` Takashi Iwai
  1 sibling, 1 reply; 19+ messages in thread
From: Uros Vampl @ 2012-04-18 20:27 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On 18.04.12 20:43, Takashi Iwai wrote:
> The patch below is the integrated fix patch.
> Try this one instead of the all previous fixes.
> Again with this patch, you'll have only "Master" volume, as both
> speaker and headphone share the same pin, thus no individual amps are
> present.
> 
> Hopefully this works for you.

Yes, it works.

> BTW, has the auto-mute via HP plug ever worked with your machine?

Yes, always. So no special treatment is needed in this case.


Thanks again,
Uroš
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: No sound on Quanta KN1 with kernel 3.4
  2012-04-18 20:27                               ` Uros Vampl
@ 2012-04-19  5:39                                 ` Takashi Iwai
  0 siblings, 0 replies; 19+ messages in thread
From: Takashi Iwai @ 2012-04-19  5:39 UTC (permalink / raw)
  To: Uros Vampl; +Cc: alsa-devel

At Wed, 18 Apr 2012 22:27:11 +0200,
Uros Vampl wrote:
> 
> On 18.04.12 20:43, Takashi Iwai wrote:
> > The patch below is the integrated fix patch.
> > Try this one instead of the all previous fixes.
> > Again with this patch, you'll have only "Master" volume, as both
> > speaker and headphone share the same pin, thus no individual amps are
> > present.
> > 
> > Hopefully this works for you.
> 
> Yes, it works.
> 
> > BTW, has the auto-mute via HP plug ever worked with your machine?
> 
> Yes, always. So no special treatment is needed in this case.

Great.  Now I merged the fix patch to sound git tree.
Will be included in the next pull request to 3.4.


thanks,

Takashi

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

end of thread, other threads:[~2012-04-19  5:39 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-14 17:10 No sound on Quanta KN1 with kernel 3.4 Uros Vampl
2012-04-14 19:25 ` Takashi Iwai
     [not found]   ` <20120414205209.GA1041@zanic_kista>
2012-04-16 14:07     ` Takashi Iwai
2012-04-16 17:56       ` Uros Vampl
2012-04-16 19:25         ` Takashi Iwai
2012-04-18  8:05           ` Takashi Iwai
2012-04-18  9:55             ` Uros Vampl
2012-04-18 10:20               ` Uros Vampl
2012-04-18 10:27               ` Takashi Iwai
2012-04-18 10:32                 ` Takashi Iwai
2012-04-18 11:36                   ` Uros Vampl
2012-04-18 12:16                     ` Takashi Iwai
2012-04-18 16:25                       ` Uros Vampl
2012-04-18 16:41                         ` Takashi Iwai
2012-04-18 17:33                           ` Uros Vampl
2012-04-18 18:43                             ` Takashi Iwai
2012-04-18 19:25                               ` Takashi Iwai
2012-04-18 20:27                               ` Uros Vampl
2012-04-19  5:39                                 ` Takashi Iwai

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.