Re: can't get mic to work on snd-intel8x0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



BTW,

Does anyone know why the outputs of "amixer scontents" and "amixer -c 0 scontents" are different?

[daniel@localhost ~]$ amixer -c 0 scontents
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 30 [97%] [-1.50dB] [on]
  Front Right: Playback 30 [97%] [-1.50dB] [on]
Simple mixer control 'Master Mono',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 23 [74%] [-12.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 23 [74%] [-12.00dB] [on]
  Front Right: Playback 23 [74%] [-12.00dB] [on]
Simple mixer control 'Headphone Jack Sense',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch
  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 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-46.50dB] [off]
  Front Right: Playback 0 [0%] [-46.50dB] [off]
Simple mixer control 'Surround Jack Mode',0
  Capabilities: enum
  Items: 'Shared' 'Independent'
  Item0: 'Shared'
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [0.00dB] [off]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 0 [0%] [-46.50dB] [off]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%] [12.00dB] [off] Capture [off]
  Front Right: Playback 31 [100%] [12.00dB] [off] Capture [off]
Simple mixer control 'Line Jack Sense',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 20 [65%] [-4.50dB] [off] Capture [off]
  Front Right: Playback 20 [65%] [-4.50dB] [off] Capture [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%] [12.00dB] [on] Capture [on]
  Front Right: Playback 31 [100%] [12.00dB] [on] Capture [on]
Simple mixer control 'Mic Boost (+20dB)',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Mic Select',0
  Capabilities: enum
  Items: 'Mic1' 'Mic2'
  Item0: 'Mic2'
Simple mixer control 'Video',0
  Capabilities: cswitch cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'Phone',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono: Playback 0 [0%] [-34.50dB] [off]
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'PC Speaker',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 15
  Mono: Playback 15 [100%] [0.00dB] [on]
Simple mixer control 'Aux',0
  Capabilities: pvolume pswitch cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [-34.50dB] [off] Capture [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off] Capture [off]
Simple mixer control 'Mono Output Select',0
  Capabilities: enum
  Items: 'Mix' 'Mic'
  Item0: 'Mix'
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 15 [100%] [22.50dB] [on]
  Front Right: Capture 15 [100%] [22.50dB] [on]
Simple mixer control 'Mix',0
  Capabilities: cswitch cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'Mix Mono',0
  Capabilities: cswitch cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'Channel Mode',0
  Capabilities: enum
  Items: '2ch' '4ch' '6ch'
  Item0: '2ch'
Simple mixer control 'Downmix',0
  Capabilities: enum
  Items: 'Off' '6 -> 4' '6 -> 2'
  Item0: 'Off'
Simple mixer control 'Exchange Center/LFE',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Exchange Front/Surround',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Exchange Mic/Line In',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'External Amplifier',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Spread Front to Surround and Center/LFE',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Stereo Mic',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'V_REFOUT',0
  Capabilities: enum
  Items: 'High-Z' '3.7 V' '2.25 V' '0 V'
  Item0: '0 V'



On 16/02/2008, Daniel Sanabria <sanabria.d@xxxxxxxxx> wrote:
Hey James,

Thanks a lot for your reply. I've checked the setting as suggested but the result is the same

[daniel@localhost ~]$ aumix -q
vol 81, 81, P
pcm 52, 52
speaker 100, 100
line 100, 100, P
mic 100, 100, R
cd 0, 0, P
pcm2 74, 74
igain 100, 100
line1 0, 0, P
phin 0, 0, P
phout 74, 74, P
video 100, 100, P

[daniel@localhost ~]$ amixer scontents
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65536
  Mono:
  Front Left: Playback 52852 [81%] [on]
  Front Right: Playback 52852 [81%] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 65536
  Front Left: Capture 65536 [100%] [on]
  Front Right: Capture 65536 [100%] [on]

When I do alsamixer -c 0 and while viewing all channels these are the values presented:

Item: Master [dB gain=-9.00, -9.00]
Item: Master Mono [dB gain=-12.00]
Item: Headphone [dB gain=-12.00, -12.00]
Item: Headphone Jack Sense [Off]
Item: PCM [dB gain=-10.50, -10.50]
Item: Surround [dB gain=-46.50, -46.50]
Item: Surround Jack Mode [Shared]
Item: Center [dB gain=0.00]
Item: LFE [dB gain=-46.50]
Item: Line [dB gain=12.00, 12.00]
Item: Line Jack Sense [Off]
Item: CD [dB gain=-4.50, -4.50]
Item: Mic [dB gain=12.00, 12.00]
Item: Mic Boost (+20dB)
Item: Mic Select [Mic2]
Item: Phone [dB gain=-34.50]
Item: PC Speaker [dB gain=0.00]
Item: Aux [dB gain=-34.50, -34.50]
Item: Mono Output Select [Mix]
Item: Capture [dB gain=22.50, 22.50]
Item: Channel Mode [2ch]
Item: Downmix [Off]
Item: Exchange Center/LFE [Off]
Item: Exchange Front/Surround [Off]
Item: Exchange Mic/Line In [Off]
Item: External Amplifier
Item: Spread Front to Surround and Center/LFE [Off]
Item: Stereo Mic
Item: V_REFOUT [0 V]

What else can I try? I'm I missing something obvious here?

Cheers,

Daniel




On 16/02/2008, James Shatto <Shadow_7@xxxxxxxxxxxxx> wrote:
> When I do "arecord -d 10 -f S16_LE -r 48000 -c 2
> -t wav foobar.wav" and I literally put one of the
> speaker at full volume in one of my ears I can
> hear a very vere low volume version of myself.

That's always a good sign.

> _REFOUT=High-Z

High-Z is high impedence(Mega Ohms).  Generally meant for guitars that plug directly in for recording.  Put that on a mic and if you don't have awesome gain, it's gonna make that signal very weak.  If you can change that setting, then do.  That is if you're not playing electric guitar as the input source.

$ aumix -q

That's what I normally use to show me my settings.  Mic + iGain need to have values other than 0.  At least that how it used to work for me.  Aumix doesn't seem to play well with multiple soundcards.  So I don't use it much anymore.

$ amixer scontents

A bit verbose, but it should give you some details.  Check out the Capture, Mic, and Mic Boost settings.

$ alsactl store (or restore)

To save or restore whatever settings you've adjusted.  My distro(debian) checks for these stored settings before it'll even think of restoring them from some other app like aumix.  Basically if /etc/asound.state exists, mixer settings are restored from there.

$ alsamixer -c 0

To adjust mixer settings the alsa way(F1 for hotkey list).  For some settings, it's the only way to access them.  At least that was the case for some headphone jacks on dell laptops.

HTH

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux