LIRC et deux telecommandes

De MicElectroLinGenMet.

Description

Configuration de LIRC pour utiliser une télécommande IR Terratec et une télécommande RF/USB ATI Remote.

Documentation de référence



Configuration

  • Setup lirc-0.8.1
./setup.sh (choisir driver dev/input)
make
./setup.sh (choisir driver atiusb)
make
./configure --with-driver=all
make && make install
  • Lancement daemons
# lircd --driver=dev/input --device=/dev/input/event1 --output=/dev/lircd1 --pidfile=/var/run/lircd1.pid --listen
# lircd --driver=default --device=/dev/lirc --output=/dev/lircd --pidfile=/var/run/lircd.pid --connect=localhost:8765

  • Devices créés
vesta:etc# l /dev/lirc*
crw-r--r-- 1 root root  61, 0 mar  2 17:09 /dev/lirc
srw-rw-rw- 1 root root      0 mar  2 17:49 /dev/lircd=
srw-rw-rw- 1 root root      0 mar  2 17:50 /dev/lircd1=
prw-r--r-- 1 root root      0 mar  2 17:11 /dev/lircm|
  • Test réception des 2 télécommandes
vesta:etc# irw
0000000000010160 00 Ok TerraTec_Cinergy_1400
000000000001006a 00 Right TerraTec_Cinergy_1400
0000000000010069 00 Left TerraTec_Cinergy_1400
000000000001006c 00 Down TerraTec_Cinergy_1400
0000000000010067 00 Up TerraTec_Cinergy_1400
00000014dd080000 00 vol+ ATIUSB_5000023600
00000014dd080000 01 vol+ ATIUSB_5000023600
00000014de090000 00 vol- ATIUSB_5000023600
00000014de090000 01 vol- ATIUSB_5000023600
00000014e10c0000 00 ch- ATIUSB_5000023600
00000014e10c0000 01 ch- ATIUSB_5000023600
00000014e00b0000 00 ch+ ATIUSB_5000023600
00000014e00b0000 01 ch+ ATIUSB_5000023600


3 mars 2007


Administration wiki