All of lore.kernel.org
 help / color / mirror / Atom feed
* Conexant CX20585 recording does not work
@ 2011-04-07 12:34 Gabriel Schulhof
  2011-04-07 12:42 ` David Henningsson
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Gabriel Schulhof @ 2011-04-07 12:34 UTC (permalink / raw)
  To: alsa-devel

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

Hi!

My mom has a laptop with the following sound card:

lspci: 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
(rev 40)

driver: snd_hda_intel

alsamixer:
Card: HDA ATI SB
Chip: Conexant CX20585

I can't record from this card no matter what I try. It seems that
alsamixer has a lot of options:

Mic B            <Capture switch>
Mic C            <Capture switch>
Mic E            <Capture switch>
Mic F            <Capture switch>
Capture          <0% -- 100% slider>
Analog Mic Boost <0 db -- 40 db slider with 10 db increment>

I have tried to record from each mic in turn, I have tried the different
boost levels (0 db - 40 db), but I have had no luck picking up anything. I
have attached an external mic to the line-in, but no difference.

When I say "I have tried to record" I mean that I logged into her
computer, chose one of the mics from the above list, and then I told my
mom to say something while looking at the input sound level indicator in
the GNOME sound settings panel. On other computers, I have found this a
sufficient indication of whether the mic works.

Is this inability to record a known limitation of this sound card? If not,
is there some special setting I have to modify to make it work?

Please find attached the output from alsa-info.

TIA for your help,



Gabriel

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

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

!!Script ran on: Wed Apr  6 18:39:59 UTC 2011


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

Fedora release 14 (Laughlin) Fedora release 14 (Laughlin) Fedora release 14 (Laughlin) Fedora release 14 (Laughlin)


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

Manufacturer:      TOSHIBA
Product Name:      Satellite C650D


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

Kernel release:    2.6.35.11-83.fc14.x86_64
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         x86_64
SMP Enabled:       Yes


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

Driver version:     1.0.23
Library version:    
Utilities version:  1.0.23


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

snd_hda_intel


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

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

Jack:
      Installed - Yes (/usr/bin/jackd)
      Running - No


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

 0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xd0340000 irq 16


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

00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)


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

00:14.2 0403: 1002:4383 (rev 40)
	Subsystem: 1179:ff1e


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

snd-hda-intel: model=toshiba


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

!!Module: snd_hda_intel
	bdl_pos_adj : 32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	beep_mode : 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
	enable_msi : -1
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	model : toshiba,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	position_fix : 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 : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : N


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

Codec: Conexant CX20585
Address: 0
Function Id: 0x1
Vendor Id: 0x14f15069
Subsystem Id: 0x1179fde8
Revision Id: 0x100302
No Modem Function Group found
Default PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=4, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x10 [Audio Output] wcaps 0xc1d: Stereo Amp-Out R/L
  Control: name="Master Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="CONEXANT Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=1
  Amp-Out vals:  [0x45 0x45]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
Node 0x11 [Audio Output] wcaps 0xc1d: Stereo Amp-Out R/L
  Amp-Out caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=1
  Amp-Out vals:  [0x3c 0x3c]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
Node 0x12 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
Node 0x13 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Amp-Out caps: ofs=0x07, nsteps=0x07, stepsize=0x0f, mute=0
  Amp-Out vals:  [0x00]
Node 0x14 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L
  Device: name="CONEXANT Analog", type="Audio", device=0
  Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=1
  Amp-In vals:  [0x50 0x50] [0x80 0x80] [0x50 0x50] [0x80 0x80]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 4
     0x17* 0x18 0x23 0x24
Node 0x15 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L
  Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=1
  Amp-In vals:  [0x4a 0x4a] [0x4a 0x4a] [0x4a 0x4a] [0x4a 0x4a]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 4
     0x17* 0x18 0x23 0x24
Node 0x16 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L
  Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=1
  Amp-In vals:  [0x4a 0x4a] [0x4a 0x4a] [0x4a 0x4a] [0x4a 0x4a]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 4
     0x17* 0x18 0x23 0x24
Node 0x17 [Audio Selector] wcaps 0x30050d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
  Amp-Out vals:  [0x03 0x03]
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 4
     0x1a* 0x1b 0x1d 0x1e
Node 0x18 [Audio Selector] wcaps 0x30050d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
  Amp-Out vals:  [0x00 0x00]
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 4
     0x1a* 0x1b 0x1d 0x1e
Node 0x19 [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x03211040: [Jack] HP Out at Ext Left
    Conn = 1/8, Color = Black
    DefAssociation = 0x4, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x10* 0x11
Node 0x1a [Pin Complex] wcaps 0x400481: Stereo
  Pincap 0x00001324: IN Detect
    Vref caps: HIZ 50 80
  Pin Default 0x40f001f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
Node 0x1b [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x00011334: IN OUT EAPD Detect
    Vref caps: HIZ 50 80
  EAPD 0x2: EAPD
  Pin Default 0x03a11030: [Jack] Mic at Ext Left
    Conn = 1/8, Color = Black
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x10* 0x11
Node 0x1c [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x40f001f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x10* 0x11
Node 0x1d [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x00010034: IN OUT EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x40f001f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x10* 0x11
Node 0x1e [Pin Complex] wcaps 0x400481: Stereo
  Pincap 0x00000024: IN Detect
  Pin Default 0x40f001f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
Node 0x1f [Pin Complex] wcaps 0x400501: Stereo
  Pincap 0x00000010: OUT
  Pin Default 0x90170110: [Fixed] Speaker at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x10* 0x11
Node 0x20 [Pin Complex] wcaps 0x400781: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x40f001f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x12
Node 0x21 [Audio Output] wcaps 0x611: Stereo Digital
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
  Device: name="Conexant Digital", type="SPDIF", device=1
  Converter: stream=0, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
Node 0x22 [Pin Complex] wcaps 0x400781: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x40f001f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x21
Node 0x23 [Pin Complex] wcaps 0x40040b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x04, stepsize=0x2f, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x90a60150: [Fixed] Mic at Int N/A
    Conn = Digital, Color = Unknown
    DefAssociation = 0x5, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
Node 0x24 [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
  Amp-In caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Power states:  D0 D1 D2 D3 D3cold EPSS
  Power: setting=D0, actual=D0
  Connection: 2
     0x10 0x11
Node 0x25 [Vendor Defined Widget] wcaps 0xf00000: Mono
--endcollapse--


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

crw-rw----+ 1 root audio 116, 8 Apr  6 14:18 /dev/snd/controlC0
crw-rw----+ 1 root audio 116, 7 Apr  6 14:18 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116, 6 Apr  6 14:23 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116, 5 Apr  6 14:39 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116, 4 Apr  6 14:22 /dev/snd/pcmC0D1p
crw-rw----+ 1 root audio 116, 3 Apr  6 14:18 /dev/snd/seq
crw-rw----+ 1 root audio 116, 2 Apr  6 14:18 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x. 2 root root  60 Apr  6 14:18 .
drwxr-xr-x. 3 root root 200 Apr  6 14:18 ..
lrwxrwxrwx. 1 root root  12 Apr  6 14:18 pci-0000:00:14.2 -> ../controlC0


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

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

#
# Place your global alsa-lib configuration here...
#

@hooks [
	{
		func load
		files [
			"/etc/alsa/pulse-default.conf"
		]
		errors false
	}
]


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

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: CONEXANT Analog [CONEXANT Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: Conexant Digital [Conexant Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

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

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

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

Card hw:0 'SB'/'HDA ATI SB at 0xd0340000 irq 16'
  Mixer name	: 'Conexant CX20585'
  Components	: 'HDA:14f15069,1179fde8,00100302'
  Controls      : 12
  Simple ctrls  : 10
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined penum
  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 penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 252 [99%] [0.60dB]
  Front Right: Playback 252 [99%] [0.60dB]
Simple mixer control 'Mic B',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive penum
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [on]
Simple mixer control 'Mic C',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive penum
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'Mic E',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive penum
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'Mic F',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive penum
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 80
  Front Left: Capture 80 [100%] [6.00dB] [on]
  Front Right: Capture 80 [100%] [6.00dB] [on]
Simple mixer control 'Analog Mic Boost',0
  Capabilities: cenum
  Items: '0dB' '10dB' '20dB' '30dB' '40dB'
  Item0: '0dB'


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

--startcollapse--
state.SB {
	control.1 {
		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.2 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'Master Playback Switch'
		value true
	}
	control.3 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 '0dB'
		comment.item.1 '10dB'
		comment.item.2 '20dB'
		comment.item.3 '30dB'
		comment.item.4 '40dB'
		iface MIXER
		name 'Analog Mic Boost Capture Enum'
		value '0dB'
	}
	control.4 {
		comment.access 'read write'
		comment.type INTEGER
		comment.count 2
		comment.range '0 - 80'
		comment.dbmin -7400
		comment.dbmax 600
		iface MIXER
		name 'Capture Volume'
		value.0 80
		value.1 80
	}
	control.5 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 2
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
	}
	control.6 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.7 {
		comment.access read
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.8 {
		comment.access 'read write'
		comment.type IEC958
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.9 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
	}
	control.10 {
		comment.access 'read write'
		comment.type BOOLEAN
		comment.count 1
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value true
	}
	control.11 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		comment.item.0 'Mic B'
		comment.item.1 'Mic C'
		comment.item.2 'Mic E'
		comment.item.3 'Mic F'
		iface MIXER
		name 'Capture Source'
		value 'Mic B'
	}
	control.12 {
		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 252
		value.1 252
	}
}
--endcollapse--


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

Module
cryptd
aes_x86_64
aes_generic
fuse
cpufreq_ondemand
powernow_k8
freq_table
mperf
ip6t_REJECT
nf_conntrack_ipv6
ip6table_filter
ip6_tables
ipv6
uinput
snd_hda_codec_conexant
r8192ce_pci
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_seq
snd_seq_device
snd_pcm
snd_timer
fglrx
snd
soundcore
snd_page_alloc
shpchp
atl1c
uvcvideo
videodev
i2c_piix4
v4l2_compat_ioctl32
rfkill
i2c_core
microcode
video
output
usb_storage


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

/sys/class/sound/hwC0D0/init_pin_configs:
0x19 0x03211040
0x1a 0x40f001f0
0x1b 0x03a11030
0x1c 0x40f001f0
0x1d 0x40f001f0
0x1e 0x40f001f0
0x1f 0x90170110
0x20 0x40f001f0
0x22 0x40f001f0
0x23 0x90a60150

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:


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

[   13.803358] [fglrx] module loaded - fglrx 8.82.8 [Jan 26 2011] with 1 minors
[   14.215790] HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   14.216096] HDA Intel 0000:00:14.2: setting latency timer to 64
[   14.251343] rtllib_crypt: registered algorithm 'NULL'


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

_______________________________________________
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: Conexant CX20585 recording does not work
  2011-04-07 12:34 Conexant CX20585 recording does not work Gabriel Schulhof
@ 2011-04-07 12:42 ` David Henningsson
  2011-04-07 12:53   ` Gabriel Schulhof
  2011-04-07 13:21   ` Gabriel Schulhof
  2011-04-07 15:51 ` Takashi Iwai
  2011-04-09  6:43 ` Raymond Yau
  2 siblings, 2 replies; 10+ messages in thread
