<p dir="ltr">This is indeed a good question... I have yet to find the answer ;) </p>
<div class="gmail_quote">Le 7 juil. 2014 14:12, "Laurent Blume" <<a href="mailto:laurent@opencsw.org">laurent@opencsw.org</a>> a écrit :<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Are you sure that specific UPS is supported by apcupsd? Can you try it using a Linux distro?<br>
<br>
There's no ugen in /dev, apcupsd uses libusb to communicate, which does not need devices.<br>
<br>
Laurent<br>
<br>
Le 2014/07/07 13:56 +0200, Jean-pierre Gervasoni a écrit:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Laurent,<br>
<br>
Yes i first tried to use an empty value for device flag with no luck. I<br>
am wondering wether this may be related to the fact that i do not see<br>
/dev/ugen0 entry....<br>
<br>
Best regards,<br>
<br>
Jean-Pierre<br>
<br>
Le 7 juil. 2014 13:35, "Laurent Blume" <<a href="mailto:laurent@opencsw.org" target="_blank">laurent@opencsw.org</a><br>
<mailto:<a href="mailto:laurent@opencsw.org" target="_blank">laurent@opencsw.org</a>>> a écrit :<br>
<br>
    Hello,<br>
<br>
    Have you tried with an empty DEVICE value? That should be the<br>
    default for USB.<br>
<br>
    Laurent<br>
<br>
    Le 2014/07/06 19:57 +0200, Jean-pierre Gervasoni a écrit:<br>
<br>
        Dear members,<br>
<br>
        I have set up a OmniOS box on a HP n54l. I have one issue left<br>
        for now -<br>
        configuring acpupsd to drive a CyberPower CP1500EPFCLCD unit.<br>
        Here is a<br>
        recap of what I did:<br>
<br>
        - Remove HID, replace by UGEN using following link:<br>
<br>
        <a href="http://www.packetmischief.ca/__2013/01/01/installing-apcupsd-__with-usb-support-on-omnios/" target="_blank">http://www.packetmischief.ca/_<u></u>_2013/01/01/installing-<u></u>apcupsd-__with-usb-support-on-<u></u>omnios/</a><br>

        <<a href="http://www.packetmischief.ca/2013/01/01/installing-apcupsd-with-usb-support-on-omnios/" target="_blank">http://www.packetmischief.ca/<u></u>2013/01/01/installing-apcupsd-<u></u>with-usb-support-on-omnios/</a>><br>

<br>
        - Install pkgutil from <a href="http://www.opencsw.org/" target="_blank">http://www.opencsw.org/</a><br>
<br>
        - Install CSWapcupsd from <a href="http://www.opencsw.org/" target="_blank">http://www.opencsw.org/</a><br>
<br>
        - Configured /etc/opt/csw/apcsupsd/__<u></u>apcsupsd.conf to make it<br>
        work with<br>
        USB (I have attached the file)<br>
<br>
        - Running apctest failed with a cryptic error message:<br>
<br>
        2014-07-06 19:32:36 apctest 3.14.10 (13 September 2011) sun<br>
        Checking configuration ...<br>
        Attached to driver: usb<br>
        sharenet.type = Network & ShareUPS Disabled<br>
        cable.type = USB Cable<br>
        mode.type = USB UPS Driver<br>
        Setting up the port ...<br>
        apctest FATAL ERROR in generic-usb.c at line 674<br>
        Cannot find UPS device --<br>
        For a link to detailed USB trouble shooting information,<br>
        please see <<a href="http://www.apcupsd.com/__support.html" target="_blank">http://www.apcupsd.com/__<u></u>support.html</a><br>
        <<a href="http://www.apcupsd.com/support.html" target="_blank">http://www.apcupsd.com/<u></u>support.html</a>>>.<br>
        apctest error termination completed<br>
<br>
        - I am attaching apcupsd.trace file<br>
<br>
        - Here's a copy of log file when i unplug/plug the usb cable:<br>
<br>
        Jul  6 19:01:02 OmniOS genunix: [ID <a href="http://408114kern.info" target="_blank">408114kern.info</a><br>
        <<a href="http://408114kern.info" target="_blank">http://408114kern.info</a>>  <<a href="http://kern.info" target="_blank">http://kern.info</a>>]<br>
        /pci@0,0/pci103c,1609@12/__<u></u>input@5 (ugen0) removed<br>
        Jul  6 19:01:42 OmniOS usba: [ID <a href="http://912658kern.info" target="_blank">912658kern.info</a><br>
        <<a href="http://912658kern.info" target="_blank">http://912658kern.info</a>>  <<a href="http://kern.info" target="_blank">http://kern.info</a>>] USB 2.0 device<br>
        (usb764,501) operating at full speed (USB 1.x) on USB 1.10 root<br>
        hub: input@5, ugen0 at bus address 2<br>
        Jul  6 19:01:42 OmniOS usba: [ID <a href="http://349649kern.info" target="_blank">349649kern.info</a><br>
        <<a href="http://349649kern.info" target="_blank">http://349649kern.info</a>>  <<a href="http://kern.info" target="_blank">http://kern.info</a>>]   CP1500EPFCLCD<br>
        RJB103.551 CPS<br>
        Jul  6 19:01:42 OmniOS genunix: [ID <a href="http://936769kern.info" target="_blank">936769kern.info</a><br>
        <<a href="http://936769kern.info" target="_blank">http://936769kern.info</a>>  <<a href="http://kern.info" target="_blank">http://kern.info</a>>] ugen0 is<br>
        /pci@0,0/pci103c,1609@12/__<u></u>input@5<br>
        Jul  6 19:01:42 OmniOS genunix: [ID <a href="http://408114kern.info" target="_blank">408114kern.info</a><br>
        <<a href="http://408114kern.info" target="_blank">http://408114kern.info</a>>  <<a href="http://kern.info" target="_blank">http://kern.info</a>>]<br>
        /pci@0,0/pci103c,1609@12/__<u></u>input@5 (ugen0) online<br>
<br>
<br>
        - I'm kind of lost for now.....<br>
<br>
        Thank you for any help you could provide,<br>
<br>
        Jean-Pierre<br>
<br>
<br>
<br>
</blockquote>
<br>
<br>
<br>
</blockquote></div>