[VIA VT1702] Recording problem / Sound Recorder does not pick up sound

Bug #677734 reported by Aaron Long
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ALSA driver
Unknown
Unknown
linux (Ubuntu)
Incomplete
Low
Unassigned

Bug Description

Sound Recorder doesn't record. I can't get internal microphone up on my gateway laptop after trying all the modprobe.d/alsa-base.conf on the forums, plus dozens of other suggestions. Any help would be appreciated greatly!

10.04 Lucid / Kernel 2.6.32-26
GNOME 2.30.2

 **** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: VT1702 Analog [VT1702 Analog]
  Subdevices: 1/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
card 0: Intel [HDA Intel], device 1: VT1702 Digital [VT1702 Digital]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
card 0: Intel [HDA Intel], device 3: INTEL HDMI [INTEL HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

==> /proc/asound/card0/codec#0 <==
Codec: VIA VT1702

==> /proc/asound/card0/codec#1 <==
Codec: Conexant ID 2c06

==> /proc/asound/card0/codec#3 <==
Codec: Intel G45 DEVCTG

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: alsa-base 1.0.22.1+dfsg-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-26.47-generic 2.6.32.24+drm33.11
Uname: Linux 2.6.32-26-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: aaron 1444 F.... pulseaudio
 /dev/snd/pcmC0D0p: aaron 1444 F...m pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf0700000 irq 29'
   Mixer name : 'Intel G45 DEVCTG'
   Components : 'HDA:11061398,1025020a,00100100 HDA:14f12c06,10250093,00100000 HDA:80862802,80860101,00100000'
   Controls : 29
   Simple ctrls : 15
Date: Fri Nov 19 19:10:00 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SelectedCard: 0 Intel HDA-Intel - HDA Intel
SourcePackage: alsa-driver
Symptom: audio
Title: [VIA VT1702] Recording problem
dmi.bios.date: 03/24/2009
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: V1.09
dmi.board.name: SJM50MV
dmi.board.vendor: Gateway
dmi.board.version: Rev
dmi.chassis.type: 10
dmi.chassis.vendor: Gateway
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrV1.09:bd03/24/2009:svnGateway:pnID58Series:pvr0100:rvnGateway:rnSJM50MV:rvrRev:cvnGateway:ct10:cvrN/A:
dmi.product.name: ID58 Series
dmi.product.version: 0100
dmi.sys.vendor: Gateway

Revision history for this message
Aaron Long (planetlong) wrote :
Revision history for this message
Daniel T Chen (crimsun) wrote :
Changed in alsa-driver (Ubuntu):
status: New → Incomplete
Revision history for this message
Aaron Long (planetlong) wrote :

Thanks for the reply Daniel. ppa was added and update performed. sudo apt-get install linux-alsa-driver-modules-$(uname -r)
returns: E: Couldn't find package linux-alsa-driver-modules-2.6.32-26-generic. uname -r returns: 2.6.32-26-generic. Still no mic after reboot. also just tried linux-backports-modules-alsa-lucid-generic with no joy. Any other suggestions?

Revision history for this message
Aaron Long (planetlong) wrote :

FYI linux-backports-modules-alsa-lucid-generic made sound recorder feed null. Error came back after test record saying: no stream available, so I pulled backports out. Sound recorder now acts as it did before: shows recording, with very little [constant] level, then playback is low level static. I have checked all levels in alsamixer and pavucontrol. System is acting the same as when bug was reported.

Revision history for this message
Daniel T Chen (crimsun) wrote : Re: [Bug 677734] Re: [VIA VT1702] Recording problem / Sound Recorder does not pick up sound

What about linux-alsa-driver-modules from the Audio wiki page?

Revision history for this message
Aaron Long (planetlong) wrote :

ppa was added and update performed. sudo apt-get install linux-alsa-driver-modules-$(uname -r)
returns: E: Couldn't find package linux-alsa-driver-modules-2.6.32-26-generic. uname -r returns: 2.6.32-26-generic.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Can you try again when running 2.6.32-25-generic?

Revision history for this message
Aaron Long (planetlong) wrote :

Followed wiki page after booting 2.6.32-25-generic. Installation of linux-alsa-driver-modules-$(uname -r) 2.6.32-25 was successful. Interestingly, sound recorder then acted like it did at 2.6.32-26 with backports installed eg. sound recorder feed null. Error comes back after test record saying: no data in stream. Also, had selection in sound preferences and pavucontrol for mic 1 and 2. Now with 2.6.32-25 and linux-alsa-driver-modules installed this mic selection is gone.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Please attach the output from the following commands while using 2.6.32-25-generic with linux-alsa-driver-modules:

pactl stat
amixer

Mic selection is automatic in the newer drivers based on the presence (jack detection) of an external mic being inserted or removed.

Revision history for this message
Aaron Long (planetlong) wrote :
Download full text (3.2 KiB)

pactl stat returns:
Currently in use: 44 blocks containing 212.1 KiB bytes total.
Allocated during whole lifetime: 239938 blocks containing 534.1 MiB bytes total.
Sample cache size: 0 B
User name: aaron
Host Name: saphira
Server Name: pulseaudio
Server Version: 0.9.21-63-gd3efa-dirty
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1b.0.analog-stereo
Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo
Cookie: 15f11d16

amixer returns:
Simple mixer control 'Master Front',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 23
  Mono:
  Front Left: Playback 23 [100%] [0.00dB] [on]
  Front Right: Playback 23 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 42
  Mono:
  Front Left: Playback 42 [100%] [0.00dB] [on]
  Front Right: Playback 42 [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 254 [100%] [0.20dB]
  Front Right: Playback 254 [100%] [0.20dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 42
  Mono:
  Front Left: Playback 42 [100%] [0.00dB] [on]
  Front Right: Playback 42 [100%] [0.00dB] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 23
  Mono:
  Front Left: Playback 23 [100%] [0.00dB] [on]
  Front Right: Playback 23 [100%] [0.00dB] [on]
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 'IEC958',1
  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 - 31
  Front Left: Capture 28 [90%] [25.50dB] [on]
  Front Right: Capture 28 [90%] [25.50dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 27 [87%] [24.00dB] [on]
  Front Right: Capture 27 [87%] [24.00dB] [on]
Simple mixer control 'Digital Mic',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 12
  Front Left: Capture 12 [100%] [18.00dB] [on]
  Front Right: Capture 12 [100%] [18.00dB] [on]
Simple mixer control 'Digital Mic Boost',0
  Capabilities: cvolume penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 3
  Front Left: Capture 3 [100%] [36.00dB]
  Front Right: Capture 3 [100%] [36.00dB]
Simple mixer control 'Independent HP',0
  Capabilities: enum
  Items: 'ON' 'OFF'
  Item0: 'ON'
Simple mixer control 'Input Source',0
  Capabil...

Read more...

Revision history for this message
Aaron Long (planetlong) wrote :

Also, just discovered headphone jack is down in current config.

Revision history for this message
Aaron Long (planetlong) wrote :

Scratch the last comment... headphone jack IS working, but NOT muting onboard speakers.

Revision history for this message
Aaron Long (planetlong) wrote :

*bump*

Revision history for this message
Daniel T Chen (crimsun) wrote :

Can you follow https://wiki.ubuntu.com/Audio/AlsaInfo while using the latest
daily build (after updating as necessary) of the sound drivers?
On Dec 2, 2010 8:06 PM, "Aaron Long" <email address hidden> wrote:
> *bump*
>
> --
> You received this bug notification because you are a member of Ubuntu
> Audio Team, which is subscribed to alsa-driver in ubuntu.
> https://bugs.launchpad.net/bugs/677734
>
> Title:
> [VIA VT1702] Recording problem / Sound Recorder does not pick up sound
>
> Status in “alsa-driver” package in Ubuntu:
> Incomplete
>
> Bug description:
> Sound Recorder doesn't record. I can't get internal microphone up on my
gateway laptop after trying all the modprobe.d/alsa-base.conf on the forums,
plus dozens of other suggestions. Any help would be appreciated greatly!
>
> 10.04 Lucid / Kernel 2.6.32-26
> GNOME 2.30.2
>
> **** List of PLAYBACK Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: VT1702 Analog [VT1702 Analog]
> Subdevices: 1/2
> Subdevice #0: subdevice #0
> Subdevice #1: subdevice #1
> card 0: Intel [HDA Intel], device 1: VT1702 Digital [VT1702 Digital]
> Subdevices: 2/2
> Subdevice #0: subdevice #0
> Subdevice #1: subdevice #1
> card 0: Intel [HDA Intel], device 3: INTEL HDMI [INTEL HDMI]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
>
> ==> /proc/asound/card0/codec#0 <==
> Codec: VIA VT1702
>
> ==> /proc/asound/card0/codec#1 <==
> Codec: Conexant ID 2c06
>
> ==> /proc/asound/card0/codec#3 <==
> Codec: Intel G45 DEVCTG
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.04
> Package: alsa-base 1.0.22.1+dfsg-0ubuntu3
> ProcVersionSignature: Ubuntu 2.6.32-26.47-generic 2.6.32.24+drm33.11
> Uname: Linux 2.6.32-26-generic x86_64
> AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
> Architecture: amd64
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: aaron 1444 F.... pulseaudio
> /dev/snd/pcmC0D0p: aaron 1444 F...m pulseaudio
> Card0.Amixer.info:
> Card hw:0 'Intel'/'HDA Intel at 0xf0700000 irq 29'
> Mixer name : 'Intel G45 DEVCTG'
> Components : 'HDA:11061398,1025020a,00100100
HDA:14f12c06,10250093,00100000 HDA:80862802,80860101,00100000'
> Controls : 29
> Simple ctrls : 15
> Date: Fri Nov 19 19:10:00 2010
> InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64
(20100429)
> PackageArchitecture: all
> ProcEnviron:
> LANG=en_US.utf8
> SHELL=/bin/bash
> SelectedCard: 0 Intel HDA-Intel - HDA Intel
> SourcePackage: alsa-driver
> Symptom: audio
> Title: [VIA VT1702] Recording problem
> dmi.bios.date: 03/24/2009
> dmi.bios.vendor: Phoenix Technologies LTD
> dmi.bios.version: V1.09
> dmi.board.name: SJM50MV
> dmi.board.vendor: Gateway
> dmi.board.version: Rev
> dmi.chassis.type: 10
> dmi.chassis.vendor: Gateway
> dmi.chassis.version: N/A
> dmi.modalias:
dmi:bvnPhoenixTechnologiesLTD:bvrV1.09:bd03/24/2009:svnGateway:pnID58Series:pvr0100:rvnGateway:rnSJM50MV:rvrRev:cvnGateway:ct10:cvrN/A:
> dmi.product.name: ID58 Series
> dmi.product.version: 0100
> dmi.sys.vendor: Gateway
>
>

Revision history for this message
Aaron Long (planetlong) wrote :

This was done in 2.6.32-26-generic (wasn't sure if you wanted me in 2.6.32-25) I upgraded alsa drivers by following http://monespaceperso.org/blog-en/2010/05/02/upgrade-alsa-1-0-23-on-ubuntu-lucid-lynx-10-04/ and alsa is now at .23 -- cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.23.
Compiled on Dec 2 2010 for kernel 2.6.32-26-generic (SMP).

Sound recorder returns: "stream contains no data" ; tried both mic 1 & 2, no movement on level meter.
Jack sense is broken and/or no audio through headphones after this upgrade.

Thx again for the help!

Revision history for this message
Raymond (superquad-vortex2) wrote :

The internal mic is at node 0x1e and it has no connection to Node 0x13 [Audio selector] connected to [Audio Input] 0x12

Node 0x1e is connected to Node 0x1f [Audio Input] , so you may need to use hw:0,0,1

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

Node 0x12 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals: [0x1a 0x00]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power: setting=D0, actual=D0
  Connection: 1
     0x13
Node 0x13 [Audio Selector] wcaps 0x300501: Stereo
  Power: setting=D0, actual=D0
  Connection: 4
     0x14* 0x15 0x18 0x1a

Node 0x1e [Pin Complex] wcaps 0x40040b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals: [0x03 0x03]
  Pincap 0x00000020: IN
  Pin Default 0x90a601f0: [Fixed] Mic at Int N/A
    Conn = Digital, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Power: setting=D0, actual=D0
Node 0x1f [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x0c, stepsize=0x05, mute=1
  Amp-In vals: [0x0c 0x0c]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x74]: 16000 32000 44100 48000
    bits [0x2]: 16
    formats [0x1]: PCM
  Power: setting=D0, actual=D0
  Connection: 1
     0x1e
Node 0x20 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals: [0x1b 0x1b]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power: setting=D0, actual=D0
  Connection: 1
     0x18

Revision history for this message
Raymond (superquad-vortex2) wrote :

seem to be subdevice 2 and "Digital Mic Capture Volume/Switch"

static hda_nid_t vt1702_adc_nids[3] = {
        /* ADC1-2 */
        0x12, 0x20, 0x1F

};

/* capture mixer elements */

static struct snd_kcontrol_new vt1702_capture_mixer[] = {
         HDA_CODEC_VOLUME("Capture Volume", 0x12, 0x0, HDA_INPUT),
         HDA_CODEC_MUTE("Capture Switch", 0x12, 0x0, HDA_INPUT),
         HDA_CODEC_VOLUME_IDX("Capture Volume", 1, 0x20, 0x0, HDA_INPUT),
         HDA_CODEC_MUTE_IDX("Capture Switch", 1, 0x20, 0x0, HDA_INPUT),
         HDA_CODEC_VOLUME("Digital Mic Capture Volume", 0x1F, 0x0, HDA_INPUT),
         HDA_CODEC_MUTE("Digital Mic Capture Switch", 0x1F, 0x0, HDA_INPUT),
         HDA_CODEC_VOLUME("Digital Mic Boost Capture Volume", 0x1E, 0x0,

Revision history for this message
Aaron Long (planetlong) wrote :

How do I use: RE: "so you may need to use hw:0,0,1"

RE: Node 0x1e is connected to Node 0x1f [Audio Input]. The internal mic is at node 0x1e and it has no connection to Node 0x13 [Audio selector] connected to [Audio Input] 0x12. seem to be subdevice 2 and "Digital Mic Capture Volume/Switch"

Revision history for this message
Raymond (superquad-vortex2) wrote :

How about "arecord -v -Dhw:0,0,2 -f cd test.wav" ?

Revision history for this message
Aaron Long (planetlong) wrote :

Sound recorder returns: "stream contains no data" on both mic 1 & 2, no movement on level meter.
Headset jack has audio. Jack sense does not mute speakers.

arecord -v -Dhw:0,0,2 -f cd test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Hardware PCM card 0 'HDA Intel' device 0 subdevice 2
Its setup is:
  stream : CAPTURE
  access : RW_INTERLEAVED
  format : S16_LE
  subformat : STD
  channels : 2
  rate : 44100
  exact rate : 44100 (44100/1)
  msbits : 16
  buffer_size : 16384
  period_size : 4096
  period_time : 92879
  tstamp_mode : NONE
  period_step : 1
  avail_min : 4096
  period_event : 0
  start_threshold : 1
  stop_threshold : 16384
  silence_threshold: 0
  silence_size : 0
  boundary : 4611686018427387904
  appl_ptr : 0
  hw_ptr : 0

Revision history for this message
Aaron Long (planetlong) wrote :

opps... this may be important :P

arecord: pcm_read:1692: read error: Input/output error

Revision history for this message
Raymond (superquad-vortex2) wrote :

There is problem if the driver group the three [Audio Input] 0x1f , 0x12 and 0x20 in the same device since node 0x1f support 16bits 16000Hz and 32000 Hz but not 20bit , 24bit or 19200Hz as the other node 0x12 and 0x20

The driver just query node 0x12 instead of 0x1f for the formats and rates

Attach PCM dev 0, name VT1702 Analog, type audio, play #2, capture #3
Attach PCM dev 1, name VT1702 Digital, type SPDIF, play #2, capture #0

> PCM 0 capt:2 44100 2 16
Open PCM VT1702 Analog for capt
send: NID=0x1a, VERB=0xf02(get_connect_list), PARM=0x0
receive: 0x18151410
send: NID=0x1, VERB=0xf73(unknown), PARM=0x1d
invalid command: NID=0x1, verb=0xf73, parm=0x1d
Available PCM parameters:
  channels: 2/2
  formats: S16_LE S32_LE
  rates: 44100 48000 96000 192000
Prepare PCM, rate=44100, channels=2, format=16 bits
PCM format_val = 0x4011
hda_codec_setup_stream: NID=0x1f, stream=0x1, channel=0, format=0x4011
send: NID=0x1f, VERB=0xf06(get_channel_streamid), PARM=0x0
receive: 0x0
send: NID=0x1f, VERB=0x706(set_channel_streamid), PARM=0x10
send: NID=0x1f, VERB=0xa00(get_stream_format), PARM=0x0
receive: 0x0
send: NID=0x1f, VERB=0x240(set_stream_format), PARM=0x11
PCM Clean up
hda_codec_cleanup_stream: NID=0x1f
Close PCM
send: NID=0x1a, VERB=0xf02(get_connect_list), PARM=0x0
receive: 0x18151410
send: NID=0x1, VERB=0xf73(unknown), PARM=0x1d

4227 static struct hda_pcm_stream vt1702_pcm_analog_capture = {
4228 .substreams = 3,
4229 .channels_min = 2,
4230 .channels_max = 2,
4231 .nid = 0x12, /* NID to query formats and rates */
4232 .ops = {
4233 .open = via_pcm_open_close,
4234 .prepare = via_capture_pcm_prepare,
4235 .cleanup = via_capture_pcm_cleanup,
4236 .close = via_pcm_open_close
4237 },
4238 };

Node 0x12 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals: [0x1a 0x00]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power: setting=D0, actual=D0
  Connection: 1
     0x13

Node 0x1f [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x0c, stepsize=0x05, mute=1
  Amp-In vals: [0x0c 0x0c]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x74]: 16000 32000 44100 48000
    bits [0x2]: 16
    formats [0x1]: PCM
  Power: setting=D0, actual=D0
  Connection: 1
     0x1e

Revision history for this message
Aaron Long (planetlong) wrote :

If I understand, you want me to direct the driver to "query node 0x12 instead of 0x1f for the formats and rates"

Forgive me, I'm a bit lost on how to do that. Any suggestions or commands would be appreciated!

Revision history for this message
Raymond (superquad-vortex2) wrote :

>> arecord: pcm_read:1692: read error: Input/output error

you have to ask the alsa developer for this issue since 44100 Hz , 16bits and 2 channels is still supported by 0x1f , 0x12 and 0x20, I have no idea why

However many users expect they can use the internal mic by default

>> Headset jack has audio. Jack sense does not mute speakers.

Simple mixer control 'Independent HP',0
  Capabilities: enum
  Items: 'OFF' 'ON'
  Item0: 'ON'

http://git.alsa-project.org/?p=alsa-kernel.git;a=commit;h=0713efebfa1a1878feeeb17cbadc3d2d2c9e9ed2

the inactive controls are grey in color if you are using alsamixer

or compare the output of amixer and "amixer -i"

amixer -h

Available options
  -i,--inactive show also inactive controls

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

Node 0x17 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals: [0x00 0x00]
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x0221401f: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Power: setting=D0, actual=D0
  Connection: 2
     0x1d 0x1a*

Revision history for this message
Raymond (superquad-vortex2) wrote :

The point is only spec->adc_nids[0] is used in via_build_pcms

1953 static int via_build_pcms(struct hda_codec *codec)
1954 {
1955 struct via_spec *spec = codec->spec;
1956 struct hda_pcm *info = spec->pcm_rec;
1957
1958 codec->num_pcms = 1;
1959 codec->pcm_info = info;
1960
1961 info->name = spec->stream_name_analog;
1962 info->stream[SNDRV_PCM_STREAM_PLAYBACK] =
1963 *(spec->stream_analog_playback);
1964 info->stream[SNDRV_PCM_STREAM_PLAYBACK].nid =
1965 spec->multiout.dac_nids[0];
1966 info->stream[SNDRV_PCM_STREAM_CAPTURE] = *(spec->stream_analog_capture);
1967 info->stream[SNDRV_PCM_STREAM_CAPTURE].nid = spec->adc_nids[0];

Revision history for this message
Aaron Long (planetlong) wrote :

Thanks for all the help Raymond! I've tried to reach out to the ALSA development team, but have been unsuccessful in finding the right route.

Could you direct me to the person/s that you think may be able to help?

Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

Hi Aaron,
I didn't see that you already had but I may have missed it. Could you please test this issue with the live environment of the Desktop CD of the development release - Natty Narwhal. You can find out more about the development release at http://www.ubuntu.com/testing/. Once tested, this bug can then be sent upstream to the ALSA developers (https://bugtrack.alsa-project.org) for them to take a look at. Thanks again and we appreciate your help.

Changed in alsa-driver (Ubuntu):
importance: Undecided → Low
Revision history for this message
Aaron Long (planetlong) wrote :

Thanks for the suggestion Teej,

I hadn't tried Natty Narwhal yet. I booted Alpha 3 and tested sound recorder with no joy. Should I post any specific outputs? "arecord -v -Dhw:0,0,2 -f cd test.wav" did throw a different error...

ubuntu@ubuntu:~$ arecord -v -Dhw:0,0,2 -f cd test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Hardware PCM card 0 'HDA Intel' device 0 subdevice 2
Its setup is:
  stream : CAPTURE
  access : RW_INTERLEAVED
  format : S16_LE
  subformat : STD
  channels : 2
  rate : 44100
  exact rate : 44100 (44100/1)
  msbits : 16
  buffer_size : 22016
  period_size : 5504
  period_time : 124807
  tstamp_mode : NONE
  period_step : 1
  avail_min : 5504
  period_event : 0
  start_threshold : 1
  stop_threshold : 22016
  silence_threshold: 0
  silence_size : 0
  boundary : 6196953087261802496
  appl_ptr : 0
  hw_ptr : 0
arecord: pcm_read:1773: read error: Input/output error

Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

Hmm, pcm read error seems to suggest that Ubuntu cannot grab the sound card, possibly because of a driver problem. I have assigned it to the linux package and will subscribe the Audio Team.

affects: alsa-driver (Ubuntu) → linux (Ubuntu)
tags: added: kernel-sound natty
Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

If you have already been given this link please ignore it, if not could you run through all steps on the troubleshooting page at https://help.ubuntu.com/community/SoundTroubleshootingProcedure and attach any output as separate files (not paste as it looks messy). Thank you again.

Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

Note: Where it says open/post a question, don't. Just add it here as an attachment. Thank you.

Revision history for this message
Aaron Long (planetlong) wrote :

Attached are the lucid output files..
Step 3 - https://help.ubuntu.com/community/SoundTroubleshootingProcedure

wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh

bash alsa-info.sh --stdout

Revision history for this message
Aaron Long (planetlong) wrote :

Attached are the lucid output files..
Step 4 - https://help.ubuntu.com/community/SoundTroubleshootingProcedure

cat /proc/asound/{version,cards,devices,hwdep,pcm,seq/clients}; sudo rm /etc/asound.conf; sudo rm -r ~/.pulse ~/.asound* ;sudo rm ~/.pulse-cookie; sudo apt-get update; sudo apt-get install aptitude; sudo aptitude install paman gnome-alsamixer libasound2-plugins padevchooser libsdl1.2debian-pulseaudio; sudo lshw -short;ls -lart /dev/snd; cat /dev/sndstat; lspci -nn; sudo which alsactl; sudo fuser -v /dev/dsp /dev/snd/* ; dpkg -S bin/slmodemd; dmesg | egrep 'EMU|probe|emu|ALSA|alsa|ac97|udi|snd|ound|irmware'; sudo /etc/init.d/sl-modem-daemon status; sudo grep model /etc/modprobe.d/* ; sudo dmidecode|grep roduct; lsmod | egrep 'snd|usb|midi|udio'; aplay -l; sudo lshw -C sound

Revision history for this message
Aaron Long (planetlong) wrote :

Attached are the lucid output files..
Step 4 - https://help.ubuntu.com/community/SoundTroubleshootingProcedure

cat /proc/asound/{version,cards,devices,hwdep,pcm,seq/clients}; sudo rm /etc/asound.conf; sudo rm -r ~/.pulse ~/.asound* ;sudo rm ~/.pulse-cookie; sudo apt-get update; sudo apt-get install aptitude; sudo aptitude install paman gnome-alsamixer libasound2-plugins padevchooser libsdl1.2debian-pulseaudio; sudo lshw -short;ls -lart /dev/snd; cat /dev/sndstat; lspci -nn; sudo which alsactl; sudo fuser -v /dev/dsp /dev/snd/* ; dpkg -S bin/slmodemd; dmesg | egrep 'EMU|probe|emu|ALSA|alsa|ac97|udi|snd|ound|irmware'; sudo /etc/init.d/sl-modem-daemon status; sudo grep model /etc/modprobe.d/* ; sudo dmidecode|grep roduct; lsmod | egrep 'snd|usb|midi|udio'; aplay -l; sudo lshw -C sound

Revision history for this message
Aaron Long (planetlong) wrote :

Here's some natty alsa-info also..

Thanks for checking it out, I appreciate the help!

Revision history for this message
xteejx (xteejx-deactivatedaccount) wrote :

Hi Aaron,
Thank you for those bits of information. I have sent this upstream to the ALSA developers where they will now take charge of it. You can track their progress and make comments (and provide more info if they need it) at https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5322 . Bug watch added.
Thank you again for reporting this to us and helping to make Ubuntu better, and for the quick replies.

Changed in linux (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
penalvch (penalvch) wrote :

Aaron Long, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available (not the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.13-rc1

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

tags: added: bios-outdated-1.18 needs-upstream-testing
Changed in linux (Ubuntu):
status: Triaged → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.