You are not logged in.

#1 2010-01-19 17:43:30

sgeorge
Member
Registered: 2009-10-13
Posts: 19

Speaker Working but microphone not working with VT1708/A Azalia HDAC

Hi,

I freshly installed 64-bit Arch on my Desktop.

2.6.32-ARCH #1 SMP PREEMPT Thu Jan 7 22:28:29 CET 2010 x86_64 AMD Athlon(tm) 64 Processor 3500+ AuthenticAMD GNU/Linux

I configured alsa as said in

http://wiki.archlinux.org/index.php/Adv … chitecture

I can get sound through the speakers but i cannot use my mic.
I tried to record using audacity and it did not work. Also it does not work in skype.

Could Some one please help me trouble shoot this problem?

Thanks

Siju

These are my Configurations.

Alsa Packages installed

$ pacman -Q |grep alsa
alsa-lib 1.0.22-1
alsa-oss 1.0.17-1
alsa-utils 1.0.22-2
lib32-alsa-lib 1.0.22-1

Driver Module Names

$ ls -l /sys/module/snd/holders
total 0
lrwxrwxrwx 1 root root 0 Jan 20 04:25 snd_hda_codec -> ../../snd_hda_codec
lrwxrwxrwx 1 root root 0 Jan 20 04:25 snd_hda_codec_analog -> ../../snd_hda_codec_analog
lrwxrwxrwx 1 root root 0 Jan 20 04:25 snd_hda_intel -> ../../snd_hda_intel
lrwxrwxrwx 1 root root 0 Jan 20 04:25 snd_hwdep -> ../../snd_hwdep
lrwxrwxrwx 1 root root 0 Jan 20 04:25 snd_mixer_oss -> ../../snd_mixer_oss
lrwxrwxrwx 1 root root 0 Jan 20 04:25 snd_pcm -> ../../snd_pcm
lrwxrwxrwx 1 root root 0 Jan 20 04:25 snd_pcm_oss -> ../../snd_pcm_oss
lrwxrwxrwx 1 root root 0 Jan 20 04:25 snd_seq -> ../../snd_seq
lrwxrwxrwx 1 root root 0 Jan 20 04:25 snd_seq_device -> ../../snd_seq_device
lrwxrwxrwx 1 root root 0 Jan 20 04:25 snd_seq_oss -> ../../snd_seq_oss
lrwxrwxrwx 1 root root 0 Jan 20 04:25 snd_timer -> ../../snd_timer

Modprobe Configuration

$ cat /etc/modprobe.d/modprobe.conf 
#
# /etc/modprobe.d/modprobe.conf (for v2.6 kernels)
#
options snd-hda-intel index=0

In /etc/rc.conf

#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(fuse snd-hda-intel)

Sound modules loaded.

$ lsmod|grep '^snd' | column -t
snd_hda_codec_analog  69995  1
snd_seq_dummy         1439   0
snd_seq_oss           29023  0
snd_seq_midi_event    5316   1   snd_seq_oss
snd_hda_intel         21586  0
snd_seq               50558  5   snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device        5181   3   snd_seq_dummy,snd_seq_oss,snd_seq
snd_hda_codec         63659  2   snd_hda_codec_analog,snd_hda_intel
snd_pcm_oss           39011  0
snd_hwdep             6340   1   snd_hda_codec
snd_pcm               70318  3   snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_mixer_oss         17299  1   snd_pcm_oss
snd_timer             18799  2   snd_seq,snd_pcm
snd                   57408  11  snd_hda_codec_analog,snd_seq_oss,snd_hda_intel,snd_seq,snd_seq_device,snd_hda_codec,snd_pcm_oss,snd_hwdep,snd_pcm,snd_mixer_oss,snd_timer
snd_page_alloc        7033   2   snd_hda_intel,snd_pcm

Contents of /dev/snd

$ lsmod|grep '^snd' | column -t
snd_hda_codec_analog  69995  1
snd_seq_dummy         1439   0
snd_seq_oss           29023  0
snd_seq_midi_event    5316   1   snd_seq_oss
snd_hda_intel         21586  0
snd_seq               50558  5   snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device        5181   3   snd_seq_dummy,snd_seq_oss,snd_seq
snd_hda_codec         63659  2   snd_hda_codec_analog,snd_hda_intel
snd_pcm_oss           39011  0
snd_hwdep             6340   1   snd_hda_codec
snd_pcm               70318  3   snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_mixer_oss         17299  1   snd_pcm_oss
snd_timer             18799  2   snd_seq,snd_pcm
snd                   57408  11  snd_hda_codec_analog,snd_seq_oss,snd_hda_intel,snd_seq,snd_seq_device,snd_hda_codec,snd_pcm_oss,snd_hwdep,snd_pcm,snd_mixer_oss,snd_timer
snd_page_alloc        7033   2   snd_hda_intel,snd_pcm

All channels are unmuted

$ amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [0.00dB] [on]
  Front Right: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'PCM',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 'Front',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [0.00dB] [on]
  Front Right: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [0.00dB] [on]
  Front Right: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive penum
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Mono
  Limits: Playback 0 - 31
  Mono: Capture [off]
  Front Left: Playback 31 [100%] [12.00dB] [on]
  Front Right: Playback 31 [100%] [12.00dB] [on]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive penum
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Mono
  Limits: Playback 0 - 31
  Mono: Capture [off]
  Front Left: Playback 31 [100%] [12.00dB] [on]
  Front Right: Playback 31 [100%] [12.00dB] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive penum
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Mono
  Limits: Playback 0 - 31
  Mono: Capture [on]
  Front Left: Playback 31 [100%] [12.00dB] [on]
  Front Right: Playback 31 [100%] [12.00dB] [on]
Simple mixer control 'Mic Boost',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'Phone',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 [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Beep',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 15
  Mono: Playback 15 [100%] [0.00dB] [off]
Simple mixer control 'Aux',0
  Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive penum
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Mono
  Limits: Playback 0 - 31
  Mono: Capture [off]
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mono',0
  Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive penum
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Mono
  Limits: Playback 0 - 31
  Mono: Capture [off]
  Front Left: Playback 0 [0%] [-46.50dB] [off]
  Front Right: Playback 0 [0%] [-46.50dB] [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 0 [0%] [0.00dB] [off]
  Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'Mix',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive penum
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'Digital',0
  Capabilities: cvolume penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 60 [50%] [0.00dB]
  Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Stereo Downmix',0
  Capabilities: pswitch penum
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]

Groups the user is a part of

$ cat /etc/group |grep sgeorge
wheel:x:10:root,sgeorge
video:x:91:sgeorge
audio:x:92:sgeorge
optical:x:93:hal,sgeorge
storage:x:95:hal,sgeorge

lspci

$ lspci
00:00.0 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
00:00.5 PIC: VIA Technologies, Inc. K8M890CE I/O APIC Interrupt Controller
00:00.6 Host bridge: VIA Technologies, Inc. Device 6290
00:00.7 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South]
00:0f.0 RAID bus controller: VIA Technologies, Inc. VT8251 AHCI/SATA 4-Port Controller
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 07)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 90)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 90)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 90)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 90)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 90)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8251 PCI to ISA Bridge
00:11.7 Host bridge: VIA Technologies, Inc. VT8251 Ultra VLINK Controller
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 7c)
00:13.0 PCI bridge: VIA Technologies, Inc. VT8251 Host Bridge
00:13.1 PCI bridge: VIA Technologies, Inc. VT8251 PCI to PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: VIA Technologies, Inc. K8M890CE/K8N890CE [Chrome 9] (rev 01)
04:01.0 Audio device: VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller)

Offline

#2 2010-01-20 14:22:51

sgeorge
Member
Registered: 2009-10-13
Posts: 19

Re: Speaker Working but microphone not working with VT1708/A Azalia HDAC

Starting of Audacity gives this error

Expression 'stream->capture.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3653

Is this a driver problem? Will this have to be fixed in the kernel?
I switched from Ubuntu 9.10 to arch due to the same problem with Microphone not Working.

Thanks

--Siju

Offline

#3 2010-01-31 20:01:58

kleinlohmi
Member
Registered: 2008-10-16
Posts: 15

Re: Speaker Working but microphone not working with VT1708/A Azalia HDAC

Same problem here...

2.6.32-ARCH #1 SMP PREEMPT Fri Jan 29 08:50:05 UTC 2010 i686 Genuine Intel(R) CPU T2080 @ 1.73GHz GenuineIntel GNU/Linux

