mic not working

Asked by roberto

the microphone incorporated in my laptop doesn't work with ubuntu... y get sound from speakers, but I can't make it record o detect any sound. Previously I was running windows XP and the hardware worked well, so it isn't a hardware issue. The model of the laptop is HP Compaq nx6320. Any guesses??

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
roberto (robertobertinprado) said :
#1

I'm running ubuntu version 7.04 (beta version)

Revision history for this message
Sam Cater (wraund-deactivatedaccount) said :
#2

are you sure that the 'capture' is at full setting in your sound settings.

System > Prefs > Sound

Revision history for this message
roberto (robertobertinprado) said :
#3

Well, when I open the address I get:

sound capture: ALSA- Advanced Linux Sound Architecture

When I hit the test button I get the test window, but no activity is detected (the test bar doesn't move). The only option left is Accept (OK).

PD: in the MIxer I have HDA (Intel ALSA Mixer) with all the options in (bold)

Revision history for this message
dbm (ballester-david) said :
#4

Roberto

Please, execute

lspci | grep -i audio

to be able to know more exactly your sound card device model. With this info we will be able to get better answers :)

Sounds like you must inform some strict parameter on alsa to be able to use the microphone

Example:

My machine is a Dell Inspiron 630m with

Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)

and I was unable to use the mic. After research, adding

options snd-hda-intel model=ref in /etc/modprobe.d/alsa-base solved the problem

Knowing about your hardware will help ;)

Revision history for this message
roberto (robertobertinprado) said :
#5

The output of: lspci | grep -i audio

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)

Tried with the instruction you gave me and didn't get it to work.

I've got this:

alsa-base: script-in-etc-init.d-not-registered-via-update-rc.d
alsa-base: syntax-error-in-debian-changelog

in the alsa-base file located in the /usr/share/lintian/overrides

any clue??

Revision history for this message
roberto (robertobertinprado) said :
#6

This is the output of the /etc/modprobe.d/alsa-base file:

# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-ioctl32 ; : ; }
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --Qb snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-seq-midi ; /sbin/modprobe --quiet snd-seq-oss ; : ; }

# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe -Qb saa7134-alsa ; : ; }

# Load snd-seq for devices that don't have hardware midi;
# Ubuntu #26283, #43682, #56005; works around Ubuntu #34831 for
# non-Creative Labs PCI hardware
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-seq ; }
# Prevent abnormal drivers from grabbing index 0
options snd-bt87x index=-2
options cx88-alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
options snd-hda-intel model=ref

Revision history for this message
dbm (ballester-david) said :
#7

Try to add this line at the end of the file /etc/modprobe.d/alsa-base

options snd-hda-intel position_fix=1 model=3stack ( you can try this line without the position_fix=1, test both configs )

Reboot and try to use the mic

Sources:
http://www.esdebian.org/forum/viewtopic.php?showtopic=86527&fromblock=yes
https://help.ubuntu.com/community/HdaIntelSoundHowto

Regards

dballester
http://dballester.blogspot.com

Revision history for this message
dbm (ballester-david) said :
#8

May be try this one

options snd-hda-intel model=ref position_fix=0

fits exactly with your model card / problem

Revision history for this message
daz (dazajp) said :
#9

Hi, well I'm new in this, but I have the same error as Roberto, but when I try to save the alsa-base file it doesn't allow me. What should I do?

Revision history for this message
daz (dazajp) said :
#10

Hello again, ok I edit it

Revision history for this message
daz (dazajp) said :
#11

The microphone is working with Skype but itś not workin with the Sound Recorder, is there something else I could do? Thank you

Revision history for this message
roberto (robertobertinprado) said :
#12

Well, I have the same problem...
Mic works with skype, but it doesn't work with other applications...

I did the upgrade from alsa to the last version... (1.0.14rc3 which is in beta) and then choose OSS instead of alsa in every option of the preferences -> sound menu.
The suggestion from David Ballester of adding:

options snd-hda-intel model=ref position_fix=0

was made also...

The sound works perfect, but the mic keeps having this strange behavior.

Revision history for this message
Ressor (mrdetweiler) said :
#13

I have tried for more time than I care to admit to get my external mic to work under Ubuntu and I have failed. This seems like such an easy fix that there must be somwone who can help.

Here is some of my system information (Toshiba Tecra 8200)

root@system-h:~# lspci|grep -i audio
02:07.0 Multimedia audio controller: Yamaha Corporation YMF-754 [DS-1E Audio Controller]
root@system-h:~# cat /etc/modprobe.d/alsa-base
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-ioctl32 ; : ; }
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --Qb snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-seq-midi ; /sbin/modprobe --quiet snd-seq-oss ; : ; }

# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe -Qb saa7134-alsa ; : ; }

# Load snd-seq for devices that don't have hardware midi;
# Ubuntu #26283, #43682, #56005; works around Ubuntu #34831 for
# non-Creative Labs PCI hardware
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-seq ; }
# Prevent abnormal drivers from grabbing index 0
options snd-bt87x index=-2
options cx88-alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
#options snd-cmipci mpu_port=0x330 fm_port=0x388
#options snd-ymfpci index=0 mpu_port=0x330
options snd-ymfpci index=0 mpu_port=0x330
#options snd-ymfpci model=ref
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-ymfpci
# module options should go here

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
root@system-h:~#

Pleas please help!

Revision history for this message
[euchrid] (euchrid) said :
#14

I had to update my Alsa drivers; something was wrong in Feisty - either with the Alsa drivers or the way Feisty handled them. I put instructions here: http://ubuntuforums.org/showthread.php?p=2798055#post2798055

Hope that's some use to you.

Revision history for this message
asuu (altansukh-a) said :
#15

Hi all . i need a help plz! my on laptop working ubuntu 8.10 i have some problem mic external working and internal don't working((

Here is some of my system information (HP pavilion dv6815er )
asuu@ubuntu:~$ lspci | grep -i audio
00:07.0 Audio device: nVidia Corporation MCP67 High Definition Audio (rev a1)
asuu@ubuntu:~$ cat /etc/modprobe.d/alsa-base
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; : ; }
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe -Qb snd-seq ; }
install snd-pcm /sbin/modprobe --ignore-install snd-pcm && { /sbin/modprobe --quiet snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer && { /sbin/modprobe --quiet snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq && { /sbin/modprobe --quiet snd-seq-midi ; /sbin/modprobe --quiet snd-seq-oss ; : ; }
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe -Qb saa7134-alsa ; : ; }

# Load snd-seq for devices that don't have hardware midi;
# Ubuntu #26283, #43682, #56005; works around Ubuntu #34831 for
# non-Creative Labs PCI hardware
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe -Qb snd-seq ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-usx2y index=-2
options snd-usb-caiaq index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from beeing loaded as first soundcard
options snd-pcsp index=-2
asuu@ubuntu:~$

Revision history for this message
Yige (yigeyinfu-deactivatedaccount) said :
#16

Open up the Synaptic Package Manager and install ubuntustudio-audio and ubuntustudio-audio plaugins.

Next, open up QAMix, go to Capture TAB and set it to MIC.

Revision history for this message
Ressor (mrdetweiler) said :
#17

Didn't work for me... A little more detail might help though. How do you recommend testing the recording of the mic? I was using command line "arecord".
I should also mention that I am trying this on a laptop mic input. I have tried this on many different makes and models with no success.

Can you help with this problem?

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

To post a message you must log in.