Search:  
Gentoo Wiki

Asus_a7j_lirc_RC

This article is part of the Hardware series.
Laptops TV Tuner Cards Wireless Servers Storage Other Hardware Motherboards Related

ASUS A7J lirc setup


After a long time of ****** I managed to make work my RC :). So to save your time, here we go: Get "linux-source build-essential gcc-3.4"

su (sudo -s)

cd /usr/src

wget http://lirc.sourceforge.net/software/snapshots/lirc-0.8.1pre2.tar.bz2 (newest version)

tar xvfj lirc-0.8.1pre2.tar.bz2

cd /usr/src/lirc-0.8.1pre2/drivers

ln -s /usr/src/linux/drivers drivers

cd ..

./setup.sh <- Choose driver configuration->IrDA hardware->SIR IrDA->Com2(0x2f8, 3(IRQ)) apply and then choose "save configuration &run configure"

make && make install

setserial /dev/ttyS0 uart none

setserial /dev/ttyS1 uart none (?)

modprobe lirc_sir

modprobe lirc_dev (?)

modprobe lirc_sir (?)

Where's (?) I am not sure that that command is needed.

Gentoo way: /etc/make.conf add LIRC_DEVICES="serial sir"

emerge -a lirc setserial

setserial /dev/ttyS0 uart none

setserial /dev/ttyS1 uart none

modprobe lirc_sir io=0x02f8 irq=3


In the end check if everything works with mode2 (sudo mode2 -d /dev/lirc0) command :).


This article need wiki pro rework! I just wanted to share my work ;). Besides I am not english native so correct my grammar mistakes ;).

dankeris@gmail.com

Retrieved from "http://www.gentoo-wiki.info/Asus_a7j_lirc_RC"

Last modified: Sun, 27 Apr 2008 19:37:00 +0000 Hits: 1,909