Skip to content

Instantly share code, notes, and snippets.

@lkraider
Created January 8, 2020 20:45
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/515e542b004538cc03313913f9b190a8 to your computer and use it in GitHub Desktop.
Save lkraider/515e542b004538cc03313913f9b190a8 to your computer and use it in GitHub Desktop.
nut NSYS E series - nutdrv_qx driver log
~# /lib/nut/nutdrv_qx -a nsys1 -DDDDD -x vendorid=0001
Network UPS Tools - Generic Q* USB/Serial driver 0.28 (2.7.4)
USB communication driver 0.33
0.000000 send_to_all: SETINFO driver.parameter.vendorid "0001"
0.000033 debug level is '5'
0.000975 upsdrv_initups...
0.014797 Checking device (1D6B/0003) (002/001)
0.030369 - VendorID: 1d6b
0.030398 - ProductID: 0003
0.030408 - Manufacturer: unknown
0.030418 - Product: unknown
0.030428 - Serial Number: unknown
0.030441 - Bus: 002
0.030457 - Device release number: 0415
0.030473 Trying to match device
0.030497 Device does not match - skipping
0.030680 Checking device (0001/0000) (001/012)
0.031956 - VendorID: 0001
0.031985 - ProductID: 0000
0.031996 - Manufacturer: unknown
0.032006 - Product: MEC0003
0.032015 - Serial Number: unknown
0.032025 - Bus: 001
0.032038 - Device release number: 0100
0.032051 Trying to match device
0.032122 Device matches
0.032258 nut_usb_set_altinterface: skipped usb_set_altinterface(udev, 0)
0.032282 send_to_all: SETINFO ups.vendorid "0001"
0.032296 send_to_all: SETINFO ups.productid "0000"
0.032318 send: QGS
0.032335 read: QGS
0.032351 qx_process_answer: short reply (input.voltage)
0.032365 send: QGS
0.032383 read: QGS
0.032401 qx_process_answer: short reply (input.voltage)
0.032412 send: QGS
0.032421 read: QGS
0.032431 qx_process_answer: short reply (input.voltage)
0.032442 send: M
0.032454 read: M
0.032474 voltronic_qs_protocol: invalid protocol [M]
0.032493 ups_infoval_set: failed to preprocess value [ups.firmware.aux: M]
0.032510 send: M
0.032526 read: M
0.032541 voltronic_qs_protocol: invalid protocol [M]
0.032557 ups_infoval_set: failed to preprocess value [ups.firmware.aux: M]
0.032573 send: M
0.032588 read: M
0.032606 voltronic_qs_protocol: invalid protocol [M]
0.032621 ups_infoval_set: failed to preprocess value [ups.firmware.aux: M]
0.032637 send: M
0.032654 read: M
0.032668 voltronic_qs_hex_protocol: invalid protocol [M]
0.032684 ups_infoval_set: failed to preprocess value [ups.firmware.aux: M]
0.032704 send: M
0.032716 read: M
0.032728 voltronic_qs_hex_protocol: invalid protocol [M]
0.032744 ups_infoval_set: failed to preprocess value [ups.firmware.aux: M]
0.032764 send: M
0.032780 read: M
0.032798 voltronic_qs_hex_protocol: invalid protocol [M]
0.032815 ups_infoval_set: failed to preprocess value [ups.firmware.aux: M]
0.032832 send: QS
0.032851 read: QS
0.032868 qx_process_answer: short reply (input.voltage)
0.032885 send: QS
0.032900 read: QS
0.032915 qx_process_answer: short reply (input.voltage)
0.032932 send: QS
0.032948 read: QS
0.032965 qx_process_answer: short reply (input.voltage)
0.032981 send: D
0.032997 read: D
0.033010 qx_process_answer: short reply (input.voltage)
0.033025 send: D
0.033037 read: D
0.033049 qx_process_answer: short reply (input.voltage)
0.033066 send: D
0.033078 read: D
0.033095 qx_process_answer: short reply (input.voltage)
0.033108 send: Q1
0.036952 received 47 (40)
0.036994 read: (47 bytes) => 28 30 30 30 2e 30 20 30 30 30 2e 30 20 30 30 30 2e 30
0.037019 20 30 30 30 20 30 30 2e 30 20 30 2e 30 30 20 30 30 2e 30 20 30 30 30 30 30
0.037038 30 30 30 0d
0.037054 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
0.037085 send_to_all: SETINFO input.voltage "0.0"
0.037106 send: ID
0.037126 read: ID
0.037141 bestups_preprocess_id_answer: wrong length [device.model: 3]
0.037157 qx_process: failed to preprocess answer [device.model]
0.037175 send_to_all: DELINFO input.voltage
0.037193 send: Q1
0.040955 received 47 (40)
0.041000 read: (47 bytes) => 28 30 30 30 2e 30 20 30 30 30 2e 30 20 30 30 30 2e 30
0.041025 20 30 30 30 20 30 30 2e 30 20 30 2e 30 30 20 30 30 2e 30 20 30 30 30 30 30
0.041044 30 30 30 0d
0.041061 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
0.041093 send_to_all: SETINFO input.voltage "0.0"
0.041114 send: ID
0.041133 read: ID
0.041147 bestups_preprocess_id_answer: wrong length [device.model: 3]
0.041165 qx_process: failed to preprocess answer [device.model]
0.041183 send_to_all: DELINFO input.voltage
0.041199 send: Q1
0.044952 received 47 (40)
0.044994 read: (47 bytes) => 28 30 30 30 2e 30 20 30 30 30 2e 30 20 30 30 30 2e 30
0.045018 20 30 30 30 20 30 30 2e 30 20 30 2e 30 30 20 30 30 2e 30 20 30 30 30 30 30
0.045038 30 30 30 0d
0.045055 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
0.045085 send_to_all: SETINFO input.voltage "0.0"
0.045108 send: ID
0.045123 read: ID
0.045142 bestups_preprocess_id_answer: wrong length [device.model: 3]
0.045160 qx_process: failed to preprocess answer [device.model]
0.045179 send_to_all: DELINFO input.voltage
0.045197 send: Q1
0.048952 received 47 (40)
0.048994 read: (47 bytes) => 28 30 30 30 2e 30 20 30 30 30 2e 30 20 30 30 30 2e 30
0.049020 20 30 30 30 20 30 30 2e 30 20 30 2e 30 30 20 30 30 2e 30 20 30 30 30 30 30
0.049037 30 30 30 0d
0.049056 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
0.049084 send_to_all: SETINFO input.voltage "0.0"
0.049103 send: QPI
0.049122 read: QPI
0.049135 qx_process_answer: short reply (ups.firmware.aux)
0.049155 send_to_all: DELINFO input.voltage
0.049172 send: Q1
0.052952 received 47 (40)
0.052994 read: (47 bytes) => 28 30 30 30 2e 30 20 30 30 30 2e 30 20 30 30 30 2e 30
0.053021 20 30 30 30 20 30 30 2e 30 20 30 2e 30 30 20 30 30 2e 30 20 30 30 30 30 30
0.053042 30 30 30 0d
0.053057 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
0.053087 send_to_all: SETINFO input.voltage "0.0"
0.053107 send: QPI
0.053122 read: QPI
0.053139 qx_process_answer: short reply (ups.firmware.aux)
0.053157 send_to_all: DELINFO input.voltage
0.053175 send: Q1
0.056947 received 47 (40)
0.056988 read: (47 bytes) => 28 30 30 30 2e 30 20 30 30 30 2e 30 20 30 30 30 2e 30
0.057013 20 30 30 30 20 30 30 2e 30 20 30 2e 30 30 20 30 30 2e 30 20 30 30 30 30 30
0.057034 30 30 30 0d
0.057050 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
0.057078 send_to_all: SETINFO input.voltage "0.0"
0.057099 send: QPI
0.057116 read: QPI
0.057133 qx_process_answer: short reply (ups.firmware.aux)
0.057151 send_to_all: DELINFO input.voltage
0.057168 send: Q1
0.060952 received 47 (40)
0.060994 read: (47 bytes) => 28 30 30 30 2e 30 20 30 30 30 2e 30 20 30 30 30 2e 30
0.061019 20 30 30 30 20 30 30 2e 30 20 30 2e 30 30 20 30 30 2e 30 20 30 30 30 30 30
0.061038 30 30 30 0d
0.061054 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
0.061084 send_to_all: SETINFO input.voltage "0.0"
0.061110 send: I
0.064510 received 39 (35)
0.064551 read: (39 bytes) => 23 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0.064575 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d
0.064596 read: #
0.064618 ups_infoval_set: non significant value [ups.firmware]
0.064638 send_to_all: DELINFO input.voltage
0.064655 send: Q1
0.068508 received 47 (40)
0.068550 read: (47 bytes) => 28 30 30 30 2e 30 20 30 30 30 2e 30 20 30 30 30 2e 30
0.068574 20 30 30 30 20 30 30 2e 30 20 30 2e 30 30 20 30 30 2e 30 20 30 30 30 30 30
0.068592 30 30 30 0d
0.068608 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
0.068636 send_to_all: SETINFO input.voltage "0.0"
0.068658 send: I
0.071959 received 39 (35)
0.072001 read: (39 bytes) => 23 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0.072022 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d
0.072037 read: #
0.072056 ups_infoval_set: non significant value [ups.firmware]
0.072073 send_to_all: DELINFO input.voltage
0.072090 send: Q1
0.075956 received 47 (40)
0.075998 read: (47 bytes) => 28 30 30 30 2e 30 20 30 30 30 2e 30 20 30 30 30 2e 30
0.076023 20 30 30 30 20 30 30 2e 30 20 30 2e 30 30 20 30 30 2e 30 20 30 30 30 30 30
0.076042 30 30 30 0d
0.076058 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
0.076087 send_to_all: SETINFO input.voltage "0.0"
0.076110 send: I
0.079555 received 39 (35)
0.079601 read: (39 bytes) => 23 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
0.079626 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0d
0.079642 read: #
0.079664 ups_infoval_set: non significant value [ups.firmware]
0.079685 send_to_all: DELINFO input.voltage
0.079704 send: Q1
0.083509 received 47 (40)
0.083555 read: (47 bytes) => 28 30 30 30 2e 30 20 30 30 30 2e 30 20 30 30 30 2e 30
0.083580 20 30 30 30 20 30 30 2e 30 20 30 2e 30 30 20 30 30 2e 30 20 30 30 30 30 30
0.083598 30 30 30 0d
0.083615 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
0.083644 send_to_all: SETINFO input.voltage "0.0"
0.083667 send: FW?
0.083686 read: FW?
0.083704 qx_process_answer: short reply (ups.firmware)
0.083722 send_to_all: DELINFO input.voltage
0.083739 send: Q1
0.087506 received 47 (40)
0.087549 read: (47 bytes) => 28 30 30 30 2e 30 20 30 30 30 2e 30 20 30 30 30 2e 30
0.087574 20 30 30 30 20 30 30 2e 30 20 30 2e 30 30 20 30 30 2e 30 20 30 30 30 30 30
0.087591 30 30 30 0d
0.087607 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
0.087638 send_to_all: SETINFO input.voltage "0.0"
0.087662 send: FW?
0.087680 read: FW?
0.087696 qx_process_answer: short reply (ups.firmware)
0.087711 send_to_all: DELINFO input.voltage
0.087731 send: Q1
0.091505 received 47 (40)
0.091547 read: (47 bytes) => 28 30 30 30 2e 30 20 30 30 30 2e 30 20 30 30 30 2e 30
0.091575 20 30 30 30 20 30 30 2e 30 20 30 2e 30 30 20 30 30 2e 30 20 30 30 30 30 30
0.091594 30 30 30 0d
0.091610 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
0.091643 send_to_all: SETINFO input.voltage "0.0"
0.091660 send: FW?
0.091670 read: FW?
0.091681 qx_process_answer: short reply (ups.firmware)
0.091699 send_to_all: DELINFO input.voltage
0.091731 send: Q1
0.095498 received 47 (40)
0.095530 read: (47 bytes) => 28 30 30 30 2e 30 20 30 30 30 2e 30 20 30 30 30 2e 30
0.095547 20 30 30 30 20 30 30 2e 30 20 30 2e 30 30 20 30 30 2e 30 20 30 30 30 30 30
0.095559 30 30 30 0d
0.095571 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
0.095598 send_to_all: SETINFO input.voltage "0.0"
0.095613 Using protocol: Q1 0.07
0.095632 send_to_all: SETINFO device.type "ups"
0.095651 send_to_all: SETINFO driver.version "2.7.4"
0.095670 send_to_all: SETINFO driver.version.internal "0.28"
0.095686 send_to_all: SETINFO driver.name "nutdrv_qx"
0.095701 upsdrv_initinfo...
0.095720 send_to_all: SETINFO driver.version.data "Q1 0.07"
0.095739 send: Q1
0.099507 received 47 (40)
0.099551 read: (47 bytes) => 28 30 30 30 2e 30 20 30 30 30 2e 30 20 30 30 30 2e 30
0.099576 20 30 30 30 20 30 30 2e 30 20 30 2e 30 30 20 30 30 2e 30 20 30 30 30 30 30
0.099596 30 30 30 0d
0.099609 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
0.099635 send_to_all: SETINFO input.voltage.fault "0.0"
0.099664 send_to_all: SETINFO output.voltage "0.0"
0.099691 send_to_all: SETINFO ups.load "0"
0.099714 send_to_all: SETINFO input.frequency "0.0"
0.099740 send_to_all: SETINFO battery.voltage "0.00"
0.099761 send_to_all: SETINFO ups.temperature "0.0"
0.099785 update_status: OL
0.099804 update_status: !LB
0.099830 send_to_all: SETINFO ups.type "online"
0.099851 update_status: !CAL
0.099869 update_status: !FSD
0.099892 send_to_all: SETINFO ups.beeper.status "disabled"
0.099911 send_to_all: ADDCMD beeper.toggle
0.099929 send_to_all: ADDCMD load.off
0.099946 send_to_all: ADDCMD load.on
0.099961 send_to_all: ADDCMD shutdown.return
0.099981 send_to_all: ADDCMD shutdown.stayoff
0.099998 send_to_all: ADDCMD shutdown.stop
0.100011 send_to_all: ADDCMD test.battery.start
0.100029 send_to_all: ADDCMD test.battery.start.deep
0.100048 send_to_all: ADDCMD test.battery.start.quick
0.100064 send_to_all: ADDCMD test.battery.stop
0.100082 send_to_all: SETINFO ups.delay.start "180"
0.100097 send_to_all: SETFLAGS ups.delay.start RW
0.100116 send_to_all: ADDRANGE ups.delay.start 0 599940
0.100139 send_to_all: SETINFO ups.delay.shutdown "30"
0.100156 send_to_all: SETFLAGS ups.delay.shutdown RW
0.100171 send_to_all: ADDRANGE ups.delay.shutdown 12 600
0.100192 Can't autodetect number of battery packs [-1/0.00]
0.100214 Battery runtime will not be calculated (runtimecal not set)
0.100249 send_to_all: SETINFO driver.parameter.pollfreq "30"
0.100267 upsdrv_updateinfo...
0.100283 Quick update...
0.100301 send: Q1
0.103955 received 47 (40)
0.103997 read: (47 bytes) => 28 30 30 30 2e 30 20 30 30 30 2e 30 20 30 30 30 2e 30
0.104022 20 30 30 30 20 30 30 2e 30 20 4e 6f 20 20 4e 6f 20 20 4e 6f 20 20 4e 6f 20
0.104040 20 4e 6f 20
0.104059 read: (000.0 000.0 000.0 000 00.0 No No No No No
0.104079 blazer_process_status_bits: unexpected value @38->
0.104097 ups_infoval_set: failed to preprocess value [ups.status: ]
0.104115 Communications with the UPS lost: status read failed!
0.104208 dstate_init: sock /var/run/nut/nutdrv_qx-nsys1 open on fd 5
0.104234 send_to_all: SETINFO driver.parameter.pollinterval "2"
0.104255 send_to_all: SETINFO driver.parameter.synchronous "no"
0.104274 upsdrv_updateinfo...
0.104290 Quick update...
0.104307 send: Q1
0.107953 received 47 (40)
0.107994 read: (47 bytes) => 28 30 30 30 2e 30 20 30 30 30 2e 30 20 30 30 30 2e 30
0.108020 20 30 30 30 20 30 30 2e 30 20 30 2e 30 30 20 30 30 2e 30 20 30 30 30 30 30
0.108039 30 30 30 0d
0.108056 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
0.108078 update_status: OL
0.108096 update_status: !LB
0.108118 update_status: !CAL
0.108137 update_status: !FSD
0.108165 send_to_all: SETINFO ups.status "OL"
0.108183 send_to_all: DATAOK
2.106211 upsdrv_updateinfo...
2.106255 Quick update...
2.106271 send: Q1
2.109971 received 47 (40)
2.110010 read: (47 bytes) => 28 30 30 30 2e 30 20 30 30 30 2e 30 20 30 30 30 2e 30
2.110028 20 30 30 30 20 30 30 2e 30 20 30 2e 30 30 20 30 30 2e 30 20 30 30 30 30 30
2.110040 30 30 30 0d
2.110064 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
2.110089 update_status: OL
2.110110 update_status: !LB
2.110179 update_status: !CAL
2.110203 update_status: !FSD
4.108284 upsdrv_updateinfo...
4.108326 Quick update...
4.108343 send: Q1
4.111989 received 47 (40)
4.112027 read: (47 bytes) => 28 30 30 30 2e 30 20 30 30 30 2e 30 20 30 30 30 2e 30
4.112045 20 30 30 30 20 30 30 2e 30 20 30 2e 30 30 20 30 30 2e 30 20 30 30 30 30 30
4.112057 30 30 30 0d
4.112074 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
4.112096 update_status: OL
4.112113 update_status: !LB
4.112135 update_status: !CAL
4.112151 update_status: !FSD
6.110172 upsdrv_updateinfo...
6.110219 Quick update...
6.110242 send: Q1
6.114009 received 47 (40)
6.114052 read: (47 bytes) => 28 30 30 30 2e 30 20 30 30 30 2e 30 20 30 30 30 2e 30
6.114076 20 30 30 30 20 30 30 2e 30 20 30 2e 30 30 20 30 30 2e 30 20 30 30 30 30 30
6.114094 30 30 30 0d
6.114110 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
6.114164 update_status: OL
6.114186 update_status: !LB
6.114206 update_status: !CAL
6.114225 update_status: !FSD
8.112245 upsdrv_updateinfo...
8.112283 Quick update...
8.112299 send: Q1
8.116033 received 47 (40)
8.116076 read: (47 bytes) => 28 30 30 30 2e 30 20 30 30 30 2e 30 20 30 30 30 2e 30
8.116094 20 30 30 30 20 30 30 2e 30 20 30 2e 30 30 20 30 30 2e 30 20 30 30 30 30 30
8.116107 30 30 30 0d
8.116123 read: (000.0 000.0 000.0 000 00.0 0.00 00.0 00000000
8.116143 update_status: OL
8.116160 update_status: !LB
8.116179 update_status: !CAL
8.116197 update_status: !FSD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment