Re: Repeating last button over and over again

John Penfold via LIRC-list <[email protected]> Mon, 7 May 2018 16:32:39 +0100
Newsgroups gmane.comp.hardware.lirc
Message-ID <[email protected]>
On Mon, May 07, 2018 at 05:08:34PM +0200, Leopold Mark wrote:
>    Hello!
> 
>    I am sorry if i disturb you all but i have an issue with LIRC i can not
>    resolve and i can not find any information on the internet regarding
>    that problem so poating here is my last resort. I am sorry if the
>    information i provide is incomplete but this is my first bug report and
>    if i have forgotten some important information just say i will do my
>    best to provide it.
> 
>    OS:
>    cat /etc/os-release
>    PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
>    NAME="Raspbian GNU/Linux"
>    VERSION_ID="9"
>    VERSION="9 (stretch)"
>    ID=raspbian
>    ID_LIKE=debian
>    HOME_URL="[1]http://www.raspbian.org/"
>    SUPPORT_URL="[2]http://www.raspbian.org/RaspbianForums"
>    BUG_REPORT_URL="[3]http://www.raspbian.org/RaspbianBugs"
> 
>    Kodi 2:17.6-2~stretch
> 
>    Lirc 0.9.4c-9
> 
>    As far as i understand it it is a simple ir-receiver transistor
>    [4]https://asset.conrad.com/media10/isa/160267/c1/-/de/181819_BB_00_FB/
>    ir-empfaenger-36-khz-950-nm-conrad-components-ir-r-36.jpg?x=520&y=520
> 
>    ls -l /dev/lirc*
>    crw-rw---- 1 root video 244, 0 May  6 12:49 /dev/lirc0
> 
>    lsmod:
>    Module                  Size  Used by
>    fuse                  106496  3
>    rfcomm                 49152  6
>    cmac                   16384  1
>    bnep                   20480  2
>    hci_uart               36864  1
>    btbcm                  16384  1 hci_uart
>    serdev                 20480  1 hci_uart
>    bluetooth             368640  29 hci_uart,bnep,btbcm,rfcomm
>    ecdh_generic           28672  1 bluetooth
>    i2c_bcm2708            16384  0
>    uinput                 20480  1
>    evdev                  24576  3
>    joydev                 20480  0
>    hid_logitech_hidpp     36864  0
>    hid_logitech_dj        20480  0
>    snd_bcm2835            32768  2
>    snd_pcm                98304  2 snd_bcm2835
>    brcmfmac              307200  0
>    brcmutil               16384  1 brcmfmac
>    snd_timer              32768  1 snd_pcm
>    snd                    69632  6 snd_timer,snd_bcm2835,snd_pcm
>    cfg80211              573440  1 brcmfmac
>    rfkill                 28672  6 bluetooth,cfg80211
>    i2c_bcm2835            16384  1
>    fixed                  16384  0
>    uio_pdrv_genirq        16384  0
>    uio                    20480  1 uio_pdrv_genirq
>    lirc_rpi               16384  2
>    sg                     28672  0
>    lirc_dev               16384  1 lirc_rpi
>    i2c_dev                16384  2
>    ip_tables              24576  0
>    x_tables               32768  1 ip_tables
>    ipv6                  434176  80
> 
>    I got LIRC up and running on my Pi running the latest version of LIRC,
>    Kodi and Jessy but pretty frequently the button that is pressed last
>    gets stuck and pressed over and over again but that signal is not from
>    the remote (tried to cover the remote but signal spamming persists),
>    irw shows normal inputs from the remote and the spaming only stops when
>    i kill/restart the lirc-process on the pi. trying various values on
>    "min_repeat" and "suppress_repeat" in the lirc config had no effect
>    either. the problem also persists when i create a new config for a
>    different remote...
> 
> References
> 
>    1. http://www.raspbian.org/"
>    2. http://www.raspbian.org/RaspbianForums"
>    3. http://www.raspbian.org/RaspbianBugs"
>    4. https://asset.conrad.com/media10/isa/160267/c1/-/de/181819_BB_00_FB/ir-empfaenger-36-khz-950-nm-conrad-components-ir-r-36.jpg?x=520&y=520

> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot

Hi,
  is the lircd-uinput.service running? The default configuration 
for lircd-uinput does not define a key-off comand so the keypress is repeated. 
If you are using .lircrc definitions to control the application, you can disable 
ircd-uinput, otherwise it needs configuring correctly.

             John Penfold.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot