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
Juergen Lock
nox at FreeBSD.org
Sat Mar 26 19:19:39 UTC 2011
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)
More information about the cvs-ports
mailing list