GNOME Bugzilla – Bug 620795
Audio/video settings don't work via Preferences, must use the Assistant
Last modified: 2013-04-17 11:11:12 UTC
On Ubuntu 10.04 LTS, Ekiga 3.2.6 (with Yannick's PPA opal : https://launchpad.net/~sevmek/+archive/ppa) Each time I restart Ekiga, my audio is not recognized any more (when I call someone), I get an error message indicating that my audio USB device is not recognized, but my video is ok. (or sometimes it is the contrary : my audio is ok , but not the video). If I go into the Preferences menu to set up again the right devices, it does not have any effect => same error message. If I go into the assistant and set up everything (login, password, audio, video), my devices become ok.
Does your device name use diacritic (non English) characters?
Thank you for your answer. How can I check this ? For information: - my PC and microphone are bought in Japan - my webcam is a Logitech, bought in France - I have a French system, with English and Japanese locales also installed.
Start ekiga like this: ekiga -d 4 2>out until the GUI appears, and quit it and send us the 'out' file. Also, what kernel do you use ('uname -a')?
Created attachment 163162 [details] output of ekiga -d 4 2>out (when devices not connected) $ uname -a Linux yyy-laptop 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 22:02:19 UTC 2010 i686 GNU/Linux I attach the output of ekiga -d 4 2>out (but my devices are not connected, I don't have them now). If my devices need to be connected, please tell me, I will do it later.
Created attachment 163788 [details] output of ekiga -d 4 2>out with elecom USB headphone and Logitech webcam
Created attachment 163789 [details] output of ekiga -d 4 2>out with Buffalo USB headphone and same webcam
*** Bug 620798 has been marked as a duplicate of this bug. ***
Created attachment 163794 [details] Parameters by default when starting with NO device connected ok, I did some additional tests with devices detection. First I started ekiga with ALL devices UNplugged. Here is what I get.
Created attachment 163796 [details] after plugging the webcam, and THEN i pressed the "Detect device" button Then I plug my webcam. It is recognized correctly, and you can see (on the left of the attached file) that a new "V4L2" entry appeared . THEN I click on the "Detect device" button -> the "V4L2" parameter is still selected, but when I look at the list, I can see a new "V4L" entry appeared ! I find it strange. Why the automatic detection and the "manual" detection give different results ? (my webcam is ok with "V4L2" so it is ok for me, but what if my webcam was V4L only ?)
Created attachment 163800 [details] 3 audio parameters to Silent (no USB) -> ok To finish with the WEBCAM, I selected the V4L entry in the list, then called the 500@ekiga.net -> the webcam is not working (I see the moving logo). The problem (for newbies) is that when I click on "Detect devices", Ekiga does not change the selection to V4L2, it leaves it at V4L, so the webcam still does not work ! (by the way I think this is why my webcam did not work in my original bug description). So please do not pay attention to it. The AUDIO problem is more complex : first of all, * my Buffalo headset (which is a traditional one + a USB adaptator) is recognized by Ekiga as "C-Media USB Headphone set" * my Elecom USB headset is recognized as "C-Media USB Audio Device". To start the test, I put the 3 audio parameters to Silent, unplugg everything, then restart Ekiga. Here is what I get. (just for information, until now I think there is no problem).
Created attachment 163818 [details] for comments below. Then I plug my USB headset. I get 2 pop-up windows (Detected new output device, and detected new input device), in which i click "Yes". See on the left-side of the attached file what I get : input and output devices are correctly selected, BUT "ringing device" remains on "Silent" (even if the correct "USB" entry is in the list). 1) I don't change anything (so I leave the "ringing device" on Silent), and then I try the 500@ekiga.net, I get 2 error windows : "Error while opening audio output device C-Media USB Headphone Set" and "Error while opening audio input device C-Media USB Headphone Set", and of course my audio does not work. 2) Same if I change "ringing device" from Silent to USB. 3) If i click on "Detect Devices" after 1) , both input and output devices become grey (see screenshots on the right-side of the attached file), and of course my audio does not work. 4) Or if i click on "Detect Devices" after 2) , the three parameters (ringing device, input and output devices) become grey, and of course my audio does not work.
Created attachment 163822 [details] for 5) comment 5) After 3) or 4), a new entry appeared in the list of audio devices. (on the attached file, you can see it under the mouse, and you can also see the previous grey entry on the bottom of the list). If I select this new entry in the three parameters (ringing device, input and output devices), the audio becomes ok when i call the 500@ekiga.net. *********************** So to summarize: A) Automatic detection of vidio devices works well B) The video "Detect devices" button should not add the V4L entry in the menu. C) Automatic detection of audio devices does not add any good entry. D) The audio "Detect devices" button adds the good entry in the list, but selects another wrong one. *********************** Hope this helps making Ekiga better :)
Created attachment 163825 [details] assistant audio entries Last thing to improve : the assistant proposes the right entry in the list of audio devices, but it does not select it by default. (see attached file) (Whereas the assistant proposes the right entry for video device by default.)
(In reply to comment #13) > Created an attachment (id=163825) [details] > assistant audio entries > > Last thing to improve : > > the assistant proposes the right entry in the list of audio devices, but it > does not select it by default. (see attached file) > > (Whereas the assistant proposes the right entry for video device by default.) 3.2.7 proposes in the assistant the correct audio and video devices, see http://git.gnome.org/browse/ekiga/commit/?h=gnome-2-26&id=f1d73cbbe10 Note that the default is "Default (PTLIB/ALSA)", is this which works for you?
(In reply to comment #11) > Created an attachment (id=163818) [details] > for comments below. > > Then I plug my USB headset. I get 2 pop-up windows (Detected new output device, > and detected new input device), in which i click "Yes". > > See on the left-side of the attached file what I get : input and output devices > are correctly selected, BUT "ringing device" remains on "Silent" (even if the > correct "USB" entry is in the list). This is fixed by http://git.gnome.org/browse/ekiga/commit/?id=bc462f01, thank you!
I made this "fix", but I ask myself if the "bug" was not intentional, to deal with the following case: ringing device is set to an output device, and when another output device is plugged, only the audio output should be redirected to the new device, the other (ringing) should remain to the old device... What do you think, Yann?
I think there is only one bug here: the spaces at the end of the device (e.g. "C-Media USB Audio Device ") are removed when the device is added automatically, hence it does not work. Julien, where device parameter in "void on_audiooutput_device_added_cb (const Ekiga::AudioOutputDevice & device, bool isDesired, GtkWidget *prefs_window)" (preferences.cpp) comes from?
Eugen, grep can partially answer that question : ./src/gui/preferences.cpp: conn = audiooutput_core->device_added.connect (boost::bind (&on_audiooutput_device_added_cb, _1, _2, window)); So that means that it's a callback from the audio output core "device_added" signal, which is emitted when some piece of code calls AudioOutputCore::add_device (the api of that function doesn't look good).
(In reply to comment #16) > I made this "fix", but I ask myself if the "bug" was not intentional, to deal > with the following case: ringing device is set to an output device, and when > another output device is plugged, only the audio output should be redirected to > the new device, the other (ringing) should remain to the old device... What do > you think, Yann? The new commit 05d0b29a asks the user about ringing device too. It remains the bug about adding spaces, and V4L wrongly added.
V4L is history now, it has been removed from kernel. As for spaces, does this bug still appear with ekiga >= 3.9.90 ?
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!