touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #82854
[Bug 1461668] Re: ir-keytable presses recognised but not working
Using evtest it does show all keypresses, including the KEY_BACKSPACE
that doesn't seem to work anywhere else. Example:
Event: time 1433538659.320476, type 1 (EV_KEY), code 14 (KEY_BACKSPACE), value 1
Event: time 1433538659.320476, -------------- EV_SYN ------------
Event: time 1433538659.320499, type 4 (EV_MSC), code 4 (MSC_SCAN), value 77e1c03d
Event: time 1433538659.320499, -------------- EV_SYN ------------
Event: time 1433538659.320501, type 4 (EV_MSC), code 4 (MSC_SCAN), value 77e1c03d
Event: time 1433538659.320501, -------------- EV_SYN ------------
Event: time 1433538659.571124, type 1 (EV_KEY), code 14 (KEY_BACKSPACE), value 0
Event: time 1433538659.571124, -------------- EV_SYN ------------
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to v4l-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1461668
Title:
ir-keytable presses recognised but not working
Status in v4l-utils package in Ubuntu:
New
Bug description:
I'm using ir-keytable to map button presses on a remote control to
keyboard presses. I'm using an old Apple remote and after scanning for
the keycodes I've produced a keymap file which is loaded by ir-
keytable. However, I have only succeeded in getting the arrow keys and
enter working (KEY_UP, KEY_DOWN, KEY_LEFT, KEY_RIGHT, KEY_ENTER). All
the other keypresses that I've tried are recognised by ir-keytable,
but are not being passed to the system. For example, the KEY_BACKSPACE
which I need. Running ir-keytable -t and pressing the relevant remote
button I get:
1433359068.641206: event type EV_KEY(0x01) key_down: KEY_BACKSPACE(0x0001)
1433359068.641206: event type EV_SYN(0x00).
1433359068.641230: event type EV_MSC(0x04): scancode = 0x77e1c03d
1433359068.641230: event type EV_SYN(0x00).
1433359068.641235: event type EV_MSC(0x04): scancode = 0x77e1c03d
1433359068.641235: event type EV_SYN(0x00).
But it never works as backspace. For example, if I open a text editor
and use the arrow or enter keys, I can see the cursor moving around.
But the backspace does not work. Also any other keymap that I've tried
(e.g. numbers, letters) does not work.
I'm using ir-keytable 1.6.0-2 in xubuntu 15.04. My system is a
NUC5i5RYHK, the IR driver is nuvoton-cir. The output of ir-keytable
is:
Found /sys/class/rc/rc0/ (/dev/input/event3) with:
Driver nuvoton-cir, table rc-rc6-mce
Supported protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC RC-5-SZ SHARP XMP other
Enabled protocols: NEC RC-5 RC-6 JVC SONY LIRC
Name: Nuvoton w836x7hg Infrared Remote
bus: 25, vendor/product: 1050:00c3, version: 0x0033
Repeat delay = 500 ms, repeat period = 125 ms
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/v4l-utils/+bug/1461668/+subscriptions
References