* rc rc0: two consecutive events of type space & strange ir-keytable behaviour
@ 2019-05-24 4:12 Frédéric Deghetto
2019-05-24 5:31 ` Frédéric Deghetto
0 siblings, 1 reply; 4+ messages in thread
From: Frédéric Deghetto @ 2019-05-24 4:12 UTC (permalink / raw)
To: linux-media
Good day,
Information on the system:
- Raspberry 3b+
- Updated yesterday to 4.19.42-v7+
Before the update the remote control was working well with:
- gpio-rc-recv rc-rc6-mce kodi (into the file rc_maps.cfg)
- And the following data into /etc/rc_keymaps/kodi:
# table kodi, type: NEC
0x140 KEY_POWER
0x1ff KEY_TAB
0x143 KEY_RED
0x10f KEY_GREEN
0x110 KEY_MINUS
0x118 KEY_VOLUMEUP
0x111 KEY_ESC
0x119 KEY_BACKSPACE
0x116 KEY_UP
0x151 KEY_LEFT
0x113 KEY_ENTER
0x150 KEY_RIGHT
0x11a KEY_DOWN
0x14c KEY_EPG
0x100 KEY_C
0x14e KEY_1
0x10d KEY_2
0x10c KEY_3
0x14a KEY_4
0x109 KEY_5
0x108 KEY_6
0x146 KEY_7
0x105 KEY_8
0x104 KEY_9
0x141 KEY_F8
0x101 KEY_0
0x142 KEY_DELETE
Since the kernel update I get this message from dmesg: "rc rc0: two
consecutive events of type space", and the remote control doesn't work.
I tried to force the protocol NEC with ir-keytable -t -p NEC and I can
this some events. Something strange, when I push a button I can get the
event of the previous pushed button. By insisting I get the right one.
I went to google and didn't see any workaround.
Many thanks for your support,
Frederic
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: rc rc0: two consecutive events of type space & strange ir-keytable behaviour
2019-05-24 4:12 rc rc0: two consecutive events of type space & strange ir-keytable behaviour Frédéric Deghetto
@ 2019-05-24 5:31 ` Frédéric Deghetto
2019-05-24 7:40 ` Sean Young
0 siblings, 1 reply; 4+ messages in thread
From: Frédéric Deghetto @ 2019-05-24 5:31 UTC (permalink / raw)
To: linux-media
Probably related to this issue; ir-keytable -a /etc/rc_maps.conf -v gives:
/sys/class/rc/rc0/protocols protocol rc-5 (disabled)
/sys/class/rc/rc0/protocols protocol nec (disabled)
/sys/class/rc/rc0/protocols protocol rc-6 (enabled)
/sys/class/rc/rc0/protocols protocol jvc (disabled)
/sys/class/rc/rc0/protocols protocol sony (disabled)
/sys/class/rc/rc0/protocols protocol rc-5-sz (disabled)
/sys/class/rc/rc0/protocols protocol sanyo (disabled)
/sys/class/rc/rc0/protocols protocol sharp (disabled)
/sys/class/rc/rc0/protocols protocol mce_kbd (disabled)
/sys/class/rc/rc0/protocols protocol xmp (disabled)
/sys/class/rc/rc0/protocols protocol imon (disabled)
/sys/class/rc/rc0/protocols protocol lirc (enabled)
Table for gpio_ir_recv, rc-rc6-mce not found. Keep as-is
like if rc-rc6-mce was not available anymore ?
Have a good day,
Frederic
Le 24/05/2019 à 06:12, Frédéric Deghetto a écrit :
> Good day,
>
> Information on the system:
>
> - Raspberry 3b+
>
> - Updated yesterday to 4.19.42-v7+
>
>
> Before the update the remote control was working well with:
>
> - gpio-rc-recv rc-rc6-mce kodi (into the file rc_maps.cfg)
>
> - And the following data into /etc/rc_keymaps/kodi:
>
> # table kodi, type: NEC
> 0x140 KEY_POWER
> 0x1ff KEY_TAB
> 0x143 KEY_RED
> 0x10f KEY_GREEN
> 0x110 KEY_MINUS
> 0x118 KEY_VOLUMEUP
> 0x111 KEY_ESC
> 0x119 KEY_BACKSPACE
> 0x116 KEY_UP
> 0x151 KEY_LEFT
> 0x113 KEY_ENTER
> 0x150 KEY_RIGHT
> 0x11a KEY_DOWN
> 0x14c KEY_EPG
> 0x100 KEY_C
> 0x14e KEY_1
> 0x10d KEY_2
> 0x10c KEY_3
> 0x14a KEY_4
> 0x109 KEY_5
> 0x108 KEY_6
> 0x146 KEY_7
> 0x105 KEY_8
> 0x104 KEY_9
> 0x141 KEY_F8
> 0x101 KEY_0
> 0x142 KEY_DELETE
>
>
> Since the kernel update I get this message from dmesg: "rc rc0: two
> consecutive events of type space", and the remote control doesn't work.
>
> I tried to force the protocol NEC with ir-keytable -t -p NEC and I can
> this some events. Something strange, when I push a button I can get
> the event of the previous pushed button. By insisting I get the right
> one.
>
> I went to google and didn't see any workaround.
>
> Many thanks for your support,
>
> Frederic
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: rc rc0: two consecutive events of type space & strange ir-keytable behaviour
2019-05-24 5:31 ` Frédéric Deghetto
@ 2019-05-24 7:40 ` Sean Young
[not found] ` <CACRW-tjVokBnZNNVPKH64Cu19Xe3Xd+abZfVODegpOxiORwhMw@mail.gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Sean Young @ 2019-05-24 7:40 UTC (permalink / raw)
To: Frédéric Deghetto; +Cc: linux-media
On Fri, May 24, 2019 at 07:31:03AM +0200, Frédéric Deghetto wrote:
> Probably related to this issue; ir-keytable -a /etc/rc_maps.conf -v gives:
>
> /sys/class/rc/rc0/protocols protocol rc-5 (disabled)
> /sys/class/rc/rc0/protocols protocol nec (disabled)
> /sys/class/rc/rc0/protocols protocol rc-6 (enabled)
> /sys/class/rc/rc0/protocols protocol jvc (disabled)
> /sys/class/rc/rc0/protocols protocol sony (disabled)
> /sys/class/rc/rc0/protocols protocol rc-5-sz (disabled)
> /sys/class/rc/rc0/protocols protocol sanyo (disabled)
> /sys/class/rc/rc0/protocols protocol sharp (disabled)
> /sys/class/rc/rc0/protocols protocol mce_kbd (disabled)
> /sys/class/rc/rc0/protocols protocol xmp (disabled)
> /sys/class/rc/rc0/protocols protocol imon (disabled)
> /sys/class/rc/rc0/protocols protocol lirc (enabled)
> Table for gpio_ir_recv, rc-rc6-mce not found. Keep as-is
>
> like if rc-rc6-mce was not available anymore ?
This looks like ir-keytable could not match up your /etc/rc_maps.conf with
your rc device. Please can you provide:
1) output of "ir-keytable" no (arguments)
2) output of "cat /etc/rc_maps.conf"
3) output of "ir-keytable --version"
>
> Have a good day,
>
> Frederic
>
>
> Le 24/05/2019 à 06:12, Frédéric Deghetto a écrit :
> > Good day,
> >
> > Information on the system:
> >
> > - Raspberry 3b+
> >
> > - Updated yesterday to 4.19.42-v7+
> >
> >
> > Before the update the remote control was working well with:
> >
> > - gpio-rc-recv rc-rc6-mce kodi (into the file rc_maps.cfg)
> >
> > - And the following data into /etc/rc_keymaps/kodi:
> >
> > # table kodi, type: NEC
> > 0x140 KEY_POWER
> > 0x1ff KEY_TAB
> > 0x143 KEY_RED
> > 0x10f KEY_GREEN
> > 0x110 KEY_MINUS
> > 0x118 KEY_VOLUMEUP
> > 0x111 KEY_ESC
> > 0x119 KEY_BACKSPACE
> > 0x116 KEY_UP
> > 0x151 KEY_LEFT
> > 0x113 KEY_ENTER
> > 0x150 KEY_RIGHT
> > 0x11a KEY_DOWN
> > 0x14c KEY_EPG
> > 0x100 KEY_C
> > 0x14e KEY_1
> > 0x10d KEY_2
> > 0x10c KEY_3
> > 0x14a KEY_4
> > 0x109 KEY_5
> > 0x108 KEY_6
> > 0x146 KEY_7
> > 0x105 KEY_8
> > 0x104 KEY_9
> > 0x141 KEY_F8
> > 0x101 KEY_0
> > 0x142 KEY_DELETE
> >
> >
> > Since the kernel update I get this message from dmesg: "rc rc0: two
> > consecutive events of type space", and the remote control doesn't work.
This is a warning message about the driver and should not affect
functionality,
> > I tried to force the protocol NEC with ir-keytable -t -p NEC and I can
> > this some events. Something strange, when I push a button I can get the
> > event of the previous pushed button. By insisting I get the right one.
That's very odd. This sounds like a problem with trailing spaces/timeouts,
which should work fine in v4.19.
What distribtion are you using and what version?
Thanks
Sean
> >
> > I went to google and didn't see any workaround.
> >
> > Many thanks for your support,
> >
> > Frederic
> >
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-05-24 9:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-24 4:12 rc rc0: two consecutive events of type space & strange ir-keytable behaviour Frédéric Deghetto
2019-05-24 5:31 ` Frédéric Deghetto
2019-05-24 7:40 ` Sean Young
[not found] ` <CACRW-tjVokBnZNNVPKH64Cu19Xe3Xd+abZfVODegpOxiORwhMw@mail.gmail.com>
2019-05-24 9:54 ` Sean Young
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox