[mythtv-users] IR Remote, OpenSUSE, and weirdness
Robin Smith
1canuck2 at gmail.com
Thu Jan 13 01:17:44 UTC 2011
I am having some troubles getting my remote working with MythTV on OpenSUSE
11.2.
I have a Silverstone case with built-in iMON PAD Remote Controller and VFD.
I also have an Antec Veris Multimedia Station E-Z USB IR receiver. I am
trying to configure it to work with my Harmony 670 remote. In the Harmony
software, I configured it as an iMON remote.
When I first plugged the Veris in, it showed up as a HID, some Googling
returned a fix:
Under /etc/modprobe.d/ create a imon.conf file with the following:
options usbhid quirks=0x15c2:0x0042:0x0004
Now, lsusb shows:
Bus 006 Device 002: ID 15c2:0042 SoundGraph Inc.
Bus 007 Device 003: ID 15c2:ffdc SoundGraph Inc. iMON PAD Remote Controller
The Veris is the 15c2:0042. Progress.
OpenSUSE 11.2 is only at lirc 0.8.5
So I begin futzing around with lirc to try and get things configured. mode2
would show raw output when buttons were pressed, but I could not get irw to
show anything despite trying a multitude of lircd.conf files (some of which
seemed ot have codes that matched the output of mode2).
I found lirc 0.8.7 in the vdr repository and installed it (from
http://download.opensuse.org/repositories/vdr/openSUSE_11.2/) and was able
to make a little more progress. I ended up doing a full irrecord to create
the correct lircd.conf file and finally irw outputs codes.
I have a matching lircrc file in the /home/mythtv/.mythtv folder. It has
some extra commands defined that I do not have in my lircd.conf, but this
should not matter (or am I wrong). I have included my lircd.conf and lircrc
at the bottom of this message.
I have three problems:
1. The remote does not seem to control things in MythTV. (Play, Pause, Stop,
etc)
2. The number buttons DO work in MythTV, but weirdly, they work even if
lircd is NOT running
3. The directional pad on the Harmony is acting like a mouse (actually moves
the mouse cursor), yet shows output when watched with mode2 (but none with
irw). The OK button in the center of the directional pad shows no output in
mode2 or irw
I am lost and confused. I had setup and used the same remote on my old
Fedora-based mythbox (built using Jarod's guide years ago) and thought I
understood how it all works, but I can't seem to work it out this time... I
was using the IR receiver from a Hauppauge with that config though.
Any help would be appreciated.
Robin
lircd.conf:
>>>>>>>>>>>>>>>>>>>>>>>>>
begin remote
name /tmp/lircd.record.conf
bits 24
eps 30
aeps 100
one 0 0
zero 0 0
post_data_bits 8
post_data 0xB7
gap 96026
min_repeat 1
suppress_repeat 1
# uncomment to suppress unwanted repeats
toggle_bit_mask 0x4000
begin codes
KEY_CHANNELUP 0x289395
KEY_CHANNELDOWN 0x288795
KEY_ENTER 0x28A195
KEY_MENU 0x2BA395
KEY_REWIND 0x2A8195
KEY_FASTFORWARD 0x2B8115
KEY_PLAY 0x2A8115
KEY_PAUSE 0x2A9115
KEY_RECORD 0x298115
KEY_STOP 0x2B9715
KEY_PREVIOUS 0x2B9115
KEY_NEXT 0x298195
KEY_0 0x2BA595
KEY_1 0x2BA595
KEY_1 0x28B595
KEY_2 0x2BB195
KEY_3 0x28B195
KEY_4 0x2A8595
KEY_5 0x299595
KEY_6 0x2AA595
KEY_7 0x2B9395
KEY_8 0x2A8515
KEY_9 0x2AA115
end codes
end remote
>>>>>>>>>>>>
lircrc:
>>>>>>>>>>>>
# Escape
begin
prog = mythtv
button = KEY_EXIT
config = Esc
repeat = 3
end
# Escape Key 2
begin
prog = mythtv
button = KEY_ESC
config = Esc
end
# Channel Up
begin
prog = mythtv
button = KEY_CHANNELUP
config = Up
repeat = 3
end
# Channel Down
begin
prog = mythtv
button = KEY_CHANNELDOWN
config = Down
repeat = 3
end
# Volume Up
begin
prog = mythtv
button = KEY_VOLUMEUP
repeat = 3
config = Right
end
# Volume Down
begin
prog = mythtv
button = KEY_VOLUMEDOWN
repeat = 3
config = Left
end
# Enter/Return
begin
prog = mythtv
button = KEY_ENTER
config = Return
end
# Menu Button
begin
prog = mythtv
button = KEY_MENU
config = M
end
# Mute
begin
prog = mythtv
button = KEY_MUTE
config = F9
end
# Rewind
begin
prog = mythtv
button = KEY_REWIND
config = PgUp
end
# Fast Forward
begin
prog = mythtv
button = KEY_FASTFORWARD
config = PgDown
end
# Play
begin
prog = mythtv
button = KEY_PLAY
config = P
end
# Pause
begin
prog = mythtv
button = KEY_PAUSE
config = P
end
# Record
begin
prog = mythtv
button = KEY_RECORD
config = R
end
# Stop
begin
prog = mythtv
button = KEY_STOP
config = O
end
# Previous Track/Chapter
begin
prog = mythtv
button = KEY_PREVIOUS
config = Home
end
# Next Track/Chapter
begin
prog = mythtv
button = KEY_NEXT
config = End
end
# Jump Point to MythVideo
begin
prog = mythtv
button = MyMovie
config = F12
end
# Jump Point to MythMusic
begin
prog = mythtv
button = MyMusic
config = F11
end
# Jump Point to LiveTV
begin
prog = mythtv
button = MyTV
config = F10
end
# Jump Point to Main Menu
begin
prog = mythtv
button = Multimon
config = F2
end
# Jump Point to Myth Gallery
begin
prog = mythtv
button = MyPhoto
config = F3
end
# Jump Point to Play DVD
begin
prog = mythtv
button = MyDVD
config = F4
end
# Display Information
begin
prog = mythtv
button = Caption
config = I
end
##############################
# Numbers
##############################
begin
prog = mythtv
button = KEY_0
config = 0
end
begin
prog = mythtv
button = KEY_1
config = 1
end
begin
prog = mythtv
button = KEY_2
config = 2
end
begin
prog = mythtv
button = KEY_3
config = 3
end
begin
prog = mythtv
button = KEY_4
config = 4
end
begin
prog = mythtv
button = KEY_5
config = 5
end
begin
prog = mythtv
button = KEY_6
config = 6
end
begin
prog = mythtv
button = KEY_7
config = 7
end
begin
prog = mythtv
button = KEY_8
config = 8
end
begin
prog = mythtv
button = KEY_9
config = 9
end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20110112/53670401/attachment.htm>
More information about the mythtv-users
mailing list