[mythtv-users] Can't get lirc or irw to work, but mode2 works

Jerry Rubinow jerrymr at gmail.com
Sun Jun 28 02:30:38 UTC 2015


On Sat, Jun 27, 2015 at 10:25 PM, Stephen Worthington <
stephen_agent at jsw.gen.nz> wrote:

> On Sun, 28 Jun 2015 01:11:00 +0100, you wrote:
>
> >On 22 June 2015 at 06:23, Jerry Rubinow <jerrymr at gmail.com> wrote:
> >>
> >>  I spent a few hours fiddling around, mostly
> >> with ir-keytables.  It sees the remote, but it seems to not be
> interpreting
> >> the signal properly.  Here's is the output of ir-keytables -t.  It's not
> >> seeing any key events, and the scancodes don't look like they're broken
> up
> >> correctly.  This is from pressing the same button on the remote
> repeatedly.
> >>
> >> Testing events. Please, press CTRL-C to abort.
> >> 1434950415.277167: event type EV_MSC(0x04): scancode = 0x4007
> >> 1434950415.277167: event type EV_SYN(0x00).
> >> 1434950415.629476: event type EV_MSC(0x04): scancode = 0x4007
> >> 1434950415.629476: event type EV_SYN(0x00).
> >> 1434950416.141482: event type EV_MSC(0x04): scancode = 0x4007
> >> 1434950416.141482: event type EV_SYN(0x00).
> >> 1434950416.333429: event type EV_MSC(0x04): scancode = 0x2003e10
> >
> >What does
> >
> >$ ir-keytable -r
> >
> >show?
> >
> >
> >Cheers,
> >Nick
>
> Yes, ir-keytable --read or ir-keytable -r should give you the correct
> scancodes for your device.  But before that, you may need to specify
> the protocol.  Try this:
>
> cat /sys/proc/rc/rc0/protocols
>
> This is what I get:
>
> root at mypvr:/etc/rc_keymaps# cat /sys/class/rc/rc0/protocols
> rc-5 nec [rc-6] jvc sony mce_kbd lirc
>
> which shows that rc-6 protocol is selected.  I suspect that you will
> get something like this:
>
> rc-5 nec rc-6 jvc sony mce_kbd lirc
>
> with no protocol having been automatically selected.
>
> To select a protocol, do this:
>
> echo "rc-6" >/sys/proc/rc/rc0/protocols
>
> and see if that helps.
>
>
No, I'd previously tried that.

My default protocol selection in /sys/class/rc/rc0/protocols was:

[rc-5] [nec] [rc-6] [jvc] [sony] [sanyo] [sharp] [mce_kbd] [lirc]

And after doing ir-keytable -p RC6, it is:

rc-5 nec [rc-6] jvc sony sanyo sharp mce_kbd lirc

Still doesn't work the same way.

-Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20150627/4d422cf6/attachment.html>


More information about the mythtv-users mailing list