Codec + Mixer: VIA VT1708S - card 0: SB [HDA ATI SB], device 0: VT1708S Analog [VT1708S Analog] - Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) 1002:4383 - sound output issues on ASUS K50AB laptop in Ubuntu 11.04

Asked by William King on 2011-07-13

Alright, I have been having sound issues with my 1.5 year old laptop that was just converted from windows to Ubuntu 11.04 linux. I have confirmed that all the speakers work correctly(for left/right channels) and that the hardware detection of the headphones works in Windows(this is not a slight against ALSA, just confirmation that the hardware is good). In linux when the headphones are connected there is no sound out of them, and the speakers keep playing like normal.

I'm not sure how to diagnose the issue so if there is a walkthrough, or a series of steps that would help please send me a link.

Here is the alsa info link: http://www.alsa-project.org/db/?f=cc3527ed4b64af2a4b451e6bee689bf42d808674

I have followed https://help.ubuntu.com/community/SoundTroubleshootingProcedure with no solution so far.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu alsa-driver Edit question
Assignee:
No assignee Edit question
Solved by:
William King
Solved:
2011-07-14
Last query:
2011-07-14
Last reply:
2011-07-14

!!################################
!!ALSA Information Script v 0.4.60
!!################################

!!Script ran on: Wed Jul 13 20:29:06 UTC 2011

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

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

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

Manufacturer: ASUSTeK Computer INC.
Product Name: K50AB
Product Version: 1.0

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

Kernel release: 2.6.38-10-generic
Operating System: GNU/Linux
Architecture: x86_64
Processor: x86_64
SMP Enabled: Yes

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

Driver version: 1.0.23
Library version: 1.0.24.1
Utilities version: 1.0.24.2

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

snd_hda_intel

