diff mbox

New device ID for Philips Spc880nc webcam

Message ID CA+55aFzwgUD3FGHtNBcFeoysun_VebvoS5qygWSKz-tb2hsKGA@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Linus Torvalds Jan. 14, 2016, 12:29 a.m. UTC
Hans, Mauro,
 forwarding an email from Kikim with new USB ID's for the 880NC webcam.

Kikim, you really should send the patch as a single patch, and with
the appropriate sign-off. See Documentation/SubmittingPatches. Also,
please send to the right people: you can get that with

  ./scripts/get_maintainer.pl -f drivers/media/usb/pwc/pwc-if.c

(and you can also see them from this email).

               Linus

--
From klucznik <klucznik0@op.pl>:on Wed, Jan 13, 2016 at 3:29 PM:
> Subject: driver patch Philips Spc880nc webcam
>
> Dear Linus Torvalds.
> I have a webcam Philips Spc880nc and a problem with the driver.
> I was looking for solutions to run on my system (PCLinuxOS) but I did not find.
> Did not want to modify my camera to SPC900NC - on the internet are the
> instructions - I wanted to keep the original.
> After a time I was able to activate the camera. Everything works - tested on a few kernel.
> So I send a kernel patches - might be able to join these patches to release a new kernel.
> Spc880nc would act then by all who have the cameras, not only for me.
> If you could cause to add the patches to the kernel it would be good for a everyone.
>
> Here is a link to my discussion at forum:
> http://www.pclinuxos.com/forum/index.php/topic,135688.0.html
>
> sorry for my english ;)  I greet ....... Kikim
diff mbox

Patch

--- -	2016-01-14 00:14:56.498925422 +0100
+++ /usr/src/linux-4.1.15-pclos1/drivers/media/usb/pwc/pwc-if.c	2016-01-14 00:14:50.376008415 +0100
@@ -91,6 +91,7 @@ 
 	{ USB_DEVICE(0x0471, 0x0312) },
 	{ USB_DEVICE(0x0471, 0x0313) }, /* the 'new' 720K */
 	{ USB_DEVICE(0x0471, 0x0329) }, /* Philips SPC 900NC PC Camera */
+	{ USB_DEVICE(0x0471, 0x032C) }, /* Philips SPC 880NC PC Camera */
 	{ USB_DEVICE(0x069A, 0x0001) }, /* Askey */
 	{ USB_DEVICE(0x046D, 0x08B0) }, /* Logitech QuickCam Pro 3000 */
 	{ USB_DEVICE(0x046D, 0x08B1) }, /* Logitech QuickCam Notebook Pro */
@@ -802,6 +803,11 @@ 
 			name = "Philips SPC 900NC webcam";
 			type_id = 740;
 			break;
+		case 0x032C:
+			PWC_INFO("Philips SPC 880NC USB webcam detected.\n");
+			name = "Philips SPC 880NC webcam";
+			type_id = 740;
+			break;
 		default:
 			return -ENODEV;
 			break;