Hi,

Is there are reason for uvc_v4l2.c not implementing the compat_ioctl?

This patch from Arnd Bergmann fixes the "Unkonwn cmd" issue for me on
PowerPC64 with 32bit userspace.

--- uvc_v4l2.c  (revision 91)
+++ uvc_v4l2.c  (working copy)
@@ -971,6 +971,7 @@
        .open           = uvc_v4l2_open,
        .release        = uvc_v4l2_release,
        .ioctl          = uvc_v4l2_ioctl,
+       .compat_ioctl   = v4l_compat_ioctl32,
        .llseek         = no_llseek,
        .read           = uvc_v4l2_read,
        .mmap           = uvc_v4l2_mmap,



regards,
Felix
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to