Module                  Size  Used by
aes_i586                6880  1      
aes_generic            25834  1 aes_i586
ipv6                  237532  12        
arc4                    1058  2         
ecb                     1545  2         
b43                   154501  0         
mac80211              149018  1 b43     
cfg80211              106663  2 b43,mac80211
snd_seq_dummy           1099  0             
snd_seq_oss            25304  0             
snd_hda_codec_idt      43564  1             
snd_seq_midi_event      4452  1 snd_seq_oss 
snd_seq                42628  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          4313  3 snd_seq_dummy,snd_seq_oss,snd_seq           
snd_pcm_oss            33693  0                                             
snd_mixer_oss          14810  1 snd_pcm_oss                                 
joydev                  7768  0                                             
i915                  264228  2                                             
drm_kms_helper         21971  1 i915                                        
snd_hda_intel          18793  3                                             
snd_hda_codec          56728  2 snd_hda_codec_idt,snd_hda_intel             
snd_hwdep               5102  1 snd_hda_codec                               
b44                    24073  0                                             
sdhci_pci               4910  0                                             
firewire_ohci          20266  0                                             
drm                   126588  3 i915,drm_kms_helper                         
i2c_algo_bit            4219  1 i915                                        
sdhci                  13921  1 sdhci_pci                                   
snd_pcm                57479  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec     
firewire_core          37529  1 firewire_ohci                               
ssb                    39958  2 b43,b44                                     
iTCO_wdt                7577  0                                             
mmc_core               45164  3 b43,sdhci,ssb                               
pcmcia                 27513  2 b43,ssb                                     
crc_itu_t               1041  1 firewire_core                               
mii                     3218  1 b44                                         
led_class               1933  2 b43,sdhci                                   
iTCO_vendor_support     1453  1 iTCO_wdt                                    
snd_timer              16117  2 snd_seq,snd_pcm                             
video                  14871  1 i915                                        
i2c_i801                7122  0                                             
output                  1404  1 video                                       
psmouse                56309  0                                             
thermal                 9326  0                                             
battery                 7328  0                                             
uhci_hcd               19124  0                                             
dell_laptop             1745  0                                             
pcmcia_core            25643  3 b43,ssb,pcmcia                              
ac                      2255  0                                             
wmi                     4083  0                                             
processor              25790  2                                             
snd                    43847  17 snd_seq_oss,snd_hda_codec_idt,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer                                       
soundcore               5007  1 snd                                                                    
i2c_core               15369  4 i915,drm,i2c_algo_bit,i2c_i801                                         
button                  3638  1 i915                                                                   
ehci_hcd               31594  0                                                                        
rfkill                 12320  2 cfg80211,dell_laptop                                                   
snd_page_alloc          5809  2 snd_hda_intel,snd_pcm                                                  
sg                     21079  0
intel_agp              23225  1
agpgart                23331  2 drm,intel_agp
serio_raw               3620  0
usbcore               118921  3 uhci_hcd,ehci_hcd
dcdbas                  4408  1 dell_laptop
evdev                   6970  14
vboxdrv               135347  0
rtc_cmos                7504  0
rtc_core               12011  1 rtc_cmos
rtc_lib                 1450  1 rtc_core
ext3                  113026  2
jbd                    38906  1 ext3
mbcache                 4278  1 ext3
sr_mod                 13161  0
cdrom                  31625  1 sr_mod
sd_mod                 24101  4
pata_acpi               2264  0
ata_piix               17725  3
ata_generic             2235  0
libata                135162  3 pata_acpi,ata_piix,ata_generic
scsi_mod               78933  4 sg,sr_mod,sd_mod,libata
MODULES=(!pcspkr vboxdrv)

no changes on config files except rc.conf

Has anyone filed a bug yet?

Offline

#4 2010-02-01 06:34:45

sgeorge
Member
Registered: 2009-10-13
Posts: 19

Re: Speaker Working but microphone not working with VT1708/A Azalia HDAC

Well finding that there is no reply to the post here or in the debian mailing list I posted this bug on the linux-kernel mailinglist.

http://marc.info/?l=linux-kernel&m=126414072830819&w=2

That was forwarded to VIA and a developer from VIA contacted me asking me to run a script and give the out put to her. After giving her the output I got this reply.

=============

According to your log file, it seems the codec is NOT VIA VT1708/A, but Analog Devices AD1986A. The soundcard is consisted by VIA's Controller + Ananlog Devices'Codec. As following showes:
       Codec: Analog Devices AD1986A
       Address: 0
       Function Id: 0x1
       Vendor Id: 0x11d41986
       Subsystem Id: 0x1043818f
       Revision Id: 0x100500

Sorry I can't get AD1986A's specification and the codec. I'm afraid I can't fix this bug. But I found the recording volume is half of the max value, can you tune it to max, and try again. Or maybe you can try another capture source, such as Line-In to check whether the capture function is good.


I find an error when loading the AD1986A codec, as following shows:
       [   17.596016] hda-intel: IRQ timing workaround is activated for card #0.       Suggest a bigger bdl_pos_adj.
       [   24.732024] eth0: no IPv6 routers present
       [   75.098237] hda_codec: invalid CONNECT_LIST verb 12[2]:2100
       [  702.538641] hda_codec: invalid CONNECT_LIST verb 12[2]:2100

In patch_analog.c file, it seems nid 0x12 is the capture source selector, but the connection of this node is 0:
       Node 0x12 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
       Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1
       Amp-Out vals:  [0x08 0x08]
       Connection: 0
So during loading the AD1986A codec, the above error occurred. Can you transfer this message to the driver maintainer of Analog Devices to check the issue?
Thank you!
===========

Offline

#5 2010-10-06 12:40:14

sgeorge
Member
Registered: 2009-10-13
Posts: 19

Re: Speaker Working but microphone not working with VT1708/A Azalia HDAC

Hi,

I got this thing working under OpenBSD through the following steps

http://marc.info/?l=openbsd-misc&m=128634065520092&w=1

I wonder what are the corresponding linux steps :-)

Thanks

--Siju

Offline

Board footer

Powered by FluxBB