Package: lirc Version: 0.10.1-6.3 Severity: normal Tags: patch X-Debbugs-Cc: sebastian...@gmx.net
Dear Maintainer, Can you kindly include the patch in [1] in the lirc package? It makes the Zotac remote control work properly. Without the patch the key entries via the remote are very sluggish and accompanied by the following messages in syslog: May 18 20:29:39 xbmc lircd-0.10.1[1036]: Info: zotac initializing '/dev/usb/hiddev0' May 18 20:29:39 xbmc lircd[1036]: lircd-0.10.1[1036]: Error: (zotac_repeat) too many repetitions May 18 20:29:39 xbmc lircd-0.10.1[1036]: Error: (zotac_repeat) too many repetitions I followed the Howto in [2] to add this one-line change to the lirc package (using quilt) and since I installed this updated deb package my remote behaves nicely. Thanks for your consideration! [1] https://github.com/LibreELEC/LibreELEC.tv/blob/master/packages/sysutils/lirc/patches/lirc-0001-fix-zotac-poll.patch [2] https://wiki.debian.org/BuildingTutorial -- System Information: Debian Release: 11.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-16-amd64 (SMP w/4 CPU threads) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages lirc depends on: ii libasound2 1.2.4-1.1 ii libc6 2.31-13+deb11u3 ii libftdi1-2 1.5-5+b1 ii libgcc-s1 10.2.1-6 ii liblirc-client0 0.10.1-6.3 ii liblirc0 0.10.1-6.3 ii libportaudio2 19.6.0-1.1 ii libstdc++6 10.2.1-6 ii libsystemd0 247.3-7 ii libusb-0.1-4 2:0.1.12-32 ii libusb-1.0-0 2:1.0.24-3 ii lsb-base 11.1.0 ii python3 3.9.2-3 Versions of packages lirc recommends: ii gir1.2-vte-2.91 0.62.3-1 ii python3-gi 3.38.0-2 ii python3-yaml 5.3.1-5 ii systemd 247.3-7 Versions of packages lirc suggests: pn ir-keytable <none> pn lirc-compat-remotes <none> pn lirc-doc <none> pn lirc-drv-irman <none> pn lirc-x <none> pn setserial <none> -- Configuration Files: /etc/lirc/irexec.lircrc changed [not included] /etc/lirc/lirc_options.conf changed [not included] /etc/lirc/lircd.conf.d/devinput.lircd.conf [Errno 2] No such file or directory: '/etc/lirc/lircd.conf.d/devinput.lircd.conf' -- no debconf information
>From 79e2494e4880d0446bf837c8bbca0b01baac4ed4 Mon Sep 17 00:00:00 2001 From: Matthias Reichl <h...@horus.com> Date: Wed, 8 Apr 2020 11:27:11 +0200 Subject: [PATCH] plugins/zotac: fix poll timeout poll requires a negative timeout value for infinite waits. See https://sourceforge.net/p/lirc/tickets/327/ Signed-off-by: Matthias Reichl <h...@horus.com> --- plugins/zotac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/zotac.c b/plugins/zotac.c index ac528c67..4a66acf5 100644 --- a/plugins/zotac.c +++ b/plugins/zotac.c @@ -352,7 +352,7 @@ static void* zotac_repeat(void* arg) if (pressed) sel = curl_poll(&pfd, 1, delay_ms); else - sel = curl_poll(&pfd, 1, 0); + sel = curl_poll(&pfd, 1, -1); switch (sel) { case 1: // Data ready in device's file -- 2.20.1