LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 07-28-2005, 10:10 PM   #1
AllenL
LQ Newbie
 
Registered: Jul 2005
Location: East Lyme, Connecticut, USA
Distribution: Ubuntu
Posts: 2

Rep: Reputation: 0
Microphone working, but nothing can capture sound


Hello, I recently switched from windows to linux, so bear with me if I sound like a big newb sometimes

As the topic says, I've been trying to get sound recording/capture to work on Ubuntu 5.04 Hoary Hedghog. (Kernel 2.6.10-5-386)

The microphone is plugged in and working, I can unmute it in my volume controls and hear myself blowing/talking into it. This is good and all, but I'd rather like to do something more with it. I've tried several recording applications...KRec, TeamSpeak, Sound Recorder, and Recording Level Monitor. None of these can get anything from the microphone. The Recording Level Monitor just sits there and takes up all available CPU cycles, sometimes displaying the volume-bars but never showing a volume level. The same thing with KRec, and no sound is recorded. (It just records nothing)

I've tried messing around with the Multimedia Systems Selector default source, with interesting results. When I choose ALSA, it comes up with the error 'Failed to construct test pipeline for 'ALSA - Advanced Linux Sound Architecture'. The same thing happens when I choose OSS. When I choose ESD (Enlightenment Sound Daemon), it comes up with a little test bar, but does nothing that I can tell. (I guess it's supposed to play back the microphone input? It doesn't, at any rate)

I've also tried many combinations of things in alsamixer, unmuting things, setting things to capture, choosing between Mic and Mic1, muting/unmuting microphones, changing microphone volumes, etc, etc. All with the same result, nothing can capture sound.

Sound output works fine (After I figured out that my USB web cam was confusing it), I can play music, watch music, hear my buddies sign on/off on GAIM, etc, etc.

Output of amixer (In case I'm an idiot and it's a volume control):
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 63
Front Left: Playback 48 [76%] [on]
Front Right: Playback 48 [76%] [on]
Simple mixer control 'Master Mono',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 31 [100%] [on]
Simple mixer control 'Master',1
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 63
Front Left: Playback 42 [67%] [on]
Front Right: Playback 42 [67%] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 31 [100%] [on]
Front Right: Playback 31 [100%] [on]
Simple mixer control '3D Control - Center',0
Capabilities: volume volume-joined
Playback channels: Mono
Limits: 0 - 15
Mono: 15 [100%]
Simple mixer control '3D Control - Center',1
Capabilities: volume volume-joined
Playback channels: Mono
Limits: 0 - 15
Mono: 0 [0%]
Simple mixer control '3D Control - Depth',0
Capabilities: volume volume-joined
Playback channels: Mono
Limits: 0 - 15
Mono: 15 [100%]
Simple mixer control '3D Control - Depth',1
Capabilities: volume volume-joined
Playback channels: Mono
Limits: 0 - 15
Mono: 0 [0%]
Simple mixer control '3D Control - Switch',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control '3D Control - Switch',1
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 17 [55%] [on]
Front Right: Playback 18 [58%] [on]
Simple mixer control 'PCM Out Path & Mute',1
Capabilities:
Mono:
Simple mixer control 'PCM',1
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 28 [90%] [on]
Front Right: Playback 28 [90%] [on]
Simple mixer control 'Surround',1
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 63
Front Left: Playback 0 [0%] [off]
Front Right: Playback 0 [0%] [off]
Simple mixer control 'Center',1
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 63
Mono: Playback 63 [100%] [on]
Simple mixer control 'LFE',1
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 63
Mono: Playback 63 [100%] [on]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined 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%] [on] Capture [off]
Front Right: Playback 31 [100%] [on] Capture [off]
Simple mixer control 'Line',1
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined 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%] [on] Capture [off]
Front Right: Playback 31 [100%] [on] Capture [off]
Simple mixer control 'CD',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined 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%] [on] Capture [off]
Front Right: Playback 31 [100%] [on] Capture [off]
Simple mixer control 'CD',1
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined 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%] [off] Capture [off]
Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Mic',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Mono
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono: Playback 13 [42%] [on]
Front Left: Capture [on]
Front Right: Capture [on]
Simple mixer control 'Mic Boost (+20dB)',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Mic Boost (+20dB)',1
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Mic Select',0
Capabilities:
Mono:
Simple mixer control 'Mic',1
Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Mono
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono: Playback 22 [71%] [on]
Front Left: Capture [on]
Front Right: Capture [on]
Simple mixer control 'Video',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined 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%] [on] Capture [off]
Front Right: Playback 31 [100%] [on] Capture [off]
Simple mixer control 'Video',1
Capabilities: cswitch cswitch-joined 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-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Mono
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono: Playback 31 [100%] [on]
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Phone',1
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958 Input',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958 Output',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'PC Speaker',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 15
Mono: Playback 15 [100%] [on]
Simple mixer control 'Aux',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined 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%] [on] Capture [off]
Front Right: Playback 31 [100%] [on] Capture [off]
Simple mixer control 'Aux',1
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined 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%] [on] Capture [off]
Front Right: Playback 31 [100%] [on] Capture [off]
Simple mixer control 'Mono Output Select',0
Capabilities:
Mono:
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 15 [100%] [on]
Front Right: Capture 15 [100%] [on]
Simple mixer control 'Capture',1
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 15 [100%] [on]
Front Right: Capture 15 [100%] [on]
Simple mixer control 'Mix',0
Capabilities: cswitch cswitch-joined 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-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Mix',1
Capabilities: cswitch cswitch-joined 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',1
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'ADC',0
Capabilities: volume cswitch cswitch-joined
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 32767
Front Left: 32767 [100%] Capture [off]
Front Right: 32767 [100%] Capture [off]
Simple mixer control 'DAC',0
Capabilities: volume cswitch cswitch-joined
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 32767
Front Left: 29490 [90%] Capture [off]
Front Right: 29490 [90%] Capture [off]
Simple mixer control 'External Amplifier',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]

Output of lspci:
0000:00:00.0 Host bridge: Intel Corp. 82850 850 (Tehama) Chipset Host Bridge (MC H) (rev 04)
0000:00:01.0 PCI bridge: Intel Corp. 82850 850 (Tehama) Chipset AGP Bridge (rev 04)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 04)
0000:00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 04)
0000:00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 04)
0000:00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 04)
0000:00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 04)
0000:00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 04)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 420 ] (rev a3)
0000:02:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C /8139C+ (rev 10)
0000:02:08.0 Ethernet controller: National Semiconductor Corporation DP83815 (Ma cPhyter) Ethernet Controller
0000:02:09.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalCle ar SoundFusion Audio Accelerator] (rev 01)
0000:02:0a.0 USB Controller: NEC Corporation USB (rev 41)
0000:02:0a.1 USB Controller: NEC Corporation USB (rev 41)
0000:02:0a.2 USB Controller: NEC Corporation USB 2.0 (rev 02)

I've done everything that I can think to do, and looked everywhere I can think to look...I hate asking for help, but oh well...
 
Old 07-28-2005, 11:30 PM   #2
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Everything looks good except ADC and DAC. Make sure ADC is set to capture or else the sound card will never capture from analog inputs. I recommend you set DAC to 100% of volume, but do not set it to capture or else any sound (wav, mp3, wma, avi, mpeg, and many others) that you play will also get recorded. If you set DAC to lower than 100%, one of the recorded channels will have a 6 dB level drop in loudness. Only adjust the capture mixer to set the desire level after you think the setting for the mic is at a decent level. Set Capture,1 volume to 0% so there is audio mixing during recording.

I suggest using Audacity. It is lightweight, fast, extremely reliable on long or short recordings, and easy to use.

That card has hardware mixing so you do not need ESD or ARTS.

BTW, I do not think that you need IEC958 enabled.
 
Old 07-29-2005, 10:58 AM   #3
AllenL
LQ Newbie
 
Registered: Jul 2005
Location: East Lyme, Connecticut, USA
Distribution: Ubuntu
Posts: 2

Original Poster
Rep: Reputation: 0
Wooo! Thank you!

I was about to say it didn't work again, but I tried changing the IRQ in my BIOS settings. It was set to 3, along with my video card. I changed it to 9, an unused IRQ...and it works! (Before that, even with the updated volume settings as you suggested, Audacity told me 'Error while opening sound device. Please check the input device settings and the project sample rate')

Thank you again! With that and the changed IRQ, everything works
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Microphone working ok, but not capture? atom Linux - Newbie 7 10-03-2005 12:13 AM
Can hear microphone thru speakers, but won't capture MG-Cloud Linux - Newbie 2 05-30-2005 10:31 PM
No microphone capture, but playback OK paulofelora Linux - Software 3 12-07-2004 08:20 PM
Poor sound from microphone with Asrock onboard sound Melon Mandriva 0 11-13-2004 04:19 AM
Microphone not working with A7V8X-X mobo w/ onboard sound n4zmz Linux - Hardware 0 04-23-2004 12:12 PM


All times are GMT -5. The time now is 10:15 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration