------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=158946         




------- Additional Comments From taupter gmail com  2008-03-09 04:52 -------
KDE 4's Kopete uses Solid to get info about present devices (it's needed by 
Plug N'Play), and Solid, in Linux, uses hal, that in its turn uses some 
specific properties announced by the kernel module.
Some kernel modules don't annouce themselves properly, so hal is unable to 
identify them as video4linux devices, Solid doesn't see them and Kopete stays 
unaware.
The problem is, in fact, in the kernel module (ov511). It's not the only module 
who doesn't announce itself right, sn9c1xx and zr36060 suffer from similar 
problems. I sent a patch to the sn9c1xx driver's maintainer that reportedly 
fixed this problem with his drivers, but other drivers still lack an equivalent 
patch.
As the problem is in the kernel module and the PnP functionality depends on 
Solid, it's not viable to fix it in Kopete's code, so I'm closing this bug as 
INVALID, but I ask the bug issuer to make contact with Mr. Mark McClelland 
(ov511's maintainer, info at http://alpha.dyndns.org/ov511/contact.html) to ask 
him to address this issue. I'm contacting him to make him aware of the problem, 
but more people should contact him too imo, so he can see I'm not the only one. 
;)

The following diff is the sn9cxx one I mentioned before. Someone with a 
hardware sample could develop a similar patch to another module and send it to 
the maintainer.

diff --git a/drivers/media/video/sn9c102/sn9c102_core.c 
b/drivers/media/video/sn9c102/sn9c102_core.c
index 5118479..6338dd5 100644
--- a/drivers/media/video/sn9c102/sn9c102_core.c
+++ b/drivers/media/video/sn9c102/sn9c102_core.c
 @ -3322,6 +3322,7  @ sn9c102_usb_probe(struct usb_interface* intf, const 
struct usb_device_id* id)
        cam->v4ldev->fops = &sn9c102_fops;
        cam->v4ldev->minor = video_nr[dev_nr];
        cam->v4ldev->release = video_device_release;
+       cam->v4ldev->dev = &udev->dev;
        video_set_drvdata(cam->v4ldev, cam);

        init_completion(&cam->probe);
_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to