[mythtv-users] ATI USB Remote Wonder
jonr at destar.net
jonr at destar.net
Tue Jul 4 06:15:05 UTC 2006
After fighting with this I am putting it on the list so the next time I can
figure it out faster. :)
I still need to figure out how to make the lirc_atiusb not start and how to put
ati_remote in modprobe.conf.
1. Download and unzip lirc.
2. Run configure and choose 'USB' then the first option *NOT* 'User_Space'. Save
but do not run configure.
3. Run configure this way: './configure with-driver=dev/input'
4. Run 'make'.
5. Run 'make install'
Remove the lirc_atiusb module: 'rmmod lirc_atiusb'.
Make sure ati_remote is loaded: 'modprobe ati_remote'.
6. Find what event you are running: 'more /proc/bus/input/devices' This number
is used at the end of the next cmd.
7. To start the daemon: '/usr/local/sbin/lircd -H dev/input -d
/dev/input/event*' <---Number from above.
To run irrecord: 'irrecord -H dev/input -d /dev/input/event* <somefile>'. Notice
the event number needs to be added. This should be added to '/etc/rc.local'
To check if the remote is working use 'irw'.
Lircd.conf:
# Please make this file available to others
# by sending it to <lirc at bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.8.0(devinput) on Mon Jul 3 16:41:35 2006
#
# contributed by:
#
# brand: ATI Remote Wonder I
# model no. of remote control: 5000015900A
# devices being controlled by this remote: MythTV
#
begin remote
name outputfile.txt
bits 24
eps 30
aeps 100
one 0 0
zero 0 0
pre_data_bits 8
pre_data 0x0
gap 187791
toggle_bit 1
begin codes
A 0x01001E
B 0x010030
POWER 0x010074
TV 0x010179
DVD 0x010185
WEB 0x010096
BOOK 0x01009C
HAND 0x0100B0
LMOUSE 0x010110
RMOUSE 0x010111
MOUSEPADUP 0x020001
MOUSEPADDOWN 0x020010
MOUSEPADRIGHT 0x020000
MOUSEPADLEFT 0x020004
VOL- 0x010072
VOL+ 0x010073
MUTE 0x010071
CH- 0x010193
CH+ 0x010192
1 0x010002
2 0x010003
3 0x010004
4 0x010005
5 0x010006
6 0x010007
7 0x010008
8 0x010009
9 0x01000A
0 0x01000B
COMB 0x01008B
CHECK 0x010060
C 0x01002E
D 0x010020
E 0x010012
F 0x010021
UP 0x010067
DOWN 0x01006C
LEFT 0x010069
RIGHT 0x01006A
OK 0x010160
REW 0x0100A8
FWD 0x01009F
PLAY 0x0100CF
REC 0x0100A7
STOP 0x010080
PAUSE 0x010077
TV_ON_DEMAND 0x010098
MAXIMIZE 0x010084
end codes
end remote
lircrc:
# ~/.mythtv/lircrc
#
# MythTV native LIRC config file for
# the ATI-Wonder Remote
# using lirc_atiusb driver
#
begin
#Jumppoint for Program Guide created in Mythweb
prog = mythtv
button = TV
# config = !
repeat = 5
config = alt+ctrl+1
end
begin
#Jumppoint for DVD playback created in Mythweb
prog = mythtv
button = DVD
repeat = 5
config = alt+ctrl+2
end
begin
prog = mythtv
#Jumppoint for MythWeather created in Mythweb
button = WEB
repeat = 5
config = alt+ctrl+3
end
begin
prog = mythtv
#Jumppoint for MythVideo created in Mythweb
button = BOOK
repeat = 5
config = alt+ctrl+4
end
begin
prog = mythtv
#Jumppoint for MythMusic created in Mythweb
button = HAND
repeat = 5
config = alt+ctrl+5
end
begin
prog = mythtv
button = 1
config = 1
repeat = 5
end
begin
prog = mythtv
button = 2
config = 2
repeat = 5
end
begin
prog = mythtv
button = 3
config = 3
repeat = 5
end
begin
prog = mythtv
button = 4
config = 4
repeat = 5
end
begin
prog = mythtv
button = 5
config = 5
repeat = 5
end
begin
prog = mythtv
button = 6
config = 6
repeat = 5
end
begin
prog = mythtv
button = 7
config = 7
repeat = 5
end
begin
prog = mythtv
button = 8
config = 8
repeat = 5
end
begin
prog = mythtv
button = 9
config = 9
repeat = 5
end
begin
prog = mythtv
button = 0
config = 0
repeat = 5
end
begin
prog = mythtv
button = MOUSEPADUP
config = Up
end
begin
prog = mythtv
button = MOUSEPADDOWN
config = Down
end
#begin
# prog = mythtv
# button = MOUSE_LEFT
# config = Left
#end
#begin
# prog = mythtv
# button = MOUSE_RIGHT
# config = Right
#end
begin
prog = mythtv
button = RMOUSE
repeat = 5
config = Esc
end
begin
prog = mythtv
# Enter button
button = LMOUSE
repeat = 5
config = Return
end
#####################################
begin
prog = mythtv
button = POWER
repeat = 5
config = Esc
end
#####################################
begin
prog = mythtv
# Enter button
button = OK
repeat = 5
config = Return
end
begin
prog = mythtv
button = UP
repeat = 10
config = Up
end
begin
prog = mythtv
button = DOWN
repeat = 10
config = Down
end
begin
prog = mythtv
button = LEFT
repeat = 10
config = Left
end
begin
prog = mythtv
button = RIGHT
repeat = 10
config = Right
end
begin
prog = mythtv
button = D
repeat = 5
config = Esc
end
begin
prog = mythtv
button = CH+
repeat = 5
config = Up
end
begin
prog = mythtv
button = CH-
repeat = 5
config = Down
end
begin
prog = mythtv
button = VOL-
repeat = 5
config = F10
end
begin
prog = mythtv
button = VOL+
repeat = 5
config = F11
end
begin
prog = mythtv
button = MUTE
repeat = 5
config = F9
end
begin
# Mute for MythMusic
prog = mythtv
button = MUTE
repeat = 5
config = |
end
#begin
# prog = mythtv
# button = DVD_ROOTMENU
# repeat = 5
# config = M
#end
begin
prog = mythtv
# Enter button
button = SETUP
repeat = 5
config = Return
end
begin
prog = mythtv
button = A
repeat = 5
config = S
end
begin
prog = mythtv
button = B
repeat = 5
config = I
end
begin
prog = mythtv
button = C
repeat = 5
config = T
end
begin
prog = mythtv
# Change focus for PiP (to change channel in the other window)
button = MAXIMIZE
repeat = 5
config = B
end
begin
prog = mythtv
# Toggle PiP on/off
button = TV_ON_DEMAND
repeat = 5
config = V
end
begin
prog = mythtv
button = REW
repeat = 5
config = <
end
begin
prog = mythtv
button = FWD
repeat = 5
config = >
end
begin
prog = mythtv
button = REW
repeat = 5
config = Left
end
begin
prog = mythtv
button = FWD
repeat = 5
config = Right
end
begin
prog = mythtv
button = REC
repeat = 5
config = R
end
begin
prog = mythtv
button = STOP
repeat = 5
config = Esc
end
begin
prog = mythtv
button = PLAY
repeat = 5
config = P
end
begin
prog = mythtv
button = PAUSE
repeat = 5
config = p
end
#Page Up/Down
begin
prog = mythtv
button = E
repeat = 5
config = PgUp
end
begin
prog = mythtv
button = F
repeat = 5
config = PgDown
end
begin
prog = mythtv
button = E
# Use for backwards commercial skip
repeat = 5
config = Q
end
begin
prog = mythtv
button = F
# Use for forward commercial skip
repeat = 5
config = Z
end
#################################################
#Mplayer #
#################################################
begin
prog = mplayer
button = PLAY
config = pause
end
begin
prog = mplayer
button = PAUSE
config = pause
end
begin
prog = mplayer
button = STOP
config = quit
end
begin
prog = mplayer
button = POWER
config = quit
end
begin
prog = mplayer
button = D
config = quit
end
#begin
#prog = mplayer
#button = MOUSE_RIGHT_BTN
#config = quit
#end
begin
prog = mplayer
button = MUTE
config = mute
end
begin
prog = mplayer
button = E
repeat = 6
config = seek -10
end
begin
prog = mplayer
button = F
repeat = 6
config = seek 10
end
begin
prog = mplayer
button = REW
repeat = 6
config = seek -70
end
begin
prog = mplayer
button = FWD
repeat = 6
config = seek 70
end
begin
prog = mplayer
button = VOL-
repeat = 6
config = volume -1
end
begin
prog = mplayer
button = VOL+
repeat = 6
config = volume 1
end
#################################################
#Xine #
#################################################
begin
prog = xine
button = PLAY
config = Play
end
begin
prog = xine
button = PAUSE
config = PAUSE
end
begin
prog = xine
button = STOP
config = Stop
end
begin
prog = xine
button = POWER
config = Quit
end
begin
prog = xine
button = D
config = quit
end
begin
prog = xine
button = MOUSE_RIGHT_BTN
config = quit
end
begin
prog = xine
button = UP
repeat = 4
config = EventUp
end
begin
prog = xine
button = DOWN
repeat = 4
config = EventDown
end
begin
prog = xine
button = LEFT
repeat = 4
config = EventLeft
end
begin
prog = xine
button = RIGHT
repeat = 4
config = EventRight
end
begin
prog = xine
button = OK
repeat = 0
config = EventSelect
end
begin
prog = xine
button = MOUSE_UP
repeat = 4
config = EventUp
end
begin
prog = xine
button = MOUSE_DOWN
repeat = 4
config = EventDown
end
begin
prog = xine
button = MOUSE_LEFT
repeat = 4
config = EventLeft
end
begin
prog = xine
button = MOUSE_RIGHT
repeat = 4
config = EventRight
end
begin
prog = xine
button = MOUSE_LEFT_BTN
repeat = 0
config = EventSelect
end
begin
prog = xine
button = DVD_ROOTMENU
repeat = 0
config = Menu
end
#vol down
begin
prog = xine
button = VOL-
repeat = 1
config = Volume-
end
#vol up
begin
prog = xine
button = VOL+
repeat = 1
config = Volume+
end
begin
prog = xine
button = TV_ON_DEMAND
repeat = 1
config = ZoomIn
end
begin
prog = xine
button = MAXIMIZE
repeat = 1
config = ZoomOut
end
#skip chapter forward
begin
prog = xine
button = FWD
repeat = 1
config = EventNext
end
#skip chapter backward
begin
prog = xine
button = REW
repeat = 1
config = EventPrior
end
begin
prog = xine
button = F
repeat = 2
config = SeekRelative+45
end
begin
prog = xine
button = E
repeat = 2
config = SeekRelative-45
end
More information about the mythtv-users
mailing list