!!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 [SB ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xfbcf4000 irq 16

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

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

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

00:14.2 0403: 1002:4383
 Subsystem: 1043:1523

!!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-caiaq: index=-2
snd-usb-ua101: index=-2
snd-usb-us122l: index=-2
snd-usb-usx2y: index=-2
snd-cmipci: mpu_port=0x330 fm_port=0x388
snd-pcsp: index=-2
snd-usb-audio: index=-2

!!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 : (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)
 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: VIA VT1708S
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x11060397
Subsystem Id: 0x10431523
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=1, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x10 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Front Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="VT1708S Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x2a, nsteps=0x2a, stepsize=0x05, mute=0
  Amp-Out vals: [0x2a 0x2a]
  Converter: stream=0, channel=0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3
  Power: setting=D0, actual=D0
Node 0x11 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Surround Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x2a, nsteps=0x2a, stepsize=0x05, mute=0
  Amp-Out vals: [0x2a 0x2a]
  Converter: stream=0, channel=0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3
  Power: setting=D3, actual=D3
Node 0x12 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3
  Power: setting=D0, actual=D0
Node 0x13 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Device: name="VT1708S Analog", type="Audio", device=0
  Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals: [0x93 0x93]
  Converter: stream=1, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x17
Node 0x14 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Volume", index=1, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=1, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals: [0x00 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 states: D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x1e
Node 0x15 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3
  Power: setting=D0, actual=D0
Node 0x16 [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
  Control: name="Master Front Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Master Front Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Control: name="Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Control: name="Internal Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  Control: name="Internal Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals: [0x1e 0x1e] [0x00 0x00] [0x1f 0x1f] [0x00 0x00] [0x1f 0x1f] [0x97 0x97] [0x97 0x97]
  Power states: D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 7
     0x10 0x1f 0x1a 0x1b 0x1e 0x1d 0x25
Node 0x17 [Audio Selector] wcaps 0x300501: Stereo
  Control: name="Input Source", index=0, device=0
  Power states: D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 6
     0x1f 0x1a 0x1b 0x1e* 0x1d 0x16
Node 0x18 [Audio Selector] wcaps 0x30050d: Stereo Amp-Out
  Control: name="Surround Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals: [0x00 0x00]
  Power states: D0 D1 D2 D3
  Power: setting=D3, actual=D3
  Connection: 1
     0x11
Node 0x19 [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x410110f2: [N/A] Line Out at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x2
  Pin-ctls: 0x00:
  Unsolicited: tag=04, enabled=1
  Power states: D0 D1 D2 D3
  Power: setting=D3, actual=D3
  Connection: 1
     0x18
Node 0x1a [Pin Complex] wcaps 0x400581: Stereo
  Control: name="Mic Boost Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Smart 5.1", index=0, device=0
  Pincap 0x00002334: IN OUT Detect
    Vref caps: HIZ 50 100
  Pin Default 0x01a19038: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x3, Sequence = 0x8
  Pin-ctls: 0x21: IN VREF_50
  Unsolicited: tag=04, enabled=1
  Power states: D0 D1 D2 D3
  Power: setting=D3, actual=D3
  Connection: 1
     0x26
Node 0x1b [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x00002334: IN OUT Detect
    Vref caps: HIZ 50 100
  Pin Default 0x418130f9: [N/A] Line In at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0xf, Sequence = 0x9
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=04, enabled=1
  Power states: D0 D1 D2 D3
  Power: setting=D3, actual=D3
  Connection: 1
     0x18
Node 0x1c [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Front Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals: [0x00 0x00]
  Pincap 0x0001001c: OUT HP EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x90070110: [Fixed] Line Out at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=04, enabled=1
  Power states: D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x16
Node 0x1d [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Independent HP", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals: [0x00 0x00]
  Pincap 0x0000233c: IN OUT HP Detect
    Vref caps: HIZ 50 100
  Pin Default 0x0121401f: [Jack] HP Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Unsolicited: tag=05, enabled=1
  Power states: D0 D1 D2 D3
  Power: setting=D3, actual=D3
  Connection: 2
     0x16* 0x25
Node 0x1e [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Front Mic Boost Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals: [0x00 0x00]
  Pincap 0x0000233c: IN OUT HP Detect
    Vref caps: HIZ 50 100
  Pin Default 0x90a7013e: [Fixed] Mic at Int N/A
    Conn = Analog, Color = Unknown
    DefAssociation = 0x3, Sequence = 0xe
    Misc = NO_PRESENCE
  Pin-ctls: 0x21: IN VREF_50
  Unsolicited: tag=04, enabled=1
  Power states: D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 2
     0x16 0x25*
Node 0x1f [Pin Complex] wcaps 0x400401: Stereo
  Pincap 0x00000020: IN
  Pin Default 0x593701f7: [N/A] CD at Int ATAPI
    Conn = Analog, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x7
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states: D0 D1 D2 D3
  Power: setting=D0, actual=D0
Node 0x20 [Pin Complex] wcaps 0x400701: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x474411f0: [N/A] SPDIF Out at Ext Rear Panel
    Conn = RCA, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Power states: D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x12
Node 0x21 [Pin Complex] wcaps 0x400701: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x474411f0: [N/A] SPDIF Out at Ext Rear Panel
    Conn = RCA, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Power states: D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x15
Node 0x22 [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x410160f1: [N/A] Line Out at Ext Rear
    Conn = 1/8, Color = Orange
    DefAssociation = 0xf, Sequence = 0x1
  Pin-ctls: 0x00:
  Unsolicited: tag=04, enabled=1
  Power states: D0 D1 D2 D3
  Power: setting=D3, actual=D3
  Connection: 1
     0x26
Node 0x23 [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x00000014: OUT Detect
  Pin Default 0x410120f4: [N/A] Line Out at Ext Rear
    Conn = 1/8, Color = Grey
    DefAssociation = 0xf, Sequence = 0x4
  Pin-ctls: 0x00:
  Unsolicited: tag=04, enabled=1
  Power states: D0 D1 D2 D3
  Power: setting=D3, actual=D3
  Connection: 1
     0x27
Node 0x24 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Center Playback Volume", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Volume", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x2a, nsteps=0x2a, stepsize=0x05, mute=0
  Amp-Out vals: [0x2a 0x2a]
  Converter: stream=0, channel=0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3
  Power: setting=D3, actual=D3
Node 0x25 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x2a, nsteps=0x2a, stepsize=0x05, mute=0
  Amp-Out vals: [0x2a 0x2a]
  Converter: stream=0, channel=0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3
  Power: setting=D0, actual=D0
Node 0x26 [Audio Selector] wcaps 0x30050d: Stereo Amp-Out
  Control: name="Center Playback Switch", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Switch", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals: [0x00 0x00]
  Power states: D0 D1 D2 D3
  Power: setting=D3, actual=D3
  Connection: 1
     0x24
Node 0x27 [Audio Selector] wcaps 0x30050d: Stereo Amp-Out
  Control: name="Independent HP", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals: [0x00 0x00]
  Power states: D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 1
     0x25
--endcollapse--

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

crw-rw---- 1 root audio 116, 5 Jul 13 08:49 /dev/snd/controlC0
crw-rw---- 1 root audio 116, 4 Jul 13 08:49 /dev/snd/hwC0D0
crw-rw---- 1 root audio 116, 3 Jul 13 13:12 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 2 Jul 13 13:12 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 1 Jul 13 08:49 /dev/snd/seq
crw-rw---- 1 root audio 116, 33 Jul 13 08:49 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root 60 Jul 13 08:49 .
drwxr-xr-x 3 root root 180 Jul 13 08:49 ..
lrwxrwxrwx 1 root root 12 Jul 13 08:49 pci-0000:00:14.2 -> ../controlC0

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

APLAY

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

ARECORD

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

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

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

Card hw:0 'SB'/'HDA ATI SB at 0xfbcf4000 irq 16'
  Mixer name : 'VIA VT1708S'
  Components : 'HDA:11060397,10431523,00100000'
  Controls : 26
  Simple ctrls : 16
Simple mixer control 'Master Front',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 30 [97%] [10.50dB] [on]
  Front Right: Playback 30 [97%] [10.50dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
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 'Front Mic Boost',0
  Capabilities: cvolume penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 3
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Surround',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 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 42
  Mono: Playback 42 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 42
  Mono: Playback 42 [100%] [0.00dB] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [12.00dB] [on]
  Front Right: Playback 31 [100%] [12.00dB] [on]
Simple mixer control 'Mic Boost',0
  Capabilities: cvolume penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 3
  Front Left: Capture 0 [0%] [0.00dB]
  Front Right: Capture 0 [0%] [0.00dB]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 19 [61%] [12.00dB] [off]
  Front Right: Capture 19 [61%] [12.00dB] [off]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 0 [0%] [-16.50dB] [on]
  Front Right: Capture 0 [0%] [-16.50dB] [on]
Simple mixer control 'Independent HP',0
  Capabilities: enum
  Items: 'OFF' 'ON'
  Item0: 'OFF'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Stereo Mixer' 'Mic' 'Internal Mic'
  Item0: 'Internal Mic'
Simple mixer control 'Internal Mic',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [12.00dB] [on]
  Front Right: Playback 31 [100%] [12.00dB] [on]
Simple mixer control 'Smart 5.1',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]

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

--startcollapse--
state.SB {
 control.1 {
  iface MIXER
  name 'Master Front Playback Volume'
  value.0 30
  value.1 30
  comment {
   access 'read write'
   type INTEGER
   count 2
   range '0 - 31'
   dbmin -3450
   dbmax 1200
   dbvalue.0 1050
   dbvalue.1 1050
  }
 }
 control.2 {
  iface MIXER
  name 'Master Front Playback Switch'
  value.0 true
  value.1 true
  comment {
   access 'read write'
   type BOOLEAN
   count 2
  }
 }
 control.3 {
  iface MIXER
  name 'Front Playback Volume'
  value.0 42
  value.1 42
  comment {
   access 'read write'
   type INTEGER
   count 2
   range '0 - 42'
   dbmin -6300
   dbmax 0
   dbvalue.0 0
   dbvalue.1 0
  }
 }
 control.4 {
  iface MIXER
  name 'Front Playback Switch'
  value.0 true
  value.1 true
  comment {
   access 'read write'
   type BOOLEAN
   count 2
  }
 }
 control.5 {
  iface MIXER
  name 'Surround Playback Volume'
  value.0 42
  value.1 42
  comment {
   access 'read write'
   type INTEGER
   count 2
   range '0 - 42'
   dbmin -6300
   dbmax 0
   dbvalue.0 0
   dbvalue.1 0
  }
 }
 control.6 {
  iface MIXER
  name 'Surround Playback Switch'
  value.0 true
  value.1 true
  comment {
   access 'read write'
   type BOOLEAN
   count 2
  }
 }
 control.7 {
  iface MIXER
  name 'Center Playback Volume'
  value 42
  comment {
   access 'read write'
   type INTEGER
   count 1
   range '0 - 42'
   dbmin -6300
   dbmax 0
   dbvalue.0 0
  }
 }
 control.8 {
  iface MIXER
  name 'LFE Playback Volume'
  value 42
  comment {
   access 'read write'
   type INTEGER
   count 1
   range '0 - 42'
   dbmin -6300
   dbmax 0
   dbvalue.0 0
  }
 }
 control.9 {
  iface MIXER
  name 'Center Playback Switch'
  value true
  comment {
   access 'read write'
   type BOOLEAN
   count 1
  }
 }
 control.10 {
  iface MIXER
  name 'LFE Playback Switch'
  value true
  comment {
   access 'read write'
   type BOOLEAN
   count 1
  }
 }
 control.11 {
  iface MIXER
  name 'Headphone Playback Volume'
  value.0 42
  value.1 42
  comment {
   access 'read write inactive'
   type INTEGER
   count 2
   range '0 - 42'
   dbmin -6300
   dbmax 0
   dbvalue.0 0
   dbvalue.1 0
  }
 }
 control.12 {
  iface MIXER
  name 'Headphone Playback Switch'
  value.0 true
  value.1 true
  comment {
   access 'read write inactive'
   type BOOLEAN
   count 2
  }
 }
 control.13 {
  iface MIXER
  name 'Mic Playback Volume'
  value.0 31
  value.1 31
  comment {
   access 'read write'
   type INTEGER
   count 2
   range '0 - 31'
   dbmin -3450
   dbmax 1200
   dbvalue.0 1200
   dbvalue.1 1200
  }
 }
 control.14 {
  iface MIXER
  name 'Mic Playback Switch'
  value.0 true
  value.1 true
  comment {
   access 'read write'
   type BOOLEAN
   count 2
  }
 }
 control.15 {
  iface MIXER
  name 'Internal Mic Playback Volume'
  value.0 31
  value.1 31
  comment {
   access 'read write'
   type INTEGER
   count 2
   range '0 - 31'
   dbmin -3450
   dbmax 1200
   dbvalue.0 1200
   dbvalue.1 1200
  }
 }
 control.16 {
  iface MIXER
  name 'Internal Mic Playback Switch'
  value.0 true
  value.1 true
  comment {
   access 'read write'
   type BOOLEAN
   count 2
  }
 }
 control.17 {
  iface MIXER
  name 'Independent HP'
  value OFF
  comment {
   access 'read write'
   type ENUMERATED
   count 1
   item.0 OFF
   item.1 ON
  }
 }
 control.18 {
  iface MIXER
  name 'Smart 5.1'
  value false
  comment {
   access 'read write'
   type BOOLEAN
   count 1
  }
 }
 control.19 {
  iface MIXER
  name 'Capture Volume'
  value.0 19
  value.1 19
  comment {
   access 'read write'
   type INTEGER
   count 2
   range '0 - 31'
   dbmin -1650
   dbmax 3000
   dbvalue.0 1200
   dbvalue.1 1200
  }
 }
 control.20 {
  iface MIXER
  name 'Capture Switch'
  value.0 false
  value.1 false
  comment {
   access 'read write'
   type BOOLEAN
   count 2
  }
 }
 control.21 {
  iface MIXER
  name 'Capture Volume'
  index 1
  value.0 0
  value.1 0
  comment {
   access 'read write'
   type INTEGER
   count 2
   range '0 - 31'
   dbmin -1650
   dbmax 3000
   dbvalue.0 -1650
   dbvalue.1 -1650
  }
 }
 control.22 {
  iface MIXER
  name 'Capture Switch'
  index 1
  value.0 true
  value.1 true
  comment {
   access 'read write'
   type BOOLEAN
   count 2
  }
 }
 control.23 {
  iface MIXER
  name 'Mic Boost Capture Volume'
  value.0 0
  value.1 0
  comment {
   access 'read write'
   type INTEGER
   count 2
   range '0 - 3'
   dbmin 0
   dbmax 3075
   dbvalue.0 0
   dbvalue.1 0
  }
 }
 control.24 {
  iface MIXER
  name 'Front Mic Boost Capture Volume'
  value.0 0
  value.1 0
  comment {
   access 'read write'
   type INTEGER
   count 2
   range '0 - 3'
   dbmin 0
   dbmax 3075
   dbvalue.0 0
   dbvalue.1 0
  }
 }
 control.25 {
  iface MIXER
  name 'Input Source'
  value 'Internal Mic'
  comment {
   access 'read write'
   type ENUMERATED
   count 1
   item.0 'Stereo Mixer'
   item.1 Mic
   item.2 'Internal Mic'
  }
 }
 control.26 {
  iface MIXER
  name 'PCM Playback Volume'
  value.0 255
  value.1 255
  comment {
   access 'read write user'
   type INTEGER
   count 2
   range '0 - 255'
   tlv '0000000100000008ffffec1400000014'
   dbmin -5100
   dbmax 0
   dbvalue.0 0
   dbvalue.1 0
  }
 }
}
--endcollapse--

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

Module
usbhid
hid
nfs
lockd
fscache
nfs_acl
auth_rpcgss
sunrpc
cryptd
aes_x86_64
aes_generic
parport_pc
ppdev
binfmt_misc
vesafb
snd_hda_codec_via
snd_hda_intel
joydev
snd_hda_codec
arc4
snd_hwdep
snd_pcm
snd_seq_midi
snd_rawmidi
ath9k
snd_seq_midi_event
mac80211
snd_seq
snd_timer
fglrx
snd_seq_device
ath9k_common
snd
psmouse
ath9k_hw
uvcvideo
ath
serio_raw
cfg80211
videodev
soundcore
asus_laptop
sparse_keymap
v4l2_compat_ioctl32
snd_page_alloc
video
sp5100_tco
lp
k10temp
i2c_piix4
parport
ahci
libahci
r8169

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

/sys/class/sound/hwC0D0/init_pin_configs:
0x19 0x410110f2
0x1a 0x01a19038
0x1b 0x418130f9
0x1c 0x90070110
0x1d 0x0121401f
0x1e 0x90a7013e
0x1f 0x593701f7
0x20 0x474411f0
0x21 0x474411f0
0x22 0x410160f1
0x23 0x410120f4

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

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

[ 11.752438] ieee80211 phy0: Atheros AR9285 Rev:2 mem=0xffffc900111a0000, irq=18
[ 12.071509] HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 12.423457] type=1400 audit(1310572152.567:5): apparmor="STATUS" operation="profile_load" name="/usr/share/gdm/guest-session/Xsession" pid=805 comm="apparmor_parser"
--
[ 16.043245] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[ 29.400015] hda-intel: azx_get_response timeout, switching to polling mode: last cmd=0x016f0200
[ 30.410012] hda_intel: azx_get_response timeout, switching to single_cmd mode: last cmd=0x016f0200
[ 35.332387] EXT4-fs (sda6): re-mounted. Opts: errors=remount-ro,commit=0

Just in case it expires

William King (quentusrex) said : #2

Thanks. One thing I noticed was that the driver and library versions are not the same:
!!ALSA Version
!!------------

Driver version: 1.0.23
Library version: 1.0.24.1
Utilities version: 1.0.24.2

Would this cause problems, and if so is there a way to resolve this?

Try adding:

options snd-hda-intel position_fix=1

to

/etc/modprobe.d/alsa-base.conf

Reboot to test

William King (quentusrex) said : #4

 dpkg -l |grep alsa
ii alsa-base 1.0.24+dfsg-0ubuntu1 ALSA driver configuration files
ii alsa-utils 1.0.24.2-0ubuntu6 Utilities for configuring and using ALSA
ii bluez-alsa 4.91-0ubuntu1 Bluetooth ALSA support
ii gnome-alsamixer 0.9.7~cvs.20060916.ds.1-2 ALSA sound mixer for GNOME
ii gstreamer0.10-alsa 0.10.32-1ubuntu5 GStreamer plugin for ALSA

William King (quentusrex) said : #5

I added the line you suggested and now the headphones detection works,
but the audio does not after headphones are detected. Sound was working
out the speakers, plugged in the headphones, the speakers were muted,
and the sound from the onboard microphone was being piped into the
headphones. There was no sound other than the mic being sent to the
headphones.

On 07/13/2011 02:05 PM, William King wrote:
> Your question #164708 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/164708
>
> William King posted a new comment:
> dpkg -l |grep alsa
> ii alsa-base 1.0.24+dfsg-0ubuntu1 ALSA driver configuration files
> ii alsa-utils 1.0.24.2-0ubuntu6 Utilities for configuring and using ALSA
> ii bluez-alsa 4.91-0ubuntu1 Bluetooth ALSA support
> ii gnome-alsamixer 0.9.7~cvs.20060916.ds.1-2 ALSA sound mixer for GNOME
> ii gstreamer0.10-alsa 0.10.32-1ubuntu5 GStreamer plugin for ALSA
>

ok try:

options snd-hda-intel model=laptop position_fix=1

May help

William King (quentusrex) said : #7

Now when I plug the head phones in it mutes all audio. Unmuting the
audio will now have audio playing out both the headphones and the speakers.

Seems like it is getting closer, but still not working as intended.

On 07/13/2011 02:21 PM, actionparsnip wrote:
> Your question #164708 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/164708
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> ok try:
>
> options snd-hda-intel model=laptop position_fix=1
>
> May help
>

Try:

options snd-hda-intel model=asus position_fix=1

Also try without the position fix bit

William King (quentusrex) said : #9

I tried the model=asus with and without the position_fix=1 and neither
are any difference from model=laptop. Thanks for the help so far, any
more ideas?

On 07/13/2011 04:01 PM, actionparsnip wrote:
> Your question #164708 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/164708
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> Try:
>
> options snd-hda-intel model=asus position_fix=1
>
> Also try without the position fix bit
>

Look online for other options for your particular model.

William King (quentusrex) said : #11

I just went and retested everything and it seems that after running:

sudo apt-get update && sudo apt-get -y --reinstall install alsa-base
alsa-utils; killall pulseaudio; rm -r ~/.pulse*

Then any of the 5 combinations of:
options snd-hda-intel model=laptop position_fix=1
options snd-hda-intel model=laptop
options snd-hda-intel model=asus position_fix=1
options snd-hda-intel model=asus
options snd-hda-intel

at the bottom of the alsa-base.conf file have no effect. I can even
remove the line and they all respond the same way. Audio through the
speakers works, detects the headset being plugged in, mutes the volume,
and when unmuted plays sound through both headset and speakers.

I'm testing more options.

On 07/13/2011 04:35 PM, actionparsnip wrote:
> Your question #164708 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/164708
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> Look online for other options for your particular model.
>

ok try:

options snd-hda-intel model=generic

and

options snd-hda-intel model=auto

William King (quentusrex) said : #13

Neither of those settings made a difference. I found someone with the
same issue, comment #8 on:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/607482

On 07/13/2011 05:15 PM, actionparsnip wrote:
> Your question #164708 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/164708
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> ok try:
>
> options snd-hda-intel model=generic
>
> and
>
> options snd-hda-intel model=auto
>

William King (quentusrex) said : #14

http://webcache.googleusercontent.com/search?q=cache:4-o5ve2PS_IJ:mailman.alsa-project.org/pipermail/alsa-devel/2011-January/035274.html+alsa+via+VT1708S&cd=1&hl=en&ct=clnk&gl=us&source=www.google.com

Since the mailman.alsa-project.org server is down.

On 07/13/2011 05:25 PM, William King wrote:
> Your question #164708 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/164708
>
> Status: Answered => Open
>
> You are still having a problem:
> Neither of those settings made a difference. I found someone with the
> same issue, comment #8 on:
> https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/607482
>
> On 07/13/2011 05:15 PM, actionparsnip wrote:
>> Your question #164708 on Ubuntu changed:
>> https://answers.launchpad.net/ubuntu/+question/164708
>>
>> Status: Open => Answered
>>
>> actionparsnip proposed the following answer:
>> ok try:
>>
>> options snd-hda-intel model=generic
>>
>> and
>>
>> options snd-hda-intel model=auto
>>

William King (quentusrex) said : #15

Resolved now. Thanks to all those that helped along the way. The final fix was spelled out here:

https://wiki.ubuntu.com/Audio/InstallingLinuxAlsaDriverModules

On irc in the channel #alsa dtchen mentioned that the VIA codecs have been significantly recently.

Fixed in these packages:

ii alsa-base 1.0.24+dfsg-0ubuntu1 ALSA driver configuration files
ii alsa-utils 1.0.24.2-0ubuntu6 Utilities for configuring and using ALSA
ii bluez-alsa 4.91-0ubuntu1 Bluetooth ALSA support
ii gnome-alsamixer 0.9.7~cvs.20060916.ds.1-2 ALSA sound mixer for GNOME
ii gstreamer0.10-alsa 0.10.32-1ubuntu5 GStreamer plugin for ALSA
ii linux-alsa-driver-modules-2.6.38-10-generic 2.6.38-10.201107131605 Ubuntu-supplied Linux modules for version 2.6.38-10-generic ALSA snapshots