[mythtv-users] iMon IR/LCD + Mythbuntu 8.04

Ryan Stuart ryan at stuart.id.au
Wed Sep 24 11:03:57 UTC 2008


Hi Everyone,

I can't seem to get my iMon pad working with the LCD in my Silverstone
ML02MX case. I followed the instructions at
http://mythtvblog.blogspot.com/2008/04/getting-imon-0038-lcd-working-with-lirc.html
(some commentary on what I had to do at
http://mythtv.org/pipermail/mythtv-users/2008-August/231659.html) and
got a successfully working remote. By that I mean when I start up irw
I can see all the key presses. However, I can't get the remote to do
anything in Mythbuntu 8.04. Some background information:

To start lirc I first need to execute

sudo /usr/local/sbin/lircd --driver=default --device=/dev/lirc0
--pidfile=/var/run/lirc0.pid --listen=8765

followed by

sudo /usr/local/sbin/lircd --driver=default --device=/dev/lirc1
--pidfile=/var/run/lirc1.pid --output=/dev/lircd --connect=localhost
8765

When I do, I get the following output from irw when I press the pad
buttons (snipet of course):

0100800000000000 00 Up imon_pad
0100007f00000000 00 Right imon_pad
0100007f00000000 01 Right imon_pad
0100007f00000000 02 Right imon_pad
01007f0000000000 00 Down imon_pad
01007f0000000000 01 Down imon_pad
0100008000000000 00 Left imon_pad
0100008000000000 01 Left imon_pad
0100008000000000 02 Left imon_pad

which is all good. My problem is getting these button presses into
mythtv. To generate my ~.lirc/mythtv, i told mythubuntu I had a
iMon/LCD. I then went and changed each occurance of

remote = iMON-PAD

to

remote = imon_pad

to arrive at the following file.....

# LIRCRC Auto Generated by Mythbuntu Lirc Generator
# Author(s): Mario Limonciello, Nick Fox
# Created for use with Mythbuntu
begin
    remote = imon_pad
    prog = mythtv
    button = 7
    config = 7
    repeat = 0
    delay = 0
end

begin
    remote = imon_pad
    prog = mythtv
    button = Right
    config = Right
    repeat = 0
    delay = 0
end

begin
    remote = imon_pad
    prog = mythtv
    button = Mute
    config = |
    repeat = 0
    delay = 0
end

begin
    remote = imon_pad
    prog = mythtv
    button = 1
    config = 1
    repeat = 0
    delay = 0
end

begin
    remote = imon_pad
    prog = mythtv
    button = Down
    config = Down
    repeat = 0
    delay = 0
end

begin
    remote = imon_pad
    prog = mythtv
    button = 0
    config = 0
    repeat = 0
    delay = 0
end

begin
    remote = imon_pad
    prog = mythtv
    button = Pause
    config = P
    repeat = 0
    delay = 0
end

begin
    remote = imon_pad
    prog = mythtv
    button = Menu
    config = M
    repeat = 0
    delay = 0
end

begin
    remote = imon_pad
    prog = mythtv
    button = 6
    config = 6
    repeat = 0
    delay = 0
end

begin
    remote = imon_pad
    prog = mythtv
    button = 2
    config = 2
    repeat = 0
    delay = 0
end

begin
    remote = imon_pad
    prog = mythtv
    button = Ch-
    config = Down
    repeat = 0
    delay = 0
end

begin
    remote = imon_pad
    prog = mythtv
    button = Ch+
    config = Up
    repeat = 0
    delay = 0
end

begin
    remote = imon_pad
    prog = mythtv
    button = Rewind
    config = <
    repeat = 0
    delay = 0
end

begin
    remote = imon_pad
    prog = mythtv
    button = Play
    config = P
    repeat = 0
    delay = 0
end

begin
    remote = imon_pad
    prog = mythtv
    button = Vol-
    config = [
    repeat = 0
    delay = 0
end

begin
    remote = imon_pad
    prog = mythtv
    button = Stop
    config = Escape
    repeat = 0
    delay = 0
end

begin
    remote = imon_pad
    prog = mythtv
    button = Vol+
    config = ]
    repeat = 0
    delay = 0
end

begin
    remote = imon_pad
    prog = mythtv
    button = 5
    config = 5
    repeat = 0
    delay = 0
end

begin
    remote = imon_pad
    prog = mythtv
    button = 4
    config = 4
    repeat = 0
    delay = 0
end

begin
    remote = imon_pad
    prog = mythtv
    button = Enter
    config = Return
    repeat = 0
    delay = 0
end

begin
    remote = imon_pad
    prog = mythtv
    button = Up
    config = Up
    repeat = 0
    delay = 0
end

begin
    remote = imon_pad
    prog = mythtv
    button = Record
    config = R
    repeat = 0
    delay = 0
end

begin
    remote = imon_pad
    prog = mythtv
    button = 9
    config = 9
    repeat = 0
    delay = 0
end

begin
    remote = imon_pad
    prog = mythtv
    button = 3
    config = 3
    repeat = 0
    delay = 0
end

begin
    remote = imon_pad
    prog = mythtv
    button = Enter
    config = Enter
    repeat = 0
    delay = 0
end

begin
    remote = imon_pad
    prog = mythtv
    button = 8
    config = 8
    repeat = 0
    delay = 0
end

begin
    remote = imon_pad
    prog = mythtv
    button = Left
    config = Left
    repeat = 0
    delay = 0
end

I then disable the remote in the mythbuntu control center and start it
up with the two commands above. Despite irw seeing the button presses,
mythtv doesn't respond to the button presses.

Does anyone know how I might proceed from here?

Cheers


More information about the mythtv-users mailing list