sound recorder not working

Asked by Fred Lam

  Pincap 0x00000010: OUT
  Pin Default 0x400000fe: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0xe
  Pin-ctls: 0x00:
  Connection: 3
     0x08* 0x17 0x19
Node 0x11 [Pin Complex] wcaps 0x430681: Stereo Digital
  Pincap 0x00010024: IN EAPD Detect
  EAPD 0x0:
  Pin Default 0x400000fd: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0xd
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power: setting=D0, actual=D0
  Delay: 3 samples
Node 0x12 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Mux Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
  Amp-Out vals: [0x00 0x00]
  Connection: 7
     0x0e* 0x15 0x0f 0x0b 0x0c 0x0d 0x0a
Node 0x13 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
  Control: name="Mux Capture Volume", index=1, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
  Amp-Out vals: [0x00 0x00]
  Connection: 7
     0x0e* 0x15 0x0f 0x0b 0x0c 0x0d 0x0a
Node 0x14 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=0
  Amp-Out vals: [0x00]
Node 0x15 [Pin Complex] wcaps 0x400001: Stereo
  Pincap 0x00000020: IN
  Pin Default 0x400000fc: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0xc
  Pin-ctls: 0x00:
Node 0x16 [Volume Knob Widget] wcaps 0x600000: Mono
  Volume-Knob: delta=1, steps=127, direct=1, val=127
  Connection: 4
     0x02 0x03 0x04 0x05
Node 0x17 [Audio Selector] wcaps 0x300903: Stereo Amp-In R/L
  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
  Amp-In caps: N/A
  Amp-In vals: [0x0d 0x0d]
  Connection: 1
     0x12
Node 0x18 [Audio Selector] wcaps 0x300903: Stereo Amp-In R/L
  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
  Amp-In caps: N/A
  Amp-In vals: [0x80 0x80]
  Connection: 1
     0x13
Node 0x19 [Vendor Defined Widget] wcaps 0xf30201: Stereo Digital
  Delay: 3 samples
