[mythtv-users] mythtv won't reliably grab from /dev/video
ou401cru02 at sneakemail.com
Mon Mar 17 04:22:03 UTC 2003
> I'm looking for any help that I can get with setting up Myth to work
> with my ATI Remote.
I'm using the ati_remote module from the GATOS project (not lirc_usb),
and before the remote kicked the bucket last week, the following
settings were working for me:
alias usb-controller usb-ohci
alias usbdevfs usbcore
Identifier "ATI Remote"
Option "Protocol" "PS/2"
Option "Device" "/dev/input/mice"
# add to Section "ServerLayout"
InputDevice "ATI Remote" "CorePointer"
Once you have the device working, run xev, start pressing keys, and
write down the keycodes. You can use xmodmap to remap Myth keys to
these keycodes by creating a .xmodmaprc file and running xmodmap
.xmodmaprc in your .profile. Here's an example of my .xmodmaprc file,
which is still a work in progress:
! mythtv definitions
! remap menu key (176) to escape for cancel
keycode 63 = Escape
! remap open book (230) to m for menu
keycode 230 = m
keycode 110 = p
keycode 168 = p
keycode 146 = i
! map power button to quit
keycode 222 = Escape
! map stop button to quit
keycode 232 = Escape
! channel up to arrow up
keycode 105 = Up
keycode 99 = Down
! ff and rw to arrows
keycode 233 = Right
keycode 152 = Left
! volume controls
keycode 165 = bracketleft
keycode 158 = bracketright
keycode 166 = bar
Hope this helps!
More information about the mythtv-users