You are not logged in.

#1 2014-01-25 19:08:41

rud25
Member
Registered: 2013-10-13
Posts: 9

Microphone issue

Dear members of this forum

Since I'm not sure where to post this question and mainly because I'm really a noob about this issue I thought about posting my problem here. I recently installed a fresh ArchLinux in my laptop but since then I couldn't put my microphone to work.

I followed all the suggestions of the ALSA page in ArchWiki but it didn't work. Basically I put all the volume levels up in alsamixer, particularly the Capture levels, which in my case are MicBoost, Capture, Digital and Internal Mic Boost channels. I use "arecord -d 5 somefile.wav" and than play it with aplay but with no effect.

I need some help to further troubleshoot.
Thank you for your attention in advance

Last edited by rud25 (2014-01-25 19:09:32)

Offline

#2 2014-01-25 20:00:43

GloW_on_dub
Member
Registered: 2013-03-13
Posts: 391
Website

Re: Microphone issue

Make sure your mic is unmuted in alsamixer , using the "M" key.
More info here:
https://wiki.archlinux.org/index.php/Ad … hone_input

Offline

#3 2014-01-25 20:09:25

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: Microphone issue

Also, you did not mention it, but are you using Pulseaudio?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2014-01-26 17:05:06

rud25
Member
Registered: 2013-10-13
Posts: 9

Re: Microphone issue

ewaller wrote:

Also, you did not mention it, but are you using Pulseaudio?

I'm not using PulseAudio. I did not install any pulseaudio package and I also checked with pacman if any of it was installed in my system.

GloW_on_dub wrote:

Make sure your mic is unmuted in alsamixer , using the "M" key.
More info here:
https://wiki.archlinux.org/index.php/Ad … hone_input

I did unmute every channel. Curiously the mic related channels do not have the unmute option, only the volume levels are available for managing.

Here is the result of amixer output

$ amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 61 [95%] [-3.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 60 [94%] [-4.00dB] [on]
  Front Right: Playback 60 [94%] [-4.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 253 [99%] [-0.40dB]
  Front Right: Playback 253 [99%] [-0.40dB]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 2
  Front Left: 2 [100%] [40.00dB]
  Front Right: 2 [100%] [40.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Beep',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 12
  Mono:
  Front Left: Playback 9 [75%] [-6.00dB] [on]
  Front Right: Playback 9 [75%] [-6.00dB] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 31 [100%] [30.00dB] [on]
  Front Right: Capture 31 [100%] [30.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 120 [100%] [30.00dB]
  Front Right: Capture 120 [100%] [30.00dB]
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 2
  Front Left: 2 [100%] [40.00dB]
  Front Right: 2 [100%] [40.00dB]

Offline

#5 2014-01-29 11:16:50

Iewicz
Member
Registered: 2014-01-29
Posts: 2

Re: Microphone issue

I had a similar problem and i ran this to fix it:

amixer set Capture '100%' on

Last edited by Iewicz (2014-01-29 11:17:22)

Offline

#6 2014-01-29 12:27:36

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,551

Re: Microphone issue

It depends on your audio hardware, some hardware introduces noise/static and doesn't have good recording qualities (seems to be firmware/codec related).  I found that *BSDs cancel whatever noise and make clear recordings.  Others, is just the audio hardware.  Some try to record at low levels, which makes it hard to hear when playing back.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#7 2014-01-29 14:15:45

smeagol
Member
Registered: 2014-01-29
Posts: 3

Re: Microphone issue

Is it a logitech USB device.

Offline

#8 2014-01-29 14:21:40

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,551

Re: Microphone issue

smeagol wrote:

Is it a logitech USB device.

Most likely it is onboard audio. 

rud25 wrote:

I use "arecord -d 5 somefile.wav" and than play it with aplay but with no effect.

I've used rec from sox and if your audio hardware is acting properly with a stereo microphone, you should see the meter bump on both sides while you are recording.  If it is only recording on one side or the other, it's your audio hardware not having a good support in Linux.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#9 2014-02-01 19:46:40

rud25
Member
Registered: 2013-10-13
Posts: 9

Re: Microphone issue

The microphone is indeed built in my laptop.
The thing is that on a previous arch instalment, the micro did work just fine, but now, even though I raised all the channels in alsamixer, I still cannot get any sound recorded from the micro. Maybe some update that I'm not aware of may be related to this and I was hoping someone would be facing the same issues.

nomorewindows wrote:

I've used rec from sox and if your audio hardware is acting properly with a stereo microphone, you should see the meter bump on both sides while you are recording.  If it is only recording on one side or the other, it's your audio hardware not having a good support in Linux.

I will try sox as you suggested and will post here any updates about this issue. Thanks

Offline

#10 2014-03-15 20:02:34

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,551

Re: Microphone issue

I just happened to be having some audio application switch me over to pulseaudio (that I happened to have installed), and discovered I can now record with pulseaudio.  After discovering that something was using pulseaudio I decided to install the rest of the stuff (pavucontrol and paprefs) and was able to set a recording level with crystal clear only seen with *BSD.  I've had various scenarios with pulseaudio in the past, and have used oss only to switch back to alsa.  Now it's all good.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#11 2014-03-16 14:22:57

rutgerr
Member
From: São Paulo, SP - Brasil
Registered: 2011-06-06
Posts: 72

Re: Microphone issue

I'm facing same problem in a vivobook totally out of ideas, i can use the microphone of a headset (microsoft LX 3000) but, the built-in never sad

Last edited by rutgerr (2014-03-16 14:27:13)

Offline

Board footer

Powered by FluxBB