<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    <div class="moz-cite-prefix">On 9/2/2015 9:48 AM, Jerry Rubinow
      wrote:<br>
    </div>
    <blockquote
cite="mid:CA+SOsrR+MM0LCdq1LTYLBj3pahshMkrr8=m8K_7gDe8hNgcZHQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On Wed, Sep 2, 2015 at 12:23 PM, Kirk
            Bocek <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:t004@kbocek.com" target="_blank">t004@kbocek.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000"> <br>
                <br>
                <div>On 9/2/2015 8:47 AM, Jerry Rubinow wrote:<br>
                </div>
                <blockquote type="cite">
                  <div dir="ltr">
                    <div class="gmail_extra">
                      <div class="gmail_quote">On Wed, Sep 2, 2015 at
                        9:28 AM, Kirk Bocek <span dir="ltr"><<a
                            moz-do-not-send="true"
                            href="mailto:t004@kbocek.com"
                            target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:t004@kbocek.com">t004@kbocek.com</a></a>></span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex"><br>
                          <br>
                          On 9/1/2015 6:41 PM, Roger Heflin wrote:<br>
                          <blockquote class="gmail_quote"
                            style="margin:0 0 0 .8ex;border-left:1px
                            #ccc solid;padding-left:1ex"> Kirk,<br>
                            <br>
                            You *MUST* have an adjusted kernel to make
                            certain USB devices work on<br>
                            Liva.  There was an earlier post about this
                            with this link on it:  It<br>
                            is a pain, it may be a kernel bug the notes
                            I originally found this<br>
                            info from was from someone elses kernel
                            patch.<br>
                            <br>
                            <a moz-do-not-send="true"
