Skip to contentSkip to conversation

media: uvc: add support for Toshiba FHD Webcam

PATCH In review Arend van Spriel 2 participants 2 messages Oct 28, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: uvc: add support for Toshiba FHD Webcam

The webcam is identified as Toshiba webcam although it seems a module from Chicony Electronics. Not sure about the model so just refering to it as Toshiba webcam that is in Portege z30 laptop.

---
 drivers/media/usb/uvc/uvc_driver.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/media/usb/uvc/uvc_driver.c +8 -0
index 7c8322d..f0b7eab 100644
@@ -2193,6 +2193,14 @@ static struct usb_device_id uvc_ids[] = {
 	  .bInterfaceSubClass	= 1,
 	  .bInterfaceProtocol	= 0,
 	  .driver_info		= UVC_QUIRK_RESTRICT_FRAME_RATE },
+	/* Chicony (Toshiba FHD Webcam) */
+	{ .match_flags		= USB_DEVICE_ID_MATCH_DEVICE
+				| USB_DEVICE_ID_MATCH_INT_INFO,
+	  .idVendor		= 0x04f2,
+	  .idProduct		= 0xb3b2,
+	  .bInterfaceClass	= USB_CLASS_VIDEO,
+	  .bInterfaceSubClass	= 1,
+	  .bInterfaceProtocol	= 0 },
 	/* Alcor Micro AU3820 (Future Boy PC USB Webcam) */
 	{ .match_flags		= USB_DEVICE_ID_MATCH_DEVICE
 				| USB_DEVICE_ID_MATCH_INT_INFO,
Signature · 1 line
1.9.1
maintainer
#1 lore raw

Hi Arend,

Thank you for the patch.

Quoted 15 lines · On Tuesday 28 October 2014 23:30:18 Arend van Spriel wrote:

The webcam is identified as Toshiba webcam although it seems a module from Chicony Electronics. Not sure about the model so just refering to it as Toshiba webcam that is in Portege z30 laptop.

---
 drivers/media/usb/uvc/uvc_driver.c | 8 ++++++++
 1 file changed, 8 insertions(+)
(quoted diff) +0 -0

b/drivers/media/usb/uvc/uvc_driver.c index 7c8322d..f0b7eab 100644

drivers/media/usb/uvc/uvc_driver.c +0 -0
@@ -2193,6 +2193,14 @@ static struct usb_device_id uvc_ids[] = {
 	  .bInterfaceSubClass	= 1,

drivers/media/usb/uvc/uvc_driver.c static struct usb_device_id uvc_ids[] = { · line 2203

Quoted 10 lines
drivers/media/usb/uvc/uvc_driver.c +8 -0
 	  .bInterfaceProtocol	= 0,
 	  .driver_info		= UVC_QUIRK_RESTRICT_FRAME_RATE },
+	/* Chicony (Toshiba FHD Webcam) */
+	{ .match_flags		= USB_DEVICE_ID_MATCH_DEVICE
+				| USB_DEVICE_ID_MATCH_INT_INFO,
+	  .idVendor		= 0x04f2,
+	  .idProduct		= 0xb3b2,
+	  .bInterfaceClass	= USB_CLASS_VIDEO,
+	  .bInterfaceSubClass	= 1,
+	  .bInterfaceProtocol	= 0 },

Is this really needed ? Isn't the camera properly detected and supported without this patch ?

Quoted 4 lines
drivers/media/usb/uvc/uvc_driver.c +0 -0
 	/* Alcor Micro AU3820 (Future Boy PC USB Webcam) */
 	{ .match_flags		= USB_DEVICE_ID_MATCH_DEVICE
 

| USB_DEVICE_ID_MATCH_INT_INFO,

Signature · 3 lines
Regards,

Laurent Pinchart