From: David Henningsson @ 2011-04-07 12:42 UTC (permalink / raw)
  To: Gabriel Schulhof; +Cc: alsa-devel

On 2011-04-07 14:34, Gabriel Schulhof wrote:
> Hi!
>
> My mom has a laptop with the following sound card:
>
> lspci: 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
> (rev 40)
>
> driver: snd_hda_intel
>
> alsamixer:
> Card: HDA ATI SB
> Chip: Conexant CX20585
>
> I can't record from this card no matter what I try. It seems that
> alsamixer has a lot of options:
>
> Mic B<Capture switch>
> Mic C<Capture switch>
> Mic E<Capture switch>
> Mic F<Capture switch>
> Capture<0% -- 100% slider>
> Analog Mic Boost<0 db -- 40 db slider with 10 db increment>
>
> I have tried to record from each mic in turn, I have tried the different
> boost levels (0 db - 40 db), but I have had no luck picking up anything. I
> have attached an external mic to the line-in, but no difference.
>
> When I say "I have tried to record" I mean that I logged into her
> computer, chose one of the mics from the above list, and then I told my
> mom to say something while looking at the input sound level indicator in
> the GNOME sound settings panel. On other computers, I have found this a
> sufficient indication of whether the mic works.
>
> Is this inability to record a known limitation of this sound card? If not,
> is there some special setting I have to modify to make it work?
>
> Please find attached the output from alsa-info.
>
> TIA for your help,

