HowTo enable the ati remote

Share your success stories with others

Moderator: Pablo

Post Reply
Posts: 107
Joined: Wed Aug 27, 2003 12:23 pm
Location: Reading, UK

HowTo enable the ati remote

Post by Hairlocks »

Hopefully I can remember everything, correctly, but I am writing this from memory, and I have been using the 2.4.22 kernel so I may miss somthing.

All you need to do is recomplile the kernel to get the following modules

download and put it in /usr/src and make sure there is a linux softlink to the correct kernel (e.g. ln -s /usr/src/linux-2.4.21 /usr/src/linux)

compile the ati_remote.o module and put it with the others in the /lib/modules dirrectory of the minimyth root.

then edit the /etc/lirc.script to include and ati section

mount -t usbdevfs none /proc/bus/usb
insmod hid.o
insmod ehci_hcd.o
insmod uhci.o
insmod ati_remote.o

(the mount needs to be done before loading the ati_remote module)

and the arrow keys and ok button should work straight away. The ati remote is different to other lirc remotes and it is seen buy the kernel as a keyboard (and mouse ). To configure the keys you can either edit the source code, need to can one to be an ESC key, being careful wih the abcdef buttons alone as these can effect any normal keyboard attached. The other method is to use Xmodmap which I haven't tried yet, and at a guess isn't avaliable under the current minimyth X.
Post Reply