I write here the config cause I'm tired to spend more than 2 hours finding the good configuration on the net.

  • So install a TV player, i'm using TVTIME.
  • now install lirc: apt-get install lirc-x (some other packages are suggested, install them or no...)
  • the fucking and incomplete doc is there: /usr/share/doc/lirc-x/
  • now you need to find the right remote config in /usr/share/doc/lirc-x/remotes and then copy it to /etc/lirc/:
cp /usr/share/doc/lirc-x/remotes/pinnacle_systems/lircd.conf.pctv /etc/lirc/lircd.conf
  • I don't need lircdm.conf
  • edit /etc/lirc/hardware.conf and fill with the following content:
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS=""

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD=false

#Try to load appropriate kernel modules
LOAD_MODULES=true

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="pinsys"
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
DEVICE="/dev/ttyS0"
MODULES=""
  • copy .lircrc in /root/ and /home/your_usr_name. This file contains all action attributed to your remote button
  • if you let the config like this you'll have to start lircd and irexec before every use of the remote. It seems that there a better solution. update-rc.d lirc defaults to load the deamon automaticaly at startup. Then go to Desktop>Preferences>Sessions>Startup Program add irexec to thelist of program to be launch at startup