Please try the model quirk "hp-laptop". In Ubuntu that would be adding 
the line:

options snd-hda-intel model=hp-laptop

to the file /etc/modprobe.d/alsa-base.conf

I guess it's the same in Fedora. If it works, we'll create a quirk.

(Memo to self: You should really help out with that cxt5066 autoparser 
someday.)

-- 
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic

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

* Re: Conexant CX20585 recording does not work
  2011-04-07 12:42 ` David Henningsson
@ 2011-04-07 12:53   ` Gabriel Schulhof
  2011-04-07 13:21   ` Gabriel Schulhof
  1 sibling, 0 replies; 10+ messages in thread
From: Gabriel Schulhof @ 2011-04-07 12:53 UTC (permalink / raw)
  To: David Henningsson; +Cc: alsa-devel

Hi!

On Thu, April 7, 2011 15:42, David Henningsson wrote:
> Please try the model quirk "hp-laptop". In Ubuntu that would be adding
> the line:
>
> options snd-hda-intel model=hp-laptop

I will of course try this, but just so you know, the laptop is a Toshiba.
I have tried model=toshiba, but no effect.

Thanks for your help!



Gabriel

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

* Re: Conexant CX20585 recording does not work
  2011-04-07 12:42 ` David Henningsson
  2011-04-07 12:53   ` Gabriel Schulhof
@ 2011-04-07 13:21   ` Gabriel Schulhof
  2011-04-07 14:31     ` David Henningsson
  1 sibling, 1 reply; 10+ messages in thread
From: Gabriel Schulhof @ 2011-04-07 13:21 UTC (permalink / raw)
  To: David Henningsson; +Cc: alsa-devel

Hi!

On Thu, April 7, 2011 15:42, David Henningsson wrote:
> Please try the model quirk "hp-laptop". In Ubuntu that would be adding
> the line:
>
> options snd-hda-intel model=hp-laptop
>
> to the file /etc/modprobe.d/alsa-base.conf

Tried it. It did streamline the options available in alsamixer, but it
didn't make recording work.

I tried the skype test call, as well as arecord, and both did not only not
record anything, but they didn't even record static. That is, the
recording device seems to block! For example, the skype test call beeps
before it plays back my recorded voice, and afterwards. Well, the two
beeps were consecutive for me :(

Also, arecord with no options outputs to the terminal. It output the
header for the sound file, but the cursor did not start to fly across the
terminal drawing all kinds of junk.

Thanks a lot for your help,



Gabriel

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

* Re: Conexant CX20585 recording does not work
  2011-04-07 13:21   ` Gabriel Schulhof
