Hi
Ben trying to get my remote to work for weeks with no luck. Althought i am starting to think i am getting close.
First of, the problem is, the remote isent working in myth, its working on some parts in xine, but not myth. in Xine i cant press play or ok to select something, but i can, mute and un mute, go back to menu, exit, and control direction of selection. oh and jump in stream. and that is about it.
also in mplayer the following things work:
stop, play, pause
This is my lircrc file:
Code:
# MythTV LIRC config file for the Logitech Harmony Remote
# model: 525
# by madsholme@hotmail.com
#
#
# /home/mythtv/.mythtv/lircrc
#
#
### RESET THE MYTH BOX or REBOOT IT
# 1 click is reset front end, 2 clicks is reboot
#
begin
prog = irexec
button = Power
config = /home/mythtv/scripts/mypower.sh &
end
#
### MYTHTV SETTINGS FOR IT'S CONTROL
#
# Program Guide
begin
remote = grayHauppauge
prog = mythtv
button = red
config = F2
end
#
# TV Recording Playback
begin
remote = grayHauppauge
prog = mythtv
button = green
config = F3
end
#
# Live TV
begin
remote = grayHauppauge
prog = mythtv
button = yellow
config = F4
end
#
# MythWeather
begin
remote = grayHauppauge
prog = mythtv
button = blue
config = F7
end
#
# MythGame
begin
remote = grayHauppauge
prog = mythtv
button = notset
config = F5
end
#
# MythMusic
begin
remote = grayHauppauge
prog = mythtv
button = notset
config = F6
end
#
# Previous Channel
begin
remote = grayHauppauge
prog = mythtv
button = prev
config = H
end
#
# Channel Up
begin
remote = grayHauppauge
prog = mythtv
button = chn-up
repeat = 3
config = Up
end
# Channel Down
begin
prog = mythtv
button = chn-down
repeat = 3
config = Down
end
# OK/Select
begin
prog = mythtv
button = ok
config = Space
end
# Play
begin
prog = mythtv
button = play
config = Return
end
# Stop
begin
prog = mythtv
button = stop
config = Esc
end
# Escape/Exit/Back
begin
prog = mythtv
button = exit
config = Esc
end
# Power Off/Exit
# begin
# prog = mythtv
# button = Power
# config = Esc
# end
# Red means stop!
#begin
#prog = mythtv
#button = red
#config = Esc
#end
# Pause
begin
prog = mythtv
button = pause
repeat = 3
config = P
end
# Mute
begin
prog = mythtv
button = mute
repeat = 3
config = F9
end
begin
prog = mythtv
button = arow-up
repeat = 3
config = Up
end
begin
prog = mythtv
button = arow-right
repeat = 3
config = Right
end
begin
prog = mythtv
button = arow-down
repeat = 3
config = Down
end
begin
prog = mythtv
button = arow-left
repeat = 3
config = Left
end
# Fast forward (while viewing)
begin
prog = mythtv
button = fwd
repeat = 3
config = >
end
# Rewind (while viewing)
begin
prog = mythtv
button = rew
repeat = 3
config = <
end
# Skip forward (10 min default)
begin
prog = mythtv
button = fwd
repeat = 3
config = PgDown
end
# Skip backward (10 min default)
begin
prog = mythtv
button = rew
repeat = 3
config = PgUp
end
# Record
begin
prog = mythtv
button = rec
repeat = 3
config = R
end
# Delete
begin
prog = mythtv
button = xxx
repeat = 3
config = D
end
# OSD browse
begin
prog = mythtv
button = menu
repeat = 3
config = O
end
# Display EPG while in live TV,
# View selected show while in EPG
begin
prog = mythtv
button = guide
repeat = 3
config = M
end
# Volume-Up
begin
prog = mythtv
button = xxxx
repeat = 3
config = ]
end
# Volume-Down
begin
prog = mythtv
button = xxxx
repeat = 3
config = ]
end
# Bring up OSD info
begin
prog = mythtv
button = info
repeat = 3
config = I
end
# Change display aspect ratio
#begin
#prog = mythtv
#button = FULL
#repeat = 3
#config = W
#end
# Seek to previous commercial cut point
begin
prog = mythtv
button = vol-down
repeat = 3
config = Q
end
# Seek to next commercial cut point
begin
prog = mythtv
button = vol-up
repeat = 3
config = Z
end
# Numbers 0-9
begin
prog = mythtv
button = 0
repeat = 3
config = 0
end
begin
prog = mythtv
button = 1
repeat = 3
config = 1
end
begin
prog = mythtv
button = 2
repeat = 3
config = 2
end
begin
prog = mythtv
button = 3
repeat = 3
config = 3
end
begin
prog = mythtv
button = 4
repeat = 3
config = 4
end
begin
prog = mythtv
button = 5
repeat = 3
config = 5
end
begin
prog = mythtv
button = 6
repeat = 3
config = 6
end
begin
prog = mythtv
button = 7
repeat = 3
config = 7
end
begin
prog = mythtv
button = 8
repeat = 3
config = 8
end
begin
prog = mythtv
button = 9
repeat = 3
config = 9
end
#
### MPlayer lirc setup
#
# Show OSD
begin
prog = mplayer
button = menu
repeat = 3
config = osd
end
# Pause playback
begin
prog = mplayer
button = pause
repeat = 3
config = pause
end
# Skip ahead a minute if playing
# If paused, resume playing
begin
prog = mplayer
button = play
repeat = 3
config = seek +1
end
# Stop playback and exit
begin
prog = mplayer
button = stop
repeat = 3
config = quit
end
# Mute
begin
prog = mplayer
button = mute
repeat = 3
config = mute
end
# Seek back 10 seconds
begin
prog = mplayer
button = rew
repeat = 3
config = seek -10
end
# Seek forward 30 seconds
begin
prog = mplayer
button = Fwd
repeat = 3
config = seek +30
end
# Quit
begin
prog = mplayer
button = exit
repeat = 3
config = quit
end
# Seek forward 10 minutes
begin
prog = mplayer
button = vol-up
repeat = 3
config = seek +600
end
# Seek backward 10 minutes
begin
prog = mplayer
button = vol-down
repeat = 3
config = seek -600
end
# Toggle full-screen
#begin
#prog = mplayer
#button = FULL
#repeat = 3
#config = vo_fullscreen
#end
#
#
### XINE CONFIGURATION
#
##
# xine key bindings.
# Automatically generated by xine-ui version 0.99.2.
##
# start playback
begin
button = play
prog = xine
repeat = 3
config = Play
end
# playback pause toggle
begin
button = pause
prog = xine
repeat = 3
config = Pause
end
# stop playback
begin
button = stop
prog = xine
repeat = 3
config = Stop
end
# take a snapshot
begin
button = rec
prog = xine
repeat = 3
config = Snapshot
end
# eject the current medium
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 3
config = Eject
end
# set position to -60 seconds in current stream
begin
button = vol-down
prog = xine
repeat = 3
config = SeekRelative-60
end
# set position to +60 seconds in current stream
begin
button = vol-up
prog = xine
repeat = 3
config = SeekRelative+60
end
# set position to -30 seconds in current stream
begin
button = xx
prog = xine
repeat = 3
config = SeekRelative-30
end
# set position to +30 seconds in current stream
begin
button = xx
prog = xine
repeat = 3
config = SeekRelative+30
end
# set position to +7 and -7 seconds in current stream
begin
button = 1
prog = xine
repeat = 3
config = SeekRelative-7
end
begin
button = 2
prog = xine
repeat = 3
config = SeekRelative+7
end
begin
button = 4
prog = xine
repeat = 3
config = SetPosition40%
end
begin
button = 5
prog = xine
repeat = 3
config = SetPosition70%
end
begin
button = fwd
prog = xine
repeat = 3
config = SpeedFaster
end
begin
button = rew
prog = xine
repeat = 3
config = SpeedSlower
end
begin
button = xx
prog = xine
repeat = 3
config = SpeedReset
end
# increment audio volume
begin
button = xx
prog = xine
repeat = 3
config = Volume+
end
# decrement audio volume
begin
button = xx
prog = xine
repeat = 3
config = Volume-
end
# audio muting toggle
begin
button = mute
prog = xine
repeat = 3
config = Mute
end
# set video output window to 100%
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 3
config = Window100
end
# set video output window to 200%
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 3
config = Window200
end
# zoom in
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 3
config = ZoomIn
end
# zoom out
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 3
config = ZoomOut
end
# fullscreen toggle
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 3
config = ToggleFullscreen
end
# Xinerama fullscreen toggle
begin
remote = xxxxx
button = xxxxx
prog = xine
repeat = 3
config = ToggleXineramaFullscr
end
# jump to Title Menu
begin
button = menu
prog = xine
repeat = 3
config = TitleMenu
end
# jump to Root Menu
begin
remote = xxxxx
button = info
prog = xine
repeat = 3
config = RootMenu
end
# menu navigate up
begin
button = arow-up
prog = xine
repeat = 3
config = EventUp
end
# menu navigate down
begin
button = arow-down
prog = xine
repeat = 3
config = EventDown
end
# menu navigate left
begin
button = arow-left
prog = xine
repeat = 3
config = EventLeft
end
# menu navigate right
begin
button = arow-right
prog = xine
repeat = 3
config = EventRight
end
# visibility toggle of stream info window
begin
button = guide
prog = xine
repeat = 3
config = StreamInfosShow
end
# display stream information using OSD
begin
button = prew
prog = xine
repeat = 3
config = OSDStreamInfos
end
# increase brightness by 10
begin
button = chn-up
prog = xine
repeat = 3
config = BrightnessControl+
end
# decrease brightness by 10
begin
button = chn-down
prog = xine
repeat = 3
config = BrightnessControl-
end
# quit the program
begin
button = exit
prog = xine
repeat = 3
config = Quit
end
##
# End of xine key bindings.
##
this is my remote setup file:Code:
# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.7.2pvr150(serial) on Tue Jan 31 06:36:18 2006
#
# contributed by
#
# brand: ./remote.setup
# model no. of remote control:
# devices being controlled by this remote:
#
begin remote
name ./remote.setup
bits 13
flags RC5|CONST_LENGTH
eps 30
aeps 100
one 963 817
zero 963 817
plead 986
gap 116044
toggle_bit 0
begin codes
ok 0x17A5
stop 0x1FB6
play 0x17B5
rec 0x1FB7
rew 0x17B2
fwd 0x1FB4
pause 0x17B0
guide 0x1F9B
info 0x178A
exit 0x1F9F
menu 0x178D
mute 0x1F8F
prev 0x1792
arow-up 0x1F94
arow-down 0x1795
arow-left 0x1F96
arow-right 0x1797
vol-up 0x1F90
vol-down 0x1791
chn-up 0x1FA0
chn-down 0x17A1
0 0x1780
1 0x1F81
2 0x1782
3 0x1F83
4 0x1784
5 0x1F85
6 0x1786
7 0x1F87
8 0x1788
9 0x1F89
end codes
end remote
if i use irw it is displaying the right codes in the console. any one got some ideas?