[mythtv-users] Remote control issue after Ubuntu upgrade
Alec Leamas
leamas.alec at gmail.com
Thu Oct 4 14:02:23 UTC 2018
On 04/10/18 15:55, Allen Edwards wrote:
>
>
> On Thu, Oct 4, 2018 at 6:42 AM Jerry <mythtv at hambone.e4ward.com
> <mailto:mythtv at hambone.e4ward.com>> wrote:
>
> On Thu, Oct 4, 2018 at 6:11 AM Phill Edwards <philledwards at gmail.com
> <mailto:philledwards at gmail.com>> wrote:
>
> I know lots of people have been having remote control problems
> after upgrading to 18.04 and I'm yet another one. But I think
> I'm very close.
>
> I use a Harmony universal remote which worked fine on my 16.04
> Ubuntu frontend. I had it set up with devinput so I didn't need
> to run lirc . After upgrading to Ubuntu 18.04 the only buttons
> that generate a response in MythTV are up, down, left, and right.
>
> When I run ir-keytable I get a list of mappings as per below,
> and when I run ir-keytable -t in a terminal window I get key
> responses.
>
> ~$ sudo ir-keytable --read --device=/dev/input/event4
> scancode 0x800f0400 = KEY_NUMERIC_0 (0x200)
> scancode 0x800f0401 = KEY_NUMERIC_1 (0x201)
> scancode 0x800f0402 = KEY_NUMERIC_2 (0x202)
> scancode 0x800f0403 = KEY_NUMERIC_3 (0x203)
> scancode 0x800f0404 = KEY_NUMERIC_4 (0x204)
> scancode 0x800f0405 = KEY_NUMERIC_5 (0x205)
> scancode 0x800f0406 = KEY_NUMERIC_6 (0x206)
> scancode 0x800f0407 = KEY_NUMERIC_7 (0x207)
> scancode 0x800f0408 = KEY_NUMERIC_8 (0x208)
> scancode 0x800f0409 = KEY_NUMERIC_9 (0x209)
> scancode 0x800f040a = KEY_DELETE (0x6f)
> scancode 0x800f040b = KEY_ENTER (0x1c)
> scancode 0x800f040c = KEY_SLEEP (0x8e)
> scancode 0x800f040d = KEY_MEDIA (0xe2)
> scancode 0x800f040e = KEY_MUTE (0x71)
> scancode 0x800f040f = KEY_INFO (0x166)
> scancode 0x800f0410 = KEY_VOLUMEUP (0x73)
> scancode 0x800f0411 = KEY_VOLUMEDOWN (0x72)
> scancode 0x800f0412 = KEY_CHANNELUP (0x192)
> scancode 0x800f0413 = KEY_CHANNELDOWN (0x193)
> scancode 0x800f0414 = KEY_FASTFORWARD (0xd0)
> scancode 0x800f0415 = KEY_REWIND (0xa8)
> scancode 0x800f0416 = KEY_PLAY (0xcf)
> scancode 0x800f0417 = KEY_RECORD (0xa7)
> scancode 0x800f0418 = KEY_PAUSE (0x77)
>
> And my $HOME/.mythtv/lircrc looks like this:
> ...
> begin
> remote = devinput
> prog = mythtv
> button = KEY_NUMERIC_1
> config = 1
> repeat = 0
> delay = 10
> end
>
> begin
> remote = devinput
> prog = mythtv
> button = KEY_NUMERIC_0
> config = 0
> repeat = 0
> delay = 10
> end
> ...etc...
>
> So devinput is getting the button presses and they're being
> mapped to keys like KEY_NUMERIC_0, KEY_PAUSE etc but MythTv
> frontend doesn't seem to be registering these button presses. So
> what have I omitted that will fill in the final piece of the
> jigsaw and get MythTV to respond? Is there another config file
You might wnat to start lircd.service and use ircat(1) to debug what
mythtv actually receives. In the end, horrors, you might need to read
http://lirc.org/html/configuration-guide.html :)
Cheers!
--alec
More information about the mythtv-users
mailing list