[mythtv-users] Foiled by lirc - yet again

Phill Edwards philledwards at gmail.com
Wed Mar 26 13:01:13 UTC 2008


> Do you have anything bound to Ctrl-M?
>  Verify if the Music button is sending Ctrl-M as that would explain why
>  you get a carriage return...
>  and MythTV definitiely cares whether you use M or Ctrl-M.
>
>  xev will AFAIK give details about whether CTRL is pressed...

You could be onto something here. Here's the xev output for when I
press the "Music" button on the remote

<snip>
KeyPress event, serial 32, synthetic NO, window 0x800001,
    root 0x138, subw 0x0, time 3945212884, (-523,112), root:(457,276),
    state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 32, synthetic NO, window 0x800001,
    root 0x138, subw 0x0, time 3945212884, (-523,112), root:(457,276),
    state 0x4, keycode 58 (keysym 0x6d, m), same_screen YES,
"   XLookupString gives 1 bytes: (0d) "
"   XmbLookupString gives 1 bytes: (0d) "
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x800001,
    root 0x138, subw 0x0, time 3945213164, (-523,112), root:(457,276),
    state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x800001,
    root 0x138, subw 0x0, time 3945213164, (-523,112), root:(457,276),
    state 0x0, keycode 58 (keysym 0x6d, m), same_screen YES,
    XLookupString gives 1 bytes: (6d) "m"
    XFilterEvent returns: False
</snip>

So that looks like it could be sending LeftControl-M.

But I'm not really sure what to do about that now. Do I have to do
something in Xmodmap or do I do something in MythTV key bindings to
get this working?


More information about the mythtv-users mailing list