All of lore.kernel.org
 help / color / mirror / Atom feed
* Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-In for Mic Pin 0x18
@ 2013-10-31  6:17 Lin, Mengdong
  2013-10-31  6:35 ` Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-In forMic " Kailang
  2013-10-31  7:44 ` Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-In for Mic " Takashi Iwai
  0 siblings, 2 replies; 10+ messages in thread
From: Lin, Mengdong @ 2013-10-31  6:17 UTC (permalink / raw)
  To: alsa-devel, Kailang, Pshou

Hi,

We found when recording on ALC262, the audio mixer node 0x24 mutes the input from Mic Pin node 0x18, so we get silent data.
Would someone please give me some advice to solve this?

Node 0x24 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 9
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b

I cannot find user-space amixer controls to unmute node 0x18.

The recording data flows from Mic Pin 0x18 -> Mixer 0x24 -> audio input 0x07. The Amp-In value on pin 0x18 (Rear Mic Boost) and input 0x07 (Capture Volume) are okay.

Thanks
Mengdong

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

* Re: Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-In forMic Pin 0x18
  2013-10-31  6:17 Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-In for Mic Pin 0x18 Lin, Mengdong
@ 2013-10-31  6:35 ` Kailang
  2013-10-31  6:52   ` Lin, Mengdong
  2013-10-31  7:44 ` Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-In for Mic " Takashi Iwai
  1 sibling, 1 reply; 10+ messages in thread
From: Kailang @ 2013-10-31  6:35 UTC (permalink / raw)
  To: Lin, Mengdong, alsa-devel, Pshou

Hi Mengdong,

Could you post full codec infomation to us?

BR,
Kailang
  ----- Original Message ----- 
  寄件者: Lin, Mengdong 
  收件者: alsa-devel@alsa-project.org ; Kailang ; Pshou 
  傳送日期: 2013年10月31日 下午 02:17
  主旨: Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-In forMic Pin 0x18


  Hi,

   

  We found when recording on ALC262, the audio mixer node 0x24 mutes the input from Mic Pin node 0x18, so we get silent data.

  Would someone please give me some advice to solve this?

   

  Node 0x24 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In

    Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

    Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]

    Connection: 9

       0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b

   

  I cannot find user-space amixer controls to unmute node 0x18.

   

  The recording data flows from Mic Pin 0x18 -> Mixer 0x24 -> audio input 0x07. The Amp-In value on pin 0x18 (Rear Mic Boost) and input 0x07 (Capture Volume) are okay.

   

  Thanks

  Mengdong


  ------Please consider the environment before printing this e-mail.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-In forMic Pin 0x18
  2013-10-31  6:35 ` Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-In forMic " Kailang
@ 2013-10-31  6:52   ` Lin, Mengdong
  2013-10-31  7:09     ` Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-InforMic " Kailang
  0 siblings, 1 reply; 10+ messages in thread
From: Lin, Mengdong @ 2013-10-31  6:52 UTC (permalink / raw)
  To: Kailang, alsa-devel, Pshou

Hi Kailang,

Here is the codec info. Thanks for your help!
I use arecord –D hw:0,0 –f S16_LE –r 48000 –c 2 in my test.

Codec: Realtek ALC262
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0262
Subsystem Id: 0x10ec0262
Revision Id: 0x100302
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
State of AFG node 0x01:
  Power states:  D0 D1 D2 D3 CLKSTOP
  Power: setting=D0, actual=D0
GPIO: io=4, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x411: Stereo
  Device: name="ALC262 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
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x411: Stereo
  Converter: stream=8, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x07 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Device: name="ALC262 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x1f 0x1f]
  Converter: stream=4, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x24
Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Volume", index=1, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=1, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Device: name="ALC262 Alt Analog", type="Audio", device=2
  Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x80 0x80]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Volume", index=2, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=2, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x80 0x80]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x22
