[mythtv-users] RE: xbox dvd remote on xebian 1.1.4
Daniel Walton
dwalton at cisco.com
Tue Dec 6 10:05:21 EST 2005
On Tue, 6 Dec 2005, Fred Squires wrote:
> On 12/6/05, Daniel Walton <dwalton at cisco.com> wrote:
> >
> > More info here...irw can see the signal coming from the remote
> >
> > live at xbox:~$ irw
> > 0000000000559aa6 00 UP XboxDVDRemote
> > 0000000000559aa6 01 UP XboxDVDRemote
> > 0000000000558aa7 00 DOWN XboxDVDRemote
> > 0000000000558aa7 01 DOWN XboxDVDRemote
> > 0000000000557aa8 00 RIGHT XboxDVDRemote
> > 0000000000557aa8 01 RIGHT XboxDVDRemote
> > 0000000000556aa9 00 LEFT XboxDVDRemote
> > 0000000000531ace 00 1 XboxDVDRemote
> > 0000000000531ace 01 1 XboxDVDRemote
> > 0000000000532acd 00 2 XboxDVDRemote
> > 0000000000533acc 00 3 XboxDVDRemote
> >
> > I installed my .lircrc file from
> > http://bit.blkbk.com/mythtv-xbox.0.4.5-beta.tar.gz
> >
> > #cd /tmp
> > #wget http://bit.blkbk.com/mythtv-xbox.0.4.5-beta.tar.gz
> > #tar xpzvf mythtv-xbox.0.4.5-beta.tar.gz
> > #cd /tmp/live
> > #cp lircrc /home/live/.lircrc
> > #ln -s /home/live/.lircrc /home/live/.mythtv/lircrc
> >
> > When I use the remote without the frontend running I can see the mouse
> > moving
> > up, down, left, right, etc. It just seems like lirc isn't letting the
> > mythfrontend know about the signals from the remote.
> >
> > This has to be something simple to fix that I'm missing.
> >
> > Daniel
> >
> >
> > > The remote should work with just Xebian being installed, without messing
> > > around with any config files. Try using the remote outside of MythTV to
> > > move the cursor around the desktop. It should work.
> > >
> > > I think this command will show you if the xbox is receiving the signals:
> > >
> > > $/usr/bin/irw
> > >
> > > Adam
> >
>
> It sounds like your remote is working but you're missing an lircrc file for
> mythtv, or it's configured improperly. I can't send you one right now
> because I'm at work, but that might point you in the right direction.
cool, thanks. I attached the lircrc file that I'm using to this email.
> You should stop the remote from controlling the cursor, it'll make strange and
> annoying things happen in the background. To do this, comment out the
> following line in the file /etc/X11/XF86Config-4-xbox InputDevice "LIRC-Mouse"
I'll give that a try when I get home tonight.
Daniel
-------------- next part --------------
# ~/.mythtv/lircrc
#
# MythTV native LIRC config file for
# the Microsoft DVD remote
#
# By Dennis Cartier 2004/05/01
#
# Amalgamated from Jarod Wilson's,
# Amalgamated from Jeff Campbell's,
# .lircrc, the mythtv.org docs, and
# a few touches of my own. :)
#
# Up
begin
prog = mythtv
button = UP
repeat = 4
config = Up
end
# Down
begin
prog = mythtv
button = DOWN
repeat = 4
config = Down
end
# Fast forward (30 sec default)
begin
prog = mythtv
button = RIGHT
repeat = 4
config = Right
end
# Rewind (5 sec default)
begin
prog = mythtv
button = LEFT
repeat = 4
config = Left
end
# Skip forward (10 min default)
begin
prog = mythtv
button = FORWARD
repeat = 4
config = PgDown
end
# Skip backward (10 min default)
begin
prog = mythtv
button = REVERSE
repeat = 4
config = PgUp
end
# OK/Select
begin
prog = mythtv
button = SELECT
repeat = 4
config = Space
end
# Play
begin
prog = mythtv
button = PLAY
repeat = 4
config = Return
end
# Stop
begin
prog = mythtv
button = STOP
config = Esc
end
# Escape/Exit/Back
begin
prog = mythtv
button = BACK
repeat = 4
config = Esc
end
#~ # Power Off/Exit
#~ begin
#~ prog = mythtv
#~ button = OFF
#~ config = Esc
#~ end
#~ # Red means stop!
#~ begin
#~ prog = mythtv
#~ button = RED
#~ config = Esc
#~ end
# Pause
begin
prog = mythtv
button = PAUSE
repeat = 4
config = P
end
#~ # Mute - Xbox has no mixer !! :(
#~ begin
#~ prog = mythtv
#~ button =
#~ repeat = 4
#~ config = F9
#~ end
#~ # Record
#~ begin
#~ prog = mythtv
#~ button = RECORD
#~ repeat = 4
#~ config = R
#~ end
#~ # Delete
#~ begin
#~ prog = mythtv
#~ button = BLANK
#~ repeat = 4
#~ config = D
#~ end
# OSD browse
begin
prog = mythtv
button = MENU
repeat = 4
config = O
end
# Bring up OSD info
begin
prog = mythtv
button = INFO
repeat = 4
config = I
end
# Bring up XV picture controls
begin
prog = mythtv
button = TITLE
repeat = 4
config = F
end
# Display EPG while in live TV,
# View selected show while in EPG
begin
prog = mythtv
button = DISPLAY
repeat = 4
config = M
end
#~ # Scroll up
#~ begin
#~ prog = mythtv
#~ button = VOL+
#~ repeat = 4
#~ config = Right
#~ end
#~ # Scroll down
#~ begin
#~ prog = mythtv
#~ button = VOL-
#~ repeat = 4
#~ config = Left
#~ end
#~ # Change display aspect ratio
#~ begin
#~ prog = mythtv
#~ button = FULL
#~ repeat = 4
#~ config = W
#~ end
#~ # Seek to previous commercial cut point
#~ begin
#~ prog = mythtv
#~ button = YELLOW
#~ repeat = 4
#~ config = Q
#~ end
#~ # Seek to next commercial cut point
#~ begin
#~ prog = mythtv
#~ button = BLUE
#~ repeat = 4
#~ config = Z
#~ end
# Numbers 0-9
begin
prog = mythtv
button = 0
repeat = 4
config = 0
end
begin
prog = mythtv
button = 1
repeat = 4
config = 1
end
begin
prog = mythtv
button = 2
repeat = 4
config = 2
end
begin
prog = mythtv
button = 3
repeat = 4
config = 3
end
begin
prog = mythtv
button = 4
repeat = 4
config = 4
end
begin
prog = mythtv
button = 5
repeat = 4
config = 5
end
begin
prog = mythtv
button = 6
repeat = 4
config = 6
end
begin
prog = mythtv
button = 7
repeat = 4
config = 7
end
begin
prog = mythtv
button = 8
repeat = 4
config = 8
end
begin
prog = mythtv
button = 9
repeat = 4
config = 9
end
### MPlayer lirc setup
# Show OSD
begin
prog = mplayer
button = MENU
repeat = 4
config = osd
end
# Pause playback
begin
prog = mplayer
button = PAUSE
repeat = 4
config = pause
end
# Skip ahead a minute if playing
# If paused, resume playing
begin
prog = mplayer
button = PLAY
repeat = 4
config = seek +1
end
# Stop playback and exit
begin
prog = mplayer
button = STOP
repeat = 4
config = quit
end
#~ # Mute
#~ begin
#~ prog = mplayer
#~ button = MUTE
#~ repeat = 4
#~ config = mute
#~ end
# Seek back 10 seconds
begin
prog = mplayer
button = REVERSE
repeat = 4
config = seek -10
end
# Seek forward 30 seconds
begin
prog = mplayer
button = FORWARD
repeat = 4
config = seek +30
end
# Quit
begin
prog = mplayer
button = BACK
repeat = 4
config = quit
end
# Seek forward 10 minutes
begin
prog = mplayer
button = SKIP+
repeat = 4
config = seek +600
end
# Seek backward 10 minutes
begin
prog = mplayer
button = SKIP-
repeat = 4
config = seek -600
end
# Toggle full-screen
begin
prog = mplayer
button = DISPLAY
repeat = 4
config = vo_fullscreen
end
###Xine Setup
begin
prog = xine
button = PLAY
repeat = 4
config = Play
end
begin
prog = xine
button = STOP
repeat = 4
config = Stop
end
begin
prog = xine
button = BACK
repeat = 4
config = Quit
end
#~ begin
#~ prog = xine
#~ button = Red
#~ config = Quit
#~ end
begin
prog = xine
button = PAUSE
repeat = 4
config = Pause
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 = SELECT
repeat = 4
config = EventSelect
end
#~ begin
#~ prog = xine
#~ button = BACK/EXIT
#~ repeat = 4
#~ config = Quit
#~ end
begin
prog = xine
button = Menu
repeat = 4
config = Menu
end
#~ begin
#~ prog = xine
#~ button = Yellow
#~ repeat = 4
#~ config = Volume-
#~ end
#~ begin
#~ prog = xine
#~ button = Blue
#~ repeat = 4
#~ config = Volume+
#~ end
#~ begin
#~ prog = xine
#~ button = Mute
#~ repeat = 4
#~ config = Mute
#~ end
begin
prog = xine
button = 0
repeat = 4
config = Number0
end
begin
prog = xine
button = 1
repeat = 4
config = Number1
end
begin
prog = xine
button = 2
repeat = 4
config = Number2
end
begin
prog = xine
button = 3
repeat = 4
config = Number3
end
begin
prog = xine
button = 4
repeat = 4
config = Number4
end
begin
prog = xine
button = 5
repeat = 4
config = Number5
end
begin
prog = xine
button = 6
repeat = 4
config = Number6
end
begin
prog = xine
button = 7
repeat = 4
config = Number7
end
begin
prog = xine
button = 8
repeat = 4
config = Number8
end
begin
prog = xine
button = 9
repeat = 4
config = Number9
end
# Seek forward 10 minutes
begin
prog = xine
button = SKIP+
repeat = 4
config = EventNext
end
# Seek backward 10 minutes
begin
prog = xine
button = SKIP-
repeat = 4
config = EventPrior
end
begin
prog = xine
button = REVERSE
repeat = 4
config = SeekRelative-30
end
begin
prog = xine
button = FORWARD
repeat = 4
config = SeekRelative+30
end
begin
prog = xine
button = INFO
repeat = 4
config = OSDStreamInfos
end
### VLC config
begin
prog = vlc
button = PLAY
repeat = 4
config = PLAY
end
begin
prog = vlc
button = PAUSE
repeat = 4
config = PAUSE
end
begin
prog = vlc
button = STOP
repeat = 4
config = STOP
end
begin
prog = vlc
button = BACK
repeat = 4
config = QUIT
end
begin
prog = vlc
button = SKIP+
repeat = 4
config = NEXT
end
begin
prog = vlc
button = SKIP-
repeat = 4
config = PREV
end
begin
prog = vlc
button = DISPLAY
repeat = 4
config = FULLSCREEN
end
begin
prog = vlc
button = REVERSE
repeat = 4
config = SLOW
end
begin
prog = vlc
button = FORWARD
repeat = 4
config = FAST
end
#~ begin
#~ prog = vlc
#~ button = VOLUME_DOWN_DOWN
#~ repeat = 4
#~ config = VOL_DOWN
#~ end
#~ begin
#~ prog = vlc
#~ button = VOLUME_UP_DOWN
#~ repeat = 4
#~ config = VOL_UP
#~ end
More information about the mythtv-users
mailing list