PDA

View Full Version : Trickeyplus for software 6.1 and higher


tivo4mevo
12-02-2007, 04:13 PM
Trickeyplus provides trickey (http://www.tuhs.org/twiki/bin/view/Software/TrickeySoftware) functionality (executing commands upon receiving a defined remote sequence) for Series2/3 units.

The attached zip file contains source and a prebuilt executable for units running software v6.1 and higher. Trickeyplus requires and relies upon the routerplus kernel module, which replaces the stock tivo router.o. You can find routerplus here (http://www.pvrhax0r.com/forum/showthread.php?threadid=51).

Usage: trickeyplus [options]
Watches for defined remote sequences and executes commands.
Trickeyplus works with TiVo software v6.1 and higher and
requires alldeadhomiez' routerplus kernel module,
see http://www.pvrhax0r.com/forum/showthread.php?threadid=51

Options:
-c <file> Specify configuration file
-l List all possible keypress events
-r <num> Specify remote number
-t Test configuration file
-v Verbose mode

trickeyplus 0.8

Notes:

The options follow those of trickey closely, so I recommend a read through its documentation.
Unlike trickey, trickeyplus runs as a daemon and directs all output to /var/log/trickeyplus
Trickeyplus currently limits you to a maximum of ten tricks, with each trick consisting of no more than ten remote keypresses.

tivo4mevo
12-02-2007, 04:46 PM
Some notes about how to use trickeyplus:


Transfer over routerplus and trickeyplus files
Install routerplus and reboot to use:
remount
mv /lib/module/router.o /lib/module/router.orig
mv /var/hack/router.o /lib/module/router.o
reboot
Test your configuration file syntax
./trickeyplus -vt -c /path/to/trickeyplus.conf
If the reported tricks look correct, start trickeyplus
./trickeyplus -v -c /path/to/trickeyplus.conf
Press some remote keys and then check the log
cat /var/log/trickeyplus
Received remote event 27 (CLEAR)
Received remote event 27 (CLEAR)
Received remote event 27 (CLEAR)
Executing trick Date
Sun Dec 2 20:41:59 UTC 2007


Other points

Unless you specify a remote number, trickeyplus will respond to events from all remotes.
If you don't specify a configuration file, trickeyplus looks for a file named "trickeyplus.conf" in its current directory.
The trickeyplus daemon registers its pid in /var/run/trickeyplusd.pid, so you'll need to kill this pid and restart trickeyplus after an update to your conf file. You can always reboot as well.