[mythtv] G400 and ATI usb RF remote tips

Michel Goraczko mythtv-dev@snowman.net
Sat, 7 Dec 2002 18:05:34 -0500

I use mythtv for more then two months now. And I would like to share some  
parts of my setting that can me useful for other people.

FIRST the G400 tv-out setup:

I am using the fbdev on the second head for that. My system start directly in 
tv-out mode. With the standard XFree86 driver but with the option UseFBDev in 
the Device section. 
The graphics mode that I use in X is 800x600 in 24 bits and the best image I 
get is with this modeline (no overscan needed in my case, the image is not 
cut anywhere and the image look as good as with a vga-ntsc converter for me)

Modeline "800x600"     25.177 800 824 864 912 600 632 634 714

For 640x480 the best modeline that I found is:

Modeline "640x480"     28.572 640 646 692 728 480 508 509 574

The image is a little dark so I use the following command to modify the 
register on the card for that:

matrox 0x1e 0xd0

As described on her http://www.netnode.de/howto/matrox-fb.html this change the 
contrast value. The matrox utility  can be found her 
http://platan.vc.cvut.cz/ftp/pub/linux/matrox-latest/ inside the maven-prog 

NB: If your television (like sony) has a VM (Velocity Modulation) setting 
disable it otherwise the fonts look horrible.

SECOND the ati usb remote control:

I have one of the usb rf remote control from ATI (the same that come with the 
8500DV). I am using this remote for every operation in mythtv including PIP. 
This remote work as a mouse and keyboard. So is simple to configure in X 
after you load the following module (the ati_remote is from the GATOS 

input, hid, mousedev, keybdev, usbkbd, usbmouse, ati_remote.

There is no configuration needed in X for the keyboard and for the mouse my 
InputDevice section look like this:
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "PS/2"
    Option "Device" "/dev/input/mice"

The remote has a usb mouse integrated.

After that I use a .xmodmaprc to map the keys on the remote to different keys 
from mythtv:

keycode 108 = space
keycode 176 = Escape
keycode 230 = m
keycode 126 = i
keycode 146 = v
keycode 106 = b
keycode 110 = p
keycode 153 = n
keycode 152 = Left
keycode 233 = Right

Key like e (for editing already exist on the remote already).

If someone need for informations about this two components I will be glad to 

Michel Goraczko