<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Nov 12, 2015 at 7:44 PM, Gabe Rubin <span dir="ltr"><<a href="mailto:gaberubin@gmail.com" target="_blank">gaberubin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi list,<br><br></div>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.<br><br></div>This is why I think this is the issue (the handlers show kbd and eventX (here X being 7))<br><br>I: Bus=0018 Vendor=0000 Product=0000 Version=0000<br>N: Name="i2c IR (Hauppauge WinTV PVR-350"<br>P: Phys=i2c-0/0-0018/ir0<br>S: Sysfs=/devices/virtual/rc/rc0/input10<br>U: Uniq=<br>H: Handlers=kbd event7<br>B: PROP=0<br>B: EV=100013<br>B: KEY=10afc312 214201700000000 0 118000 41a800004801 9e16c000000000 10000ffc<br>B: MSC=10<br><br><br></div>How do I disable kbd?  Is this even an issue or am I on the wrong track?<br><br></div></div></blockquote><div> </div><div>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.<br></div><div><br>Section "InputClass"<br>Identifier "Ignore MCE_USB as Keyboard input"<br>MatchProduct "Media Center Ed. eHome Infrared Remote Transceiver (1784:0008)"<br>MatchIsKeyboard "true"<br>Option "Ignore" "true"<br>EndSection<br> <br></div><div>Either I deleted that file or a Fedora upgrade nuked it.  I have it on my backup.<br></div><div><br></div><div>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.<br><br></div><div>Alternatively, set a udev rule as outlined in <a href="https://www.mythtv.org/wiki/LIRC" target="_blank">https://www.mythtv.org/wiki/LIRC</a>  -- Scroll down the page to "Double presses for certain buttons"  Look at <a href="http://www.gossamer-threads.com/lists/mythtv/users/504746#504746" target="_blank">http://www.gossamer-threads.com/lists/mythtv/users/504746#504746</a> for the source of this article.<br><br></div><div>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.<br><br></div><div>Good luck!  You'll straighten it out.<br></div><div>Jerry<br></div></div></div></div>