@ 2011-04-07 14:31     ` David Henningsson
  2011-04-07 15:47       ` Takashi Iwai
  0 siblings, 1 reply; 10+ messages in thread
From: David Henningsson @ 2011-04-07 14:31 UTC (permalink / raw)
  To: Gabriel Schulhof; +Cc: alsa-devel

On 2011-04-07 15:21, Gabriel Schulhof wrote:
> Hi!
>
> On Thu, April 7, 2011 15:42, David Henningsson wrote:
>> Please try the model quirk "hp-laptop". In Ubuntu that would be adding
>> the line:
>>
>> options snd-hda-intel model=hp-laptop
>>
>> to the file /etc/modprobe.d/alsa-base.conf
>
> Tried it. It did streamline the options available in alsamixer, but it
> didn't make recording work.
>
> I tried the skype test call, as well as arecord, and both did not only not
> record anything, but they didn't even record static. That is, the
> recording device seems to block! For example, the skype test call beeps
> before it plays back my recorded voice, and afterwards. Well, the two
> beeps were consecutive for me :(
>
> Also, arecord with no options outputs to the terminal. It output the
> header for the sound file, but the cursor did not start to fly across the
> terminal drawing all kinds of junk.
>
> Thanks a lot for your help,

I saw you had an AMD/ATI controller of the type we're discussing in 
parallel in the thread about "HDA record fails with FIFO error", it 
might be that you're bitten by that bug as well...

-- 
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic

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

* Re: Conexant CX20585 recording does not work
  2011-04-07 14:31     ` David Henningsson
@ 2011-04-07 15:47       ` Takashi Iwai
  0 siblings, 0 replies; 10+ messages in thread
From: Takashi Iwai @ 2011-04-07 15:47 UTC (permalink / raw)
  To: David Henningsson; +Cc: alsa-devel, Gabriel Schulhof

At Thu, 07 Apr 2011 16:31:34 +0200,
David Henningsson wrote:
> 
> On 2011-04-07 15:21, Gabriel Schulhof wrote:
> > Hi!
> >
> > On Thu, April 7, 2011 15:42, David Henningsson wrote:
> >> Please try the model quirk "hp-laptop". In Ubuntu that would be adding
> >> the line:
> >>
> >> options snd-hda-intel model=hp-laptop
> >>
> >> to the file /etc/modprobe.d/alsa-base.conf
> >
> > Tried it. It did streamline the options available in alsamixer, but it
> > didn't make recording work.
> >
> > I tried the skype test call, as well as arecord, and both did not only not
> > record anything, but they didn't even record static. That is, the
> > recording device seems to block! For example, the skype test call beeps
> > before it plays back my recorded voice, and afterwards. Well, the two
> > beeps were consecutive for me :(
> >
> > Also, arecord with no options outputs to the terminal. It output the
> > header for the sound file, but the cursor did not start to fly across the
> > terminal drawing all kinds of junk.
> >
> > Thanks a lot for your help,
> 
> I saw you had an AMD/ATI controller of the type we're discussing in 
> parallel in the thread about "HDA record fails with FIFO error", it 
> might be that you're bitten by that bug as well...

I guess this is a different issue.  You'll notice more worse things
when FIFO-error irq fires up.


Takashi

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

* Re: Conexant CX20585 recording does not work
  2011-04-07 12:34 Conexant CX20585 recording does not work Gabriel Schulhof
  2011-04-07 12:42 ` David Henningsson
@ 2011-04-07 15:51 ` Takashi Iwai
  2011-04-09  6:43 ` Raymond Yau
  2 siblings, 0 replies; 10+ messages in thread
From: Takashi Iwai @ 2011-04-07 15:51 UTC (permalink / raw)
  To: Gabriel Schulhof; +Cc: alsa-devel

At Thu, 7 Apr 2011 15:34:59 +0300 (EEST),
Gabriel Schulhof wrote:
> 
> Hi!
> 
> My mom has a laptop with the following sound card:
> 
> lspci: 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
> (rev 40)
> 
> driver: snd_hda_intel
> 
> alsamixer:
> Card: HDA ATI SB
> Chip: Conexant CX20585
> 
> I can't record from this card no matter what I try. It seems that
> alsamixer has a lot of options:
> 
> Mic B            <Capture switch>
> Mic C            <Capture switch>
> Mic E            <Capture switch>
> Mic F            <Capture switch>
> Capture          <0% -- 100% slider>
> Analog Mic Boost <0 db -- 40 db slider with 10 db increment>
> 
> I have tried to record from each mic in turn, I have tried the different
> boost levels (0 db - 40 db), but I have had no luck picking up anything. I
> have attached an external mic to the line-in, but no difference.
> 
> When I say "I have tried to record" I mean that I logged into her
> computer, chose one of the mics from the above list, and then I told my
> mom to say something while looking at the input sound level indicator in
> the GNOME sound settings panel. On other computers, I have found this a
> sufficient indication of whether the mic works.
> 
> Is this inability to record a known limitation of this sound card? If not,
> is there some special setting I have to modify to make it work?
> 
> Please find attached the output from alsa-info.

Did you try the very latest alsa-driver version or alsa-driver
snapshot?  Your device should work without any model option in the
latest version.

The model name (e.g. "toshiba") doesn't have to match with the actual
device vendor.  Don't be fooled by that.  It's just an id, usually
taken for the first working machine with that quirk.
Actually, for Toshiba C650D, model=ideapad was taken as default.


Takashi

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

* Re: Conexant CX20585 recording does not work
  2011-04-07 12:34 Conexant CX20585 recording does not work Gabriel Schulhof
  2011-04-07 12:42 ` David Henningsson
  2011-04-07 15:51 ` Takashi Iwai
@ 2011-04-09  6:43 ` Raymond Yau
  2011-04-09 10:15   ` Gabriel Schulhof
  2011-04-09 12:36   ` Gabriel Schulhof
  2 siblings, 2 replies; 10+ messages in thread
From: Raymond Yau @ 2011-04-09  6:43 UTC (permalink / raw)
  To: ALSA Development Mailing List

2011/4/7 Gabriel Schulhof <nix@go-nix.ca>

> Hi!
>
> My mom has a laptop with the following sound card:
>
> lspci: 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
> (rev 40)
>
> driver: snd_hda_intel
>
> alsamixer:
> Card: HDA ATI SB
> Chip: Conexant CX20585
>
> I can't record from this card no matter what I try. It seems that
> alsamixer has a lot of options:
>
> Mic B            <Capture switch>
> Mic C            <Capture switch>
> Mic E            <Capture switch>
> Mic F            <Capture switch>
> Capture          <0% -- 100% slider>
> Analog Mic Boost <0 db -- 40 db slider with 10 db increment>
>
> I have tried to record from each mic in turn, I have tried the different
> boost levels (0 db - 40 db), but I have had no luck picking up anything. I
> have attached an external mic to the line-in, but no difference.
>
> When I say "I have tried to record" I mean that I logged into her
> computer, chose one of the mics from the above list, and then I told my
> mom to say something while looking at the input sound level indicator in
> the GNOME sound settings panel. On other computers, I have found this a
> sufficient indication of whether the mic works.
>
> Is this inability to record a known limitation of this sound card? If not,
> is there some special setting I have to modify to make it work?
>
> Please find attached the output from alsa-info.
>
> TIA for your help,
>
>
>
you need to find a model which
1) support internal mic at 0x23
2) enable unsolicted mic event at mic jack 0x1b
3) enable unsolicted hp event at HP jack 0x19

