Ubuntu 12.04 LTS
To install
Name | Task |
---|---|
lirc | This package provides the daemons and some utilities to support infra-red remote controls |
lirc-x | This package provides X utilities for LIRC: irxevent & xmode2 |
xfonts-75dpi | Pixel font |
Programs used during setup
Program | Task |
---|---|
irrecord | Record commands |
irw | Output commands in the Terminal |
mode2 | |
xmode2 | shows the IR waveform of the remote controller without an oscilloscope. Unneeded for TV cards or the Irman. |
ixrevent | allows controlling X applications with a remote control |
Lirc root:
/etc/lirc
| - hardware.conf
| - hardware.conf.old
| - lircd.conf
| - lircd.conf.dpkg-old
| - lircmd.conf
Config docs, when lircmd.conf
is unconfigured:
/usr/share/doc/lirc/REAMDE.Debian
List drivers (every =string
will list all available drivers - as long as the driver isn't present)
lircd --driver=help
Start/Stop LIRC
sudo /etc/init.d/lirc stop
sudo /etc/init.d/lirc start
Configuration file:
Remote config (example):
/usr/share/lirc/remotes/asus/lircd.conf.asusdh
With the following script you can list all names associated with all existing Linux input devices.
for i in /sys/class/input/input* ; do echo -n "$(basename "$i"): "; cat "$i/name"; done
Reconfigure LIRC
sudo dpkg-reconfigure lirc
Existierende /etc/lirc/lircd.conf
sichern und kopieren:
sudo cp /etc/lirc/lircd.conf /etc/lirc/lircd.orig.conf
GUI Settings entfernen, falls XBMC nur 1/4 des Screens einnimmt:
ls -al # .xbmc
sudo rm .xbmc/userdata/guisettings.xml
sudo xbcm # programm startet