[media] gspca_kinect: add Kinect for Windows USB id

Message ID 1355095105-23310-1-git-send-email-ospite@studenti.unina.it (mailing list archive)
State Superseded, archived
Headers

Commit Message

Antonio Ospite Dec. 9, 2012, 11:18 p.m. UTC
  From: Jacob Schloss <jacob.schloss@unlimitedautomata.com>

Add the USB ID for the Kinect for Windows RGB camera so it can be used
with the gspca_kinect driver.

Signed-off-by: Jacob Schloss <jacob.schloss@unlimitedautomata.com>
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
---

Thanks Jacob, I took the liberty to rebase the patch on top of
linux-3.7.0-rc7 as the gspca location has changed from
drivers/media/video/gspca to drivers/media/usb/gspca

It will be a little easier for HdG to apply it.

Regards,
   Antonio

 drivers/media/usb/gspca/kinect.c |    1 +
 1 file changed, 1 insertion(+)
  

Comments

Hans de Goede Dec. 21, 2012, 11:12 a.m. UTC | #1
Hi,

On 12/10/2012 12:18 AM, Antonio Ospite wrote:
> From: Jacob Schloss <jacob.schloss@unlimitedautomata.com>
>
> Add the USB ID for the Kinect for Windows RGB camera so it can be used
> with the gspca_kinect driver.
>
> Signed-off-by: Jacob Schloss <jacob.schloss@unlimitedautomata.com>
> Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
> ---
>
> Thanks Jacob, I took the liberty to rebase the patch on top of
> linux-3.7.0-rc7 as the gspca location has changed from
> drivers/media/video/gspca to drivers/media/usb/gspca
>
> It will be a little easier for HdG to apply it.

Thanks I've added this patch to my tree, and it will be included
in my fixes pull-req for 3.8 to Mauro later today.

Regards,

Hans

>
> Regards,
>     Antonio
>
>   drivers/media/usb/gspca/kinect.c |    1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/media/usb/gspca/kinect.c b/drivers/media/usb/gspca/kinect.c
> index 40ad668..3773a8a 100644
> --- a/drivers/media/usb/gspca/kinect.c
> +++ b/drivers/media/usb/gspca/kinect.c
> @@ -381,6 +381,7 @@ static const struct sd_desc sd_desc = {
>   /* -- module initialisation -- */
>   static const struct usb_device_id device_table[] = {
>   	{USB_DEVICE(0x045e, 0x02ae)},
> +	{USB_DEVICE(0x045e, 0x02bf)},
>   	{}
>   };
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  

Patch

diff --git a/drivers/media/usb/gspca/kinect.c b/drivers/media/usb/gspca/kinect.c
index 40ad668..3773a8a 100644
--- a/drivers/media/usb/gspca/kinect.c
+++ b/drivers/media/usb/gspca/kinect.c
@@ -381,6 +381,7 @@  static const struct sd_desc sd_desc = {
 /* -- module initialisation -- */
 static const struct usb_device_id device_table[] = {
 	{USB_DEVICE(0x045e, 0x02ae)},
+	{USB_DEVICE(0x045e, 0x02bf)},
 	{}
 };