R5D1 -> R5E50 Upgrade: MCE USB Remote no longer works
Like the subject says - I've upgraded from R5D1 to R5E50. The upgrade worked nearly perfectly; two (tiny) issues one posted here and the other, in another thread.
I carefully followed the upgrade thread - but I'm sure that I just missed something...
I edited the /etc/lirc/hardware.conf file from
Code:
DEVICE="/dev/lirc"
MODULES="lirc_dev lirc_i2c"
to:
Code:
DEVICE="/dev/lirc0"
MODULES="lirc_dev lirc_i2c"
I reran
Code:
>lirc-reconfig.sh
###################
### New MCE USB ###
###################
NOTE, the included lircrc is for the older MCEUSB and may not work.
If you have an updated version, please send it to knoppmyth@gmail.com
System startup links for /etc/init.d/lirc already exist.
Stopping lirc daemon: lircmd lircd.
Starting lirc daemon: lircd.
It autodetected my remote.
And it updated my /etc/lirc/hardware.conf file to:
Code:
DEVICE="/dev/usb/hiddev0"
MODULES="lirc_dev lirc_mceusb2"
It generated an lircd.conf file that looked like this:
Code:
# cat lircd.conf
#
# RC-6 config file
#
# source: http://home.hccnet.nl/m.majoor/projects__remote_control.htm
# http://home.hccnet.nl/m.majoor/pronto.pdf
#
# used by: Philips
#
#########
#
# Philips Media Center Edition remote control
# For use with the USB MCE ir receiver
#
# Dan Conti dconti|acm.wwu.edu
#
# Radio, Print, RecTV are only available on the HP Media Center remote control
#
begin remote
name mceusb
bits 16
flags RC6|CONST_LENGTH
eps 30
aeps 100
header 2667 889
one 444 444
zero 444 444
pre_data_bits 21
pre_data 0x37FF0
gap 105000
toggle_bit 22
rc6_mask 0x100000000
begin codes
# starts at af
Radio 0x00007baf
Print 0x00007bb1
Videos 0x00007bb5
Pictures 0x00007bb6
RecTV 0x00007bb7
Music 0x00007bb8
TV 0x00007bb9
# no ba - d8
Guide 0x00007bd9
LiveTV 0x00007bda
DVD 0x00007bdb
Back 0x00007bdc
OK 0x00007bdd
Right 0x00007bde
Left 0x00007bdf
Down 0x00007be0
Up 0x00007be1
# no e2,e3
Replay 0x00007be4
Skip 0x00007be5
Stop 0x00007be6
Pause 0x00007be7
Record 0x00007be8
Play 0x00007be9
Rewind 0x00007bea
Forward 0x00007beb
ChanDown 0x00007bec
ChanUp 0x00007bed
VolDown 0x00007bee
VolUp 0x00007bef
More 0x00007bf0
Mute 0x00007bf1
Home 0x00007bf2
Power 0x00007bf3
Enter 0x00007bf4
Clear 0x00007bf5
Nine 0x00007bf6
Eight 0x00007bf7
Seven 0x00007bf8
Six 0x00007bf9
Five 0x00007bfa
Four 0x00007bfb
Three 0x00007bfc
Two 0x00007bfd
One 0x00007bfe
Zero 0x00007bff
end codes
end remote
It also generated an lircrc file that it placed in /home/mythtv/.mythtv/lircrc with a soft link to that file in /home/mythtv named .lircrc.
File looks like this:
Code:
# my attempt at a config for the Windows Media Center USB remote
begin
prog = irxevent
button = Back
config = Key Escape CurrentWindow
end
begin
prog = irxevent
button = One
config = Key 1 CurrentWindow
end
begin
prog = irxevent
button = Two
config = Key 2 CurrentWindow
end
begin
prog = irxevent
button = Three
config = Key 3 CurrentWindow
end
begin
prog = irxevent
button = Four
config = Key 4 CurrentWindow
end
begin
prog = irxevent
button = Five
config = Key 5 CurrentWindow
end
begin
prog = irxevent
button = Six
config = Key 6 CurrentWindow
end
begin
prog = irxevent
button = Seven
config = Key 7 CurrentWindow
end
begin
prog = irxevent
button = Eight
config = Key 8 CurrentWindow
end
begin
prog = irxevent
button = Nine
config = Key 9 CurrentWindow
end
begin
prog = irxevent
button = Zero
config = Key 0 CurrentWindow
end
begin
prog = irxevent
button = More
config = Key I CurrentWindow
end
begin
prog = irxevent
button = Mute
config = Key Shift-bar CurrentWindow
end
begin
prog = irxevent
button = VolUp
config = Key bracketright CurrentWindow
end
begin
prog = irxevent
button = VolDown
config = Key bracketleft CurrentWindow
end
begin
prog = irxevent
button = ChanUp
config = Key Up CurrentWindow
end
begin
prog = irxevent
button = ChanDown
config = Key Down CurrentWindow
end
begin
prog = irxevent
button = Up
config = Key Up CurrentWindow
end
begin
prog = irxevent
button = Down
config = Key Down CurrentWindow
end
begin
prog = irxevent
button = Left
config = Key Left CurrentWindow
end
begin
prog = irxevent
button = Right
config = Key Right CurrentWindow
end
begin
prog = irxevent
button = OK
config = Key space CurrentWindow
end
begin
prog = irxevent
button = Guide
config = Key M CurrentWindow
end
begin
prog = irxevent
button = Home
# This is the "Windows Logo" button
# I use it for commercial skip
config = Key Z CurrentWindow
end
begin
prog = irxevent
button = Skip
config = Key Page_Down CurrentWindow
end
begin
prog = irxevent
button = Record
config = Key R CurrentWindow
end
begin
prog = irxevent
button = Pause
config = Key P CurrentWindow
end
begin
prog = irxevent
button = Replay
config = Key Page_Up CurrentWindow
end
begin
prog = irxevent
button = Rewind
config = Key Left CurrentWindow
end
begin
prog = irxevent
button = Play
config = Key P CurrentWindow
end
begin
prog = irxevent
button = Forward
config = Key Right CurrentWindow
end
And I tried my old - modified / working lircrc file too:
Code:
# ~/.mythtv/lircrc
#
# MythTV native LIRC config file for
# the Microsoft Media Center Edition MCE 2005
# remote control
#
# By Sean O'Boyle, 2006/02/07
#
# Available Buttons
#Power
#Enter
# Numbers 0-9 - channel selection, EPG navigation, ff/rew speed setting (with stickykeys)
begin
prog = mythtv
button = Star
config = \137
repeat = 0
end
begin
prog = mythtv
button = Hash
config = \137
repeat = 0
end
begin
prog = mythtv
button = Zero
config = 0
repeat = 0
end
begin
prog = mythtv
button = One
config = 1
repeat = 0
end
begin
prog = mythtv
button = Two
config = 2
repeat = 0
end
begin
prog = mythtv
button = Three
config = 3
repeat = 0
end
begin
prog = mythtv
button = Four
config = 4
repeat = 0
end
begin
prog = mythtv
button = Five
config = 5
repeat = 0
end
begin
prog = mythtv
button = Six
config = 6
repeat = 0
end
begin
prog = mythtv
button = Seven
config = 7
repeat = 0
end
begin
prog = mythtv
button = Eight
config = 8
repeat = 0
end
begin
prog = mythtv
button = Nine
config = 9
repeat = 0
end
# Arrows - Scroll Left / Right, Up / Down
# Rewind, Fast-Forward, Channel Up, Channel Down
begin
prog = mythtv
button = Left
config = Left
repeat = 0
end
begin
prog = mythtv
button = Right
config = Right
repeat = 0
end
begin
prog = mythtv
button = Up
config = Up
repeat = 0
end
begin
prog = mythtv
button = Down
config = Down
repeat = 0
end
begin
prog = mythtv
button = ChanUp
config = Up
repeat = 0
end
begin
prog = mythtv
button = ChanDown
config = Down
repeat = 0
end
begin
prog = mythtv
button = Rewind
config = Left
repeat = 0
end
begin
prog = mythtv
button = Forward
config = Right
repeat = 0
end
# Enter - Select Item, Play (with stikykeys) set bookmark
begin
prog = mythtv
button = OK
config = Space
repeat = 0
end
# Cancel, Quit Playback
begin
prog = mythtv
button = Back
config = Escape
repeat = 0
end
# EPG (from watching TV), edit (from playback)
begin
prog = mythtv
button = Guide
config = M
repeat = 0
end
# Pause / Play
begin
prog = mythtv
button = Pause
config = P
repeat = 0
end
begin
prog = mythtv
button = Play
config = P
repeat = 0
end
# Stop
begin
prog = mythtv
button = Stop
config = P
repeat = 0
end
# TV: Skip to Previous Commercial Break Marker
# Music: Skip to previous track
begin
prog = mythtv
button = Skip
config = Z
repeat = 0
end
# TV: Skip to Next Commercial Break Marker
# Music: Skip to next track
begin
prog = mythtv
button = Replay
config = Q
repeat = 0
end
begin
prog = mythtv
button = Record
config = R
repeat = 0
end
# Information
begin
prog = mythtv
button = More
config = I
repeat = 0
end
# Zoom
# cycle through zoom and fill modes:
# 4:3 aspect ratio, 16:9, 4:3 Zoom(like Pan and Scan),
# 16:9 Zoom, and 16:9 Stretch (eliminates black sidebars in TV signal)
begin
prog = mythtv
button = Home
# This is the "Windows Logo" button
config = W
repeat = 0
end
# Tuner Card Cycle
# switch between multiple capture cards when watching TV
begin
prog = mythtv
button = LiveTV
config = Y
repeat = 0
end
# Signal Strength Meter Mode
# show signal strength instead of watching TV
begin
prog = mythtv
button = RecTV
config = F7
repeat = 0
end
# Help
# show help screen
begin
prog = mythtv
button = DVD
config = F1
repeat = 0
end
# Delete
begin
prog = mythtv
button = Clear
config = D
repeat = 0
end
# Sound
# + or - Cycle through audio streams
begin
prog = mythtv
button = Hash
config = +
repeat = 0
end
begin
prog = mythtv
button = Star
config = -
repeat = 0
end
begin
prog = mythtv
button = Mute
config = Shift-bar
repeat = 0
end
begin
prog = mythtv
button = VolUp
config = bracketright
repeat = 0
end
begin
prog = mythtv
button = VolDown
config = bracketleft
repeat = 0
end
##XINE
# Exit Xine
begin
prog = xine
button = Back
config = Quit
end
# start playback
begin
prog = xine
button = Play
repeat = 0
config = Play
end
# playback pause toggle
begin
prog = xine
button = Pause
repeat = 0
config = Pause
end
# stop playback
begin
prog = xine
button = Stop
repeat = 0
config = Stop
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 = DVD
repeat = 0
config = Menu
end
begin
prog = xine
button = Guide
repeat = 0
config = RootMenu
end
# jump to next chapter
begin
prog = xine
button = Skip
repeat = 0
config = EventNext
end
# jump to previous chapter
begin
prog = xine
button = Replay
repeat = 0
config = EventPrior
end
begin
prog = xine
button = VolDown
repeat = 0
config = Volume-
end
begin
prog = xine
button = VolUp
repeat = 0
config = Volume+
end
begin
prog = xine
button = Forward
repeat = 0
config = SeekRelative+30
end
begin
prog = xine
button = Rewind
repeat = 0
config = SeekRelative-30
end
begin
prog = xine
button = Info
repeat = 0
config = OSDStreamInfos
end
I diff'd my R5D1 working lircd.conf file against the R5E50 file and there were no differences. I diff'd the unmodified R5D1 lircrc to the R5E50 file and there are no differences. My updated lircrc has too many diffs to bother diffing...
I get no response from my remote. Keyboard works fine - so this is an annoyance - but it's pretty much the last thing to get completely up in R5E50...
Any advice? Further debugging tips? Any logs I should be looking at to figure this out?
Thanks!
Sean