Skip to contentSkip to conversation

Exposure of the input devices of Conexant CX20561 amplifier

DISCUSSION Matthias Bläsing 2 participants 3 messages Sep 20, 2009 – Sep 24, 2009

lore
Share & tools
lore
#0 lore raw

Hello,

it would be nice if I could control the input channels of my lenovo laptop (Lenovo R500). These are configured for microphone input, but the amplifier can be deactivated, so that it can work with the higher line-in level.

The resulting quality is not good, but at least usable.

The volume control is joint, but the amplifier control are seperated. With the HDAAnalyser I could find the Nodes (0x17 (rear) and 0x18 (front)) can be used to control the amplification. The setting can be changed between 0 and 4, where 0 makes it possible to use the input for line-in, while 4 is better suited for microphone input.

I'm not sure whether it would be better to expose this as a stepped control or just a switch (amplifier on/off).

These are the loaded modules (from kernel 2.6.31):

snd_usb_audio          74152  3 
snd_usb_lib            13904  1 snd_usb_audio
snd_hda_codec_conexant    17684  1 
snd_seq_dummy           2748  0 
snd_seq_oss            24620  0 
snd_hda_intel          24064  9 
snd_hda_codec          65724  2 snd_hda_codec_conexant,snd_hda_intel
snd_seq_midi            6232  0 
snd_hwdep               6772  3 snd_usb_audio,snd_hda_codec
snd_rawmidi            19600  2 snd_usb_lib,snd_seq_midi
snd_seq_midi_event      6580  2 snd_seq_oss,snd_seq_midi
snd_pcm_oss            33516  0 
snd_mixer_oss          13416  1 snd_pcm_oss
snd_seq                44744  7

snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_pcm 64872 6
snd_usb_audio,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer 18448 2 snd_seq,snd_pcm
snd_seq_device 6424 5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd_page_alloc 8556 2 snd_hda_intel,snd_pcm
snd 52452 35
snd_usb_audio,snd_hda_codec_conexant,snd_seq_oss,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_rawmidi,snd_pcm_oss,snd_mixer_oss,snd_seq,snd_pcm,snd_timer,snd_seq_device
soundcore 6876 1 snd

I attached the /proc/asound/card0/codec#0 info to this email. If you need further information - please ask.

Matthias

Codec: Conexant CX20561 (Hermosa)
Address: 0
Function Id: 0x2
Vendor Id: 0x14f15051
Subsystem Id: 0x17aa20fd
Revision Id: 0x100000
Modem Function Group: 0x2
Default PCM:

    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM

Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=4, o=0, i=0, unsolicited=1, wake=0
IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x10 [Audio Output] wcaps 0xc1d: Stereo Amp-Out R/L
Amp-Out caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=0 Amp-Out vals: [0x4a 0x4a]
Converter: stream=0, channel=0
PCM:

    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM

Power: setting=D0, actual=D0
Node 0x11 [Audio Output] wcaps 0xc1d: Stereo Amp-Out R/L
Amp-Out caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=0 Amp-Out vals: [0x4a 0x4a]
Converter: stream=0, channel=0
PCM:

    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM

Power: setting=D0, actual=D0
Node 0x12 [Audio Output] wcaps 0x211: Stereo Digital
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
PCM:

    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3

Node 0x13 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=0 Amp-Out vals: [0x00]
Node 0x14 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L
Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=0 Amp-In vals: [0x2a 0x2a] [0x2c 0x2c]
Converter: stream=1, channel=0
SDI-Select: 0
PCM:

    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power: setting=D0, actual=D0
  Connection: 2
     0x1d 0x17*

Node 0x15 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L
Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=0 Amp-In vals: [0x30 0x30]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:

    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power: setting=D0, actual=D0
  Connection: 1
     0x18

Node 0x16 [Pin Complex] wcaps 0x400581: Stereo
Pincap 0x0000001c: OUT HP Detect
Pin Default 0x022140f0: [Jack] HP Out at Ext Front
Conn = 1/8, Color = Green
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0xc0: OUT HP
Unsolicited: tag=37, enabled=1
Power: setting=D0, actual=D0
Connection: 2

     0x10* 0x11

