[mythtv-users] Foiled by lirc - yet again

Phill Edwards philledwards at gmail.com
Tue Mar 25 12:29:40 UTC 2008


> It looks to me like you don't even need lirc running with this
>  "remote" - it appears to just be a wireless keyboard in remote control
>  form.  Have you tried updating the Mythtv key mappings to match the
>  remote and use it without launching lirc?

I think you might be right - which could be a good thing here. That
sounds better than getting lirc to work.

If you're right, there should be a keyboard event associated with
every key. I ran xev to see what the keys mapped to and got things
like this when I pressed a button labeled "Music".

KeyRelease event, serial 32, synthetic NO, window 0x1800001,
    root 0x138, subw 0x0, time 3856855035, (-198,132), root:(127,546),
    state 0x0, keycode 58 (keysym 0x6d, m), same_screen YES,
    XLookupString gives 1 bytes: (6d) "m"
    XFilterEvent returns: False

If I understand this correctly, this means that pressing the "Music"
button should be the same as pressing "m" on the keyboard. But when I
do that in mythfrontend I don't get any response from the "Music"
button. Oddly, other buttons do seem to work in mythfrontend - such as
"->" which acts the same as pressing right arrow on the keyboard. How
come the inconsistent behaviour here and how do I make it bend to my
will?

Regards,
Phill


More information about the mythtv-users mailing list