I've finally found the issue with kopete. I'm sorry this is a bit off
topic as not really related to m560x drivers but I think it is
valuable to share my findings.

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 issue with this way of searching for video devices is when one
uses udev.... For those who don't know udev, here is some background:
most of the modern Linux distro use udev nowadays and more
particularly with some specific rules to create
/dev/<devtype>/by-path/<interface type>-<index> links which then
points to the real /dev/xxxxx device file. These "by-path" devices are
usefull in some situation when you specifically want to use a specific
device but the usual /dev/xxxx device file is not always the same.
This if often the case with USB devices depending in which order you
plug them to the USB bus. For instance if you have several webcams the
first plugged one will be /dev/video0 and the next one will be
/dev/video1. But you want to access the <brand1> and not the <brand2>
one but you don't know which one is /dev/video0 and which one is
/dev/video1.
In this situation, the only way to always refer to the same device is
to use the /dev/v4l/by-path/pci-0000:00:1d.2-usb-0:2:1.0 (for example)
device automatically created by udev and that point either to
/dev/video0 or /dev/video1 depending in which order you did plug the
cams. Ok, let stop here with the udev background.

The workaround is simple:
1) suppress the udev rule that creates the "by-path" device for v4l
devices. In my case I did remove the file
/etc/udev/rules.d/60-persistent-v4l.rules but this might distro
dependent.
2) remove the offending /dev/v4l/by-path file and more over you have
to suppress the complete /dev/v4l folder: rm -rf /dev/v4l
3) restart udev
4) restart kopete and enjoy now your webcam with kopete :-)


Regards
Olivier

2008/12/2 Olivier Perron <[EMAIL PROTECTED]>:
> 2008/12/2 Erik Andrén <[EMAIL PROTECTED]>:
>
>> Hmm. I'm unable to get an image with vlc but after having tried I
>> needed to reload the kernel module in order to use the webcam with
>> other programs, otherwise I get a picture similar to the one you
>> posted.
>> If you reload the kernel module and try kopete and ekiga. Does it then work?
>>
>> Regards,
>> Erik
>>
>
> Ok, reloading the kernel modules did the trick for ekiga. Still not for vlc.
>
> For kopete I suspect the issue is elsewhere as kopete doesn't see the
> webcam at all. For kopete everything looks like there is no webcam
> connected to the system. I was just wondering if anybody on the list
> had a similar issue and did find how to solve it.
>
> Regards
> Olivier
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
M560x-driver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel

Reply via email to