On Tue, Mar 08, 2011 at 09:23:03AM +0100, Arjen de Korte wrote:
> Try the blazer_usb driver instead.
Thanks. That fixed it, I think.
# upsc myups
battery.voltage: 81.72
battery.voltage.nominal: 72.0
beeper.status: enabled
device.mfr:
device.model: HV 2K
device.type: ups
driver.name: blazer_usb
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.vendorid: 0665
driver.version: 2.4.3
driver.version.internal: 0.03
input.current.nominal: 8.0
input.frequency: 50.0
input.frequency.nominal: 50
input.voltage: 246.1
input.voltage.fault: 246.1
input.voltage.nominal: 240
output.voltage: 0.0
ups.delay.shutdown: 30
ups.delay.start: 180
ups.firmware: 1907
ups.load: 0
ups.mfr:
ups.model: HV 2K
ups.productid: 5161
ups.status: OL
ups.temperature: 22.9
ups.type: online
ups.vendorid: 0665
# upscmd myups load.on
Username (root):
Password:
#
It didn't turn on. What's this username and password?
--
James Cameron
http://quozl.linux.org.au/
0.00 debug level is '3'
0.041776 Checking device (1D6B/0001) (002/001)
0.041991 - VendorID: 1d6b
0.042031 - ProductID: 0001
0.042054 - Manufacturer: Linux 2.6.35-27-generic uhci_hcd
0.042074 - Product: UHCI Host Controller
0.042095 - Serial Number: :00:1f.4
0.042115 - Bus: 002
0.042135 Trying to match device
0.042194 Device does not match - skipping
0.042246 Checking device (0665/5161) (001/005)
0.062004 - VendorID: 0665
0.062124 - ProductID: 5161
0.062146 - Manufacturer: unknown
0.062167 - Product: unknown
0.062187 - Serial Number: unknown
0.062208 - Bus: 001
0.062228 Trying to match device
0.062353 Device matches
0.062454 failed to claim USB device: could not claim interface 0: Device
or resource busy
0.073348 detached kernel driver from USB device...
0.076465 Trying megatec protocol...
0.080401 send: Q1
0.121394 read: (NAK
0.121522 blazer_status: short reply
0.121556 Status read 1 failed
0.125352 send: Q1
0.353329 read: (244.6 244.8 000.0 000 50.1 2.27 22.9 0001
0.360213 Status read in 2 tries
0.360411 Supported UPS detected with megatec protocol
0.364325 send: F
0.473292 read: #240.0 008 072.0 50.0
0.473529 Ratings read in 1 tries
0.477254 send: I
0.665233 read: #HV 2K 1907
0.665401 Vendor information read in 1 tries
0.665430 Battery runtime will not be calculated (runtimecal not set)
0.669193 send: Q1
0.907001 read: (244.9 245.0 000.0 000 50.1 2.27 22.9 0001
0.907419 dstate_init: sock /var/run/nut/blazer_usb-myups open on fd 5
0.911124 send: Q1
1.137095 read: (244.6 244.7 000.0 000 50.1 2.27 23.1 0001
2.912571 send: Q1
3.144496 read: (244.9 244.9 000.0 000 50.1 2.27 22.9 0001
4.913049 send: Q1
5.143904 read: (244.5 244.5 000.0 000 50.1 2.27 22.9 0001
6.914350 send: Q1
7.143320 read: (244.4 244.4 000.0 000 50.0 2.27 23.1 0001
8.915790 send: Q1
9.150716 read: (243.9 244.1 000.0 000 50.0 2.27 22.9 0001
10.916183 send: Q1
11.150764 read: (244.4 244.4 000.0 000 50.0 2.27 22.9 0001
12.917569 send: Q1
13.149529 read: (244.6 244.7 000.0 000 50.1 2.27 22.9 0001
14.918002 send: Q1
15.148930 read: (244.7 244.7 000.0 000 50.1 2.27 22.9 0001
16.919376 send: Q1
17.148335 read: (243.9 243.9 000.0 000 50.1 2.27 23.1 0001
18.920816 send: Q1
19.155742 read: (244.0 244.0 000.0 000 50.1 2.27 22.9 0001
20.922219 send: Q1
21.155152 read: (243.5 243.6 000.0 000 50.1 2.27 22.9 0001
22.923990 send: Q1
23.154551 read: (243.4 243.5 000.0 000 50.1 2.27 22.9 0001
24.924000 send: Q1
25.153961 read: (243.5 243.4 000.0 000 50.1 2.27 22.9 0001
26.925439 send: Q1
27.153370 read: (243.4 243.4 000.0 000 50.0 2.27 22.9 0001
28.925810 send: Q1
29.153021 read: (243.6 243.2 000.0 000 50.0 2.27 22.9 0001
30.927216 send: Q1
31.168175 read: (243.8 243.8 000.0 000 50.1 2.27 22.9 0001
32.928658 send: Q1
33.159580 read: (244.1 244.2 000.0 000 50.1 2.27 22.9 0001
34.929031 send: Q1
35.158990 read: (244.3 244.1 000.0 000 50.1 2.27 22.9 0001
36.930435 send: Q1
37.166391 read: (243.9 243.9 000.0 000 50.1 2.27 23.1 0001
38.931163 send: Q1
39.165799 read: (243.8 243.9 000.0 000 50.0 2.27 22.9 0001
40.932245 send: Q1
41.157205 read: (242.9 243.6 000.0 000 50.0 2.27 23.1 0001
42.933684 send: Q1
43.172646 read: (243.8 243.7 000.0 000 50.0 2.27 23.1 0001
44.934347 send: Q1
45.164014 read: (243.9 244.0 000.0 000 50.0 2.27 23.1 0001
46.935463 send: Q1
47.165539 read: (243.9 244.0 000.0 000 50.1 2.27 22.9