href="http://www.gossamer-threads.com/lists/mythtv/users/587930?search_string=jerry;#587930"
                              rel="noreferrer" target="_blank">http://www.gossamer-threads.com/lists/mythtv/users/587930?search_string=jerry;#587930</a><br>
                            <br>
                            Jerry used the directions I worked out on
                            mine and that also fixed<br>
                            his.  There is something funny in the kernel
                            in regards to it appears<br>
                            some usb (possibly usb1 low speed) devices
                            on the usb3.  On the liva<br>
                            both ports appear to be controlled by the
                            same usb3 chipset so both<br>
                            ports have the issue.<br>
                            <br>
                            Without the patch I was getting completely
                            different garbage each time<br>
                            pushing the same key.<br>
                            <br>
                            <br>
                          </blockquote>
                          <br>
                          This is my second Liva. On my first Liva, I am
                          using an *ancient* Microsoft branded USB IR
                          receiver. It totally works with LIRC and the
                          stock Fedora kernel. No questions asked. I've
                          got the unit serving us in the bedroom now and
                          it works great.<br>
                          <br>
                          My original question was, what commercially
                          available IR receiver are you using with Myth
                          now? I guess I should have asked what is
                          available that works with standard Linux
                          distros and LIRC? Because right now this
                          Chinese unit clearly isn't. Alec has given me
                          a work-around that sounds like it *should*
                          work. But so far that isn't helping.<br>
                          <br>
                          My other generic MCE receiver that works under
                          CentOS 6 and it's older kernel seems to have
                          stopped working under the 4.1.5 kernel of
                          Fedora 21 too.<br>
                          <br>
                          I bought an HP IR receiver on Amazon hoping it
                          would work. When it failed like this one I
                          threw it in the trash. I probably should have
                          held on to it so I could try these work
                          arounds. but man, that felt *good.*<br>
                        </blockquote>
                        <div><br>
                        </div>
                        <div>The problem I ran into - and I'm not saying
                          you are having the same problem, I don't know
                          - but what I encountered was a result of a
                          combination of the kernel usb driver, the Liva
                          USB hardware, and the particular mce ir
                          receiver I was using.  That is, I could use
                          the exact same kernel and ir receiver on a
                          different computer and not have the issue.  </div>
                        <div><br>
                        </div>
                        <div>On the Liva both USB ports go through
                          xHCI.  The ir receiver I have uses an older
                          h/w protocol which the kernel driver does not
                          process properly when going through xHCI.  On
                          a different computer, going through a USB 2.0
                          port, this issue does not happen.  The Liva's
                          2.0 port however uses xHCI.</div>
                        <div><br>
                        </div>
                        <br>
                      </div>
                    </div>
                  </div>
                </blockquote>
                <br>
                It was suggested to try both the 2.0 and 3.0 (I read you
                are supposed to call them 3.1 ports now -- whatever) but
                that didn't help. So what are you using on your Liva and
                is there a fix for the xHCI issue? Roger suggests kernel
                patching. But as I said my old Microsoft receiver is
                working. And if that's not an "old" hardware protocol
                nothing is.</div>
            </blockquote>
            <div><br>
            </div>
            <div>The 2.0 port on the Liva uses xHCI, and the BIOS
              doesn't let you disable it, so it makes no difference
              which port.  If the Fedora kernel you're using has the
              same issue as the Ubuntu kernel (what I'm using), then it
              sounds like your issue may be different.  Or it could be a
              version of the kernel which doesn't have the issue.</div>
            <div><br>
            </div>
            <div>What kernel version are you using on your first Liva? 
              I ended up patching my kernel to fix things, since it's
              impossible to know what hardware protocol the ir receivers
              are using without actually buying/trying.</div>
            <div><br>
            </div>
            <br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    First Liva with the old Microsoft receiver: 4.0.8-200.fc21.x86_64<br>
    <br>
    Second Liva with the Chinese knockoff receiver recommended here:
    4.1.5-100.fc21.x86_64<br>
    <br>
    Info on the knockoff receiver, udevadm info -a
    /sys/bus/usb/devices/1-2:1.0:<br>
    <br>
     looking at parent device
    '/devices/pci0000:00/0000:00:14.0/usb1/1-2':<br>
        KERNELS=="1-2"<br>
        SUBSYSTEMS=="usb"<br>
        DRIVERS=="usb"<br>
        ATTRS{bDeviceSubClass}=="00"<br>
        ATTRS{bDeviceProtocol}=="00"<br>
        ATTRS{devpath}=="2"<br>
        ATTRS{idVendor}=="0471"<br>
        ATTRS{speed}=="1.5"<br>
        ATTRS{bNumInterfaces}==" 1"<br>
        ATTRS{bConfigurationValue}=="1"<br>
        ATTRS{bMaxPacketSize0}=="8"<br>
        ATTRS{busnum}=="1"<br>
        ATTRS{devnum}=="2"<br>
        ATTRS{configuration}==""<br>
        ATTRS{bMaxPower}=="100mA"<br>
        ATTRS{authorized}=="1"<br>
        ATTRS{bmAttributes}=="a0"<br>
        ATTRS{bNumConfigurations}=="1"<br>
        ATTRS{maxchild}=="0"<br>
        ATTRS{bcdDevice}=="0101"<br>
        ATTRS{avoid_reset_quirk}=="0"<br>
        ATTRS{quirks}=="0x0"<br>
        ATTRS{version}==" 1.10"<br>
        ATTRS{urbnum}=="12"<br>
        ATTRS{ltm_capable}=="no"<br>
        ATTRS{manufacturer}=="PHILIPS"<br>
        ATTRS{removable}=="unknown"<br>
        ATTRS{idProduct}=="20cc"<br>
        ATTRS{bDeviceClass}=="00"<br>
        ATTRS{product}=="MCE USB IR Receiver- Spinel plus"<br>
    <br>
    Yeah, xHCI:<br>
    <br>
     looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1':<br>
        KERNELS=="usb1"<br>
        SUBSYSTEMS=="usb"<br>
        DRIVERS=="usb"<br>
        ATTRS{bDeviceSubClass}=="00"<br>
        ATTRS{bDeviceProtocol}=="01"<br>
        ATTRS{devpath}=="0"<br>
        ATTRS{idVendor}=="1d6b"<br>
        ATTRS{speed}=="480"<br>
        ATTRS{bNumInterfaces}==" 1"<br>
        ATTRS{bConfigurationValue}=="1"<br>
        ATTRS{bMaxPacketSize0}=="64"<br>
        ATTRS{authorized_default}=="1"<br>
        ATTRS{busnum}=="1"<br>
        ATTRS{devnum}=="1"<br>
        ATTRS{configuration}==""<br>
        ATTRS{bMaxPower}=="0mA"<br>
        ATTRS{authorized}=="1"<br>
        ATTRS{bmAttributes}=="e0"<br>
        ATTRS{bNumConfigurations}=="1"<br>
        ATTRS{maxchild}=="6"<br>
        ATTRS{bcdDevice}=="0401"<br>
        ATTRS{avoid_reset_quirk}=="0"<br>
        ATTRS{quirks}=="0x0"<br>
        ATTRS{serial}=="0000:00:14.0"<br>
        ATTRS{version}==" 2.00"<br>
        ATTRS{urbnum}=="33"<br>
        ATTRS{ltm_capable}=="no"<br>
        ATTRS{manufacturer}=="Linux 4.1.5-100.fc21.x86_64 xhci-hcd"<br>
        ATTRS{removable}=="unknown"<br>
        ATTRS{idProduct}=="0002"<br>
        ATTRS{bDeviceClass}=="09"<br>
        ATTRS{product}=="xHCI Host Controller"<br>
    <br>
    <br>
  </body>
</html>