Node 0x17 [Pin Complex] wcaps 0x40048b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00]
Pincap 0x00001224: IN Detect

    Vref caps: 50 80

Pin Default 0x61a190f0: [N/A] Mic at Sep Rear
Conn = 1/8, Color = Pink
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=38, enabled=1
Power: setting=D0, actual=D0
Node 0x18 [Pin Complex] wcaps 0x40048b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00]
Pincap 0x00001224: IN Detect

    Vref caps: 50 80

Pin Default 0x02a190f0: [Jack] Mic at Ext Front
Conn = 1/8, Color = Pink
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=39, enabled=1
Power: setting=D0, actual=D0
Node 0x19 [Pin Complex] wcaps 0x400581: Stereo
Pincap 0x00000014: OUT Detect
Pin Default 0x40f000f0: [N/A] Other at Ext N/A
Conn = Unknown, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=37, enabled=1
Power: setting=D0, actual=D0
Connection: 2

     0x10* 0x11

Node 0x1a [Pin Complex] wcaps 0x400501: Stereo
Pincap 0x00010010: OUT EAPD
EAPD 0x2: EAPD
Pin Default 0x901701f0: [Fixed] Speaker at Int N/A
Conn = Analog, Color = Unknown DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Power: setting=D0, actual=D0
Connection: 2

     0x10* 0x11

Node 0x1b [Pin Complex] wcaps 0x400500: Mono
Pincap 0x00010010: OUT EAPD
EAPD 0x2: EAPD
Pin Default 0x40f001f0: [N/A] Other at Ext N/A
Conn = Unknown, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Power: setting=D0, actual=D0
Connection: 2

     0x10* 0x11

Node 0x1c [Pin Complex] wcaps 0x400701: Stereo Digital
Pincap 0x00000010: OUT
Pin Default 0x40f001f0: [N/A] Other at Ext N/A
Conn = Unknown, Color = Unknown DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Power: setting=D0, actual=D0
Connection: 1

     0x12

Node 0x1d [Pin Complex] wcaps 0x40040b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0 Amp-In vals: [0x03 0x03]
Pincap 0x00000020: IN
Pin Default 0x90a701f0: [Fixed] Mic at Int N/A
Conn = Analog, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Power: setting=D0, actual=D0
Node 0x1e [Vendor Defined Widget] wcaps 0xf00000: Mono

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#1 lore raw

At Sun, 20 Sep 2009 20:50:38 +0200,

Quoted 46 lines · Matthias Bläsing

Hello,

it would be nice if I could control the input channels of my lenovo laptop (Lenovo R500). These are configured for microphone input, but the amplifier can be deactivated, so that it can work with the higher line-in level.

The resulting quality is not good, but at least usable.

The volume control is joint, but the amplifier control are seperated. With the HDAAnalyser I could find the Nodes (0x17 (rear) and 0x18 (front)) can be used to control the amplification. The setting can be changed between 0 and 4, where 0 makes it possible to use the input for line-in, while 4 is better suited for microphone input.

I'm not sure whether it would be better to expose this as a stepped control or just a switch (amplifier on/off).

These are the loaded modules (from kernel 2.6.31):

snd_usb_audio          74152  3 
snd_usb_lib            13904  1 snd_usb_audio
snd_hda_codec_conexant    17684  1 
snd_seq_dummy           2748  0 
snd_seq_oss            24620  0 
snd_hda_intel          24064  9 
snd_hda_codec          65724  2 snd_hda_codec_conexant,snd_hda_intel
snd_seq_midi            6232  0 
snd_hwdep               6772  3 snd_usb_audio,snd_hda_codec
snd_rawmidi            19600  2 snd_usb_lib,snd_seq_midi
snd_seq_midi_event      6580  2 snd_seq_oss,snd_seq_midi
snd_pcm_oss            33516  0 
snd_mixer_oss          13416  1 snd_pcm_oss
snd_seq                44744  7

snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_pcm 64872 6
snd_usb_audio,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer 18448 2 snd_seq,snd_pcm
snd_seq_device 6424 5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd_page_alloc 8556 2 snd_hda_intel,snd_pcm
snd 52452 35
snd_usb_audio,snd_hda_codec_conexant,snd_seq_oss,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_rawmidi,snd_pcm_oss,snd_mixer_oss,snd_seq,snd_pcm,snd_timer,snd_seq_device
soundcore 6876 1 snd

Quoted 2 lines

I attached the /proc/asound/card0/codec#0 info to this email. If you need further information - please ask.

Could you give alsa-info.sh output (run with --no-upload option)? This would be more comprehensive information.

thanks,

Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#2 lore raw

Am Donnerstag, den 24.09.2009, 10:09 +0200 schrieb Takashi Iwai:

Quoted 23 lines

At Sun, 20 Sep 2009 20:50:38 +0200,

Quoted 21 lines · Matthias Bläsing

Hello,

it would be nice if I could control the input channels of my lenovo laptop (Lenovo R500). These are configured for microphone input, but the amplifier can be deactivated, so that it can work with the higher line-in level.

The resulting quality is not good, but at least usable.

The volume control is joint, but the amplifier control are seperated. With the HDAAnalyser I could find the Nodes (0x17 (rear) and 0x18 (front)) can be used to control the amplification. The setting can be changed between 0 and 4, where 0 makes it possible to use the input for line-in, while 4 is better suited for microphone input.

I'm not sure whether it would be better to expose this as a stepped control or just a switch (amplifier on/off).

These are the loaded modules (from kernel 2.6.31):

Quoted 7 lines
Quoted 4 lines

[Module-List]

I attached the /proc/asound/card0/codec#0 info to this email. If you need further information - please ask.

Could you give alsa-info.sh output (run with --no-upload option)? This would be more comprehensive information.

You find the result attached to this email.

Greetings

Matthias

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

!!Script ran on: Thu Sep 24 19:11:26 UTC 2009

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

Ubuntu 9.04 \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 9.04"

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

Manufacturer:      LENOVO
Product Name:      27327KG

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

Kernel release:    2.6.31
Operating System:  GNU/Linux
Architecture:      i686
Processor:         unknown
SMP Enabled:       Yes

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

Driver version:     1.0.20
Library version:    1.0.19
Utilities version:  1.0.18

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

snd_hda_intel
snd_usb_audio

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

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

ESound Daemon:
Installed - Yes (/usr/bin/esd)
Running - No

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

0 [Intel ]: HDA-Intel - HDA Intel

                      HDA Intel at 0xf8500000 irq 17
 1 [U0xccd0x77     ]: USB-Audio - USB Device 0xccd:0x77
                      USB Device 0xccd:0x77 at usb-0000:00:1a.7-5.1.3, full speed

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

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)

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

00:1b.0 0403: 8086:293e (rev 03)

	Subsystem: 17aa:20f2

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

snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-usb-audio: index=-2
snd-usb-us122l: index=-2
snd-usb-usx2y: index=-2
snd-usb-caiaq: index=-2
snd-cmipci: mpu_port=0x330 fm_port=0x388
snd-pcsp: index=-2

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

!!Module: snd_hda_intel

	bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : 0
	id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	model : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
	position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	power_save : 0
	power_save_controller : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
	single_cmd : N

!!Module: snd_usb_audio

	async_unlink : Y
	device_setup : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
	ignore_ctl_error : N
	index : -2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	nrpacks : 8
	pid : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	vid : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1

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

Codec: Conexant CX20561 (Hermosa)
Address: 0
Function Id: 0x2
Vendor Id: 0x14f15051
Subsystem Id: 0x17aa20fd
Revision Id: 0x100000
Modem Function Group: 0x2
Default PCM:

    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM

Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=4, o=0, i=0, unsolicited=1, wake=0
IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x10 [Audio Output] wcaps 0xc1d: Stereo Amp-Out R/L
Amp-Out caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=0 Amp-Out vals: [0x45 0x45]
Converter: stream=5, channel=0
PCM:

    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM

