Gentoo LIRC

From VDR Wiki
Revision as of 17:15, 20 January 2007 by 82.234.150.226 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Lirc IR remote control on port com1 Download IR RS232 electronic shematic @ http://gentoo-vdr.homelinux.org

Ajouter LIRC_DEVICES="serial" dans make.conf

emerge lircd setserial

Ajouter /dev/ttyS0 uart none dans /etc/serial.conf

rc-update add serial default
/etc/init.d/serial start

Ajouter LIRCD_OPTS="-d /dev/lirc/0" dans /etc/conf.d/lircd

echo "lirc-serial" >> /etc/modules.autoload.d/kernel-2.6
nano -w /etc/modules.d/lirc	*/creer un fichier lirc et ajouter ceçi

Fichier /etc/modules.d/lirc

alias char-major-61 lirc_serial
options lirc_serial irq=4 io=0x3f8
install lirc_serial /bin/setserial /dev/ttyS0 uart none ;\
/sbin/modprobe --ignore-install lirc_serial 
modprobe lirc-serial
modules-update
rc-update add lircd default
nano -w /etc/init.d/lircd	*/ajouter ceci a lircd

Fichier /etc/init.d/lircd

depend() {
after serial
} 
wget -c http://lirc.sourceforge.net/remotes/technisat/TTS35AI
mv TTS35AI /etc/lircd.conf	*/ici un modele technisat
irrecord --device /etc/lirc/0 lircd.conf	*/Ou generer un fichier de conf
/etc/init.d/lircd start
irw 	*/ Pour tester...

enjoy Lirc !