Skip to content

Instantly share code, notes, and snippets.

@lkraider
Last active January 8, 2020 20:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lkraider/21ab0de58d3cb6905fe658f30c1d47ec to your computer and use it in GitHub Desktop.
Save lkraider/21ab0de58d3cb6905fe658f30c1d47ec to your computer and use it in GitHub Desktop.
nut NSYS E series - blazer driver log
~# /lib/nut/blazer_usb -a nsys1 -DDDDD -x vendorid=0001
Network UPS Tools - Megatec/Q1 protocol USB driver 0.12 (2.7.4)
0.000000 send_to_all: SETINFO driver.parameter.vendorid "0001"
0.000038 debug level is '5'
0.021080 Checking device (1D6B/0003) (002/001)
0.036745 - VendorID: 1d6b
0.036778 - ProductID: 0003
0.036819 - Manufacturer: unknown
0.036842 - Product: unknown
0.036856 - Serial Number: unknown
0.036871 - Bus: 002
0.036888 - Device release number: 0415
0.036903 Trying to match device
0.036926 Device does not match - skipping
0.036956 Checking device (0001/0000) (001/012)
0.038153 - VendorID: 0001
0.038183 - ProductID: 0000
0.038193 - Manufacturer: unknown
0.038203 - Product: MEC0003
0.038213 - Serial Number: unknown
0.038222 - Bus: 001
0.038234 - Device release number: 0100
0.038247 Trying to match device
0.038303 Device matches
0.038462 nut_usb_set_altinterface: skipped usb_set_altinterface(udev, 0)
0.038489 send_to_all: SETINFO ups.vendorid "0001"
0.038512 send_to_all: SETINFO ups.productid "0000"
0.038533 send_to_all: SETINFO device.type "ups"
0.038553 send_to_all: SETINFO driver.version "2.7.4"
0.038571 send_to_all: SETINFO driver.version.internal "0.12"
0.038588 send_to_all: SETINFO driver.name "blazer_usb"
0.038607 Trying megatec protocol...
0.038625 send: Q1
0.042389 received 47 (40)
0.042425 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
0.042454 send_to_all: SETINFO input.voltage "0.0"
0.042478 send_to_all: SETINFO input.voltage.fault "0.0"
0.042500 send_to_all: SETINFO output.voltage "0.0"
0.042560 send_to_all: SETINFO ups.load "0"
0.042580 send_to_all: SETINFO input.frequency "0.0"
0.042600 send_to_all: SETINFO battery.voltage "0.00"
0.042617 send_to_all: SETINFO ups.temperature "0.0"
0.042637 send_to_all: SETINFO ups.beeper.status "disabled"
0.042670 send_to_all: SETINFO ups.type "online"
0.042696 send_to_all: SETINFO ups.status "OL"
0.042713 Status read in 1 tries
0.042730 Supported UPS detected with megatec protocol
0.042747 send: F
0.044819 received 22 (35)
0.044865 read: #000.0 0.0 00.00 00.0
0.044894 send_to_all: SETINFO input.voltage.nominal "0"
0.044922 send_to_all: SETINFO input.current.nominal "0.0"
0.044942 send_to_all: SETINFO battery.voltage.nominal "0.0"
0.044963 send_to_all: SETINFO input.frequency.nominal "0"
0.044982 Ratings read in 1 tries
0.045001 send: I
0.048128 received 39 (35)
0.048164 read: #
0.048191 send_to_all: SETINFO ups.mfr ""
0.048211 send_to_all: SETINFO ups.model ""
0.048230 send_to_all: SETINFO ups.firmware ""
0.048246 Vendor information read in 1 tries
0.048262 No values provided for battery high/low voltages in ups.conf
0.048287 send_to_all: SETINFO battery.voltage.low "0.00"
0.048307 send_to_all: SETINFO battery.voltage.high "0.00"
0.048327 Using 'guestimation' (low: 0.000000, high: 0.000000)!
0.048344 Battery runtime will not be calculated (runtimecal not set)
0.048363 send_to_all: SETINFO ups.delay.start "180"
0.048382 send_to_all: SETINFO ups.delay.shutdown "30"
0.048401 send_to_all: ADDCMD beeper.toggle
0.048421 send_to_all: ADDCMD load.off
0.048437 send_to_all: ADDCMD load.on
0.048453 send_to_all: ADDCMD shutdown.return
0.048471 send_to_all: ADDCMD shutdown.stayoff
0.048487 send_to_all: ADDCMD shutdown.stop
0.048502 send_to_all: ADDCMD test.battery.start
0.048522 send_to_all: ADDCMD test.battery.start.deep
0.048539 send_to_all: ADDCMD test.battery.start.quick
0.048555 send_to_all: ADDCMD test.battery.stop
0.048573 send: Q1
0.052337 received 47 (40)
0.052373 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
0.052419 send_to_all: DATAOK
0.052527 dstate_init: sock /var/run/nut/blazer_usb-nsys1 open on fd 5
0.052551 send_to_all: SETINFO driver.parameter.pollinterval "2"
0.052571 send_to_all: SETINFO driver.parameter.synchronous "no"
0.052591 send_to_all: SETINFO device.mfr ""
0.052614 send_to_all: SETINFO device.model ""
0.052631 send: Q1
0.056322 received 47 (40)
0.056341 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
2.054721 send: Q1
2.058354 received 47 (40)
2.058387 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
4.056179 send: Q1
4.059970 received 47 (40)
4.060005 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
6.058255 send: Q1
6.062201 received 47 (40)
6.062235 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
8.059061 send: Q1
8.062955 received 47 (40)
8.062991 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
10.060180 send: Q1
10.063964 received 47 (40)
10.064001 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
12.062256 send: Q1
12.065983 received 47 (40)
12.066016 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
14.063320 send: Q1
14.067216 received 47 (40)
14.067255 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment