Are you sure that specific UPS is supported by apcupsd? Can you try it
using a Linux distro?
There's no ugen in /dev, apcupsd uses libusb to communicate, which does
not need devices.
Laurent
Le 2014/07/07 13:56 +0200, Jean-pierre Gervasoni a écrit:
Dear Laurent,
Yes i first tried to use an empty value for device flag with no luck. I
am wondering wether this may be related to the fact that i do not see
/dev/ugen0 entry....
Best regards,
Jean-Pierre
Le 7 juil. 2014 13:35, "Laurent Blume" <[email protected]
<mailto:[email protected]>> a écrit :
Hello,
Have you tried with an empty DEVICE value? That should be the
default for USB.
Laurent
Le 2014/07/06 19:57 +0200, Jean-pierre Gervasoni a écrit:
Dear members,
I have set up a OmniOS box on a HP n54l. I have one issue left
for now -
configuring acpupsd to drive a CyberPower CP1500EPFCLCD unit.
Here is a
recap of what I did:
- Remove HID, replace by UGEN using following link:
http://www.packetmischief.ca/__2013/01/01/installing-apcupsd-__with-usb-support-on-omnios/
<http://www.packetmischief.ca/2013/01/01/installing-apcupsd-with-usb-support-on-omnios/>
- Install pkgutil from http://www.opencsw.org/
- Install CSWapcupsd from http://www.opencsw.org/
- Configured /etc/opt/csw/apcsupsd/__apcsupsd.conf to make it
work with
USB (I have attached the file)
- Running apctest failed with a cryptic error message:
2014-07-06 19:32:36 apctest 3.14.10 (13 September 2011) sun
Checking configuration ...
Attached to driver: usb
sharenet.type = Network & ShareUPS Disabled
cable.type = USB Cable
mode.type = USB UPS Driver
Setting up the port ...
apctest FATAL ERROR in generic-usb.c at line 674
Cannot find UPS device --
For a link to detailed USB trouble shooting information,
please see <http://www.apcupsd.com/__support.html
<http://www.apcupsd.com/support.html>>.
apctest error termination completed
- I am attaching apcupsd.trace file
- Here's a copy of log file when i unplug/plug the usb cable:
Jul 6 19:01:02 OmniOS genunix: [ID 408114kern.info
<http://408114kern.info> <http://kern.info>]
/pci@0,0/pci103c,1609@12/__input@5 (ugen0) removed
Jul 6 19:01:42 OmniOS usba: [ID 912658kern.info
<http://912658kern.info> <http://kern.info>] USB 2.0 device
(usb764,501) operating at full speed (USB 1.x) on USB 1.10 root
hub: input@5, ugen0 at bus address 2
Jul 6 19:01:42 OmniOS usba: [ID 349649kern.info
<http://349649kern.info> <http://kern.info>] CP1500EPFCLCD
RJB103.551 CPS
Jul 6 19:01:42 OmniOS genunix: [ID 936769kern.info
<http://936769kern.info> <http://kern.info>] ugen0 is
/pci@0,0/pci103c,1609@12/__input@5
Jul 6 19:01:42 OmniOS genunix: [ID 408114kern.info
<http://408114kern.info> <http://kern.info>]
/pci@0,0/pci103c,1609@12/__input@5 (ugen0) online
- I'm kind of lost for now.....
Thank you for any help you could provide,
Jean-Pierre