Gentoo Wiki


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 (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 ..

./ <- 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 ;).

Retrieved from ""

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