Mailinglist Archive: opensuse-commit (857 mails)

< Previous Next >
commit uvcvideo
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Sat, 10 Nov 2007 18:42:57 +0100
  • Message-id: <20071110174257.C7E2B678168@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package uvcvideo
checked in at Sat Nov 10 18:42:57 CET 2007.

--------
--- uvcvideo/uvcvideo.changes 2007-07-24 15:10:16.000000000 +0200
+++ /mounts/work_src_done/STABLE/uvcvideo/uvcvideo.changes 2007-11-10
17:37:57.035296000 +0100
@@ -1,0 +2,42 @@
+Sat Nov 10 17:25:35 CET 2007 - bwalle@xxxxxxx
+
+- add grep and coreutils as pre-requirements
+- update to r141 upstream version
+ o The unused video_device structure hardware field has been
+ removed in 2.6.24-rc1. Remove references.
+ o Use the control interface as physical device for the video
+ class device
+ o Select the lowest isochronous bandwidth when a broken device
+ requests a zero dwMaxPayloadTransferSize.
+ o When a device IO error occurs when querying a control, set the
+ control id, name and flags before returning.
+ o Support Silicon Motion SM371
+ o Fixed External Terminal types handling
+ o Fixed control enumeration with V4L2_CTRL_FLAG_NEXT_CTRL always
+ returning the control with the highest ID.
+ o Support Acer Crystal Eye webcam module (5986:0102 model)
+ o Fix typo in UVCIOC_CTRL_MAP (thanks to Brandon Philips)
+ o Fix oops cause by uninitialised pointer in uvc_find_control().
+ o Dynamic controls API documentation, first draft
+ o Removed Logitech focus control (use the dynamic controls API
+ instead)
+ o Merge dynctrl branch changes r89:128 to trunk
+ o Don't fail on unknown frame-based video formats
+ o The XBox Live Vision Cam (and possibly other devices) crash or
+ otherwise misbehave if they don't receive a SET_INTERFACE
+ request before any other video control request. This patch
+ explicitly sets alternate setting 0 when initialising the video
+ streaming interface.
+ o Standard UVC focus absolute and auto controls.
+ o Add manual focus support for Logitech webcams.
+ o Remove deprecated Logitech XU GUIDs and add
+ UVC_GUID_LOGITECH_USER_HW.
+ o Suspend/resume support
+ o Replace list_for_each by list_for_each_entry
+ o Use the interface subclass to differentiate between video
+ control and video streaming interfaces.
+ o Increase control timeout to 1s for streaming controls.
+ o Removed unused uvc_stream_state enumeration
+ o Support for Acer OrbiCam (unknown vendor)
+
+-------------------------------------------------------------------

Old:
----
uvcvideo-r117.tar.bz2

New:
----
uvcvideo-r141.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ uvcvideo.spec ++++++
--- /var/tmp/diff_new_pack.R27881/_old 2007-11-10 18:42:35.000000000 +0100
+++ /var/tmp/diff_new_pack.R27881/_new 2007-11-10 18:42:35.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package uvcvideo (Version r117)
+# spec file for package uvcvideo (Version r141)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -14,15 +14,16 @@
Name: uvcvideo
BuildRequires: kernel-source kernel-syms module-init-tools
Group: System/Kernel
-Autoreqprov: on
+AutoReqProv: on
Summary: USB Video Class (UVC) webcam driver
-Version: r117
+Version: r141
Release: 1
Source: %name-%version.tar.bz2
Patch: isight.patch
-URL: http://linux-uvc.berlios.de/
+Url: http://linux-uvc.berlios.de/
License: GPL v2 or later
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+PreReq: coreutils grep
Supplements: modalias(usb:v046Dp08C1d*dc*dsc*dp*icFFisc01ip00*)
Supplements: modalias(usb:v046Dp08C2d*dc*dsc*dp*icFFisc01ip00*)
Supplements: modalias(usb:v046Dp08C3d*dc*dsc*dp*icFFisc01ip00*)
@@ -48,6 +49,7 @@
Group: System/Kernel
License: GPL v2 or later
Summary: USB Video Class (UVC) webcam driver
+PreReq: coreutils grep

%description KMP
Webcam drivers for: USB Video Class (UVC) devices
@@ -60,7 +62,7 @@

%prep
%setup -n %name-%version
-%patch
+%patch -p1
set -- *
mkdir source
mv "$@" source/
@@ -89,8 +91,46 @@