cxt5066_capture_source has "Mic B" , "Mic C" , "Mic E" and "Mic F" for  0x1a
0x1b 0x1d 0x1e at node [audio selector] 0x17  and it cannot handle internal
mic at 0x23

cxt5066 has five connection at 0x14

    /* Node 14 connections: 0x17 0x18 0x23 0x24 0x27 */

but cxt20585 has only four connection

     0x17* 0x18 0x23 0x24

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

* Re: Conexant CX20585 recording does not work
  2011-04-09  6:43 ` Raymond Yau
@ 2011-04-09 10:15   ` Gabriel Schulhof
  2011-04-09 12:36   ` Gabriel Schulhof
  1 sibling, 0 replies; 10+ messages in thread
From: Gabriel Schulhof @ 2011-04-09 10:15 UTC (permalink / raw)
  To: Raymond Yau; +Cc: ALSA Development Mailing List

Hi!

On Sat, April 9, 2011 09:43, Raymond Yau wrote:
> you need to find a model which
> 1) support internal mic at 0x23
> 2) enable unsolicted mic event at mic jack 0x1b
> 3) enable unsolicted hp event at HP jack 0x19
>
[...]
> but cxt20585 has only four connection
>
>      0x17* 0x18 0x23 0x24

Unfortunately, I don't know which model supports this. [0] lists the
models, but it doesn't list addresses :(

Can somebody please help me pick a value for the "model" based on the
above info? I'm going to keep digging, and ultimately, I can try all
models, but that's a fairly painstaking procedure.

TIA,



Gabriel

[0]
http://www.mjmwired.net/kernel/Documentation/sound/alsa/HD-Audio-Models.txt

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

* Re: Conexant CX20585 recording does not work
  2011-04-09  6:43 ` Raymond Yau
  2011-04-09 10:15   ` Gabriel Schulhof
@ 2011-04-09 12:36   ` Gabriel Schulhof
  1 sibling, 0 replies; 10+ messages in thread
