[Nut-upsuser] Problems connecting to APC/Smart-UPS 3000 RM

Tom Diehl tdiehl at rogueind.com
Tue Oct 4 12:56:25 UTC 2005


Hi all,

I have an APC/Smart-UPS 3000 RM that I am trying to connect to nut via the usb
port. I have nut running just fine on several other machines using APC ups's
via the serial ports but this usb thing is making me crazy.

If I do a "/sbin/newhidups -u root -D -a PS1" it recgonizes the ups and dumps
a bunch of information like below:

(porky pts12) # /sbin/newhidups -u root -D -D -a PS1
Network UPS Tools: New USB/HID UPS driver 0.23 (2.0.2)

debug level is '2'
Opening new device (051D/0002)
Found 0x51d
- Manufacturer : American Power Conversion
- Product      : Smart-UPS 3000 RM FW:666.6.D USB FW:2.4
- Serial Number: JS0438010331
HID descriptor retrieved (Reportlen =  1218)
Report descriptor retrieved (Reportlen = 1218)
found 1 (1218)
Report Descriptor size = 1218
Detected an UPS: American Power Conversion/Smart-UPS 3000 RM FW:666.6.D USB FW:2.4

Path: UPS.PowerSummary.iSerialNumber
Path: UPS.PowerSummary.iManufacturer
Path: UPS.PowerSummary.iOEMInformation
Path: UPS.PowerSummary.iDeviceChemistry
Path: UPS.PowerSummary.Rechargeable
Path: UPS.PowerSummary.CapacityMode
Path: UPS.PowerSummary.DesignCapacity
Path: UPS.PowerSummary.FullChargeCapacity
Path: UPS.PowerSummary.RemainingCapacity
Path: UPS.PowerSummary.RemainingCapacity
Path: UPS.PowerSummary.CapacityGranularity1
Path: UPS.PowerSummary.CapacityGranularity2
Path: UPS.PowerSummary.WarningCapacityLimit
Path: UPS.PowerSummary.RemainingCapacityLimit
Path: UPS.PowerSummary.ManufacturerDate
Path: UPS.PowerSummary.RunTimeToEmpty
Path: UPS.PowerSummary.RunTimeToEmpty
Path: UPS.PowerSummary.DelayBeforeShutdown
Path: UPS.PowerSummary.DelayBeforeReboot
Path: UPS.PowerSummary.RemainingTimeLimit
Path: UPS.PowerSummary.RemainingTimeLimit
Path: UPS.PowerSummary.ConfigVoltage
Path: UPS.PowerSummary.Voltage
Path: UPS.PowerSummary.AudibleAlarmControl
...

This seems to indicate that I have the configuration files correct, but
when I try to start but I get the following in the logs:

Oct  4 08:42:38 porky upsdrvctl: Network UPS Tools: New USB/HID UPS driver 0.23 (2.0.2)
Oct  4 08:42:38 porky upsdrvctl:
Oct  4 08:42:38 porky upsdrvctl: Network UPS Tools - UPS driver controller 2.0.2
Oct  4 08:42:38 porky upsdrvctl: No USB/HID UPS found
Oct  4 08:42:38 porky upsdrvctl: Driver failed to start (exit status=1)
Oct  4 08:42:38 porky ups: upsdrvctl startup failed
Oct  4 08:42:38 porky upsd[2514]: Can't connect to UPS [PS1] (newhidups-hiddev0): No such file or directory
Oct  4 08:42:38 porky upsd: Can't connect to UPS [PS1] (newhidups-hiddev0): No such file or directory
Oct  4 08:42:38 porky upsd: Network UPS Tools upsd 2.0.2
Oct  4 08:42:38 porky upsd: Synchronizing...

I see the "(newhidups-hiddev0): No such file or directory" error. Am I correct
that this is newhidups trying to write to /var/run/nut? If so, it does not
appear to be a permisssions problem.

(porky pts12) # la /var/run/nut
total 24
drwxr-x---   2 nut  nut  4096 Oct  4 08:42 .
drwxr-xr-x  13 root root 4096 Oct  4 05:16 ..
(porky pts12) #

Can someone please tell me how to further debug this? 

Regards,

Tom Diehl		tdiehl at rogueind.com		Spamtrap address mtd123 at rogueind.com



More information about the Nut-upsuser mailing list