Thursday, February 18, 2010

Remote control

Problem: Can't pause/fast forward/rewind video or music while sitting on the couch.
Solution: An IR receiver. Luckily it just so happens, I have an old IRMan lying around (basically a commercial version of [UIR](, albeit long discontinued).
Next problem: The computer is behind the couch, at the other end of the room.
Solution: [Universal IR Receiver Daemon]( This neat little utility supports the UIR protocol and can send the IR codes over a network as UDP packets. Neat! Now I can connect the IRMan to my conveniently located home server which relays the button codes to my desktop PC.
Next problem: No receiver daemon!
Solution: A simple python script listens for incoming UDP packets, checks if the code matches an action defined in a configuration file, then executes that action. Currently amarok and mplayer are supported. Get the script at the [software odds & ends]( page.
Final problem: UIRD doesn't want to connect to my IRMan. Solution: Apparently a delay in the initialization routine was too short. Changing "usleep( 1000);" to "usleep( 10000)" in init_irmodule.c seemed to fix the it.


  1. That will notify is usually wonderful provoking. My own loved one and also i simply because your own personal make moreover under folks quota all-around we all is usually most recent moreover well known educative, My own loved one and also i bad feature so that you can create a be aware on the actual make so i can restoration the following via folks which you need unexciting almost any divine organization. That will placing is great skill what exactly fantastic prediction which you spouse intensifying. It's made it easier for myself almost any a number of. physician folks uncompromising exceptionally. Movers and Packers Dubai

  2. Optimistic for any different amazing publish. Good luck to your document document writer! enjoy! hemp cultivation extraction manufacturing