From: Gabriel Schulhof @ 2011-04-09 12:36 UTC (permalink / raw)
  To: Raymond Yau; +Cc: ALSA Development Mailing List

Hi!

On Sat, April 9, 2011 09:43, Raymond Yau wrote:
> you need to find a model which
> 1) support internal mic at 0x23
> 2) enable unsolicted mic event at mic jack 0x1b
> 3) enable unsolicted hp event at HP jack 0x19
>
> cxt5066_capture_source has "Mic B" , "Mic C" , "Mic E" and "Mic F" for
> 0x1a
> 0x1b 0x1d 0x1e at node [audio selector] 0x17  and it cannot handle
> internal
> mic at 0x23
>
> cxt5066 has five connection at 0x14
>
>     /* Node 14 connections: 0x17 0x18 0x23 0x24 0x27 */
>
> but cxt20585 has only four connection
>
>      0x17* 0x18 0x23 0x24

With my absolutely untrained eye, it seems like I should be trying
"ideapad", "thinkpad", and "vostro". At least, those are the only places
in patch_conexant.c that seem to have anything about a "0x23" in them.
Thank you grep! :)

Of course, if anyone could cast a less untrained glance at the source and
give me some more models to try, then please!

TIA for your help,



Gabriel

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

end of thread, other threads:[~2011-04-09 12:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-07 12:34 Conexant CX20585 recording does not work Gabriel Schulhof
2011-04-07 12:42 ` David Henningsson
2011-04-07 12:53   ` Gabriel Schulhof
2011-04-07 13:21   ` Gabriel Schulhof
2011-04-07 14:31     ` David Henningsson
2011-04-07 15:47       ` Takashi Iwai
2011-04-07 15:51 ` Takashi Iwai
2011-04-09  6:43 ` Raymond Yau
2011-04-09 10:15   ` Gabriel Schulhof
2011-04-09 12:36   ` Gabriel Schulhof

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.