Bug 167332 - Webcam Device List Not Accessable
Summary: Webcam Device List Not Accessable
Status: RESOLVED NOT A BUG
Alias: None
Product: kopete
Classification: Applications
Component: Audio/Video Plugin (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-24 02:36 UTC by BugStalker
Modified: 2011-01-03 23:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Creative PC-CAM 880 hal configuration (637 bytes, patch)
2009-03-21 22:16 UTC, Lamarque V. Souza
Details
30-syntek_174f_6a51.fdi (726 bytes, application/xml)
2009-05-19 17:25 UTC, Michał Kudła
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BugStalker 2008-07-24 02:37:00 UTC
Version:           4.0.4 (using KDE 4.0.5)
Installed from:    SuSE RPMs
OS:                Linux

Equipment / System info:
OS: Linux 2.6.25.11-0.1-default i686
Dell Vostro 1500
Intel DuoCore T5270 
System:  openSUSE 11.0 (i586)
KDE:  4.0.4 (KDE 4.0.4 >= 20080505) "release 15.2"
openSuse 11.0
Kopete 0.50.1
Video Model:  nVidia GeForce 8400M GS
Camera =Logictec Quickcam for Notebooks

gqcam recognizes and views video from camera fine.

Kopete doesn't seem to recognize a camera as being present, nor will it allow me to manually input a camera under [Configure][Video][Device] tabs.

Seems odd that I can't either use a drop down list (No dropdown options offered), or manually type the proper data in to tell it what camera I am using, what it's device is (/dev/video), etc.  

Same camera was recognized and worked fine with KDE 3.5 version of Kopete.
Comment 1 Lamarque V. Souza 2009-03-21 22:16:48 UTC
Created attachment 32326 [details]
Creative PC-CAM 880 hal configuration

Hi, I had this same problem with my Creative PC-CAM 880. There is a missing configuration in hal to make it regonize the webcam. Kopete asks solid for available webcams and solid asks the same question to hal, so if hal does not recognize the webcam it will no be available to Kopete. In my case I created the file /etc/hal/fdi/information/30-creative.fdi and restarted hal and Kopete recognized the webcam. The 30-creative.fdi is attached, you must run lshal and find your webcam there and change the info.udi in 30-creative.fdi to match your webcam's.
Comment 2 Lamarque V. Souza 2009-03-21 22:32:24 UTC
That .fdi should belongs to the hal-info package. The problem is the video4linux.device key, which is dynamic and will be different from /dev/video0 if there is more than one video device. I think someone will have to create a udev rule to add and remove those .fdi files dynamically.
Comment 3 Michał Kudła 2009-05-19 17:25:38 UTC
Created attachment 33837 [details]
30-syntek_174f_6a51.fdi

this is for my camera from ASUS S96S 174f:6a51
Comment 4 Frank Schaefer 2011-01-03 22:37:44 UTC
Kopete uses Solid to detect available video devices.
Letting users add device files manually would be a dirty hack which would causes more new problems than it solves (e.g. device removal).

If the mentioned device(s) are still not shown (selectable using the popup menu in the video settings dialog) in recent versions of Kopete, please create a bug report for product Solid.
Comment 5 Lamarque V. Souza 2011-01-03 23:27:30 UTC
Actually it is not a hack, that is the way hald works. That is the only way to add hardware information not provided by the hardware itself to hald and consequently to solid and then to Kopete. The package hal-info I mentioned contains .fdi files to several hardware. Even gphoto used to have its own .fdi file (/usr/share/hal/fdi/information/20thirdparty/10-camera-libgphoto2.fdi) to add info about all cameras it supports. Since hald has been deprecated for years I think no new .fdi file has been added to hal-info, so this problem.

In KDE SC 4.6 we have a new udev backend that should provide that information, hopefully we will not need hald and those .fdi files anymore. I have not tested the Solid's udev backend yet, so I cannot say if it really solves this problem. Sure essentially this is a hald/udev problem, not KDE's. Nevertheless the information in this bug entry is usefull for other users understand what is happening.
Comment 6 Frank Schaefer 2011-01-03 23:49:51 UTC
(In reply to comment #5)
> Actually it is not a hack, that is the way hald works. That is the only way to
> add hardware information not provided by the hardware itself to hald and
> consequently to solid and then to Kopete.

If applications try to work around bugs in upstream libraries instead of fixing them there, I would call that dirty hacks. Especially when the workarounds introduce new problems...

> The package hal-info I mentioned
> contains .fdi files to several hardware. Even gphoto used to have its own .fdi
> file (/usr/share/hal/fdi/information/20thirdparty/10-camera-libgphoto2.fdi) to
> add info about all cameras it supports. Since hald has been deprecated for
> years I think no new .fdi file has been added to hal-info, so this problem.

Did you try to submit a patch ? HAL is still maintained !

> In KDE SC 4.6 we have a new udev backend that should provide that information,
> hopefully we will not need hald and those .fdi files anymore. 

Hopefully.

> Sure essentially this is a hald/udev problem, not KDE's. Nevertheless the
> information in this bug entry is usefull for other users understand what is
> happening.

Definitely, thanks.