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: 00001907
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.000000     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: 0000: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 00000001
   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      00001907  
   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 00000001
   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 00000001
   2.912571     send: Q1
   3.144496     read: (244.9 244.9 000.0 000 50.1 2.27 22.9 00000001
   4.913049     send: Q1
   5.143904     read: (244.5 244.5 000.0 000 50.1 2.27 22.9 00000001
   6.914350     send: Q1
   7.143320     read: (244.4 244.4 000.0 000 50.0 2.27 23.1 00000001
   8.915790     send: Q1
   9.150716     read: (243.9 244.1 000.0 000 50.0 2.27 22.9 00000001
  10.916183     send: Q1
  11.150764     read: (244.4 244.4 000.0 000 50.0 2.27 22.9 00000001
  12.917569     send: Q1
  13.149529     read: (244.6 244.7 000.0 000 50.1 2.27 22.9 00000001
  14.918002     send: Q1
  15.148930     read: (244.7 244.7 000.0 000 50.1 2.27 22.9 00000001
  16.919376     send: Q1
  17.148335     read: (243.9 243.9 000.0 000 50.1 2.27 23.1 00000001
  18.920816     send: Q1
  19.155742     read: (244.0 244.0 000.0 000 50.1 2.27 22.9 00000001
  20.922219     send: Q1
  21.155152     read: (243.5 243.6 000.0 000 50.1 2.27 22.9 00000001
  22.923990     send: Q1
  23.154551     read: (243.4 243.5 000.0 000 50.1 2.27 22.9 00000001
  24.924000     send: Q1
  25.153961     read: (243.5 243.4 000.0 000 50.1 2.27 22.9 00000001
  26.925439     send: Q1
  27.153370     read: (243.4 243.4 000.0 000 50.0 2.27 22.9 00000001
  28.925810     send: Q1
  29.153021     read: (243.6 243.2 000.0 000 50.0 2.27 22.9 00000001
  30.927216     send: Q1
  31.168175     read: (243.8 243.8 000.0 000 50.1 2.27 22.9 00000001
  32.928658     send: Q1
  33.159580     read: (244.1 244.2 000.0 000 50.1 2.27 22.9 00000001
  34.929031     send: Q1
  35.158990     read: (244.3 244.1 000.0 000 50.1 2.27 22.9 00000001
  36.930435     send: Q1
  37.166391     read: (243.9 243.9 000.0 000 50.1 2.27 23.1 00000001
  38.931163     send: Q1
  39.165799     read: (243.8 243.9 000.0 000 50.0 2.27 22.9 00000001
  40.932245     send: Q1
  41.157205     read: (242.9 243.6 000.0 000 50.0 2.27 23.1 00000001
  42.933684     send: Q1
  43.172646     read: (243.8 243.7 000.0 000 50.0 2.27 23.1 00000001
  44.934347     send: Q1
  45.164014     read: (243.9 244.0 000.0 000 50.0 2.27 23.1 00000001
  46.935463     send: Q1
  47.165539     read: (243.9 244.0 000.0 000 50.1 2.27 22.9 00000001
  48.935900     send: Q1
  49.178821     read: (244.2 244.2 000.0 000 50.1 2.27 22.9 00000001
  50.937834     send: Q1
  51.170229     read: (243.8 243.9 000.0 000 50.1 2.27 23.1 00000001
  52.938677     send: Q1
  53.177643     read: (243.0 243.6 000.0 000 50.1 2.27 22.9 00000001
  54.939112     send: Q1
  55.177044     read: (242.7 243.1 000.0 000 50.1 2.27 22.9 00000001
  56.940489     send: Q1
  57.168453     read: (243.7 243.8 000.0 000 50.1 2.27 22.9 00000001
  58.940895     send: Q1
  59.167856     read: (243.7 243.7 000.0 000 50.1 2.27 22.9 00000001
  60.942332     send: Q1
  61.183260     read: (243.3 243.6 000.0 000 50.0 2.27 22.9 00000001
  62.943708     send: Q1
  63.174676     read: (244.2 244.2 000.0 000 50.0 2.27 22.9 00000001
  64.945157     send: Q1
  65.174410     read: (244.2 244.5 000.0 000 50.0 2.27 22.9 00000001
  66.946546     send: Q1
  67.189478     read: (243.9 244.6 000.0 000 50.0 2.27 22.9 00000001
  68.946923     send: Q1
  69.180880     read: (244.9 245.0 000.0 000 50.0 2.27 22.9 00000001
  70.948326     send: Q1
  71.180287     read: (243.6 244.0 000.0 000 50.0 2.27 22.9 00000001
  72.949765     send: Q1
  73.195695     read: (244.7 244.6 000.0 000 50.0 2.27 23.1 00000001
  74.950140     send: Q1
  75.195106     read: (244.2 244.4 000.0 000 50.0 2.27 23.1 00000001
  76.951546     send: Q1
  77.186503     read: (244.3 244.5 000.0 000 50.0 2.28 23.1 00000001
  78.951981     send: Q1
  79.186762     read: (244.8 245.1 000.0 000 50.1 2.28 23.1 00000001
  80.953358     send: Q1
  81.185320     read: (245.3 245.3 000.0 000 50.1 2.27 22.9 00000001
  82.954788     send: Q1
  83.185088     read: (245.0 245.0 000.0 000 50.1 2.27 23.1 00000001
  84.955221     send: Q1
  85.184128     read: (244.7 244.7 000.0 000 50.0 2.27 23.1 00000001
  86.956573     send: Q1
  87.183536     read: (244.8 244.7 000.0 000 50.0 2.27 23.1 00000001
  88.957984     send: Q1
  89.190935     read: (243.8 244.5 000.0 000 50.0 2.27 22.9 00000001
  90.959417     send: Q1
  91.190346     read: (244.7 244.7 000.0 000 50.0 2.27 23.1 00000001
  92.959789     send: Q1
  93.190486     read: (244.9 244.9 000.0 000 50.1 2.27 22.9 00000001
  94.961229     send: Q1
  95.189160     read: (244.7 244.9 000.0 000 50.1 2.27 23.1 00000001
  96.962646     send: Q1
  97.189553     read: (245.4 245.4 000.0 000 50.1 2.27 23.1 00000001
  98.963008     send: Q1
  99.195967     read: (244.8 244.8 000.0 000 50.1 2.27 23.1 00000001
 100.964440     send: Q1
 101.195727     read: (244.7 244.7 000.0 000 50.1 2.27 22.9 00000001
 102.965918     send: Q1
 103.194778     read: (244.9 244.9 000.0 000 50.1 2.28 22.9 00000001
 104.967223     send: Q1
 105.194182     read: (245.0 244.9 000.0 000 50.1 2.27 23.1 00000001
 106.968668     send: Q1
 107.193590     read: (244.8 244.8 000.0 000 50.1 2.27 23.1 00000001
 108.313110     Signal 2: exiting
Network UPS Tools - Megatec/Q1 protocol USB driver 0.03 (2.4.3)
_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to