Power: setting=D0, actual=D0
Node 0x11 [Audio Output] wcaps 0xc1d: Stereo Amp-Out R/L
Amp-Out caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=0 Amp-Out vals: [0x4a 0x4a]
Converter: stream=0, channel=0
PCM:

    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM

Power: setting=D0, actual=D0
Node 0x12 [Audio Output] wcaps 0x211: Stereo Digital
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
PCM:

    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3

Node 0x13 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=0 Amp-Out vals: [0x00]
Node 0x14 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L
Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=0 Amp-In vals: [0x00 0x00] [0x50 0x50]
Converter: stream=1, channel=0
SDI-Select: 0
PCM:

    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power: setting=D0, actual=D0
  Connection: 2
     0x1d* 0x17

Node 0x15 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L
Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=0 Amp-In vals: [0x00 0x00]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:

    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power: setting=D0, actual=D0
  Connection: 1
     0x18

Node 0x16 [Pin Complex] wcaps 0x400581: Stereo
Pincap 0x0000001c: OUT HP Detect
Pin Default 0x022140f0: [Jack] HP Out at Ext Front
Conn = 1/8, Color = Green
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0xc0: OUT HP
Unsolicited: tag=37, enabled=1
Power: setting=D0, actual=D0
Connection: 2

     0x10* 0x11

Node 0x17 [Pin Complex] wcaps 0x40048b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0 Amp-In vals: [0x03 0x03]
Pincap 0x00001224: IN Detect

    Vref caps: 50 80

Pin Default 0x61a190f0: [N/A] Mic at Sep Rear
Conn = 1/8, Color = Pink
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=38, enabled=1
Power: setting=D0, actual=D0
Node 0x18 [Pin Complex] wcaps 0x40048b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0 Amp-In vals: [0x03 0x03]
Pincap 0x00001224: IN Detect

    Vref caps: 50 80

Pin Default 0x02a190f0: [Jack] Mic at Ext Front
Conn = 1/8, Color = Pink
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=39, enabled=1
Power: setting=D0, actual=D0
Node 0x19 [Pin Complex] wcaps 0x400581: Stereo
Pincap 0x00000014: OUT Detect
Pin Default 0x40f000f0: [N/A] Other at Ext N/A
Conn = Unknown, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=37, enabled=1
Power: setting=D0, actual=D0
Connection: 2

     0x10* 0x11

Node 0x1a [Pin Complex] wcaps 0x400501: Stereo
Pincap 0x00010010: OUT EAPD
EAPD 0x2: EAPD
Pin Default 0x901701f0: [Fixed] Speaker at Int N/A
Conn = Analog, Color = Unknown DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Power: setting=D0, actual=D0
Connection: 2

     0x10* 0x11

Node 0x1b [Pin Complex] wcaps 0x400500: Mono
Pincap 0x00010010: OUT EAPD
EAPD 0x2: EAPD
Pin Default 0x40f001f0: [N/A] Other at Ext N/A
Conn = Unknown, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Power: setting=D0, actual=D0
Connection: 2

     0x10* 0x11

Node 0x1c [Pin Complex] wcaps 0x400701: Stereo Digital
Pincap 0x00000010: OUT
Pin Default 0x40f001f0: [N/A] Other at Ext N/A
Conn = Unknown, Color = Unknown DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Power: setting=D0, actual=D0
Connection: 1

     0x12

Node 0x1d [Pin Complex] wcaps 0x40040b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0 Amp-In vals: [0x03 0x03]
Pincap 0x00000020: IN
Pin Default 0x90a701f0: [Fixed] Mic at Int N/A
Conn = Analog, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Power: setting=D0, actual=D0
Node 0x1e [Vendor Defined Widget] wcaps 0xf00000: Mono --endcollapse--

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

