LIRC

http://www.lirc.org/

Ati / Medion X10
http://forum.ubuntuusers.de/topic/inbetriebnahme-der-fernbedienung-x10-vom-aldi/

commands
irw - view pressed key

rm_m40v-57501
setserial /dev/ttyS0 uart none
modprobe lirc_serial
modprobe uinput

irrecord -d /dev/lirc0 rm_m40v-57501

/etc/init.d/lirc restart

wget dl.panticz.de/hardware/yamaha_dsp-ax1/rm_m40v-57501

mkdir /usr/share/lirc/remotes/mitsubishi/
cp rm_m40v-57501 /usr/share/lirc/remotes/mitsubishi/rm_m40v-57501

cat < /etc/lircd.conf
include "/usr/share/lirc/remotes/mitsubishi/rm_m40v-57501"
EOF