← Back to team overview

touch-packages team mailing list archive

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

 

Hello,

Could you please share your mapping file?

What is the result if you swap the key code for up and back so that hitting
up would generate a backspace and vice versa?

Thanks,
Gregor

On Wed, Jun 3, 2015, 22:00 tiago <1461668@xxxxxxxxxxxxxxxxxx> wrote:

> Public bug reported:
>
> 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
>
> ** Affects: v4l-utils (Ubuntu)
>      Importance: Undecided
>          Status: New
>
> --
> 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 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