Hello,
I have just installed nut_2.6.0 from Debian testing, do anyone know the correct driver for this ups? The blazer_usb don't report battery-charge, the bundled software report charge and runtime.

root@pluto<~>upsc powerwalker
battery.voltage: 40.86
battery.voltage.nominal: 36.0
beeper.status: enabled
device.mfr:
device.model: HV 1K
device.type: ups
driver.name: blazer_usb
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/bus/usb/007/002
driver.version: 2.6.0
driver.version.internal: 0.03
input.current.nominal: 4.0
input.frequency: 50.0
input.frequency.nominal: 50
input.voltage: 227.4
input.voltage.fault: 227.2
input.voltage.nominal: 220
output.voltage: 227.5
ups.delay.shutdown: 30
ups.delay.start: 180
ups.firmware: 00001907
ups.load: 15
ups.mfr:
ups.model: HV 1K
ups.productid: 5161
ups.status: OL BYPASS
ups.temperature: 20.5
ups.type: online
ups.vendorid: 0665

etwork UPS Tools - Megatec/Q1 protocol USB driver 0.03 (2.6.0)
0.000000 send_to_all: SETINFO driver.parameter.port "/dev/bus/usb/007/002"
   0.000041     debug level is '5'
   0.305688     Checking device (1D6B/0002) (008/001)
   0.305749     - VendorID: 1d6b
   0.305756     - ProductID: 0002
   0.305761     - Manufacturer: unknown
   0.305765     - Product: unknown
   0.305768     - Serial Number: unknown
   0.305774     - Bus: 008
   0.305778     Trying to match device
   0.305782     Device does not match - skipping
   0.305789     Checking device (067B/2303) (007/003)
   0.305806     - VendorID: 067b
   0.305810     - ProductID: 2303
   0.305814     - Manufacturer: unknown
   0.305818     - Product: unknown
   0.305822     - Serial Number: unknown
   0.305826     - Bus: 007
   0.305829     Trying to match device
   0.305833     Device does not match - skipping
   0.305838     Checking device (0665/5161) (007/002)
   0.325547     - VendorID: 0665
   0.325562     - ProductID: 5161
   0.325571     - Manufacturer: unknown
   0.325580     - Product: unknown
   0.325588     - Serial Number: unknown
   0.325595     - Bus: 007
   0.325603     Trying to match device
   0.325614     Device matches
   0.328556     send_to_all: SETINFO ups.vendorid "0665"
   0.328574     send_to_all: SETINFO ups.productid "5161"
   0.328594     send_to_all: SETINFO device.type "ups"
   0.328608     send_to_all: SETINFO driver.version "2.6.0"
   0.328621     send_to_all: SETINFO driver.version.internal "0.03"
   0.328636     send_to_all: SETINFO driver.name "blazer_usb"
   0.328649     Trying megatec protocol...
   0.332547     send: Q1
   0.564555     read: (227.4 227.4 227.4 012 50.0 2.27 20.5 00100001
   0.564598     send_to_all: SETINFO input.voltage "227.4"
   0.564618     send_to_all: SETINFO input.voltage.fault "227.4"
   0.564635     send_to_all: SETINFO output.voltage "227.4"
   0.564662     send_to_all: SETINFO ups.load "12"
   0.564670     send_to_all: SETINFO input.frequency "50.0"
   0.564677     send_to_all: SETINFO battery.voltage "2.27"
   0.564683     send_to_all: SETINFO ups.temperature "20.5"
   0.564688     send_to_all: SETINFO beeper.status "enabled"
   0.564693     send_to_all: SETINFO ups.type "online"
   0.564701     send_to_all: SETINFO ups.status "OL BYPASS"
   0.564705     Status read in 1 tries
   0.564709     Supported UPS detected with megatec protocol
   0.568553     send: F
   0.684557     read: #220.0 004 036.0 50.0
   0.684582     send_to_all: SETINFO input.voltage.nominal "220"
   0.684599     send_to_all: SETINFO input.current.nominal "4.0"
   0.684617     send_to_all: SETINFO battery.voltage.nominal "36.0"
   0.684633     send_to_all: SETINFO input.frequency.nominal "50"
   0.684645     Ratings read in 1 tries
   0.688555     send: I
   0.876557     read: #                HV 1K      00001907
   0.876611     send_to_all: SETINFO ups.mfr ""
   0.876658     send_to_all: SETINFO ups.model "HV 1K"
   0.876680     send_to_all: SETINFO ups.firmware "00001907"
   0.876699     Vendor information read in 1 tries
   0.876744     Battery runtime will not be calculated (runtimecal not set)
   0.876766     send_to_all: SETINFO ups.delay.start "180"
   0.876787     send_to_all: SETINFO ups.delay.shutdown "30"
   0.876806     send_to_all: ADDCMD beeper.toggle
   0.876826     send_to_all: ADDCMD load.off
   0.876872     send_to_all: ADDCMD load.on
   0.876893     send_to_all: ADDCMD shutdown.return
   0.876912     send_to_all: ADDCMD shutdown.stayoff
   0.876932     send_to_all: ADDCMD shutdown.stop
   0.876952     send_to_all: ADDCMD test.battery.start
   0.876971     send_to_all: ADDCMD test.battery.start.deep
   0.877018     send_to_all: ADDCMD test.battery.start.quick
   0.877039     send_to_all: ADDCMD test.battery.stop
   0.880555     send: Q1
   1.124557     read: (226.3 227.4 227.3 014 50.0 2.28 20.5 00100001
   1.124617     send_to_all: SETINFO input.voltage "226.3"
   1.124665     send_to_all: SETINFO output.voltage "227.3"
   1.124688     send_to_all: SETINFO ups.load "14"
   1.124713     send_to_all: SETINFO battery.voltage "41.04"
   1.124767     send_to_all: DATAOK
1.124843 dstate_init: sock /var/run/nut/blazer_usb-powerwalker open on fd 5
   1.124867     send_to_all: SETINFO driver.parameter.pollinterval "2"
   1.124888     send_to_all: SETINFO device.mfr ""
   1.124910     send_to_all: SETINFO device.model "HV 1K"
   1.128561     send: Q1
   1.364561     read: (227.2 227.2 227.2 013 50.0 2.28 20.5 00100001
   1.364618     send_to_all: SETINFO input.voltage "227.2"
   1.364666     send_to_all: SETINFO input.voltage.fault "227.2"
   1.364689     send_to_all: SETINFO output.voltage "227.2"
   1.364712     send_to_all: SETINFO ups.load "13"
   3.129591     send: Q1
   3.356592     read: (227.8 227.5 227.4 014 50.0 2.27 20.5 00100001
   3.356621     send_to_all: SETINFO input.voltage "227.8"
   3.356640     send_to_all: SETINFO input.voltage.fault "227.5"
   3.356657     send_to_all: SETINFO output.voltage "227.4"
   3.356676     send_to_all: SETINFO ups.load "14"
   3.356697     send_to_all: SETINFO battery.voltage "40.86"
   5.129627     send: Q1
   5.356620     read: (227.3 227.3 227.3 013 50.0 2.27 20.5 00100001
   5.356683     send_to_all: SETINFO input.voltage "227.3"
   5.356728     send_to_all: SETINFO input.voltage.fault "227.3"
   5.356751     send_to_all: SETINFO output.voltage "227.3"
   5.356775     send_to_all: SETINFO ups.load "13"
   7.129651     send: Q1
   7.356650     read: (227.3 227.2 226.3 014 50.0 2.27 20.5 00100001
   7.356718     send_to_all: SETINFO input.voltage.fault "227.2"
   7.356761     send_to_all: SETINFO output.voltage "226.3"
   7.356784     send_to_all: SETINFO ups.load "14"
   9.128676     send: Q1
   9.364680     read: (227.7 228.1 228.2 013 50.0 2.28 20.5 00100001
   9.364714     send_to_all: SETINFO input.voltage "227.7"
   9.364733     send_to_all: SETINFO input.voltage.fault "228.1"
   9.364751     send_to_all: SETINFO output.voltage "228.2"
   9.364770     send_to_all: SETINFO ups.load "13"
   9.364788     send_to_all: SETINFO battery.voltage "41.04"


I also have a Konig CMP1200, on blazer_ser, it dosent report charge or runtime either.

root@pluto<~>upsc konig
battery.voltage: 27.10
battery.voltage.nominal: 23.5
beeper.status: disabled
device.mfr: KONIG COMPUTER
device.model: CMP1200
device.type: ups
driver.name: blazer_ser
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/ttyD0
driver.version: 2.6.0
driver.version.internal: 1.51
input.current.nominal: 6.0
input.frequency: 50.0
input.frequency.nominal: 50
input.voltage: 226.0
input.voltage.fault: 165.0
input.voltage.nominal: 220
output.voltage: 226.0
ups.alarm: Shutdown imminent!
ups.delay.shutdown: 30
ups.delay.start: 180
ups.firmware: VER4.00C
ups.load: 0
ups.mfr: KONIG COMPUTER
ups.model: CMP1200
ups.status: ALARM OL
ups.temperature: 0.0
ups.type: offline / line interactive

Network UPS Tools - Megatec/Q1 protocol serial driver 1.51 (2.6.0)
   0.000000     send_to_all: SETINFO driver.parameter.port "/dev/ttyD0"
   0.000059     debug level is '5'
   0.100545     send_to_all: SETINFO device.type "ups"
   0.100601     send_to_all: SETINFO driver.version "2.6.0"
   0.100645     send_to_all: SETINFO driver.version.internal "1.51"
   0.100666     send_to_all: SETINFO driver.name "blazer_ser"
   0.100686     Trying megatec protocol...
   0.100747     send: Q1
   0.349886     read: (226.0 165.0 226.0 000 50.0 27.1 00.0 00001010
   0.349960     send_to_all: SETINFO input.voltage "226.0"
   0.349985     send_to_all: SETINFO input.voltage.fault "165.0"
   0.350007     send_to_all: SETINFO output.voltage "226.0"
   0.350039     send_to_all: SETINFO ups.load "0"
   0.350090     send_to_all: SETINFO input.frequency "50.0"
   0.350116     send_to_all: SETINFO battery.voltage "27.10"
   0.350138     send_to_all: SETINFO ups.temperature "0.0"
   0.350158     send_to_all: SETINFO beeper.status "disabled"
   0.350179     send_to_all: SETINFO ups.type "offline / line interactive"
   0.350232     send_to_all: SETINFO ups.alarm "Shutdown imminent!"
   0.350254     send_to_all: SETINFO ups.status "ALARM OL"
   0.350274     Status read in 1 tries
   0.350292     Supported UPS detected with megatec protocol
   0.350315     send: F
   0.481871     read: #220.0 006 23.50 50.0
   0.481924     send_to_all: SETINFO input.voltage.nominal "220"
   0.481967     send_to_all: SETINFO input.current.nominal "6.0"
   0.481990     send_to_all: SETINFO battery.voltage.nominal "23.5"
   0.482013     send_to_all: SETINFO input.frequency.nominal "50"
   0.482058     Ratings read in 1 tries
   0.482082     send: I
   0.693878     read: #KONIG COMPUTER  CMP1200    VER4.00C
   0.693930     send_to_all: SETINFO ups.mfr "KONIG COMPUTER"
   0.693970     send_to_all: SETINFO ups.model "CMP1200"
   0.693992     send_to_all: SETINFO ups.firmware "VER4.00C"
   0.694011     Vendor information read in 1 tries
   0.694056     Battery runtime will not be calculated (runtimecal not set)
   0.694078     send_to_all: SETINFO ups.delay.start "180"
   0.694099     send_to_all: SETINFO ups.delay.shutdown "30"
   0.694119     send_to_all: ADDCMD beeper.toggle
   0.694139     send_to_all: ADDCMD load.off
   0.694183     send_to_all: ADDCMD load.on
   0.694204     send_to_all: ADDCMD shutdown.return
   0.694223     send_to_all: ADDCMD shutdown.stayoff
   0.694243     send_to_all: ADDCMD shutdown.stop
   0.694262     send_to_all: ADDCMD test.battery.start
   0.694282     send_to_all: ADDCMD test.battery.start.deep
   0.694328     send_to_all: ADDCMD test.battery.start.quick
   0.694349     send_to_all: ADDCMD test.battery.stop
   0.694378     send: Q1
   0.925881     read: (223.0 165.0 223.0 000 50.0 27.1 00.0 00001010
   0.925935     send_to_all: SETINFO input.voltage "223.0"
   0.925974     send_to_all: SETINFO output.voltage "223.0"
   0.926004     send_to_all: DATAOK
0.926068 dstate_init: sock /var/run/nut/blazer_ser-konig open on fd 5
   0.926119     send_to_all: SETINFO driver.parameter.pollinterval "2"
   0.926142     send_to_all: SETINFO device.mfr "KONIG COMPUTER"
   0.926163     send_to_all: SETINFO device.model "CMP1200"
   0.926194     send: Q1
   1.165917     read: (223.0 165.0 223.0 000 50.0 27.1 00.0 00001010
   2.929872     send: Q1
   3.165880     read: (226.0 165.0 226.0 000 50.0 27.1 00.0 00001010
   3.165936     send_to_all: SETINFO input.voltage "226.0"
   3.165975     send_to_all: SETINFO output.voltage "226.0"
   4.929879     send: Q1
   5.165882     read: (226.0 165.0 226.0 000 50.2 27.1 00.0 00001010
   5.165952     send_to_all: SETINFO input.frequency "50.2"
   6.929878     send: Q1
   7.165881     read: (223.0 165.0 223.0 000 50.0 27.1 00.0 00001010
   7.165937     send_to_all: SETINFO input.voltage "223.0"
   7.165975     send_to_all: SETINFO output.voltage "223.0"
   7.165999     send_to_all: SETINFO input.frequency "50.0"
   8.929892     send: Q1
   9.165883     read: (226.0 165.0 226.0 000 50.0 27.1 00.0 00001010
   9.165942     send_to_all: SETINFO input.voltage "226.0"
   9.165978     send_to_all: SETINFO output.voltage "226.0"
  10.929875     send: Q1
  11.165879     read: (220.0 165.0 220.0 000 50.0 27.1 00.0 00001010
  11.165936     send_to_all: SETINFO input.voltage "220.0"
  11.165975     send_to_all: SETINFO output.voltage "220.0"
  12.929869     send: Q1
  13.165882     read: (220.0 165.0 220.0 000 50.0 27.1 00.0 00001010


Regards Espen

--
Gratis e-post fra Monsterpost.no, sjekk www.monsterpost.no :)


_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to