Hi Mark,<br><br><div class="gmail_quote">2010/10/22 Mark Ruys<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

  
    
  
  <div bgcolor="#ffffff" text="#000000">
    Op 21-10-2010 9:58, Arnaud Quette schreef:
    <div class="im"><blockquote type="cite">Hi Mark,<br>
      <br>
      <div class="gmail_quote">2010/10/20 Mark Ruys<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> Op 19-10-2010 23:57, Arjen de Korte
          schreef:
          <div>
            <br>
            <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
              Citeren Mark Ruys :<br>
              <br>
              <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
                How to prevent these messages? Is something wrong
                (probably). How to debug it.<br>
                <br>
                Thanks,<br>
                <br>
                Mark<br>
                <br>
                CentOS 5.4<br>
                nut-2.2.0-7.el5<br>
                nut-client-2.2.0-7.el5<br>
              </blockquote>
              <br>
              Upgrade NUT to the latest version first. Loads of changes
              have been made to the usbhid-ups driver since nut-2.2.0
              was released well over three years ago. We no longer
              support this version.<br>
              <br>
              Best regards, Arjen<br>
            </blockquote>
            <br>
          </div>
          Okay, I upgraded to 2.4.3 and restarted nut. I still get:<br>
          <br>
          Oct 20 11:33:16 alkmene kernel: usb 3-1: usbfs: process 16588
          <div><br>
            (usbhid-ups) did not claim interface 0 before use<br>
          </div>
          Oct 20 11:33:48 alkmene last message repeated 43 times<br>
          Oct 20 11:34:50 alkmene last message repeated 85 times<br>
        </blockquote>
      </div>
      <br clear="all">
      upgrading NUT is not enough: you also have to stop the old
      instances and start new ones that use the newly installed version.<br>
      this remark comes from the fact the PID above (16588) is the same
      than the previous &quot;faulty&quot; one.<br>
    </blockquote>
    <br></div>
    Ah, this is a very good observation of you! I did run a &#39;service ups
    restart&#39;, but the usbhid-ups process wasn&#39;t killed. I had to
    manually kill it. From now on, a restart of the ups service does
    restart the usbhid-ups process as expected. Perhaps I should have
    issued a &#39;service ups stop&#39; before I upgraded from 2.2 to 2.4 as I
    expect that the 2.2 /etc/init.d/ups would killed the usbhid-ups
    process.<br></div></blockquote><div><br>thanks for the confirmation.<br>Charles&#39;s remark on packaging improvements still stands: hopefully, the NUT Packaging Standard and probably some tool like project builder will help to improve the situation.<br>
 </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div bgcolor="#ffffff" text="#000000">
    Furthermore, the &#39;usbhid-ups did not claim interface 0 before use&#39;
    messages now have disappeared. So also Arjen&#39;s advice to upgrade was
    useful :)<br></div></blockquote><div><br>indeed.<br><br>cheers,<br>Arnaud <br></div></div>