<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 8, 2022 at 9:03 AM Peter Bennett <<a href="mailto:pb.mythtv@gmail.com">pb.mythtv@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p><br>
    </p>
    <div>On 11/8/22 08:27, James Abernathy
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div dir="ltr"><br>
        </div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Tue, Nov 8, 2022 at 7:12
            AM James Abernathy <<a href="mailto:jfabernathy@gmail.com" target="_blank">jfabernathy@gmail.com</a>>
            wrote:<br>
          </div>
          <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">My backend is running fixes/32
              (v32.0+fixes.202211050719.18f5b48ee1~ubuntu22.04.1)
              <div><br>
              </div>
              <div>The tuner is a Hauppauge WinTV quadHD ATSC PCIe card.
                This morning I tried to do some maintenance which was
                only supposed to be editing the Schedules Direct channel
                using tv_grab_zz_sdjson_sqlite --manage-listing and that
                part went as expected.</div>
              <div><br>
              </div>
              <div>Next I ran mythtv-setup and it said it needed to
                shutdown the backend and I said yes and it required the
                password.  I tried to edit channels and scan but I kept
                getting failures with my tuner card. Since I could not
                get it to recognize the card I exited without saving and
                started the backend again. My remote frontends could now
                connect to the backend and view Live TV.</div>
              <div><br>
              </div>
              <div>At that point it was time to panic as usual, so I
                went back into mythtv-setup and deleted all the tuners
                and started over.  I kept getting errors when trying to
                add the tuner card. It could not ID the card but
                obviously could find it in a scan of tuners.  </div>
              <div><br>
              </div>
              <div>I have not powered off the system, but I have
                rebooted several times. </div>
              <div><br>
              </div>
              <div>Has there been any recent changes to how the tuner
                cards are initialized at boot? This system has been
                running without major changes for a couple of years. </div>
              <div><br>
              </div>
              <div>Jim A</div>
            </div>
          </blockquote>
          <div><br>
          </div>
          <div>Some additional information.  I powered off the system
            and restarted and nothing changed over just resetting as
            expected.  I temporarily added some HDHomerun tuners to get
            the morning recordings to happen.   Now that that is over, I
            tried deleting all tuners and adding back in the Hauppauge
            WinTV QuadHD card.  If find the tuner but when I look at the
            parameters of the tuner I see:</div>
          <div>Frontend ID   Could Not get Card info for
            /dev/dvb/adapter0/frontend0</div>
          <div>At the bottom of the screen I see "appears the card can
            be in use by another program."</div>
          <div><br>
          </div>
          <div>I have not installed any new software on the system so
            not sure what this could be all about.</div>
          <div><br>
          </div>
          <div>Jim A<br>
            <br>
          </div>
        </div>
      </div>
      <br>
    </blockquote>
    <p>Try  <br>
    </p>
    <p>ls -l /dev/dvb/adapter0/frontend0</p>
    <p>You should see this<br>
    </p>
    crw-rw----+ 1 root video 212, 3 Nov  8 08:59
    /dev/dvb/adapter0/frontend0<br>
    <p>Make sure it shows group video and also make sure the user id
      that runs mythbackend and the one that runs mythfrontend have the
      video group (run -i -a while logged into those users).<br>
    </p>
    <p>Peter</p></div></blockquote><div>Thanks a lot for the help. The issue is resolved.  On my backend the main user running mythtv-setup is 'jim'.  User "jim" was not a part of the "video" group, but user "mythtv" that runs mythbackend and mythfilldatabase is in the "video" group. I added user 'jim' to the group "video" to fix the issue.</div><div><br></div><div>The puzzling thing is that this system has been working flawlessly for a few years and since the remote backend is in a closet, I use: </div><div>   ssh -X jim@<ip address></div><div>to login and run mythtv-setup.  This is the first time that I've tried to rescan a tuner card in a long time. I wonder what changed?</div><div><br></div><div>Jim A</div><div><br></div> ls -l /dev/dvb/adapter0/frontend0<br><div>crw-rw----+ 1 root video 212, 0 Nov  8 08:10 /dev/dvb/adapter0/frontend0 </div></div></div>