Date: Sat, 04 Jun 2011 12:18:35 +0200 From: Koop Mast <kwm@rainbow-runner.nl> To: Juergen Lock <nox@jelal.kn-bremen.de> Cc: freebsd-multimedia@freebsd.org Subject: Re: Pre-release of webcamd [v0.2.4] - testing remotes Message-ID: <1307182718.9325.57.camel@crashalot.rainbow-runner.nl> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <linux/input.h> and <linux/uinput.h> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1307182718.9325.57.camel>