Re: [Linux-uvc-devel] control black list

2009-12-09 Thread Laurent Pinchart
Hi Paulo, thanks a lot for the bug report and the proposed fixes. >From 2.6.21 onwards the kernel provides a usb_match_one_id() function that matches perfectly what the driver needs here. In order to keep compatibility with < 2.6.21 kernels on the linuxtv.org tree, I've committed a patch that

Re: [Linux-uvc-devel] control black list

2009-12-05 Thread Paulo Assis
Laurent, The problem with usb_match_id is that the second argument must be a 0/NULL terminated array of struct usb_device_id and you are only passing a single struct. The attached patch makes your code work with usb_match_id. I still think the first patch is better, but since both of them are work

[Linux-uvc-devel] control black list

2009-12-05 Thread Paulo Assis
Laurent Hi, I've just discovered that all my camera models have the WB Temperature and Hue controls black listed, I would suppose that the control black list was device specific. For some reason the device id's are not taken into account and the controls get blacklisted in all models. If I have ti