You are not logged in.

#1 2010-02-27 23:04:43

Staerseus
Member
From: Prague
Registered: 2009-11-07
Posts: 109
Website

ALSA, on-board microphone not working (intel-hda) [SOLVED]

I have a trouble with my on-board microphone, it doesn't work for me. Second microphone, a jack, works fine but in KMix it is shown as "Capture" with an icon of an on-board mic... There is a second microphone "Digital" with a jack icon...

So I am confused of it...

sudo lspci -vv -s 00:1b.0

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
        Subsystem: Fujitsu Technology Solutions Device 113f                              
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- 
        Latency: 0, Cache Line Size: 64 bytes                                                                
        Interrupt: pin A routed to IRQ 22
        Region 0: Memory at f2b00000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
                        ExtTag- RBE- FLReset+
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
                LnkCap: Port #0, Speed unknown, Width x0, ASPM unknown, Latency L0 <64ns, L1 <1us
                        ClockPM- Surprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; Disabled- Retrain- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed unknown, Width x0, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
        Capabilities: [100 v1] Virtual Channel
                Caps:   LPEVC=0 RefClk=100ns PATEntryBits=1
                Arb:    Fixed- WRR32- WRR64- WRR128-
                Ctrl:   ArbSelect=Fixed
                Status: InProgress-
                VC0:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                        Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                        Ctrl:   Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
                        Status: NegoPending- InProgress-
                VC1:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                        Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                        Ctrl:   Enable- ID=0 ArbSelect=Fixed TC/VC=00
                        Status: NegoPending- InProgress-
        Capabilities: [130 v1] Root Complex Link
                Desc:   PortNumber=0f ComponentID=02 EltType=Config
                Link0:  Desc:   TargetPort=00 TargetComponent=02 AssocRCRB- LinkType=MemMapped LinkValid+
                        Addr:   00000000fed1c000
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel

cat /etc/modprobe.d/sound.conf

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel

options snd-hda-intel model=laptop power_save=0

cat /etc/modprobe.d/modprobe.conf

#
# /etc/modprobe.d/modprobe.conf (for v2.6 kernels)
#

options snd-hda-intel power_save=0 model=laptop

# disable autoload of ipv6
alias net-pf-10 off

cat /proc/asound/cards

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xf2b00000 irq 22

amixer

Simple mixer control 'Master',0                     
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono                                          
  Limits: Playback 0 - 64                                          
  Mono: Playback 64 [100%] [0.00dB] [on]                           
Simple mixer control 'Headphone',0                                 
  Capabilities: pvolume pswitch penum                              
  Playback channels: Front Left - Front Right                      
  Limits: Playback 0 - 64                                          
  Mono:                                                            
  Front Left: Playback 64 [100%] [1.00dB] [on]                     
  Front Right: Playback 64 [100%] [1.00dB] [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%] [1.00dB] [on]
  Front Right: Playback 64 [100%] [1.00dB] [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 'Mic Boost',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%]
  Front Right: 3 [100%]
Simple mixer control 'Beep',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 16 [52%] [-10.50dB] [on]
  Front Right: Playback 16 [52%] [-10.50dB] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 46 [100%] [29.00dB] [off]
  Front Right: Capture 46 [100%] [29.00dB] [off]
Simple mixer control 'Digital',0
  Capabilities: cvolume penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 100 [83%] [20.00dB]
  Front Right: Capture 100 [83%] [20.00dB]

lsmod | grep ^snd

snd_seq_dummy           1439  0
snd_seq_oss            29023  0
snd_seq_midi_event      5316  1 snd_seq_oss
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_realtek   250431  1
snd_pcm_oss            39011  0
snd_mixer_oss          17299  1 snd_pcm_oss
snd_hda_intel          21810  5
snd_hda_codec          63659  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               6340  1 snd_hda_codec
snd_pcm                70318  4 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              18799  3 snd_seq,snd_pcm
snd                    57408  19 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_codec_realtek,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
snd_page_alloc          7033  2 snd_hda_intel,snd_pcm

ls -l /dev/snd/

drwxr-xr-x  2 root root      60 27. úno 22.53 by-path
crw-rw----+ 1 root audio 116, 6 27. úno 22.53 controlC0
crw-rw----+ 1 root audio 116, 5 27. úno 22.53 hwC0D0
crw-rw----+ 1 root audio 116, 4 27. úno 23.52 pcmC0D0c
crw-rw----+ 1 root audio 116, 3 27. úno 23.52 pcmC0D0p
crw-rw----+ 1 root audio 116, 7 27. úno 22.53 seq
crw-rw----+ 1 root audio 116, 2 27. úno 22.53 timer

Please can you help me with it?

Last edited by Staerseus (2010-02-28 16:23:09)


Thanks for the GNU/Linux. EDIT:Thanks for the GNU/Linux, Linux guru, for the manuals and wikis.

Offline

#2 2010-02-27 23:49:46

Peasantoid
Member
Registered: 2009-04-26
Posts: 928
Website

Re: ALSA, on-board microphone not working (intel-hda) [SOLVED]

I notice Capture is muted in your amixer output ('... [off]'). Do $(amixer set Capture on) to unmute it.

** typo

Last edited by Peasantoid (2010-02-27 23:51:50)

Offline

#3 2010-02-28 16:22:25

Staerseus
Member
From: Prague
Registered: 2009-11-07
Posts: 109
Website

Re: ALSA, on-board microphone not working (intel-hda) [SOLVED]

Thank you for you advice, the parameter "on" didn't help me, so I looked into the man pages and tried:

amixer set Capture cap

and it works now, thank you very much :-)


Thanks for the GNU/Linux. EDIT:Thanks for the GNU/Linux, Linux guru, for the manuals and wikis.

Offline

Board footer

Powered by FluxBB