← Back to team overview

desktop-packages team mailing list archive

Re: [Bug 1461668] Re: ir-keytable presses recognised but not working

 

If you use evtest to read the events from the remote control ev device does
it show all key presses?

On Thu, Jun 4, 2015, 00:25 tiago <1461668@xxxxxxxxxxxxxxxxxx> wrote:

> I should also add that I'm using an upstream kernel (3.19.8-992-generic
> #201505300306) due to some issue with the HDMI sound, but with the
> default kernel I had before the remote issue was exactly the same.
>
> --
> You received this bug notification because you are 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
>

-- 
You received this bug notification because you are a member of Desktop
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