> Here's an updated patch. Could you please try it ?
> 
> Best regards,
> 
> Laurent Pinchart
> > Index: uvc_status.c
>
===================================================================
> --- uvc_status.c      (revision 199)
> +++ uvc_status.c      (working copy)
> @@ -14,7 +14,11 @@
>  #include <linux/kernel.h>
>  #include <linux/input.h>
>  #include <linux/usb.h>
> +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
> +#include <linux/usb_input.h>
> +#else
>  #include <linux/usb/input.h>
> +#endif
>  
>  #include "uvcvideo.h"
>  
> @@ -43,7 +47,11 @@
>       input->name = dev->name;
>       input->phys = phys;
>       usb_to_input_id(udev, &input->id);
> +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22)
>       input->dev.parent = &dev->intf->dev;
> +#else
> +     input->cdev.dev = &dev->intf->dev;
> +#endif
>  
>       set_bit(EV_KEY, input->evbit);
>       set_bit(BTN_0, input->keybit);
> 

There seems to be a problem :
Apr  8 13:01:21 ibm kernel: usb 1-1: new full speed
USB device using uhci_hcd and address 5
Apr  8 13:01:21 ibm kernel: usb 1-1: config 1 has an
invalid descriptor of length 7, skipping remainder of
the config
Apr  8 13:01:21 ibm kernel: usb 1-1: configuration #1
chosen from 1 choice
Apr  8 13:01:21 ibm kernel: uvcvideo: Found UVC 1.00
device Philips SPC 1300NC Webcam (0471:0331)
Apr  8 13:01:21 ibm kernel: input: Philips SPC 1300NC
Webcam as /class/input/input2
Apr  8 13:01:24 ibm kernel: 5:3:1 : no or invalid
class specific endpoint descriptor
Apr  8 13:01:24 ibm kernel: usbcore: registered new
driver snd-usb-audio



      
_____________________________________________________________________________ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to