Solved IR: Multiple keypresses - only after reboot - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: Solved IR: Multiple keypresses - only after reboot (/showthread.php?tid=317903) |
IR: Multiple keypresses - only after reboot - baka0815 - 2017-07-08 I'm having a kinda curious problem with my remote. Everytime after I reboot my system, the keys from my remote will be sent multiple times until I press a different button or a key on the keyboard. Here is the output of irw: Code: # irw Here is another example with the "1" key: Code: # irw Currently after the reboot I'm pressing KEY_LEFT, KEY_RIGHT, KEY_UP, KEY_DOWN, KEY_VOLUMEDOWN, KEY_VOLUMEUP, KEY_BACK. This somehow works as KEY_BACK also seems to end the multiplication of the keys. I've tried to reconfigure lirc again (regenerated the devinput.lirc.conf using lirc-make-devinput, removed unnecessary packaged, ...) but without success. My kernel is "4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26) x86_64 GNU/Linux", but I've also tried 4.3 (4.3.1-2) and 4.11 (4.11.6-1) without changes. Installed lirc-packages: Code: # dpkg -l "*lirc*" | grep ^ii Any help is greatly appreciated! RE: IR: Multiple keypresses - only after reboot - P.Kosunen - 2017-07-09 Check Xorg log, it might use your lirc device as input device. /etc/X11/xorg.conf.d/blacklist.conf: Code: Section "InputClass" Blacklisting device from X will help in that case. RE: IR: Multiple keypresses - only after reboot - baka0815 - 2017-07-10 Thanks for the hint. I don't have any specific xorg.conf for input devices only for the intel chip to use the intel ddx instead of modesetting. Will try if blacklisting the device works and report back. RE: IR: Multiple keypresses - only after reboot - baka0815 - 2017-07-13 The remote is already on a blacklist and as such not recognized (see below). Code: [ 5.580] (II) config/udev: Adding input device cx23885 IR (TerraTec Cinergy T PCIe Dual) (/dev/input/event20) However event21 is recognized as a keyboard (lird-uinput). Code: [ 5.580] (II) config/udev: Adding input device lircd-uinput (/dev/input/event21) How do I write a blacklist entry for that? udevadm doesn't return a vendor or a product. Code: # udevadm info --query=property --name=/dev/input/event21 RE: IR: Multiple keypresses - only after reboot - P.Kosunen - 2017-07-13 Code: Section "InputClass" Or Code: Section "InputClass" Edit: http://www.lirc.org/html/lircd-uinput.html Disable lircd-uinput service, if it is running. RE: IR: Multiple keypresses - only after reboot - baka0815 - 2017-07-16 Looks like I'm stupid or blind, but I don't see a way to disable lircd-uinput. The only option I see is a parameter for a "disabled buttons" file, but that doesn't look like it will disable lircd-uinput completely. On the other hand when I kill lircd-uinput, the duplications goes away, so I'm pretty sure, that it's the culprit. Here is my /etc/lirc/lirc_options.conf: Code: # These are the default options to lircd, if installed as I tried setting Code: uinput = False How do I disable lircd-uinput or keep it from starting? I'm on Debian testing with systemd if that's relevant. RE: IR: Multiple keypresses - only after reboot - P.Kosunen - 2017-07-16 https://wiki.debian.org/systemd List services: Code: systemctl Disable example1 service: Code: systemctl disable example1 RE: IR: Multiple keypresses - only after reboot - baka0815 - 2017-07-16 Oh, didn't know that lircd-uinput was a systemd service, will take a look, thanks! RE: IR: Multiple keypresses - only after reboot - baka0815 - 2017-07-18 It worked, thanks for the help! |