Tony Houghton wrote:
If you want to rely on existing stuff, maybe you can use the remote plugin from Oliver Endriss for your needs - it supports tty control and telnet control.
That sounds like the best idea. If I wrote my own plugin I'd probably just be effectively duplicating the telnet interface that's already there. It's well-supported (including a Debian package) and I was already using its input device functionality before for the Hauppauge remote. It never occurred to me to look for its telnet interface.
The telnet interface is more than just a key-input device, it also displays a text replication of the OSD menus and standard dialogs. But you can redirect that to /dev/null of course.
Cheers,
Udo