From owner-cvs-ports@FreeBSD.ORG Sat Mar 26 19:19:39 2011 Return-Path: Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11CAF1065670; Sat, 26 Mar 2011 19:19:39 +0000 (UTC) (envelope-from nox@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 017498FC1E; Sat, 26 Mar 2011 19:19:39 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p2QJJcGX065839; Sat, 26 Mar 2011 19:19:38 GMT (envelope-from nox@repoman.freebsd.org) Received: (from nox@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p2QJJcdw065838; Sat, 26 Mar 2011 19:19:38 GMT (envelope-from nox) Message-Id: <201103261919.p2QJJcdw065838@repoman.freebsd.org> From: Juergen Lock Date: Sat, 26 Mar 2011 19:19:38 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/multimedia Makefile ports/multimedia/vdr-plugin-remote Makefile distinfo pkg-descr pkg-plist ports/multimedia/vdr-plugin-remote/files patch-Makefile patch-uhid1 X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2011 19:19:39 -0000 nox 2011-03-26 19:19:38 UTC FreeBSD ports repository Modified files: multimedia Makefile Added files: multimedia/vdr-plugin-remote Makefile distinfo pkg-descr pkg-plist multimedia/vdr-plugin-remote/files patch-Makefile patch-uhid1 Log: http://www.linuxtv.org/vdrwiki/index.php/Remote-plugin This plugin extends the remote control capabilities of vdr. The following remote control devices are supported: (a) linux input device driver ('/dev/input/eventX', X=0,1,2,...) (currently not supported on FreeBSD) (b) keyboard (tty driver): /dev/console, /dev/ttyX (c) TCP connection (telnet) (d) LIRC (e) some(?) FreeBSD uhid(4) devices (experimental support added by this port) To use, add something like this to vdr_flags: '-Premote -h /dev/uhid0', (re)start vdr, then the osd should ask you to configure the remote by pressing the buttons you want to assign. Note: If your remote is detected as a keyboard you'll have to tell ukbd(4) to ignore it first by doing (as root) something like: usbconfig add_dev_quirk_vplh 0x1241 0xe000 0 0xffff UQ_KBD_IGNORE (and possibly unplug it for a moment or reset it via usbconfig, 0x1241 there is the vendor id, 0xe000 the product id of the device, you can get yours by doing usbconfig -d 1.2 dump_device_desc and looking for idVendor and idProduct, -d 1.2 there corresponds to ugen1.2 listed by usbconfig w/o args.) You can check with: usbconfig show_ifdrv if the device is then listed as ugen...: uhid... you're good to go. 2nd note: If vdr cannot open your uhid device check it is not claimed by xorg: fstat |grep uhid If it is you may need an xorg.conf(5) with manually defined InputDevice sections for mouse and keyboard and Option "AutoAddDevices" "False" in the ServerFlags section. And if for some reason you want to reassign the buttons on the remote you can stop vdr and do: touch /usr/local/etc/vdr/channels.conf and/or remove uhid entries from /usr/local/etc/vdr/remote.conf . When you then start vdr again it should ask to configure the remote again. WWW: http://escape-edv.de/endriss/vdr Revision Changes Path 1.424 +1 -0 ports/multimedia/Makefile 1.1 +35 -0 ports/multimedia/vdr-plugin-remote/Makefile (new) 1.1 +2 -0 ports/multimedia/vdr-plugin-remote/distinfo (new) 1.1 +22 -0 ports/multimedia/vdr-plugin-remote/files/patch-Makefile (new) 1.1 +255 -0 ports/multimedia/vdr-plugin-remote/files/patch-uhid1 (new) 1.1 +64 -0 ports/multimedia/vdr-plugin-remote/pkg-descr (new) 1.1 +1 -0 ports/multimedia/vdr-plugin-remote/pkg-plist (new)