After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 620795 - Audio/video settings don't work via Preferences, must use the Assistant
Audio/video settings don't work via Preferences, must use the Assistant
Status: RESOLVED INCOMPLETE
Product: ekiga
Classification: Applications
Component: Devices
3.2.x
Other Linux
: Normal normal
: ---
Assigned To: Ekiga maintainers
Ekiga maintainers
: 620798 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-06-07 05:15 UTC by Yann
Modified: 2013-04-17 11:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
output of ekiga -d 4 2>out (when devices not connected) (214.63 KB, application/octet-stream)
2010-06-09 01:41 UTC, Yann
Details
output of ekiga -d 4 2>out with elecom USB headphone and Logitech webcam (266.27 KB, text/plain)
2010-06-16 09:23 UTC, Yann
Details
output of ekiga -d 4 2>out with Buffalo USB headphone and same webcam (263.26 KB, text/plain)
2010-06-16 09:24 UTC, Yann
Details
Parameters by default when starting with NO device connected (192.83 KB, image/png)
2010-06-16 10:10 UTC, Yann
Details
after plugging the webcam, and THEN i pressed the "Detect device" button (88.33 KB, image/jpeg)
2010-06-16 10:27 UTC, Yann
Details
3 audio parameters to Silent (no USB) -> ok (412.08 KB, image/png)
2010-06-16 10:56 UTC, Yann
Details
for comments below. (76.48 KB, image/jpeg)
2010-06-16 13:18 UTC, Yann
Details
for 5) comment (60.70 KB, image/png)
2010-06-16 13:34 UTC, Yann
Details
assistant audio entries (60.27 KB, image/png)
2010-06-16 13:55 UTC, Yann
Details

Description Yann 2010-06-07 05:15:21 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.
Comment 1 Eugen Dedu 2010-06-07 10:09:11 UTC
Does your device name use diacritic (non English) characters?
Comment 2 Yann 2010-06-08 06:41:25 UTC
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.
Comment 3 Eugen Dedu 2010-06-08 14:57:22 UTC
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')?
Comment 4 Yann 2010-06-09 01:41:52 UTC
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.
Comment 5 Yann 2010-06-16 09:23:57 UTC
Created attachment 163788 [details]
output of ekiga -d 4 2>out with elecom USB headphone and Logitech webcam
Comment 6 Yann 2010-06-16 09:24:36 UTC
Created attachment 163789 [details]
output of ekiga -d 4 2>out with Buffalo USB headphone and same webcam
Comment 7 Eugen Dedu 2010-06-16 09:25:57 UTC
*** Bug 620798 has been marked as a duplicate of this bug. ***
Comment 8 Yann 2010-06-16 10:10:44 UTC
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.
Comment 9 Yann 2010-06-16 10:27:40 UTC
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 ?)
Comment 10 Yann 2010-06-16 10:56:14 UTC
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).
Comment 11 Yann 2010-06-16 13:18:12 UTC
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.
Comment 12 Yann 2010-06-16 13:34:14 UTC
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 :)
Comment 13 Yann 2010-06-16 13:55:35 UTC
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.)
Comment 14 Eugen Dedu 2010-08-10 16:10:06 UTC
(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?
Comment 15 Eugen Dedu 2010-12-28 14:19:56 UTC
(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!
Comment 16 Eugen Dedu 2010-12-28 15:03:22 UTC
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?
Comment 17 Eugen Dedu 2010-12-28 18:40:41 UTC
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?
Comment 18 Snark 2011-01-02 20:34:02 UTC
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).
Comment 19 Eugen Dedu 2011-01-08 15:07:55 UTC
(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.
Comment 20 Eugen Dedu 2012-12-14 09:08:56 UTC
V4L is history now, it has been removed from kernel.

As for spaces, does this bug still appear with ekiga >= 3.9.90 ?
Comment 21 Tobias Mueller 2013-04-17 11:11:12 UTC
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!