crw-rw----+ 1 root audio 116, 11 Sep 24 18:37 /dev/snd/controlC0 crw-rw----+ 1 root audio 116, 6 Sep 24 18:37 /dev/snd/controlC1 crw-rw----+ 1 root audio 116, 10 Sep 24 18:37 /dev/snd/hwC0D0

crw-rw----+ 1 root audio 116,  9 Sep 24 19:49 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116,  8 Sep 24 19:49 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116,  7 Sep 24 18:44 /dev/snd/pcmC0D1p
crw-rw----+ 1 root audio 116,  5 Sep 24 19:49 /dev/snd/pcmC1D0c
crw-rw----+ 1 root audio 116,  4 Sep 24 19:45 /dev/snd/pcmC1D0p
crw-rw----+ 1 root audio 116,  3 Sep 24 18:37 /dev/snd/seq
crw-rw----+ 1 root audio 116,  2 Sep 24 18:37 /dev/snd/timer

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

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: Conexant Digital [Conexant Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: U0xccd0x77 [USB Device 0xccd:0x77], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: U0xccd0x77 [USB Device 0xccd:0x77], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0

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

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

Card hw:0 'Intel'/'HDA Intel at 0xf8500000 irq 17'
Mixer name : 'Conexant CX20561 (Hermosa)'
Components : 'HDA:14f15051,17aa20fd,00100000'
Controls : 15
Simple ctrls : 8
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined Playback channels: Front Left - Front Right
Limits: Playback 0 - 74
Mono:
Front Left: Playback 69 [93%] [-5.00dB] [on] Front Right: Playback 69 [93%] [-5.00dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 233 [91%] [-4.40dB] Front Right: Playback 233 [91%] [-4.40dB]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Digital',0
Capabilities: cvolume
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 'Docking Mic',0
Capabilities: volume pswitch
Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right
Limits: 0 - 80
Front Left: 0 [0%] [-74.00dB] Playback [on] Front Right: 0 [0%] [-74.00dB] Playback [on]
Simple mixer control 'External Mic',0
Capabilities: volume pswitch
Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right
Limits: 0 - 80
Front Left: 80 [100%] [6.00dB] Playback [on] Front Right: 80 [100%] [6.00dB] Playback [on]
Simple mixer control 'Internal Mic',0
Capabilities: volume pswitch
Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right
Limits: 0 - 80
Front Left: 0 [0%] [-74.00dB] Playback [on] Front Right: 0 [0%] [-74.00dB] Playback [on]

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

Card hw:1 'U0xccd0x77'/'USB Device 0xccd:0x77 at usb-0000:00:1a.7-5.1.3, full speed'
Mixer name : 'USB Mixer'
Components : 'USB0ccd:0077'
Controls : 7
Simple ctrls : 3
Simple mixer control 'Mic',0
Capabilities: pvolume pvolume-joined cvolume cvolume-joined pswitch pswitch-joined cswitch cswitch-joined Playback channels: Mono
Capture channels: Mono
Limits: Playback 0 - 32 Capture 0 - 16
Mono: Playback 0 [0%] [0.00dB] [off] Capture 1 [6%] [1.50dB] [on]
Simple mixer control 'Auto Gain Control',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Speaker',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 151
Mono:
Front Left: Playback 46 [30%] [-20.09dB] [on]
Front Right: Playback 46 [30%] [-20.09dB] [on]

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

--startcollapse--

state.Intel {
	control.1 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 80'
		comment.dbmin -7400
		comment.dbmax 600
		iface MIXER
		name 'Internal Mic Volume'
		value.0 0
		value.1 0
	}
	control.2 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Internal Mic Switch'
		value.0 true
		value.1 true
	}
	control.3 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 80'
		comment.dbmin -7400
		comment.dbmax 600
		iface MIXER
		name 'External Mic Volume'
		value.0 80
		value.1 80
	}
	control.4 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'External Mic Switch'
		value.0 true
		value.1 true
	}
	control.5 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 80'
		comment.dbmin -7400
		comment.dbmax 600
		iface MIXER
		name 'Docking Mic Volume'
		value.0 0
		value.1 0
	}
	control.6 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Docking Mic Switch'
		value.0 true
		value.1 true
	}
	control.7 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 74'
		comment.dbmin -7400
		comment.dbmax 0
		iface MIXER
		name 'Master Playback Volume'
		value.0 69
		value.1 69
	}
	control.8 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Master Playback Switch'
		value true
	}
	control.9 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.10 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.11 {
		comment.access 'read write'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.12 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		value false
	}
	control.13 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value true
	}
	control.14 {
		comment.access 'read write user'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 255'
		comment.tlv '0000000100000008ffffec1400000014'
		comment.dbmin -5100
		comment.dbmax 0
		iface MIXER
		name 'PCM Playback Volume'
		value.0 233
		value.1 233
	}
	control.15 {
		comment.access 'read write user'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 120'
		comment.tlv '0000000100000008fffff44800000032'
		comment.dbmin -3000
		comment.dbmax 3000
		iface MIXER
		name 'Digital Capture Volume'
		value.0 60
		value.1 60
	}
}
state.U0xccd0x77 {
	control.1 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Mic Playback Switch'
		value false
	}
	control.2 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 32'
		comment.dbmin 0
		comment.dbmax 4800
		iface MIXER
		name 'Mic Playback Volume'
		value 0
	}
	control.3 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Speaker Playback Switch'
		value true
	}
	control.4 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 151'
		comment.dbmin -2837
		comment.dbmax -119
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 46
		value.1 46
	}
	control.5 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Mic Capture Switch'
		value true
	}
	control.6 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 1
		comment.range '0 - 16'
		comment.dbmin 0
		comment.dbmax 2400
		iface MIXER
		name 'Mic Capture Volume'
		value 1
	}
	control.7 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Auto Gain Control'
		value true
	}
}

