Summary: | Algorithm to find video devices is not udev friendly and lead to not find webcams | ||
---|---|---|---|
Product: | [Applications] kopete | Reporter: | Olivier Perron <olivier.perron12> |
Component: | Audio/Video Plugin | Assignee: | Kopete Developers <kopete-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aiacovitti, fschaefer.oss, jo.oiongen, lamarque, marcelovborro, petchu |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Olivier Perron
2008-12-04 10:43:30 UTC
This is a known problem and the ugly hack suggested [1] is "rm -rf /dev/v4l" before using your webcam. [1] http://wiki.kde.org/tiki-index.php?page=kopete%20webcam%20support Peter, it is a known problem *now* because I've added this entry myself into kde wiki just before filing the bug here. Until that time I (google) could only find references to people facing a at least similar issue if not the same. But no references at all to any workaround or solution. I had to use gdb on kopete to find what was happening and come up with a) a workaroud b) this bug report Regards This is still an issue for me. Running Kopete 0.60.82 on KDE4.1.96, Kubuntu8.10. Also the same on my OpenSUSE11 install. (But there I do not have the exact versions in front of me;) ) my lsusb gives: Bus 004 Device 076: ID 046d:0870 Logitech, Inc. QuickCam Express my ls -l /dev/vi* gives: crw-rw---- 1 root video 81, 0 2009-01-20 17:26 /dev/video0 and in Kopete I cannot select any device. Is this bug https://bugs.kde.org/show_bug.cgi?id=181176 caused by what is written above? same with this one https://bugs.kde.org/show_bug.cgi?id=181176 Ignore the post above... Sorry! I meant this one https://bugs.kde.org/show_bug.cgi?id=167332 Hi, this really seems a duplicate of https://bugs.kde.org/show_bug.cgi?id=167332 I have dropped a comment in there that may help. @ Lamarque This happens both in KDE3.5 and 4.2. It seems to happen in all distros with kernel newer than 2.6.27, since gspca driver was included in kernel. I'm running opensuse 11.1 here. (In reply to comment #0) > kopete first looks at /dev/v4l for something like video*. If it finds /dev/v4l > but no video* inside it, then it simply stop to search for any further device > and claims there are no video devices on the system. > ... > The device scaning code should be updated so that the search order is: > 1) search for /dev/v4l/by-path/<something> > 2) search for /dev/v4l/video* > 3/ search for /dev/video* KDE 3 is no longer maintained and KDE4 uses Solid to detect available video devices. |