Re: infinitely-repeating keypress with mceusb and default driver

John Penfold via LIRC-list <[email protected]>
Newsgroups gmane.comp.hardware.lirc
Message-ID <3274992.bBaATo4DDo@donibristle>
On Saturday 30 Sep 2017 09:32:38 Joey Morris wrote:
> I'm upgrading an older system to Debian testing (buster), currently running
> kernel 4.12.6 and lirc version 0.10.0. I have an mceusb remote and am using
> the config file from the lirc remotes database. I've set up lirc using the
> default driver. When I run irw and press a button or two, the buttons are
> reported correctly, but then an escape sequence is just repeated over and
> over until I quit with Ctrl-C. It looks like this:
> 
> $ irw
> 000000037ff07be1 00 KEY_UP mceusb
> ^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A
> ^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A
> ^[[A^[[A^[[A^[[A^[[1;5A^[[1;5A^C
> 
> In my primary application, MythTV, this behaves as if I'm holding down the
> KEY_UP button, so it rapidly cycles through the menu options on the home
> screen.
> 
> Before upgrading the OS, I was using the same hardware on Ubuntu 14.04 and
> lirc 0.9.x, and I didn't see this behavior.
> 
> I switched to the devinput driver, and I don't see the same behavior.
> Everything works fine. Because the devinput driver suits my needs, I'll
> probably just stick with it, but I was curious why I'm seeing these
> repeated keypresses with the default driver. Has anyone seen this before or
> have troubleshooting advice?
> 
> Thanks.
> Joey
> 
> 
> ----------------------------------------------------------------------------
> -- Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot

Hi,
  I have had similar problems with repeating keypresses that was caused by the 
lircd-uinput.service running. The default configuration for lircd-uinput does 
not define a key-off comand so the keypress is repeated. 
For my MythTv setup I disabled the lircd-uinput.service.

                     John.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.