Node 0x1a [Audio Output] wcaps 0x30201: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  Delay: 3 samples
Node 0x1b [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x400000fb: [N/A] Line Out at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0xb
  Pin-ctls: 0x00:
  Connection: 1
     0x1a
--endcollapse--

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

crw-rw----+ 1 root audio 116, 5 Jul 30 22:35 /dev/snd/controlC0
crw-rw----+ 1 root audio 116, 4 Jul 30 22:35 /dev/snd/hwC0D2
crw-rw----+ 1 root audio 116, 3 Jul 30 22:36 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116, 2 Jul 30 22:36 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116, 1 Jul 30 22:35 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Jul 30 22:35 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root 60 Jul 30 22:35 .
drwxr-xr-x 3 root root 180 Jul 30 22:35 ..
lrwxrwxrwx 1 root root 12 Jul 30 22:35 pci-0000:00:1b.0 -> ../controlC0

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

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

pcm.pulse{
type pulse
}
ctl.pulse{
type pulse
}
pcm.!default{
type pulse
}

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

APLAY

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

ARECORD

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

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

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

Card hw:0 'Intel'/'HDA Intel at 0x502c0000 irq 46'
  Mixer name : 'SigmaTel STAC9221 A1'
  Components : 'HDA:83847680,107b6051,00103601'
  Controls : 15
  Simple ctrls : 11
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 41 [64%] [-17.25dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 253 [99%] [0.40dB]
  Front Right: Playback 253 [99%] [0.40dB]
Simple mixer control 'Line Jack Mode',0
  Capabilities: enum
  Items: 'Mic In' 'Line In'
  Item0: 'Line In'
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 14
  Front Left: Capture 13 [93%] [19.50dB] [on]
  Front Right: Capture 13 [93%] [19.50dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 14
  Front Left: Capture 0 [0%] [0.00dB] [off]
  Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Rear Mic' 'Front Mic' 'Line'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Rear Mic' 'Front Mic' 'Line'
  Item0: 'Front Mic'
Simple mixer control 'Mux',0
  Capabilities: cvolume penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 2
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Mux',1
  Capabilities: cvolume penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 4
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Rear Mic Jack Mode',0
  Capabilities: enum
  Items: 'Mic In' 'Line In'
  Item0: 'Mic In'

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

--startcollapse--
state.Intel {
 control.1 {
  iface MIXER
  name 'Speaker Playback Volume'
  value.0 64
  value.1 64
  comment {
   access 'read write'
   type INTEGER
   count 2
   range '0 - 64'
   dbmin -4800
   dbmax 0
   dbvalue.0 0
   dbvalue.1 0
  }
 }
 control.2 {
  iface MIXER
  name 'Speaker Playback Switch'
  value.0 true
  value.1 true
  comment {
   access 'read write'
   type BOOLEAN
   count 2
  }
 }
 control.3 {
  iface MIXER
  name 'Rear Mic Jack Mode'
  value 'Mic In'
  comment {
   access 'read write'
   type ENUMERATED
   count 1
   item.0 'Mic In'
   item.1 'Line In'
  }
 }
 control.4 {
  iface MIXER
  name 'Line Jack Mode'
  value 2
  comment {
   access 'read write'
   type ENUMERATED
   count 1
   item.0 'Mic In'
   item.1 'Line In'
  }
 }
 control.5 {
  iface MIXER
  name 'Capture Volume'
  value.0 13
  value.1 13
  comment {
   access 'read write'
   type INTEGER
   count 2
   range '0 - 14'
   dbmin 0
   dbmax 2100
   dbvalue.0 1950
   dbvalue.1 1950
  }
 }
 control.6 {
  iface MIXER
  name 'Capture Switch'
  value.0 true
  value.1 true
  comment {
   access 'read write'
   type BOOLEAN
   count 2
  }
 }
 control.7 {
  iface MIXER
  name 'Capture Volume'
  index 1
  value.0 0
  value.1 0
  comment {
   access 'read write'
   type INTEGER
   count 2
   range '0 - 14'
   dbmin 0
   dbmax 2100
   dbvalue.0 0
   dbvalue.1 0
  }
 }
 control.8 {
  iface MIXER
  name 'Capture Switch'
  index 1
  value.0 false
  value.1 false
  comment {
   access 'read write'
   type BOOLEAN
   count 2
  }
 }
 control.9 {
  iface MIXER
  name 'Mux Capture Volume'
  value.0 0
  value.1 0
  comment {
   access 'read write'
   type INTEGER
   count 2
   range '0 - 2'
   dbmin 0
   dbmax 2000
   dbvalue.0 0
   dbvalue.1 0
  }
 }
 control.10 {
  iface MIXER
  name 'Mux Capture Volume'
  index 1
  value.0 0
  value.1 0
  comment {
   access 'read write'
   type INTEGER
   count 2
   range '0 - 4'
   dbmin 0
   dbmax 4000
   dbvalue.0 0
   dbvalue.1 0
  }
 }
 control.11 {
  iface MIXER
  name 'Input Source'
  value 'Front Mic'
  comment {
   access 'read write'
   type ENUMERATED
   count 1
   item.0 'Rear Mic'
   item.1 'Front Mic'
   item.2 Line
  }
 }
 control.12 {
  iface MIXER
  name 'Input Source'
  index 1
  value 'Front Mic'
  comment {
   access 'read write'
   type ENUMERATED
   count 1
   item.0 'Rear Mic'
   item.1 'Front Mic'
   item.2 Line
  }
 }
 control.13 {
  iface MIXER
  name 'Master Playback Volume'
  value 41
  comment {
   access 'read write'
   type INTEGER
   count 1
   range '0 - 64'
   dbmin -9999999
   dbmax 0
   dbvalue.0 -1725
  }
 }
 control.14 {
  iface MIXER
  name 'Master Playback Switch'
  value true
  comment {
   access 'read write'
   type BOOLEAN
   count 1
  }
 }
 control.15 {
  iface MIXER
  name 'PCM Playback Volume'
  value.0 253
  value.1 253
  comment {
   access 'read write user'
   type INTEGER
   count 2
   range '0 - 255'
   tlv '0000000100000008ffffec1400000014'
   dbmin -5100
   dbmax 0
   dbvalue.0 -40
   dbvalue.1 -40
  }
 }
}
--endcollapse--

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

Module
binfmt_misc
snd_hda_codec_idt
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_pcm
snd_seq_midi
snd_rawmidi
snd_seq_midi_event
snd_seq
snd_timer
snd_seq_device
i915
snd
drm_kms_helper
soundcore
drm
ppdev
i2c_algo_bit
parport_pc
snd_page_alloc
video
lp
parport
ses
enclosure
usbhid
hid
usb_storage
uas
floppy
ahci
e100
libahci

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

/sys/class/sound/hwC0D2/init_pin_configs:
0x0a 0x0221401f
0x0b 0x01a19020
0x0c 0x0181302e
0x0d 0x01114010
0x0e 0x02a19021
0x0f 0x400000ff
0x10 0x400000fe
0x11 0x400000fd
0x15 0x400000fc
0x1b 0x400000fb

/sys/class/sound/hwC0D2/driver_pin_configs:

/sys/class/sound/hwC0D2/user_pin_configs:

/sys/class/sound/hwC0D2/init_verbs:

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

[ 8.447768] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[ 9.762082] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 9.762161] HDA Intel 0000:00:1b.0: irq 46 for MSI/MSI-X
[ 9.762197] HDA Intel 0000:00:1b.0: setting latency timer to 64
[ 9.940884] type=1400 audit(1312090548.478:2): apparmor="STATUS" operation="profile_load" name="/sbin/dhclient" pid=463 comm="apparmor_parser"
--
[ 9.945403] type=1400 audit(1312090548.482:7): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=529 comm="apparmor_parser"
[ 10.060917] input: HDA Intel Line In at Ext Rear Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input4
[ 10.061281] input: HDA Intel Mic at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input5
[ 10.061592] input: HDA Intel Mic at Ext Rear Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input6
[ 10.061897] input: HDA Intel Speaker at Ext Rear Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
[ 10.062215] input: HDA Intel HP Out at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
[ 14.331920] type=1400 audit(1312090552.866:8): apparmor="STATUS" operation="profile_load" name="/usr/lib/cups/backend/cups-pdf" pid=865 comm="apparmor_parser"

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu alsa-driver Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Massimo Forti (slackwarelife) said :
#1

HI, it seems that in your alsamixer output the master canal is disabled:

Card hw:0 'Intel'/'HDA Intel at 0x502c0000 irq 46'
  Mixer name : 'SigmaTel STAC9221 A1'
  Components : 'HDA:83847680,107b6051,00103601'
  Controls : 15
  Simple ctrls : 11
Simple mixer control 'Master',0

open alsamixer and let me know how is the first controller you find [master]. My is:

│ ┌──┐
│ │▒▒│
│ │▒▒│
│ │▒▒│
│ │▒▒│
│ │▒▒│
│ │▒▒│
│ │▒▒│
│ │▒▒│
│ │▒▒│
│ │▒▒│
│ │▒▒│
│ ├──┤
│ │OO│
│ └──┘
│ 100<>100
│ < Master >

Revision history for this message
Fred Lam (deusnonest) said :
#2

This is what I find. Please read my p.s.

│ ┌──┐
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │▒▒│
│ │▒▒│
│ │▒▒│
│ │▒▒│
│ │▒▒│
│ │▒▒│
│ ├──┤
│ │OO│
│ └──┘
│ 53
│ < Master >

p.s. I find something interesting:

In the PulseAudio Volume Control, if I set Configuration to "Analog Stereo Input" first, then I can record, but cannot playback unless I reset to "Analog Stereo Duplex". Same thing with Skype. If I do nothing, the mic does not work at all, but if I set to Analog Stereo Input first, then I can talk but not hear the answer until I reset to Analog Stereo Duplex. Once I have done that then the rest of the conversation is duplex, and I don't need to set anything again. If I close Skype and reopen sometime later then I have to repeat the same process.

Revision history for this message
Fred Lam (deusnonest) said :
#3

as above

Revision history for this message
Massimo Forti (slackwarelife) said :
#4

hi, your problem it seem to be a bug. I think it is: #728034

Revision history for this message
Fred Lam (deusnonest) said :
#5

thank you. does that means that the natty upgrade solves the bug? I have got round the problem but it is a nuisance to have to set and reset the audio duplex function every time.

Can you help with this problem?

Provide an answer of your own, or ask Fred Lam for more information if necessary.

To post a message you must log in.