Node 0x0a [Audio Input] wcaps 0x100791: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x1f
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  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="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="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="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=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 8
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15
Node 0x0c [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=0x1e, nsteps=0x1e, stepsize=0x05, mute=0
  Amp-Out vals:  [0x1e 0x1e]
  Connection: 2
     0x02 0x0b
Node 0x0d [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=0x1e, nsteps=0x1e, stepsize=0x05, mute=0
  Amp-Out vals:  [0x1e 0x1e]
  Connection: 2
     0x03 0x0b
Node 0x0e [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=0x1e, nsteps=0x1e, stepsize=0x05, mute=0
  Amp-Out vals:  [0x01]
  Connection: 2
     0x02 0x0b
Node 0x0f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x10 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x11 [Pin Complex] wcaps 0x400780: Mono Digital
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x10
Node 0x12 [Pin Complex] wcaps 0x400401: 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:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40058f: Stereo Amp-In 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-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000003e: IN OUT HP Detect Trigger
  Pin Default 0x01014010: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=05, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c* 0x0d
Node 0x15 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000003e: IN OUT HP Detect Trigger
  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
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c 0x0d*
Node 0x16 [Pin Complex] wcaps 0x40050c: Mono Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80]
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0e
Node 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x18 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Rear Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Rear Mic Jack", index=0, device=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x03 0x03]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000173e: IN OUT HP Detect Trigger
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x01a19820: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x21: IN VREF_50
  Unsolicited: tag=03, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c* 0x0d
Node 0x19 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Front Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Front Mic Jack", index=0, device=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000173e: IN OUT HP Detect Trigger
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x02a19821: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x1
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c* 0x0d
Node 0x1a [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Line Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Line Jack", index=0, device=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000173e: IN OUT HP Detect Trigger
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x0181302f: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0x2, Sequence = 0xf
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c* 0x0d
Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  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-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000173e: IN OUT HP Detect Trigger
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x0221401f: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c 0x0d*
Node 0x1c [Pin Complex] wcaps 0x400401: 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: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1d [Pin Complex] wcaps 0x400400: Mono
  Pincap 0x00000020: IN
  Pin Default 0x4014c601: [N/A] Speaker at Ext N/A
    Conn = RCA, Color = UNKNOWN
    DefAssociation = 0x0, Sequence = 0x1
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1e [Pin Complex] wcaps 0x400780: Mono Digital
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x06
Node 0x1f [Pin Complex] wcaps 0x400680: Mono Digital
  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: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=17
Node 0x21 [Volume Knob Widget] wcaps 0x600080: Mono
  Volume-Knob: delta=0, steps=32, direct=0, val=64
  Unsolicited: tag=00, enabled=0
  Connection: 0
Node 0x22 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 10
     0x18 0x19* 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b 0x12
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 9
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b
Node 0x24 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 9
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b

Regards
Mengdong

From: Kailang [mailto:kailang@realtek.com]
Sent: Thursday, October 31, 2013 2:36 PM
To: Lin, Mengdong; alsa-devel@alsa-project.org; Pshou
Subject: Re: Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-In forMic Pin 0x18

Hi Mengdong,

Could you post full codec infomation to us?

BR,
Kailang
----- Original Message -----
寄件者: Lin, Mengdong<mailto:mengdong.lin@intel.com>
收件者: alsa-devel@alsa-project.org<mailto:alsa-devel@alsa-project.org> ; Kailang<mailto:kailang@realtek.com> ; Pshou<mailto:pshou@realtek.com>
傳送日期: 2013年10月31日 下午 02:17
主旨: Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-In forMic Pin 0x18

Hi,

We found when recording on ALC262, the audio mixer node 0x24 mutes the input from Mic Pin node 0x18, so we get silent data.
Would someone please give me some advice to solve this?

Node 0x24 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 9
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b

I cannot find user-space amixer controls to unmute node 0x18.

The recording data flows from Mic Pin 0x18 -> Mixer 0x24 -> audio input 0x07. The Amp-In value on pin 0x18 (Rear Mic Boost) and input 0x07 (Capture Volume) are okay.

Thanks
Mengdong

------Please consider the environment before printing this e-mail.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-InforMic Pin 0x18
  2013-10-31  6:52   ` Lin, Mengdong
@ 2013-10-31  7:09     ` Kailang
  2013-10-31  8:07       ` Lin, Mengdong
  0 siblings, 1 reply; 10+ messages in thread
From: Kailang @ 2013-10-31  7:09 UTC (permalink / raw)
  To: Lin, Mengdong, alsa-devel, Pshou

Hi Mengdong,

Your platform has three input device.
Could you check alsamixer or amixer to select input source to MIC?
I think it will be get sound.

BR,
Kailang
  ----- Original Message ----- 
  寄件者: Lin, Mengdong 
  收件者: Kailang ; alsa-devel@alsa-project.org ; Pshou 
  傳送日期: 2013年10月31日 下午 02:52
  主旨: RE: Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-InforMic Pin 0x18


  Hi Kailang,

   

  Here is the codec info. Thanks for your help!

  I use arecord –D hw:0,0 –f S16_LE –r 48000 –c 2 in my test.

   

  Codec: Realtek ALC262

  Address: 0

  AFG Function Id: 0x1 (unsol 1)

  Vendor Id: 0x10ec0262

  Subsystem Id: 0x10ec0262

  Revision Id: 0x100302

  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

  State of AFG node 0x01:

    Power states:  D0 D1 D2 D3 CLKSTOP

    Power: setting=D0, actual=D0

  GPIO: io=4, o=0, i=0, unsolicited=1, wake=0

    IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0

    IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0

    IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0

    IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0

  Node 0x02 [Audio Output] wcaps 0x411: Stereo

    Device: name="ALC262 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

    Power states:  D0 D1 D2 D3 EPSS

    Power: setting=D0, actual=D0

  Node 0x03 [Audio Output] wcaps 0x411: Stereo

    Converter: stream=8, channel=0

    PCM:

      rates [0x560]: 44100 48000 96000 192000

      bits [0xe]: 16 20 24

      formats [0x1]: PCM

    Power states:  D0 D1 D2 D3 EPSS

    Power: setting=D0, actual=D0

  Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono

  Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono

  Node 0x06 [Audio Output] wcaps 0x611: Stereo Digital

    Converter: stream=0, channel=0

    Digital:

    Digital category: 0x0

    IEC Coding Type: 0x0

    PCM:

      rates [0x560]: 44100 48000 96000 192000

      bits [0x1e]: 16 20 24 32

      formats [0x1]: PCM

    Power states:  D0 D1 D2 D3 EPSS

    Power: setting=D0, actual=D0

  Node 0x07 [Audio Input] wcaps 0x10051b: Stereo Amp-In

    Control: name="Capture Volume", index=0, device=0

      ControlAmp: chs=3, dir=In, idx=0, ofs=0

    Control: name="Capture Switch", index=0, device=0

      ControlAmp: chs=3, dir=In, idx=0, ofs=0

    Device: name="ALC262 Analog", type="Audio", device=0

    Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1

    Amp-In vals:  [0x1f 0x1f]

    Converter: stream=4, channel=0

    SDI-Select: 0

    PCM:

      rates [0x560]: 44100 48000 96000 192000

      bits [0xe]: 16 20 24

      formats [0x1]: PCM

    Power states:  D0 D1 D2 D3 EPSS

    Power: setting=D0, actual=D0

    Connection: 1

       0x24

  Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In

    Control: name="Capture Volume", index=1, device=0

      ControlAmp: chs=3, dir=In, idx=0, ofs=0

    Control: name="Capture Switch", index=1, device=0

      ControlAmp: chs=3, dir=In, idx=0, ofs=0

    Device: name="ALC262 Alt Analog", type="Audio", device=2

    Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1

    Amp-In vals:  [0x80 0x80]

    Converter: stream=0, channel=0

    SDI-Select: 0

    PCM:

      rates [0x560]: 44100 48000 96000 192000

      bits [0xe]: 16 20 24

      formats [0x1]: PCM

    Power states:  D0 D1 D2 D3 EPSS

    Power: setting=D0, actual=D0

    Connection: 1

       0x23

  Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In

    Control: name="Capture Volume", index=2, device=0

      ControlAmp: chs=3, dir=In, idx=0, ofs=0

    Control: name="Capture Switch", index=2, device=0

      ControlAmp: chs=3, dir=In, idx=0, ofs=0

    Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1

    Amp-In vals:  [0x80 0x80]

    Converter: stream=0, channel=0

    SDI-Select: 0

    PCM:

      rates [0x560]: 44100 48000 96000 192000

      bits [0xe]: 16 20 24

      formats [0x1]: PCM

    Power states:  D0 D1 D2 D3 EPSS

    Power: setting=D0, actual=D0

    Connection: 1

       0x22

  Node 0x0a [Audio Input] wcaps 0x100791: Stereo Digital

    Converter: stream=0, channel=0

    SDI-Select: 0

    Digital:

    Digital category: 0x0

    IEC Coding Type: 0x0

    PCM:

      rates [0x560]: 44100 48000 96000 192000

      bits [0x1e]: 16 20 24 32

      formats [0x1]: PCM

    Unsolicited: tag=00, enabled=0

    Power states:  D0 D1 D2 D3 EPSS

    Power: setting=D0, actual=D0

    Connection: 1

       0x1f

  Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In

    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="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="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="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=0x17, nsteps=0x1f, stepsize=0x05, mute=1

    Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]

    Connection: 8

       0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15

  Node 0x0c [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=0x1e, nsteps=0x1e, stepsize=0x05, mute=0

    Amp-Out vals:  [0x1e 0x1e]

    Connection: 2

       0x02 0x0b

  Node 0x0d [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=0x1e, nsteps=0x1e, stepsize=0x05, mute=0

    Amp-Out vals:  [0x1e 0x1e]

    Connection: 2

       0x03 0x0b

  Node 0x0e [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=0x1e, nsteps=0x1e, stepsize=0x05, mute=0

    Amp-Out vals:  [0x01]

    Connection: 2

       0x02 0x0b

  Node 0x0f [Vendor Defined Widget] wcaps 0xf00000: Mono

  Node 0x10 [Audio Output] wcaps 0x611: Stereo Digital

    Converter: stream=0, channel=0

    Digital:

    Digital category: 0x0

    IEC Coding Type: 0x0

    PCM:

      rates [0x560]: 44100 48000 96000 192000

      bits [0x1e]: 16 20 24 32

      formats [0x1]: PCM

    Power states:  D0 D1 D2 D3 EPSS

    Power: setting=D0, actual=D0

  Node 0x11 [Pin Complex] wcaps 0x400780: Mono Digital

    Pincap 0x00000010: OUT

    Pin Default 0x411111f0: [N/A] Speaker at Ext Rear

      Conn = 1/8, Color = Black

      DefAssociation = 0xf, Sequence = 0x0

      Misc = NO_PRESENCE

    Pin-ctls: 0x00:

    Unsolicited: tag=00, enabled=0

    Power states:  D0 D1 D2 D3 EPSS

    Power: setting=D0, actual=D0

    Connection: 1

       0x10

  Node 0x12 [Pin Complex] wcaps 0x400401: 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:

    Power states:  D0 D1 D2 D3 EPSS

    Power: setting=D0, actual=D0

  Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono

  Node 0x14 [Pin Complex] wcaps 0x40058f: Stereo Amp-In 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-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0

    Amp-In vals:  [0x00 0x00]

    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

    Amp-Out vals:  [0x00 0x00]

    Pincap 0x0000003e: IN OUT HP Detect Trigger

    Pin Default 0x01014010: [Jack] Line Out at Ext Rear

      Conn = 1/8, Color = Green

      DefAssociation = 0x1, Sequence = 0x0

    Pin-ctls: 0x40: OUT

    Unsolicited: tag=05, enabled=1

    Power states:  D0 D1 D2 D3 EPSS

    Power: setting=D0, actual=D0

    Connection: 2

       0x0c* 0x0d

  Node 0x15 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out

    Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0

    Amp-In vals:  [0x00 0x00]

    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

    Amp-Out vals:  [0x80 0x80]

    Pincap 0x0000003e: IN OUT HP Detect Trigger

    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

    Power states:  D0 D1 D2 D3 EPSS

    Power: setting=D0, actual=D0

    Connection: 2

       0x0c 0x0d*

  Node 0x16 [Pin Complex] wcaps 0x40050c: Mono Amp-Out

    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

    Amp-Out vals:  [0x80]

    Pincap 0x00000010: OUT

    Pin Default 0x411111f0: [N/A] Speaker at Ext Rear

      Conn = 1/8, Color = Black

      DefAssociation = 0xf, Sequence = 0x0

      Misc = NO_PRESENCE

    Pin-ctls: 0x00:

    Power states:  D0 D1 D2 D3 EPSS

    Power: setting=D0, actual=D0

    Connection: 1

       0x0e

  Node 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono

  Node 0x18 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out

    Control: name="Rear Mic Boost Volume", index=0, device=0

      ControlAmp: chs=3, dir=In, idx=0, ofs=0

    Control: name="Rear Mic Jack", index=0, device=0

    Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0

    Amp-In vals:  [0x03 0x03]

    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

    Amp-Out vals:  [0x80 0x80]

    Pincap 0x0000173e: IN OUT HP Detect Trigger

      Vref caps: HIZ 50 GRD 80

    Pin Default 0x01a19820: [Jack] Mic at Ext Rear

      Conn = 1/8, Color = Pink

      DefAssociation = 0x2, Sequence = 0x0

    Pin-ctls: 0x21: IN VREF_50

    Unsolicited: tag=03, enabled=1

    Power states:  D0 D1 D2 D3 EPSS

    Power: setting=D0, actual=D0

    Connection: 2

       0x0c* 0x0d

  Node 0x19 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out

    Control: name="Front Mic Boost Volume", index=0, device=0

      ControlAmp: chs=3, dir=In, idx=0, ofs=0

    Control: name="Front Mic Jack", index=0, device=0

    Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0

    Amp-In vals:  [0x00 0x00]

    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

    Amp-Out vals:  [0x80 0x80]

    Pincap 0x0000173e: IN OUT HP Detect Trigger

      Vref caps: HIZ 50 GRD 80

    Pin Default 0x02a19821: [Jack] Mic at Ext Front

      Conn = 1/8, Color = Pink

      DefAssociation = 0x2, Sequence = 0x1

    Pin-ctls: 0x24: IN VREF_80

    Unsolicited: tag=02, enabled=1

    Power states:  D0 D1 D2 D3 EPSS

    Power: setting=D0, actual=D0

    Connection: 2

       0x0c* 0x0d

  Node 0x1a [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out

    Control: name="Line Boost Volume", index=0, device=0

      ControlAmp: chs=3, dir=In, idx=0, ofs=0

    Control: name="Line Jack", index=0, device=0

    Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0

    Amp-In vals:  [0x00 0x00]

    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

    Amp-Out vals:  [0x80 0x80]

    Pincap 0x0000173e: IN OUT HP Detect Trigger

      Vref caps: HIZ 50 GRD 80

    Pin Default 0x0181302f: [Jack] Line In at Ext Rear

      Conn = 1/8, Color = Blue

      DefAssociation = 0x2, Sequence = 0xf

    Pin-ctls: 0x20: IN VREF_HIZ

    Unsolicited: tag=04, enabled=1

    Power states:  D0 D1 D2 D3 EPSS

    Power: setting=D0, actual=D0

    Connection: 2

       0x0c* 0x0d

  Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out

    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-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0

    Amp-In vals:  [0x00 0x00]

    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

    Amp-Out vals:  [0x00 0x00]

    Pincap 0x0000173e: IN OUT HP Detect Trigger

      Vref caps: HIZ 50 GRD 80

    Pin Default 0x0221401f: [Jack] HP Out at Ext Front

      Conn = 1/8, Color = Green

      DefAssociation = 0x1, Sequence = 0xf

    Pin-ctls: 0xc0: OUT HP VREF_HIZ

    Unsolicited: tag=01, enabled=1

    Power states:  D0 D1 D2 D3 EPSS

    Power: setting=D0, actual=D0

    Connection: 2

       0x0c 0x0d*

  Node 0x1c [Pin Complex] wcaps 0x400401: 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: 0x20: IN

    Power states:  D0 D1 D2 D3 EPSS

    Power: setting=D0, actual=D0

  Node 0x1d [Pin Complex] wcaps 0x400400: Mono

    Pincap 0x00000020: IN

    Pin Default 0x4014c601: [N/A] Speaker at Ext N/A

      Conn = RCA, Color = UNKNOWN

      DefAssociation = 0x0, Sequence = 0x1

    Pin-ctls: 0x20: IN

    Power states:  D0 D1 D2 D3 EPSS

    Power: setting=D0, actual=D0

  Node 0x1e [Pin Complex] wcaps 0x400780: Mono Digital

    Pincap 0x00000010: OUT

    Pin Default 0x411111f0: [N/A] Speaker at Ext Rear

      Conn = 1/8, Color = Black

      DefAssociation = 0xf, Sequence = 0x0

      Misc = NO_PRESENCE

    Pin-ctls: 0x40: OUT

    Unsolicited: tag=00, enabled=0

    Power states:  D0 D1 D2 D3 EPSS

    Power: setting=D0, actual=D0

    Connection: 1

       0x06

  Node 0x1f [Pin Complex] wcaps 0x400680: Mono Digital

    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: 0x20: IN

    Unsolicited: tag=00, enabled=0

    Power states:  D0 D1 D2 D3 EPSS

    Power: setting=D0, actual=D0

  Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono

    Processing caps: benign=0, ncoeff=17

  Node 0x21 [Volume Knob Widget] wcaps 0x600080: Mono

    Volume-Knob: delta=0, steps=32, direct=0, val=64

    Unsolicited: tag=00, enabled=0

    Connection: 0

  Node 0x22 [Audio Selector] wcaps 0x300101: Stereo

    Connection: 10

       0x18 0x19* 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b 0x12

  Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In

    Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

    Amp-In vals:  [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]

    Connection: 9

       0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b

  Node 0x24 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In

    Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

    Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]

    Connection: 9

       0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b

   

  Regards

  Mengdong

   

  From: Kailang [mailto:kailang@realtek.com] 
  Sent: Thursday, October 31, 2013 2:36 PM
  To: Lin, Mengdong; alsa-devel@alsa-project.org; Pshou
  Subject: Re: Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-In forMic Pin 0x18

   

  Hi Mengdong,

   

  Could you post full codec infomation to us?

   

  BR,

  Kailang

    ----- Original Message ----- 

    寄件者: Lin, Mengdong 

    收件者: alsa-devel@alsa-project.org ; Kailang ; Pshou 

    傳送日期: 2013年10月31日 下午 02:17

    主旨: Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-In forMic Pin 0x18

     

    Hi,

     

    We found when recording on ALC262, the audio mixer node 0x24 mutes the input from Mic Pin node 0x18, so we get silent data.

    Would someone please give me some advice to solve this?

     

    Node 0x24 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In

      Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1

      Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]

      Connection: 9

         0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b

     

    I cannot find user-space amixer controls to unmute node 0x18.

     

    The recording data flows from Mic Pin 0x18 -> Mixer 0x24 -> audio input 0x07. The Amp-In value on pin 0x18 (Rear Mic Boost) and input 0x07 (Capture Volume) are okay.

     

    Thanks

    Mengdong


    ------Please consider the environment before printing this e-mail.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-In for Mic Pin 0x18
  2013-10-31  6:17 Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-In for Mic Pin 0x18 Lin, Mengdong
  2013-10-31  6:35 ` Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-In forMic " Kailang
@ 2013-10-31  7:44 ` Takashi Iwai
  2013-10-31  8:09   ` Lin, Mengdong
  1 sibling, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2013-10-31  7:44 UTC (permalink / raw)
  To: Lin, Mengdong; +Cc: Pshou, alsa-devel, Kailang

At Thu, 31 Oct 2013 06:17:29 +0000,
Lin, Mengdong wrote:
> 
> Hi,
> 
> We found when recording on ALC262, the audio mixer node 0x24 mutes the input from Mic Pin node 0x18, so we get silent data.
> Would someone please give me some advice to solve this?
> 
> Node 0x24 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
>   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>   Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
>   Connection: 9
>      0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b
> 
> I cannot find user-space amixer controls to unmute node 0x18.
> 
> The recording data flows from Mic Pin 0x18 -> Mixer 0x24 -> audio input 0x07. The Amp-In value on pin 0x18 (Rear Mic Boost) and input 0x07 (Capture Volume) are okay.

Too little hardware information.  Please give alsa-info.sh output at
least.  In the output above, 0x1a is chosen as the active input path,
so the driver looks working as expected somehow.


Takashi

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

* Re: Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-InforMic Pin 0x18
  2013-10-31  7:09     ` Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-InforMic " Kailang
@ 2013-10-31  8:07       ` Lin, Mengdong
  0 siblings, 0 replies; 10+ messages in thread
From: Lin, Mengdong @ 2013-10-31  8:07 UTC (permalink / raw)
  To: Kailang, alsa-devel, Pshou

Hi Kailang,

Recording is okay now.
I followed your suggestion to select Rear Mic (Mic Pin 0x18) to the Input Source (node 0x07) in alsamixer. Then the mixer node 0x24 unmute 0x18, and recording works.

Many thanks!
Mengdong

From: Kailang [mailto:kailang@realtek.com]
Sent: Thursday, October 31, 2013 3:09 PM
To: Lin, Mengdong; alsa-devel@alsa-project.org; Pshou
Subject: Re: Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-InforMic Pin 0x18

Hi Mengdong,

Your platform has three input device.
Could you check alsamixer or amixer to select input source to MIC?
I think it will be get sound.

BR,
Kailang
----- Original Message -----
寄件者: Lin, Mengdong<mailto:mengdong.lin@intel.com>
收件者: Kailang<mailto:kailang@realtek.com> ; alsa-devel@alsa-project.org<mailto:alsa-devel@alsa-project.org> ; Pshou<mailto:pshou@realtek.com>
傳送日期: 2013年10月31日 下午 02:52
主旨: RE: Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-InforMic Pin 0x18

Hi Kailang,

Here is the codec info. Thanks for your help!
I use arecord –D hw:0,0 –f S16_LE –r 48000 –c 2 in my test.

Codec: Realtek ALC262
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0262
Subsystem Id: 0x10ec0262
Revision Id: 0x100302
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
State of AFG node 0x01:
  Power states:  D0 D1 D2 D3 CLKSTOP
  Power: setting=D0, actual=D0
GPIO: io=4, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x411: Stereo
  Device: name="ALC262 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
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x411: Stereo
  Converter: stream=8, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x07 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Device: name="ALC262 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x1f 0x1f]
  Converter: stream=4, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x24
Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Volume", index=1, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=1, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Device: name="ALC262 Alt Analog", type="Audio", device=2
  Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x80 0x80]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Volume", index=2, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=2, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x80 0x80]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x22
Node 0x0a [Audio Input] wcaps 0x100791: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x1f
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  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="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="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="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=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 8
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15
Node 0x0c [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=0x1e, nsteps=0x1e, stepsize=0x05, mute=0
  Amp-Out vals:  [0x1e 0x1e]
  Connection: 2
     0x02 0x0b
Node 0x0d [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=0x1e, nsteps=0x1e, stepsize=0x05, mute=0
  Amp-Out vals:  [0x1e 0x1e]
  Connection: 2
     0x03 0x0b
Node 0x0e [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=0x1e, nsteps=0x1e, stepsize=0x05, mute=0
  Amp-Out vals:  [0x01]
  Connection: 2
     0x02 0x0b
Node 0x0f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x10 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x11 [Pin Complex] wcaps 0x400780: Mono Digital
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x10
Node 0x12 [Pin Complex] wcaps 0x400401: 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:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40058f: Stereo Amp-In 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-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000003e: IN OUT HP Detect Trigger
  Pin Default 0x01014010: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=05, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c* 0x0d
Node 0x15 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000003e: IN OUT HP Detect Trigger
  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
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c 0x0d*
Node 0x16 [Pin Complex] wcaps 0x40050c: Mono Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80]
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0e
Node 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x18 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Rear Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Rear Mic Jack", index=0, device=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x03 0x03]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000173e: IN OUT HP Detect Trigger
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x01a19820: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x21: IN VREF_50
  Unsolicited: tag=03, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c* 0x0d
Node 0x19 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Front Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Front Mic Jack", index=0, device=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000173e: IN OUT HP Detect Trigger
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x02a19821: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x1
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c* 0x0d
Node 0x1a [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Line Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Line Jack", index=0, device=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000173e: IN OUT HP Detect Trigger
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x0181302f: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0x2, Sequence = 0xf
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c* 0x0d
Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  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-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000173e: IN OUT HP Detect Trigger
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x0221401f: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x0c 0x0d*
Node 0x1c [Pin Complex] wcaps 0x400401: 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: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1d [Pin Complex] wcaps 0x400400: Mono
  Pincap 0x00000020: IN
  Pin Default 0x4014c601: [N/A] Speaker at Ext N/A
    Conn = RCA, Color = UNKNOWN
    DefAssociation = 0x0, Sequence = 0x1
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1e [Pin Complex] wcaps 0x400780: Mono Digital
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x06
Node 0x1f [Pin Complex] wcaps 0x400680: Mono Digital
  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: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=17
Node 0x21 [Volume Knob Widget] wcaps 0x600080: Mono
  Volume-Knob: delta=0, steps=32, direct=0, val=64
  Unsolicited: tag=00, enabled=0
  Connection: 0
Node 0x22 [Audio Selector] wcaps 0x300101: Stereo
  Connection: 10
     0x18 0x19* 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b 0x12
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 9
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b
Node 0x24 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 9
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b

Regards
Mengdong

From: Kailang [mailto:kailang@realtek.com]
Sent: Thursday, October 31, 2013 2:36 PM
To: Lin, Mengdong; alsa-devel@alsa-project.org<mailto:alsa-devel@alsa-project.org>; Pshou
Subject: Re: Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-In forMic Pin 0x18

Hi Mengdong,

Could you post full codec infomation to us?

BR,
Kailang
----- Original Message -----
寄件者: Lin, Mengdong<mailto:mengdong.lin@intel.com>
收件者: alsa-devel@alsa-project.org<mailto:alsa-devel@alsa-project.org> ; Kailang<mailto:kailang@realtek.com> ; Pshou<mailto:pshou@realtek.com>
傳送日期: 2013年10月31日 下午 02:17
主旨: Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-In forMic Pin 0x18

Hi,

We found when recording on ALC262, the audio mixer node 0x24 mutes the input from Mic Pin node 0x18, so we get silent data.
Would someone please give me some advice to solve this?

Node 0x24 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 9
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b

I cannot find user-space amixer controls to unmute node 0x18.

The recording data flows from Mic Pin 0x18 -> Mixer 0x24 -> audio input 0x07. The Amp-In value on pin 0x18 (Rear Mic Boost) and input 0x07 (Capture Volume) are okay.

Thanks
Mengdong

------Please consider the environment before printing this e-mail.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-In for Mic Pin 0x18
  2013-10-31  7:44 ` Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-In for Mic " Takashi Iwai
@ 2013-10-31  8:09   ` Lin, Mengdong
  2013-10-31  8:14     ` Lin, Mengdong
  2013-10-31  8:16     ` Takashi Iwai
  0 siblings, 2 replies; 10+ messages in thread
From: Lin, Mengdong @ 2013-10-31  8:09 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Pshou, alsa-devel, Kailang

> -----Original Message-----
> From: Takashi Iwai [mailto:tiwai@suse.de]
> Sent: Thursday, October 31, 2013 3:45 PM
> To: Lin, Mengdong
> Cc: alsa-devel@alsa-project.org; Kailang; Pshou
> Subject: Re: [alsa-devel] Realtek HD-A codec ALC262: How to unmute mixer
> node 0x24 Amp-In for Mic Pin 0x18
> 
> At Thu, 31 Oct 2013 06:17:29 +0000,
> Lin, Mengdong wrote:
> >
> > Hi,
> >
> > We found when recording on ALC262, the audio mixer node 0x24 mutes the
> input from Mic Pin node 0x18, so we get silent data.
> > Would someone please give me some advice to solve this?
> >
> > Node 0x24 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
> >   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
> >   Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80]
> [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
> >   Connection: 9
> >      0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b
> >
> > I cannot find user-space amixer controls to unmute node 0x18.
> >
> > The recording data flows from Mic Pin 0x18 -> Mixer 0x24 -> audio input 0x07.
> The Amp-In value on pin 0x18 (Rear Mic Boost) and input 0x07 (Capture Volume)
> are okay.
> 
> Too little hardware information.  Please give alsa-info.sh output at least.  In
> the output above, 0x1a is chosen as the active input path, so the driver looks
> working as expected somehow.

Yes. The driver is okay. I need to select the input pin for the mixer, as Kailang suggested.

Thanks
Mengdong

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

* Re: Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-In for Mic Pin 0x18
  2013-10-31  8:09   ` Lin, Mengdong
@ 2013-10-31  8:14     ` Lin, Mengdong
  2013-10-31  8:16     ` Takashi Iwai
  1 sibling, 0 replies; 10+ messages in thread
From: Lin, Mengdong @ 2013-10-31  8:14 UTC (permalink / raw)
  To: Kailang; +Cc: alsa-devel

Hi Kailang,

I followed your suggestion to select Rear Mic (Mic Pin 0x18) to the Input Source (node 0x07) in alsamixer. Then the mixer node 0x24 unmute 0x18, and recording works.

Many thanks!
Mengdong

> -----Original Message-----
> From: alsa-devel-bounces@alsa-project.org
> [mailto:alsa-devel-bounces@alsa-project.org] On Behalf Of Lin, Mengdong
> Sent: Thursday, October 31, 2013 4:09 PM
> To: Takashi Iwai
> Cc: Pshou; alsa-devel@alsa-project.org; Kailang
> Subject: Re: [alsa-devel] Realtek HD-A codec ALC262: How to unmute mixer
> node 0x24 Amp-In for Mic Pin 0x18
> 
> > -----Original Message-----
> > From: Takashi Iwai [mailto:tiwai@suse.de]
> > Sent: Thursday, October 31, 2013 3:45 PM
> > To: Lin, Mengdong
> > Cc: alsa-devel@alsa-project.org; Kailang; Pshou
> > Subject: Re: [alsa-devel] Realtek HD-A codec ALC262: How to unmute
> > mixer node 0x24 Amp-In for Mic Pin 0x18
> >
> > At Thu, 31 Oct 2013 06:17:29 +0000,
> > Lin, Mengdong wrote:
> > >
> > > Hi,
> > >
> > > We found when recording on ALC262, the audio mixer node 0x24 mutes
> > > the
> > input from Mic Pin node 0x18, so we get silent data.
> > > Would someone please give me some advice to solve this?
> > >
> > > Node 0x24 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
> > >   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
> > >   Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x80 0x80]
> > > [0x80 0x80]
> > [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
> > >   Connection: 9
> > >      0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b
> > >
> > > I cannot find user-space amixer controls to unmute node 0x18.
> > >
> > > The recording data flows from Mic Pin 0x18 -> Mixer 0x24 -> audio input
> 0x07.
> > The Amp-In value on pin 0x18 (Rear Mic Boost) and input 0x07 (Capture
> > Volume) are okay.
> >
> > Too little hardware information.  Please give alsa-info.sh output at
> > least.  In the output above, 0x1a is chosen as the active input path,
> > so the driver looks working as expected somehow.
> 
> Yes. The driver is okay. I need to select the input pin for the mixer, as Kailang
> suggested.
> 
> Thanks
> Mengdong
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-In for Mic Pin 0x18
  2013-10-31  8:09   ` Lin, Mengdong
  2013-10-31  8:14     ` Lin, Mengdong
@ 2013-10-31  8:16     ` Takashi Iwai
  2013-10-31  8:24       ` Takashi Iwai
  1 sibling, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2013-10-31  8:16 UTC (permalink / raw)
  To: Lin, Mengdong; +Cc: Pshou, alsa-devel, Kailang

At Thu, 31 Oct 2013 08:09:12 +0000,
Lin, Mengdong wrote:
> 
> > -----Original Message-----
> > From: Takashi Iwai [mailto:tiwai@suse.de]
> > Sent: Thursday, October 31, 2013 3:45 PM
> > To: Lin, Mengdong
> > Cc: alsa-devel@alsa-project.org; Kailang; Pshou
> > Subject: Re: [alsa-devel] Realtek HD-A codec ALC262: How to unmute mixer
> > node 0x24 Amp-In for Mic Pin 0x18
> > 
> > At Thu, 31 Oct 2013 06:17:29 +0000,
> > Lin, Mengdong wrote:
> > >
> > > Hi,
> > >
> > > We found when recording on ALC262, the audio mixer node 0x24 mutes the
> > input from Mic Pin node 0x18, so we get silent data.
> > > Would someone please give me some advice to solve this?
> > >
> > > Node 0x24 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
> > >   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
> > >   Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80]
> > [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
> > >   Connection: 9
> > >      0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b
> > >
> > > I cannot find user-space amixer controls to unmute node 0x18.
> > >
> > > The recording data flows from Mic Pin 0x18 -> Mixer 0x24 -> audio input 0x07.
> > The Amp-In value on pin 0x18 (Rear Mic Boost) and input 0x07 (Capture Volume)
> > are okay.
> > 
> > Too little hardware information.  Please give alsa-info.sh output at least.  In
> > the output above, 0x1a is chosen as the active input path, so the driver looks
> > working as expected somehow.
> 
> Yes. The driver is okay. I need to select the input pin for the mixer, as Kailang suggested.

The driver thinks the pin 0x1a is active and 0x18 isn't.  That's the
point.  If 0x18 is really a valid input pin, the driver should either
provide that path in "Capture Source" (or "Input Source") mixer or
select automatically via plugging/unplugging (auto-mic).

In anyway, it's a waste of time to discuss without the further
hardware details like alsa-info.sh output.


Takashi

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

* Re: Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-In for Mic Pin 0x18
  2013-10-31  8:16     ` Takashi Iwai
@ 2013-10-31  8:24       ` Takashi Iwai
  0 siblings, 0 replies; 10+ messages in thread
From: Takashi Iwai @ 2013-10-31  8:24 UTC (permalink / raw)
  To: Lin, Mengdong; +Cc: Pshou, alsa-devel, Kailang

At Thu, 31 Oct 2013 09:16:59 +0100,
Takashi Iwai wrote:
> 
> At Thu, 31 Oct 2013 08:09:12 +0000,
> Lin, Mengdong wrote:
> > 
> > > -----Original Message-----
> > > From: Takashi Iwai [mailto:tiwai@suse.de]
> > > Sent: Thursday, October 31, 2013 3:45 PM
> > > To: Lin, Mengdong
> > > Cc: alsa-devel@alsa-project.org; Kailang; Pshou
> > > Subject: Re: [alsa-devel] Realtek HD-A codec ALC262: How to unmute mixer
> > > node 0x24 Amp-In for Mic Pin 0x18
> > > 
> > > At Thu, 31 Oct 2013 06:17:29 +0000,
> > > Lin, Mengdong wrote:
> > > >
> > > > Hi,
> > > >
> > > > We found when recording on ALC262, the audio mixer node 0x24 mutes the
> > > input from Mic Pin node 0x18, so we get silent data.
> > > > Would someone please give me some advice to solve this?
> > > >
> > > > Node 0x24 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
> > > >   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
> > > >   Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80]
> > > [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
> > > >   Connection: 9
> > > >      0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b
> > > >
> > > > I cannot find user-space amixer controls to unmute node 0x18.
> > > >
> > > > The recording data flows from Mic Pin 0x18 -> Mixer 0x24 -> audio input 0x07.
> > > The Amp-In value on pin 0x18 (Rear Mic Boost) and input 0x07 (Capture Volume)
> > > are okay.
> > > 
> > > Too little hardware information.  Please give alsa-info.sh output at least.  In
> > > the output above, 0x1a is chosen as the active input path, so the driver looks
> > > working as expected somehow.
> > 
> > Yes. The driver is okay. I need to select the input pin for the mixer, as Kailang suggested.
> 
> The driver thinks the pin 0x1a is active and 0x18 isn't.  That's the
> point.  If 0x18 is really a valid input pin, the driver should either
> provide that path in "Capture Source" (or "Input Source") mixer or
> select automatically via plugging/unplugging (auto-mic).
> 
> In anyway, it's a waste of time to discuss without the further
> hardware details like alsa-info.sh output.

Ah OK, I see your another post later, it was pending due to the
size...


Takashi

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

end of thread, other threads:[~2013-10-31  8:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-31  6:17 Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-In for Mic Pin 0x18 Lin, Mengdong
2013-10-31  6:35 ` Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-In forMic " Kailang
2013-10-31  6:52   ` Lin, Mengdong
2013-10-31  7:09     ` Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-InforMic " Kailang
2013-10-31  8:07       ` Lin, Mengdong
2013-10-31  7:44 ` Realtek HD-A codec ALC262: How to unmute mixer node 0x24 Amp-In for Mic " Takashi Iwai
2013-10-31  8:09   ` Lin, Mengdong
2013-10-31  8:14     ` Lin, Mengdong
2013-10-31  8:16     ` Takashi Iwai
2013-10-31  8:24       ` 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.