From ec2403d654399583127855ff002f6606354fc876 Mon Sep 17 00:00:00 2001 From: mk Date: Mon, 26 Jul 2010 22:17:13 +0000 Subject: [PATCH] Microsoft LifeCam needs the framesize quirk as well. ok mglocker --- sys/dev/usb/uvideo.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sys/dev/usb/uvideo.c b/sys/dev/usb/uvideo.c index 127367ee99a..1873b9b3b3c 100644 --- a/sys/dev/usb/uvideo.c +++ b/sys/dev/usb/uvideo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvideo.c,v 1.135 2010/07/26 07:12:21 mglocker Exp $ */ +/* $OpenBSD: uvideo.c,v 1.136 2010/07/26 22:17:13 mk Exp $ */ /* * Copyright (c) 2008 Robert Nagy @@ -335,6 +335,13 @@ struct uvideo_devs { NULL, UVIDEO_FLAG_FIX_MAX_VIDEO_FRAME_SIZE }, + { + /* Needs to fix dwMaxVideoFrameSize */ + { USB_VENDOR_MICROSOFT, USB_PRODUCT_MICROSOFT_LIFECAM }, + NULL, + NULL, + UVIDEO_FLAG_FIX_MAX_VIDEO_FRAME_SIZE + }, }; #define uvideo_lookup(v, p) \ ((struct uvideo_devs *)usb_lookup(uvideo_devs, v, p)) -- 2.20.1