<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 05/04/2014 09:32 AM, Greg Woods
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAF-=yYNhAZ2BJggZC6eMcF5wQK+FeWc8cn+A5t=hnJSxBu_gzA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Sat, May 3, 2014 at 4:09 PM,
            Andrew C. Stadt <span dir="ltr">&lt;<a
                moz-do-not-send="true" href="mailto:acstadt@stadt.ca"
                target="_blank">acstadt@stadt.ca</a>&gt;</span> wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div id=":5jw" class="a3s" style="overflow:hidden">Just
                base the udev rules off of the devices serial numbers:
                Here's a<br>
                snippet from my MBE's udev rules (which hosts 2 of my
                hdpvrs)<br>
                <br>
                [code]<br>
                KERNEL=="video[0-9]*", ATTRS{product}=="Hauppauge HD
                PVR",<br>
                ATTRS{serial}=="00A46253", SYMLINK+="hdpvr1", RUN<br>
                +="/sbin/hdpvr-install.sh"<br>
                KERNEL=="video[0-9]*", ATTRS{product}=="Hauppauge HD
                PVR",<br>
                ATTRS{serial}=="00A40C31", SYMLINK+="hdpvr2", RUN<br>
                +="/sbin/hdpvr-install.sh"<br>
                [/code]</div>
            </blockquote>
          </div>
          <br>
          That is exactly what I do, and without the RUN script. Then I
          can reference /dev/hdpvr1 and /dev/hdpvr2 in mythtv-setup.
          Works great.</div>
      </div>
    </blockquote>
    Do both HDPVRs use the same input types (component, etc)?<br>
    <br>
    Does MythTV handle setting/changing the inputs okay?<br>
    <br>
    Did you set 'default_audio_input' and 'default_video_input' under
    /etc/modprobe.d?<br>
    <br>
    FYI: Ubuntu 12lts now has explicit entries for each HDPVR under
    '/dev/v4l/by-id' and '/dev/v4l/by-path' and that's how I reference
    them in mythtv-setup (as I hadn't finished udev script).<br>
    I don't think they were there a year ago.<br>
    <br>
    But I'll likely keep the udev script for clarity, and it also
    assigns links to the HDPVRs IR devices:<br>
    SUBSYSTEM!="lirc", GOTO="local_assign_end"<br>
    # hdpvr1 IR blaster: ATTRS{product}=="Hauppauge HD PVR", <br>
    ATTRS{serial}=="00A9ABCD", SYMLINK+="lirc-hdpvr1"<br>
    # hdpvr2 IR blaster<br>
    ATTRS{serial}=="00A81234", SYMLINK+="lirc-hdpvr2"<br>
    <br>
    Now to look at 'Upstart' for multiple lirc daemons (works, just
    needs tweaking).<br>
    <br>
    Thanks All,<br>
    MC<br>
  </body>
</html>