From owner-freebsd-multimedia@FreeBSD.ORG Sat Jun 4 10:14:18 2011 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A77D6106564A for ; Sat, 4 Jun 2011 10:14:18 +0000 (UTC) (envelope-from kwm@rainbow-runner.nl) Received: from fep13.mx.upcmail.net (fep13.mx.upcmail.net [62.179.121.33]) by mx1.freebsd.org (Postfix) with ESMTP id 037F08FC14 for ; Sat, 4 Jun 2011 10:14:17 +0000 (UTC) Received: from edge03.upcmail.net ([192.168.13.238]) by viefep13-int.chello.at (InterMail vM.8.01.02.02 201-2260-120-106-20100312) with ESMTP id <20110604101415.JJVB27705.viefep13-int.chello.at@edge03.upcmail.net>; Sat, 4 Jun 2011 12:14:15 +0200 Received: from [192.168.0.147] ([77.250.114.194]) by edge03.upcmail.net with edge id rmED1g01b4BjJe503mEEbd; Sat, 04 Jun 2011 12:14:15 +0200 X-SourceIP: 77.250.114.194 From: Koop Mast To: Juergen Lock Date: Sat, 04 Jun 2011 12:18:35 +0200 In-Reply-To: <201106031847.p53Ilgl3076499@triton8.kn-bremen.de> References: <201105240020.49377.hselasky@c2i.net> <4DDCF73B.2080200@gmail.com> <201105251442.27159.hselasky@c2i.net> <201106031847.p53Ilgl3076499@triton8.kn-bremen.de> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.0.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Message-ID: <1307182718.9325.57.camel@crashalot.rainbow-runner.nl> Mime-Version: 1.0 X-Cloudmark-Analysis: v=1.1 cv=HQ3F56nxkum+cgCiDL7AXQpbvw7DWrWCBJRnYYnM0Zc= c=1 sm=0 a=JQ6luQXqRUoA:10 a=kj9zAlcOel0A:10 a=8kQB0OdkAAAA:8 a=6I5d2MoRAAAA:8 a=DlB2DMQMAzVtvU_tf2gA:9 a=5va_y12eDXwlX-9OA_AA:7 a=CjuIK1q_8ugA:10 a=9aOQ2cSd83gA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Cc: freebsd-multimedia@freebsd.org Subject: Re: Pre-release of webcamd [v0.2.4] - testing remotes X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jun 2011 10:14:18 -0000 On Fri, 2011-06-03 at 20:47 +0200, Juergen Lock wrote: > In article <201105311932.38205.hselasky@c2i.net> you write: > >Hi, > Hi! > > > >Attaching new patch for ports. Some minor changes. > > Since this version now provides Linux-like /dev/input/eventX device > nodes I tested that a bit and made the following patches: > > 1. For the new webcamd: > > http://people.freebsd.org/~nox/dvb/webcamd/0.2.4/pctv452e.c-rc.patch > > Switch Technotrend S2-3600 and PCVTV 452e dvb-s2 tuner remote > handling from .rc.legacy to .rc.core, allowing rc5 scancodes > of (some) other remotes to show up on /dev/input/eventX > so e.g. an universal remote with more buttons could be used > instead of the shipped minimal remote of the PCVTV 452e > tuner. (And this also allows repeat to work with the lirc > patch below.) > > http://people.freebsd.org/~nox/dvb/webcamd/0.2.4/patch-input.h.txt > > Fix EVIOCGKEYCODE and EVIOCGKEYCODE_V2 ioctl definitions > in linux/input.h, they need to be _IOWR not _IOR (like with > FE_GET_PROPERTY they're wrong on Linux too but there the > driver doesn't care.) I take it the input.h and uinput.h you included in the v4l_compat update also contain these fixes? > 2. For multimedia/v4l_compat: > > http://people.freebsd.org/~nox/dvb/webcamd/0.2.4/v4l_compat-20101027_2.patch > > Add and headers needed to access > /dev/input/eventX that webcamd now can provide. I merged the patch and the new headers in the tarball. I also updated libv4l to 0.8.4. http://people.freebsd.org/~kwm/libv4l-0.8.4.diff > 3. New port multimedia/v4lutils: (preliminary, help wanted, maybe > Hans wants to maintain this too like multimedia/libv4l that > builds from the same sourcetree?) > > http://people.freebsd.org/~nox/dvb/webcamd/0.2.4/v4lutils.shar I poked it a bit than this is what I came up with. This will build with clang, and will build on 7.x. Although some small fixes are more personal preference. http://people.freebsd.org/~kwm/v4l-utils-0.8.4.shar I haven't really tested the utils either but the v4l2-ctl util option --list-formats (--list-formats-ext) is really nice to see what the webcam supports. -Koop