Help with harmony remote

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi
I have an ir harmony remote which I have configured to use as a mouse with a Intel nuc D54250WYK, I have tested un Windows 10 and it works as expected but in linux the mouse buttons don't work.
I'm using the keymap /lib/udev/rc_keymaps/mce_keyboard.toml, this happens when I press the left button:

688888.335099: lirc protocol(mcir2-mse): scancode = 0x3c
688888.335117: event type EV_MSC(0x04): scancode = 0x3c
688888.335117: event type EV_SYN(0x00).
688888.475123: lirc protocol(mcir2-mse): scancode = 0x3c
688888.475142: event type EV_MSC(0x04): scancode = 0x3c
688888.475142: event type EV_SYN(0x00).

So I added this to the file and reloaded:


[[protocols]]
protocol = "mce_kbd"
[protocols.scancodes]
0x3c = "BTN_LEFT"
0x5a = "BTN_RIGHT"

The output now is:


689080.444492: lirc protocol(mcir2-mse): scancode = 0x3c
689080.444510: event type EV_KEY(0x01) key_down: BTN_MOUSE(0x0110)
689080.444510: event type EV_MSC(0x04): scancode = 0x3c
689080.444510: event type EV_SYN(0x00).
689080.542540: lirc protocol(mcir2-mse): scancode = 0x3c
689080.542564: event type EV_MSC(0x04): scancode = 0x3c
689080.542564: event type EV_SYN(0x00).
689080.682743: lirc protocol(mcir2-mse): scancode = 0x3c
689080.682760: event type EV_MSC(0x04): scancode = 0x3c
689080.682760: event type EV_SYN(0x00).
689080.945699: event type EV_KEY(0x01) key_down: BTN_MOUSE(0x0110)
689080.945699: event type EV_SYN(0x00).
689081.073768: event type EV_KEY(0x01) key_down: BTN_MOUSE(0x0110)
689081.073768: event type EV_SYN(0x00).
689081.201773: event type EV_KEY(0x01) key_down: BTN_MOUSE(0x0110)
689081.201773: event type EV_SYN(0x00).
689081.329767: event type EV_KEY(0x01) key_down: BTN_MOUSE(0x0110)
689081.329767: event type EV_SYN(0x00).
689081.457773: event type EV_KEY(0x01) key_down: BTN_MOUSE(0x0110)
689081.457773: event type EV_SYN(0x00).

The last two lines keep repeating and the left click don't happens

Please help me with this

Thanks for your attention



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux