Re: [GnomeMeeting-list] Quickcam 4000 pro + i810 7012 + ALSA problem



Damien Sandras wrote:

Le mer 11/08/2004 à 18:52, Zoilo Gomez a écrit :
I recently purchased 2 Quickcam 4000 Pro's with built-in microphone (USB), and would like to use the built-in microphones.

I am using kernel 2.4.21 with gnomemeeting-1.0.2. Testing on 2 different PC's, one with built-in Via82xx audio chip, and another one with built-in i810 7012 audio chip. My sound-card is on sound-channel-0, the USB-mic is on sound-channel-1.

Video is working fine, but the MIC gives me a headache.

My first attempt was to use standard OSS. Things almost work, but there seems to be a sample rate difference problem, resulting in 'chipmonk' sound. However, I can use the Wizard + Audio test, although it results in distorted chipmonk sound.


Yes, the i810 chipset is only able to record at a sample rate different
from the one needed by gnomemeeting, you absolutely need native ALSA
(not OSS emulation or pure OSS).


Having consulted the mailing lists, I decided to try ALSA instead (alsa-1.0.5a), as ALSA seems to be able to adjust the sample rate. However, now I cannot pass beyond the Audio test in the wizard anymore: 'Failed to open the device / Impossible to open the selected audio device (/dev/dsp1) for recording'. If I ignore this error and make a call, the error is: 'Could not open audio channel from the soundcard for audio transmission'.


Install the gnomemeeting ALSA plugin and use it. Don't use OSS emulation
with ALSA installed, then report back if it works better :)

It does, at least on the machien with the i810 chipset!! Now I can use the MIC in the wizard test and hear myself 4 seconds later!

But on the other machine with the via82xx chipset however, situation is as follows: => wizard now offers ALSA/OSS/Quicknet to choose from (i.o. just OSS/Quicknet); I pick ALSA
=> audio chipset via8233a shows up, as well as USB device 0x46d:0x8b2
=> I am allowed to pick via8233a for output and USB-device for input

But when I click on (wizard) 'Test settings' , the application freezes for a few seconds, then the box with the recording level pops up, immediately overruled by 'Cannot use the audio device' ... succesfully opened.... impossible to read data.

Also manual recording using 'rec' or 'arecord' on /dev/dsp1 fails; it seems that the app freezes for some time, then comes back without an error, but with only very little recorded data. These recorded data make no sense (tick tick tick tick etc).

I thought it had something to do with my USB-drivers in general, but when I skip the audio configuration and go straight for the video that works. hence my USB-drivers seems to me OK.

Permissions for /dev/dsp* and /dev/mixer* are OK (double-checked).

/etc/modules.conf contains:
======================

alias eth0 8139too
alias char-major-116 snd
alias char-major-14 soundcore

options sound-slot-0 index=0
options sound-slot-1 index=1

alias snd-card-0 snd-via82xx
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

alias snd-card-1 snd-usb-audio
alias sound-slot-1 snd-card-1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss

alias char-major-81 videodev
above videodev pwc
alias char-major-81-0 pwc
================================

Any suggestions how to proceed?

Z.

All permissions are OK.

I can record from /dev/dsp1 using 'rec', and I can playback on /dev/dsp using 'play'.

Here is my /etc/modules.conf:
===========================
alias char-major-10-200 tun
alias eth0 sis900
alias eth1 8139too
alias char-major-116 snd
alias char-major-14 soundcore

options sound-slot-0 index=0
options sound-slot-1 index=1

alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

alias snd-card-1 snd-usb-audio
alias sound-slot-1 snd-card-1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss

alias char-major-81 videodev
above videodev pwc
alias char-major-81-0 pwc
=============================

What can possibly be wrong?

Z.

_______________________________________________
GnomeMeeting-list mailing list
GnomeMeeting-list gnome org
http://mail.gnome.org/mailman/listinfo/gnomemeeting-list




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