Jump to content

Sound recording [solved]


cedbor
 Share

Recommended Posts

I use mandrive LE2005 and encounter a problem with sound recording.

My hardware is a VIA k8m800 with VIA8237 and AC97 onboard chip and a webcam USB Labtec Webcam pro with integrated microphone.

 

So, when i try to record a sound or use gnomemeeting with the webcam microphone, everything goes well, but the sound quality is bad due to cheap hardware. So i decided to buy a real microphone plugged to the sound card.

 

But when i try to record with it, the app just hangs waiting. With krecord the time counter doesn't start at all, and so no data is recorded, as with arecord. With gnomemeeting, the hardware wizard hangs and i have to kill it.

 

I hear my voice played back to the speaker and can tune it with kmix, i have tried all that can be tried in alsamixer, tried voodoo with draksound and alsaconf, i even tried OSS without ALSA from draksound : nothing can be recorded.

Suspecting IRQ conflict, i stopped USB and restarted ALSA with VIA837 alone on IRQ 5 : nothing.

 

Everything works well out of the box with XP SP2 and SUSE 9.3 Live DVD, so my harware seems to work fine.

If someone has an idea...

Link to comment
Share on other sites

I have a mobo that uses that chip (asus a8v deluxe) and it works fine. However you can only use the mic port on the back of the pc (the mic select switch doesn't work for me). Open kmix, click the input tab, make sure the mic is 'on'. Then go to the switch tab, make sure line-in as surround and mic as center are 'off' and input source select is set to 'input 1'.

Link to comment
Share on other sites

Still the same problem : i hear my voice in the speaker, but no recording.

 

ls -l /dev/ds* gives :

crw-rw---- 1 cedric audio 14, 3 jui 25 19:28 /dev/dsp

crw-rw---- 1 cedric audio 14, 19 jui 25 22:30 /dev/dsp1

 

If i start krecord -d /dev/dsp1 (webcam microphone), i get .wav file full of data.

If i start krecord -d /dev/dsp (soundcard) the timer in krecord hangs at '0:00 / 0 kB'.

 

It seems that i can't read from /dev/sound/something, but can't figure why.

Link to comment
Share on other sites

Im not very familiar with krecord so I can't see a problem... 0 kb output file.... Do you have audacity installed? Configuration is straightforward... Now if you press record, does the red progress line stay at the beginning? That has almost certainly to do with with the input source select. Perhaps because you have 2 mics it works differently than by me. Make the top input 1 and the bottom input 2. Or just play round. :)

Link to comment
Share on other sites

I've tried everything in the mixer side of the problem : always the same result.

 

krecord hangs.

 

cat /dev/dsp says : cat: /dev/dsp: Input/output error.

 

audacity on the command line indicates :

PaHost_OpenStream: could not open /dev/dsp for O_RDWR

PaHost_OpenStream: ERROR - result = -10000

PaHost_OpenStream: could not open /dev/dsp for O_RDONLY

PaHost_OpenStream: ERROR - result = -10000

PortAudio: read interrupted!

PortAudio: read interrupted!

 

And of course the sound is perfect with xmms,mp3...and i can hear my voice played back from the microphone to the speaker when i select mic as Mic as input source in kmix or alsamixer.

I'll submit that to an ALSA list, maybe

Link to comment
Share on other sites

With these errors google suggests a hardware problem (powerbooks have no mic in :) ) or a permission problem. It's no permission problem so that leaves a hardware problem. It's not the chip. That should work so perhaps it's something wrong with the mobo? Or perhaps with the mic itself?

Link to comment
Share on other sites

But i've no poblem at all with SUSE LiveDVD and Win XP SP2!!!!!

 

Thats what drives me crazy : each time i see a solution, everyhing just seems to be fine.

Permissions, mixer are ok, IRQ don't seem to be an issue.

I think there could be something unusual in the way mandriva deals with this driver, but can't find what.

Link to comment
Share on other sites

  • 4 weeks later...

A i was fed up with poor via usb performance, i bought a nec based usb pci card and disabled via_usb in bios...and surprise : sound recording works fine!!!

Still can't understand why mandriva is the only distro that encounters this "feature" with my hardware.

But still the best distro for me.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...