--endcollapse--

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

Module
hidp
aes_i586
aes_generic
binfmt_misc
bridge
stp
llc
bnep
vboxnetadp
vboxnetflt
vboxdrv
dm_crypt
lp
snd_hda_codec_conexant
snd_hda_intel
snd_usb_audio
snd_usb_lib
snd_hda_codec
snd_hwdep
snd_pcm_oss
snd_mixer_oss
arc4
snd_seq_dummy
snd_pcm
ecb
snd_seq_oss
snd_seq_midi
joydev
iwlagn
snd_rawmidi
snd_seq_midi_event
pcmcia
ppdev
iwlcore
snd_seq
sdhci_pci
sdhci
uvcvideo
iTCO_wdt
parport_pc
snd_timer
mac80211
thinkpad_acpi
videodev
yenta_socket
snd_seq_device
mmc_core
psmouse
fglrx
video
v4l1_compat
heci
parport
iTCO_vendor_support
rsrc_nonstatic
pcmcia_core
ricoh_mmc
pcspkr
snd
snd_page_alloc
serio_raw
btusb
usbhid
intel_agp
agpgart
cfg80211
output
led_class
nvram
soundcore
ohci1394
ieee1394
tg3

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

/sys/class/sound/hwC0D0/init_pin_configs:
0x16 0x022140f0
0x17 0x61a190f0
0x18 0x02a190f0
0x19 0x40f000f0
0x1a 0x901701f0
0x1b 0x40f001f0
0x1c 0x40f001f0
0x1d 0x90a701f0

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

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

[   11.248447] phy0: Selected rate control algorithm 'iwl-agn-rs'
[   11.408571] HDA Intel 0000:00:1b.0: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[   11.408661] HDA Intel 0000:00:1b.0: setting latency timer to 64
[   11.413521] usbcore: registered new interface driver snd-usb-audio
[   11.490142] input: HDA Intel Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[   11.490272] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[   11.490384] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[   11.490492] input: HDA Intel Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
[   11.582246] lp0: using parport0 (interrupt-driven).

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel