![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
Multimedia & Video Have multimedia question? ATI, Nvidia, Sound cards. Just ask here. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
100% Pure Ubuntu
![]() Join Date: Dec 2005
Beans: 755
Ubuntu 6.06
|
Microphone not working
I've Hercules Fortissimo II record sound from my MIC. Microphone works as when I choose microphone as the recording source from alsamixer I can hear sound thru the loudspeakers. Problem is that I can't record this sound. Gnome-sound-recorder just hangs on recording or produces a file of 4 bytes. Arecord also hangs and produces the same kind of 4b file even when going to INIT 1. Needless to say nor SKYPE or WENGO works.
So then I installed the SOX package and tried to record with 'REC' which comes with the package and with it it works. It clearly records everything I say into the MIC. So afterwards I compiled latest ALSA-utils-libs-drivers 1.0.12, thinking there must be a problem with ALSA since it works with SOX but it still doesnt work. In alsamixer I've set the following 3 channels to "capture": MIC, CAPTURE, and ADC and of course I had to unmute and set levels. As per this guide: http://alsa.opensrc.org/index.php?page=cs46xx lspci -v: Code:
0000:01:0a.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator] (rev 01)
Subsystem: Hercules: Unknown device a010
Flags: bus master, slow devsel, latency 32, IRQ 201
Memory at e6100000 (32-bit, non-prefetchable) [size=4K]
Memory at e6000000 (32-bit, non-prefetchable) [size=1M]
Capabilities: [40] Power Management version 2
http://ubuntuguide.org/wiki/Dapper#H...perly_in_GNOME but after it just gives me this error when lunching arecord: Code:
ALSA lib pcm_dmix.c:762:(snd_pcm_dmix_open) The dmix plugin supports only playback stream arecord: main:544: audio open error: Invalid argument https://launchpad.net/distros/ubuntu...ils/+bug/58364 and here: http://sourceforge.net/mailarchive/f...&forum_id=1751
__________________
Notebook Compaq Evo N610c Pentium 4 1,8 * 512MB RAM * 80GB HDD * Radeon 7500 32MB dedicated vRAM. http://folding.extremeoverclocking.c...shrack&t=37766 Last edited by ashrack; September 2nd, 2006 at 05:10 AM.. Reason: During the past days I found some new interesting information about my problem, and thus my previous message was obsolete. |
|
|
|
|
|
#2 | |
|
100% Pure Ubuntu
![]() Join Date: Dec 2005
Beans: 755
Ubuntu 6.06
|
Re: Microphone not working
continuoing disscussion from http://www.ubuntuforums.org/showthread.php?t=195219
Quote:
__________________
Notebook Compaq Evo N610c Pentium 4 1,8 * 512MB RAM * 80GB HDD * Radeon 7500 32MB dedicated vRAM. http://folding.extremeoverclocking.c...shrack&t=37766 Last edited by ashrack; June 30th, 2006 at 03:33 AM.. |
|
|
|
|
|
|
#3 |
|
Just Give Me the Beans!
![]() Join Date: Dec 2005
Location: Beijing, PRC
Beans: 49
Ubuntu Intrepid Ibex (testing)
|
Re: Microphone not working
Just downloaded the new skype.
Echo test sounds great, but I cannot seem to get it to pick up my voice. I am using a IBM Thinkpad T22 with a built in original sound card setup. The mic picks up, I can hear it through the speakers when I speak into it, but I do not think it is capturing the sound. I have enabled everything in Volume Control. I have tried both ALSA and OSS. Same problem with both. It would be great if I could solve this problem. We are a small company with a number of people using IBM Thinkpad T22. I have been trying to move our company over to Ubuntu. I have managed to convince one person, but his willingness is fading quickly as skype is needed for some of our international business. I have encounter the same problem when I run skype thru wine. Although if I boot into window$ everything works like a charm. Thanks in advance for any help any of you may be able to give! |
|
|
|
|
|
#4 |
|
Just Give Me the Beans!
![]() Join Date: Dec 2005
Location: Beijing, PRC
Beans: 49
Ubuntu Intrepid Ibex (testing)
|
Re: Microphone not working
Oh...and I used the same audio set up you posted in the graphic....very interesting when I do the echo test the capture volume automatically drops itself all the way to the bottom...by itself! Why? Could it be part of the problem?
|
|
|
|
|
|
#5 |
|
A Carafe of Ubuntu
![]() Join Date: Jan 2005
Beans: 113
|
Re: Microphone not working
Ok, Here's a test procedure:
1. disable skype, 2. reboot and ensure that you've not started any programs using sound, 3. open a shell, 4. try the alsa recorder "arecord" and record from the mic a test file: Type the following, then speak into the mic for 2-3 seconds at most, and hit Ctrl-C Code:
$ arecord test.wav Code:
$ ls -al test.wav ... file size and permission info ... $ file toto.wav ...file type info... Code:
$ aplay test.wav are you plugging the mic directly into the sound card on the back of the PC, or on the "convenient" front plug? If you have both, try both before panicking Now, if you're still not there, read the man page for alsamixer and use it to set the capture device to the mic and the mic boost on, this is not a graphic tool like you showed in one of the previous messages. It runs from the shell and requires keystroke entry. Code:
$ alsamixer -Va This should make it work. Remember DO NOT START SKYPE during the tests and config, once you get arecord and aplay to work properly, then skype should work too (set it to use /dev/dsp as BOTH sound devices). Let me know if you make progress! Cheers, GF |
|
|
|
|
|
#6 |
|
100% Pure Ubuntu
![]() Join Date: Dec 2005
Beans: 755
Ubuntu 6.06
|
Re: Microphone not working
No progress here.
The test file is always the same no matter what I set in ALSAMIXER: Code:
-rw-r--r-- 1 tom users 1489 2006-07-03 17:46 test.wav ps. When speaking to the MIC I can hear myself in the loud speakers. So the MIC apperantly is working.
__________________
Notebook Compaq Evo N610c Pentium 4 1,8 * 512MB RAM * 80GB HDD * Radeon 7500 32MB dedicated vRAM. http://folding.extremeoverclocking.c...shrack&t=37766 |
|
|
|
|
|
#7 |
|
A Carafe of Ubuntu
![]() Join Date: Jan 2005
Beans: 113
|
Re: Microphone not working
ok, we're making progress!
Did you manage to "arecord" the test.wav file? it looks to me from your "ls -al" output that the file is too small to contain genuine audio. Did you manage to play the test.wav file with "aplay"? If so, did it sound ok? loud enough of just barely audible? When you say the mic is working, you mean what exactly? Can you get sound from the mic into a file on disk? or only hear it on the speakers? If you can only hear it through the speakers, then its your "capture" settings which are incorrect. To help debug, please send screen shots of the "alsamixer -Va" output, all the controls, please. Don't give up! We'll get it working, I'm sure of it! GF. |
|
|
|
|
|
#8 | ||||
|
100% Pure Ubuntu
![]() Join Date: Dec 2005
Beans: 755
Ubuntu 6.06
|
Re: Microphone not working
[QUOTE=gratefulfrog]ok, we're making progress!
Quote:
Code:
Did you manage to play the test.wav file with "aplay"? Quote:
Quote:
Quote:
__________________
Notebook Compaq Evo N610c Pentium 4 1,8 * 512MB RAM * 80GB HDD * Radeon 7500 32MB dedicated vRAM. http://folding.extremeoverclocking.c...shrack&t=37766 |
||||
|
|
|
|
|
#9 |
|
First Cup of Ubuntu
![]() Join Date: Nov 2004
Beans: 12
|
Re: Microphone not working
Hi guys, you know, life is strange in a kind of way, and you know what? Just when a guys I'm working for bought some pc's to build a cybercafe using ubuntu (with cheap international call using skype), guess what happens? They all use the Cirrus Logic CS that doesn't record the microphone.... My guess (from searching the net) is that it is something related to duplex. If anyone has this working, please tell me, the inauguration is close and I'm really frustrated!!!!
P.S. - I've been changing the sound values thru the gnome builtin mixer (showing all the channels, via the Edit->Preferences it has). Dan |
|
|
|
|
|
#10 |
|
A Carafe of Ubuntu
![]() Join Date: Jan 2005
Beans: 113
|
Re: Microphone not working
Ashrack:
I'm about to run out, but here's a few of things to try Follow the instructions here: http://ubuntuguide.org/wiki/Dapper#H...perly_in_GNOME then try the arecord/aplay sequence again, but only for 2 seconds of talking into the mic at most! try "file test.wav" to be sure that you really get a wav audio file If that still doesn't work try with the alsamixer - increase the VU on the Capture control: then test again - unmute the mic control (use the "m" key), then test again. Another angle is to be sure that all the alsa packages are installed (check on synaptic) but this is not likely to be your pb. Yet another way of testing is to use the device files. To Record: Code:
$ cp /dev/dsp test.wav Code:
$ ls -al xxx.wav -rw-r----- 1 xxx xxx 20480 2006-07-04 19:50 test.wav Code:
$ cat test.wav > /dev/dsp I'll be away from Internet for the next 2 months and am sorry to abandon you without a solution. Please continue to post, whatever happens. You're not far from a working setup, belive me. Ciao, GF. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|