From owner-freebsd-multimedia@FreeBSD.ORG Sat Jun 4 13:59:40 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 AB68A1065676 for ; Sat, 4 Jun 2011 13:59:40 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 648518FC0A for ; Sat, 4 Jun 2011 13:59:40 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 6089E1E000C5; Sat, 4 Jun 2011 15:59:39 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id p54Dwexo075105; Sat, 4 Jun 2011 15:58:40 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id p54Dwekg075103; Sat, 4 Jun 2011 15:58:40 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sat, 4 Jun 2011 15:58:39 +0200 To: Koop Mast Message-ID: <20110604135839.GA74882@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> <1307182718.9325.57.camel@crashalot.rainbow-runner.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1307182718.9325.57.camel@crashalot.rainbow-runner.nl> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-multimedia@freebsd.org, Juergen Lock 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 13:59:40 -0000 On Sat, Jun 04, 2011 at 12:18:35PM +0200, Koop Mast wrote: > 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? > Yes. (Sorry I should have said so.) > > 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. Thank you, very nice! :) (So far I only built your updated ports and confirmed that ir-keytable still works.) Juergen