[Nut-upsuser] Liebert PowerSure PSA 500

Jochen Bern bern at ti.uni-trier.de
Tue Aug 30 09:23:55 UTC 2005


[FAQ on USB-connected UPSes]
>     Remember: this is brand new *experimental* software and is probably
>     very broken.  Do us a favor and report successes or failures to
>     the mailing lists.

No problem ... :

UPS:	Liebert PowerSure PSA 500
NUT:	Version 2.0.2
Kernel:	2.6.11.5, with CONFIG_USB_HID, CONFIG_USB_HIDINPUT, and
	CONFIG_USB_HIDDEV compiled in (statically)

================================================================

Driver:	liebert
Conn.:	Original RS232 cable

Starts OK, but fails to detect any events I tried (pulling mains, and 
pulling the serial cable). :-}

# upsdrvctl start
Network UPS Tools - UPS driver controller 2.0.2
Network UPS Tools - Liebert MultiLink UPS driver 1.0 (2.0.2)
Warning: This is an experimental driver.
Some features may not function correctly.

# upsc PowerSure at localhost
driver.name: liebert
driver.parameter.port: /dev/ttyS0
driver.version: 2.0.2
ups.mfr: Liebert
ups.model: MultiLink
ups.status: OL

================================================================

Driver:	newhidups
Conn.:	Original USB cable

Driver fails to recognize UPS, in spite of the changes in /etc/hotplug. 
(Might be the result of my prior kernel fiddling, though ...)

# newhidups -DD -a PowerSure
Network UPS Tools: New USB/HID UPS driver 0.23 (2.0.2)

debug level is '2'
Opening new device (10AF/0001)
Opening new device (0000/0000)
Opening new device (0000/0000)
Opening new device (0000/0000)
Opening new device (0000/0000)
Opening new device (0000/0000)
found 0 (-1)
No USB/HID UPS found

# grep -n -B 1 10af /etc/hotplug/usb/libhid.usermap | fmt -s
14-# Liebert PowerSure PSA 500
15:libhidups      0x0003      0x10af   0x0001    0x0000       0x0000
0x00         0x00            0x00            0x00            0x00
0x00               0x00000000

================================================================

Driver:	hidups
Conn.:	Original USB cable

Driver recognizes UPS and its state, but crashes and has to be restarted 
after every (so far) event.

# upsdrvctl start
Network UPS Tools - UPS driver controller 2.0.2
Network UPS Tools: HID UPS driver 0.13 (2.0.2)

Warning: This is an experimental driver.
Some features may not function correctly.

Detected Liebert Liebert PSA 500 FW:09
on port /dev/usb/hiddev0

# upsc PowerSure at localhost
battery.charge: 96
battery.chemistry: Unknown
battery.runtime: 3148
driver.name: hidups
driver.parameter.port: /dev/usb/hiddev0
driver.version: 2.0.2
ups.mfr: Unknown
ups.model: Unknown
ups.serial: Unknown
ups.status: OL

# grep ' hidups\[15' /var/log/messages | sed -e 's/\(:..\) [^ ]*/\1/'
Aug 30 09:35:54 hidups[15608]: Startup successful
Aug 30 10:00:07 hidups[15608]: read: Input/output error

================================================================

(Unfortunately, the Liebert docs don't say what data *should* be 
available from *that* UPS model via HID; all I can say, with no Wintel 
box to run a test on, is that their MultiLink software's prepared for a 
*lot* more variables.)

Regards,
								J. Bern



More information about the Nut-upsuser mailing list