From: mk Date: Mon, 26 Jul 2010 22:17:13 +0000 (+0000) Subject: Microsoft LifeCam needs the framesize quirk as well. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ec2403d654399583127855ff002f6606354fc876;p=openbsd Microsoft LifeCam needs the framesize quirk as well. ok mglocker --- 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))