How to use the Ads Instant TV PCI remote controler in any program

Purpose

To be able to control any program using the remote controler buttons under both Linux and Windows.

Linux

Le module du kernel

Patch à appliquer aux sources du kernel 2.6.16.
Update 15 avril 2006 : patch nettoyé et appliqué au kernel 2.6.14
Update 16 mai 2006 : patch nettoyé et appliqué au kernel 2.6.16

Pour compiler ce module :

cd /usr/src/linux/
gzcat saa7134_patch_for_AdsInstantTVPCI.gz | patch -p0
make modules M=drivers/media/video/saa7134
cp drivers/media/video/saa7134/saa7*.ko /lib/modules/2.6.14/kernel/drivers/media/video/saa7134/ -f
for i in /lib/modules/2.6.14/kernel/drivers/media/video/saa7134/*.ko; do gzip -f $i;done
Pour charger le module :

Linux sans Lirc - assigner des touches normales aux touches de la télécommande

Utiliser xev pour récupérer les keycodes correspondant aux touches de la télécommande.

Exemple d'utilisation de touches avec mplayer : j'assigne les touches Play => espace, Stop => q pour quitter, Forward/Backward => gauche/droite pour avancer/reculer dans le film.

xmodmap -e "keycode 162 = 32"
xmodmap -e "keycode 234 = Left"
xmodmap -e "keycode 233 = Right"
xmodmap -e "keycode 232 = q"
puis lancer "mplayer -nolirc film.avi"

Linux et Lirc

Ca fonctionne également :

Windows

Download these files : Install Girder, then uncompress the ads plugin in C:\Program Files\girder32\plugins. Launch Girder, load the .GML file. Several keys for Zoom Player will be set. Test them.
If everything is working properly, in the options of Girder you may want to :