View Full Version : Sendkey on 6.2
CyberJaak
05-10-2005, 12:13 AM
Does anyone have sendkey or TWP web remote working on 6.2?
-CyberJaak
The Only Druid
05-10-2005, 05:50 PM
Does anyone have sendkey or TWP web remote working on 6.2?
-CyberJaak
Lets see, which threads would this have been approrpriate in?
1) The 6.2 Questions thread.
2) The TivoWebPlus Questions thread.
Now is this one of those threads? No? So you're saying it was dumb to create a thread for this purpose? Interesting...
alldeadhomiez
05-11-2005, 05:54 PM
http://www.dealdatabase.com/forum/showthread.php?p=216547&highlight=sendkey+6.2#post216547
The problem I ran into with 7.1 is that the 29040 server changes at some point, so when your sendkey program connects to the TvBus router, it has no way to communicate with the process that is receiving remote events.
The solution I came up with is to make a daemon that loads at startup and creates a session with the huxley process that is the "original" 29040 server. Then your client utility (sendkey) can send keystrokes to the daemon through a UNIX socket or some other mechanism.
You will be able to determine whether this is required on 6.2 by carefully watching the output of rpsniff. If the destination client is different from the 29040 server for keypress events, you will need to employ this (or another) workaround.
lgkahn
05-11-2005, 09:57 PM
is the source for your deamon you wrote for 7.1 avail. to try to get working on 6.2.
thanks
alldeadhomiez
05-11-2005, 11:16 PM
is the source for your deamon you wrote for 7.1 avail. to try to get working on 6.2.
Nah, never finished it. The workaround I used (which would be a bad idea in practice) was to attach to routerplus with rpsniff, find the correct server by hand, and use IOCTL_WRITEEXT to forge a message. This worked on 7.1.
Since another process is clearly initiating a session at the correct time so that it can connect to the right 29040 server, it stands to reason that our daemon can do the same thing. This is cleaner and more likely to work in future versions than dumping and searching the session table.
lgkahn
05-13-2005, 09:29 AM
would this solution work for listening on events also... that is really what I want to get working under 6.2 so my patch can run and I can push files to the other tivos or pull from the ftp repository now over 1 terabyte...
thanks
mateom199
06-30-2005, 04:51 PM
Has anyone been looking into sendkey on 6.2? I installed routerplus and played around with some tweaked versions of chanflip and rpsniff, but creating the needed daemon is out of my league.
TivoWare
07-21-2005, 12:44 PM
Do we need to start a bounty for Sendkey on 6.2? Thats about the only way the ones of us with no smarts or time can contribute.
JJBliss
07-21-2005, 04:20 PM
Do we need to start a bounty for Sendkey on 6.2? Thats about the only way the ones of us with no smarts or time can contribute.
I think you can start one up if you have the time. Feel free to organize a bounty for anything you want in the world. It's a free market system.
RYSmith315
02-19-2006, 07:59 PM
http://www.dealdatabase.com/forum/showthread.php?p=216547&highlight=sendkey+6.2#post216547
The problem I ran into with 7.1 is that the 29040 server changes at some point, so when your sendkey program connects to the TvBus router, it has no way to communicate with the process that is receiving remote events.
The solution I came up with is to make a daemon that loads at startup and creates a session with the huxley process that is the "original" 29040 server. Then your client utility (sendkey) can send keystrokes to the daemon through a UNIX socket or some other mechanism.
You will be able to determine whether this is required on 6.2 by carefully watching the output of rpsniff. If the destination client is different from the 29040 server for keypress events, you will need to employ this (or another) workaround.
I've tried using router plus and a variation of chanflip to produce sendkey events with some success. I grab the first remote event I see and copy the message off for use in buliding future messages, which works, but it seems to only kick out two events before being rejected. I tried updating the seq. flag and the time on the message but to no avail. I got the daemon part working before I gave up.
ADH, Do you have any sample code using routerplus to inject mesasges that works consistantly?
SpoonsJTD
04-12-2006, 05:16 PM
Bump.
Seems like routerplus opens up a lot of potential that isn't being tapped, is no one doing anything with this?
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.