[mythtv-users] iMon remote, some keys not working?

Hika van den Hoven hikavdh at gmail.com
Thu Oct 1 16:40:19 UTC 2015


Hoi Tom,

Thursday, October 1, 2015, 6:36:46 PM, you wrote:

> On Thu, Oct 1, 2015 at 5:20 AM, Hika van den Hoven <hikavdh at gmail.com>
> wrote:

>> Hoi Tom,
>>
>> Thursday, October 1, 2015, 9:23:08 AM, you wrote:
>>
>> > In a new Mythbuntu 14.04 install, my iMON remote (15c2:0042) which worked
>> > in my 12.04 system does not fully work.  The arrow keys work, Play/Pause
>> > does not.   I'm trying to figure out what all the configurations are that
>> > come into play (HID drive; Lirc; Mythtv)  and where the keypresses are
>> > getting swallowed.
>>
>> > With ir-keytable -l I can see all the keypresses:
>>
>> > Up & Down work in Myth:
>> > 1443683781.656111: event type EV_MSC(0x04): scancode = 0x1007f00
>> > 1443683781.656111: event type EV_KEY(0x01) key_down: KEY_DOWN(0x0001)
>> > 1443683789.728111: event type EV_MSC(0x04): scancode = 0x1008000
>> > 1443683789.728111: event type EV_KEY(0x01) key_down: KEY_UP(0x0001)
>>
>> > Pause has no effect in Myth:
>> > 1443683784.049113: event type EV_MSC(0x04): scancode = 0x2a9115b7
>> > 1443683784.049113: event type EV_KEY(0x01) key_down: KEY_PAUSE(0x0001)
>>
>> >  All the keys that work are in the same range of scan codes.  The
>> > non-working keys are in a quite different scan code space..   I'm not
>> sure
>> > if that's related to the problem.   Any pointers on debugging this?
>>
>> The keys that work are the ones caught by X. Have you tried in
>> Mythfrontend to go into Config -> Edit Keys and to add the missing
>> buttons directly. This instead of the old way where you translate in
>> lirc to a keypress (e.g. P for Play/Pause) This now should then show
>> up as KEY_PAUSE and KEY_PLAY directly.
>> I don't work with Mythbuntu and this new way so I haven't tried it.
>>


> Thanks for the response, Hika.   That's excellent..  I'll give it a try
> this evening.

> I was struggling to understand the relationship among all these layers and
> to pull any debugging info at each point.  So, this really helps.


As said I haven't tried it, but I assume it to work. The other way
would be to use lirc and .lircrc as in the old way. e.g.

begin
      prog = mythtv
      button = KEY_PAUSE
      config = P
end


Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list