Hello,

Am 22.01.2009 um 07:34 schrieb Németh Márton:
I couldn't really find a simple testcase which triggers this problem, but I analysed the source code and found that the function prototype "v4l2_kioctl" changed between Linux kernel 2.6.27 and 2.6.28: the inode parameter was removed.

Last time when I updated the em28xx-new I forget this fact. I just sent a patch titled "[PATCH] remove inode parameter of typedef v4l2_kioctl as of 2.6.28".
Could you please apply and test the new version of em28xx-new driver?

Here we can see that "(null)" is written to the output instead of a readable input and norm parameter. This usually signals that there might be some return
value check missing in the code.

This mmap2() calls also do not look like very good: -1 is the fd parameter which shall be positive. The -1 is an error code which comes from a previous system call
and it is not a valid file descriptor.

What can I do against it? I installed the latest release with this patch applied. This didn't change anything. But notice that I have Kernel 2.6.27.7-9 anyway, not 2.6.28.x. Here you see dmesg (interesting lines cut out) again with the new patch applied. First after trying "ZoneMinder", then after "webcam":
http://www.file-upload.net/download-1400686/dmesg_zm.txt.html
http://www.file-upload.net/download-1400693/dmesg_webcam.txt.html


Am 22.01.2009 um 07:52 schrieb Németh Márton:
Could you please send your /root/.webcamrc ? (Please change the password
field in it to *** before sending, if any.)


My .webcamrc can be found here:
http://www.file-upload.net/download-1400648/webcamrc.txt.html

Thanks and regards
_______________________________________________
Em28xx mailing list
Em28xx@mcentral.de
http://mcentral.de/mailman/listinfo/em28xx

Reply via email to