[mythtv-users] remote doubles keypresses

Jerry mythtv at hambone.e4ward.com
Fri Nov 13 14:16:35 UTC 2015


On Thu, Nov 12, 2015 at 7:44 PM, Gabe Rubin <gaberubin at gmail.com> wrote:

> Hi list,
>
> My remote sometimes double keypresses.  I always have just lived with
> this, but think I understand why it does it.  I think it is acting as both
> a remote and keyboard.  I have lirc running to use the remote, and it works
> fine.
>
> This is why I think this is the issue (the handlers show kbd and eventX
> (here X being 7))
>
> I: Bus=0018 Vendor=0000 Product=0000 Version=0000
> N: Name="i2c IR (Hauppauge WinTV PVR-350"
> P: Phys=i2c-0/0-0018/ir0
> S: Sysfs=/devices/virtual/rc/rc0/input10
> U: Uniq=
> H: Handlers=kbd event7
> B: PROP=0
> B: EV=100013
> B: KEY=10afc312 214201700000000 0 118000 41a800004801 9e16c000000000
> 10000ffc
> B: MSC=10
>
>
> How do I disable kbd?  Is this even an issue or am I on the wrong track?
>
>
I used to handle this with a file in /etc/X11/xorg.conf.d/90-mceusb.conf.
I suppose you could really just paste a section into /etc/X11/xorg.conf if
you wish.

Section "InputClass"
Identifier "Ignore MCE_USB as Keyboard input"
MatchProduct "Media Center Ed. eHome Infrared Remote Transceiver
(1784:0008)"
MatchIsKeyboard "true"
Option "Ignore" "true"
EndSection

Either I deleted that file or a Fedora upgrade nuked it.  I have it on my
backup.

You would just replace the MatchProduct string with "i2c IR (Hauppauge
WinTV PVR-350" and I think you can have anything you want for the
Identifier string.

Alternatively, set a udev rule as outlined in
https://www.mythtv.org/wiki/LIRC  -- Scroll down the page to "Double
presses for certain buttons"  Look at
http://www.gossamer-threads.com/lists/mythtv/users/504746#504746 for the
source of this article.

I was getting double presses for the arrows and I think the Enter/OK
buttons, and that fixed it.  I wrote that wiki section; I think it's still
valid.  I think what is happening is that the kernel is grabbing the input
at the same time as LIRC, so you want to block it if you are using LIRC.

Good luck!  You'll straighten it out.
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20151113/e77ee185/attachment.html>


More information about the mythtv-users mailing list