%clean
rm -rf $RPM_BUILD_ROOT
-
%changelog
+* Sat Nov 10 2007 - bwalle@xxxxxxx
+- add grep and coreutils as pre-requirements
+- update to r141 upstream version
+ o The unused video_device structure hardware field has been
+ removed in 2.6.24-rc1. Remove references.
+ o Use the control interface as physical device for the video
+ class device
+ o Select the lowest isochronous bandwidth when a broken device
+ requests a zero dwMaxPayloadTransferSize.
+ o When a device IO error occurs when querying a control, set the
+ control id, name and flags before returning.
+ o Support Silicon Motion SM371
+ o Fixed External Terminal types handling
+ o Fixed control enumeration with V4L2_CTRL_FLAG_NEXT_CTRL always
+ returning the control with the highest ID.
+ o Support Acer Crystal Eye webcam module (5986:0102 model)
+ o Fix typo in UVCIOC_CTRL_MAP (thanks to Brandon Philips)
+ o Fix oops cause by uninitialised pointer in uvc_find_control().
+ o Dynamic controls API documentation, first draft
+ o Removed Logitech focus control (use the dynamic controls API
+ instead)
+ o Merge dynctrl branch changes r89:128 to trunk
+ o Don't fail on unknown frame-based video formats
+ o The XBox Live Vision Cam (and possibly other devices) crash or
+ otherwise misbehave if they don't receive a SET_INTERFACE
+ request before any other video control request. This patch
+ explicitly sets alternate setting 0 when initialising the video
+ streaming interface.
+ o Standard UVC focus absolute and auto controls.
+ o Add manual focus support for Logitech webcams.
+ o Remove deprecated Logitech XU GUIDs and add
+ UVC_GUID_LOGITECH_USER_HW.
+ o Suspend/resume support
+ o Replace list_for_each by list_for_each_entry
+ o Use the interface subclass to differentiate between video
+ control and video streaming interfaces.
+ o Increase control timeout to 1s for streaming controls.
+ o Removed unused uvc_stream_state enumeration
+ o Support for Acer OrbiCam (unknown vendor)
* Tue Jul 24 2007 - ro@xxxxxxx
- update to r117
- Removed unused uvc_stream_state enumeration

++++++ isight.patch ++++++
--- /var/tmp/diff_new_pack.R27881/_old 2007-11-10 18:42:35.000000000 +0100
+++ /var/tmp/diff_new_pack.R27881/_new 2007-11-10 18:42:35.000000000 +0100
@@ -1,5 +1,25 @@
---- isight.c
-+++ isight.c 2007/07/24 12:47:36
+---
+ Makefile | 2
+ isight.c | 371
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ isight.h | 43 ++++++
+ uvc_driver.c | 35 +++++
+ uvc_video.c | 30 ++++
+ uvcvideo.h | 2
+ 6 files changed, 482 insertions(+), 1 deletion(-)
+
+--- a/Makefile
++++ b/Makefile
+@@ -5,7 +5,7 @@ INSTALL_MOD_DIR := usb/media
+ PWD := $(shell pwd)
+
+ obj-m := uvcvideo.o
+-uvcvideo-objs := uvc_driver.o uvc_queue.o uvc_v4l2.o uvc_video.o uvc_ctrl.o
++uvcvideo-objs := uvc_driver.o uvc_queue.o uvc_v4l2.o uvc_video.o uvc_ctrl.o
isight.o
+
+ all: uvcvideo
+
+--- /dev/null
++++ b/isight.c
@@ -0,0 +1,371 @@
+/*
+ * Copyright (C) 2006 Ivan N. Zlatev <contact@xxxxxxxx>
@@ -372,8 +392,8 @@
+ }
+ return -1;
+}
---- isight.h
-+++ isight.h 2007/07/24 12:47:36
+--- /dev/null
++++ b/isight.h
@@ -0,0 +1,43 @@
+/*
+ * Copyright (C) 2006 Ivan N. Zlatev <contact@xxxxxxxx>
@@ -418,19 +438,8 @@
+
+#endif
+
---- Makefile
-+++ Makefile 2007/07/24 12:47:36
-@@ -5,7 +5,7 @@
- PWD := $(shell pwd)
-
- obj-m := uvcvideo.o
--uvcvideo-objs := uvc_driver.o uvc_queue.o uvc_v4l2.o uvc_video.o uvc_ctrl.o
-+uvcvideo-objs := uvc_driver.o uvc_queue.o uvc_v4l2.o uvc_video.o uvc_ctrl.o
isight.o
-
- all: uvcvideo
-
---- uvc_driver.c
-+++ uvc_driver.c 2007/07/24 12:54:32
+--- a/uvc_driver.c
++++ b/uvc_driver.c
@@ -43,6 +43,7 @@
#endif

@@ -439,20 +448,19 @@

#define DRIVER_AUTHOR "Laurent Pinchart <laurent.pinchart@xxxxxxxxx>"
#define DRIVER_DESC "USB Video Class driver"
-@@ -89,6 +90,12 @@
+@@ -83,6 +84,11 @@ static struct uvc_format_desc uvc_fmts[]
+ .guid = UVC_GUID_FORMAT_UYVY,
.fcc = V4L2_PIX_FMT_UYVY,
- .flags = 0,
},
+ {
+ .name = "YUV 4:2:2 (MACOSX)",
+ .guid = UVC_GUID_FORMAT_YUY2_MACOSX,
+ .fcc = V4L2_PIX_FMT_UYVY,
-+ .flags = 0,
+ },
};

#if 0
-@@ -1497,6 +1504,16 @@
+@@ -1502,6 +1508,16 @@ void uvc_delete(struct kref *kref)
kfree(dev);
}

@@ -469,7 +477,7 @@
static int uvc_probe(struct usb_interface *intf,
const struct usb_device_id *id)
{
-@@ -1516,6 +1533,9 @@
+@@ -1521,6 +1537,9 @@ static int uvc_probe(struct usb_interfac
if ((dev = kzalloc(sizeof *dev, GFP_KERNEL)) == NULL)
return -ENOMEM;

@@ -479,7 +487,7 @@
INIT_LIST_HEAD(&dev->entities);
INIT_LIST_HEAD(&dev->streaming);
kref_init(&dev->kref);
-@@ -1710,6 +1730,22 @@
+@@ -1774,6 +1793,22 @@ static struct usb_device_id uvc_ids[] =
.bInterfaceProtocol = 0,
.driver_info = UVC_QUIRK_PROBE_MINMAX
},
@@ -502,17 +510,17 @@
/* Generic USB Video Class */
{ USB_INTERFACE_INFO(USB_CLASS_VIDEO, 1, 0) },
{}
---- uvc_video.c
-+++ uvc_video.c 2007/07/24 12:53:34
-@@ -22,6 +22,7 @@
- #include <asm/atomic.h>
+--- a/uvc_video.c
++++ b/uvc_video.c
+@@ -26,6 +26,7 @@
+ #endif

#include "uvcvideo.h"
+#include "isight.h"

/* ------------------------------------------------------------------------
* UVC Controls
-@@ -450,6 +451,20 @@
+@@ -464,6 +465,20 @@ static void uvc_video_complete_isoc(stru
"lost (%d).\n", urb->iso_frame_desc[i].status);
continue;
}
@@ -533,7 +541,7 @@

/* Decode the payload header. */
mem = urb->transfer_buffer + urb->iso_frame_desc[i].offset;
-@@ -473,6 +488,7 @@
+@@ -487,6 +502,7 @@ static void uvc_video_complete_isoc(stru
if (buf->state == UVC_BUF_STATE_DONE ||
buf->state == UVC_BUF_STATE_ERROR)
buf = uvc_queue_next_buffer(queue, buf);
@@ -541,7 +549,7 @@
}
}

-@@ -482,6 +498,19 @@
+@@ -496,6 +512,19 @@ static void uvc_video_complete_bulk(stru
u8 *mem;
int len, ret;

@@ -561,7 +569,7 @@
mem = urb->transfer_buffer;
len = urb->actual_length;
queue->bulk.payload_size += len;
-@@ -535,6 +564,7 @@
+@@ -549,6 +578,7 @@ static void uvc_video_complete_bulk(stru
queue->bulk.skip_payload = 0;
queue->bulk.payload_size = 0;
}
@@ -569,9 +577,9 @@
}

#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
---- uvcvideo.h
-+++ uvcvideo.h 2007/07/24 12:52:51
-@@ -224,6 +224,8 @@
+--- a/uvcvideo.h
++++ b/uvcvideo.h
+@@ -287,6 +287,8 @@ struct uvc_xu_control {
0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}
#define UVC_GUID_FORMAT_UYVY { 'U', 'Y', 'V', 'Y', 0x00, 0x00, 0x10,
0x00, \
0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}

++++++ uvcvideo-r117.tar.bz2 -> uvcvideo-r141.tar.bz2 ++++++
++++ 1910 lines of diff (skipped)


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages