in reply to (Mostly OT) Using a remote with perl?

LIRC (http://www.lirc.org) is the "Linux Infra Red Control" project. It provides drivers and an interface for programs that want to react to remote controls under Linux.

You can find Perl interfaces to LIRC at Lirc.

  • Comment on Re: (Mostly OT) Using a remote with perl?

Replies are listed 'Best First'.
Re: (Mostly OT) Using a remote with perl?
by b10m (Vicar) on Apr 07, 2004 at 13:53 UTC

    LIRC is indeed what you want. After you got that set up (even my exotic remote worked :) you can just use 'irexec' to hack some scripts together (I use bash) to do whatever you want. I currently run xmms, xawtv via the remote, as well as a little script that passes my last email to festival and a little snippet that will display the From and Subject header of my latest two emails on my screen, using osd_cat.

    --
    b10m

    All code is usually tested, but rarely trusted.
      LIRC sounds very promising, but I'm a tad confused as to exactly what I could use to get signals from my remote to the computer. The only two devices it lists in the "hardware" side are both in german so I'm not sure which I need/should get. What did you use to receive signals from your "exotic" remote?

        Inspired by your post, I bought a serial IR receiver from Zapway (english version). I will use it with a remote controller sold with my Lego Mindstorms construction set...

        Ciao, Valerio