[Nut-upsuser] nutdrv_qx does not support UPS, blazer_ups does
Hontvári József Levente
hontvari at flyordie.com
Fri Nov 22 17:20:51 UTC 2013
Hello All,
I tested our new UPS yesterday. I noticed that while the blazer_ups
drivers support this device, the newer nutdrv_qx does not. I suppose
that this should not be the case, as nutdrv_qx will replace blazer_ups(?).
Versions:
I installed Nut on Ubuntu 13.10 (64 bit) from the standard package
(2.6.4-2.3ubuntu2), and I also installed from the source tarball
(2.7.1), into a different directory.
The UPS is Pannon Power M1500 also called Micro 1500. This seems to be a
very similar device:
http://www.kstarpower.com/ProductDetail.aspx?ProductId=5abd8617-f121-4cef-b2b0-c96a16cb6c56
Both blazer_ups versions recognized the device. I attached logs.
Levente
-------------- next part --------------
root at munka:/usr/local/ups# bin/nutdrv_qx -DDD -a ups -u nut
Network UPS Tools - Generic Q* USB/Serial driver 0.01 (2.7.1)
USB communication driver 0.32
0.000000 debug level is '3'
0.001093 upsdrv_initups...
0.001195 Language ID workaround enabled (using '0x4095')
0.656270 Checking device (1D6B/0001) (007/001)
0.720259 - VendorID: 1d6b
0.720292 - ProductID: 0001
0.720303 - Manufacturer: unknown
0.720314 - Product: unknown
0.720324 - Serial Number: unknown
0.720334 - Bus: 007
0.720344 Trying to match device
0.720358 Device does not match - skipping
0.720410 Checking device (1D6B/0001) (006/001)
0.784263 - VendorID: 1d6b
0.784338 - ProductID: 0001
0.784416 - Manufacturer: unknown
0.784458 - Product: unknown
0.784511 - Serial Number: unknown
0.784549 - Bus: 006
0.784601 Trying to match device
0.784653 Device does not match - skipping
0.784734 Checking device (1D6B/0001) (005/001)
0.848267 - VendorID: 1d6b
0.848301 - ProductID: 0001
0.848312 - Manufacturer: unknown
0.848323 - Product: unknown
0.848334 - Serial Number: unknown
0.848345 - Bus: 005
0.848355 Trying to match device
0.848369 Device does not match - skipping
0.848421 Checking device (0001/0000) (004/002)
1.852640 - VendorID: 0001
1.852730 - ProductID: 0000
1.852781 - Manufacturer: unknown
1.852830 - Product: STD UPS MON V1.0
1.852887 - Serial Number: unknown
1.852978 - Bus: 004
1.853042 Trying to match device
1.853107 Device matches
1.856636 First supported language ID: 0x409 (please report to the NUT maintainer!)
1.856760 send: QGS
1.856818 read: QGS
1.856932 qx_process_answer: short reply (input.voltage)
1.857046 send: QGS
1.857112 read: QGS
1.857185 qx_process_answer: short reply (input.voltage)
1.857259 send: QGS
1.857318 read: QGS
1.857379 qx_process_answer: short reply (input.voltage)
1.857468 send: QS
1.857524 read: QS
1.857632 qx_process_answer: short reply (input.voltage)
1.857718 send: QS
1.857776 read: QS
1.857853 qx_process_answer: short reply (input.voltage)
1.857924 send: QS
1.857998 read: QS
1.858057 qx_process_answer: short reply (input.voltage)
1.858136 send: D
1.858195 read: D
1.858282 qx_process_answer: short reply (input.voltage)
1.858362 send: D
1.858439 read: D
1.858494 qx_process_answer: short reply (input.voltage)
1.858570 send: D
1.858625 read: D
1.858687 qx_process_answer: short reply (input.voltage)
1.858772 send: Q1
2.556700 received 96 (96)
2.556772 read: (226.9 226.9 226.9 005 49.8 27.6 --.- 00001001
2.556930 send: I
3.056717 received 6 (6)
3.056804 read: #
3.056863 qx_process_answer: short reply (ups.firmware)
3.056929 send: Q1
3.750740 received 96 (96)
3.750827 read: (227.4 226.9 226.9 005 49.8 27.6 --.- 00001001
3.750894 send: I
4.250759 received 6 (6)
4.250844 read: #
4.250884 qx_process_answer: short reply (ups.firmware)
4.250936 send: Q1
4.943782 received 96 (96)
4.943867 read: (226.9 226.9 227.4 005 49.8 27.6 --.- 00001001
4.943933 send: I
5.443796 received 6 (6)
5.443882 read: #
5.443924 qx_process_answer: short reply (ups.firmware)
5.443995 send: Q1
6.137823 received 96 (96)
6.137908 read: (226.9 226.9 226.9 005 49.8 27.6 --.- 00001001
6.138022 send: I
6.637840 received 6 (6)
6.637926 read: #
6.637979 qx_process_answer: short reply (ups.firmware)
6.638046 send: Q1
7.331866 received 96 (96)
7.331954 read: (226.9 226.9 226.9 005 49.8 27.6 --.- 00001001
7.332023 send: I
7.831881 received 6 (6)
7.831978 read: #
7.832020 qx_process_answer: short reply (ups.firmware)
7.832075 send: Q1
8.524903 received 96 (96)
8.524989 read: (226.9 226.9 227.4 005 49.8 27.6 --.- 00001001
8.525053 send: I
9.025918 received 6 (6)
9.026003 read: #
9.026043 qx_process_answer: short reply (ups.firmware)
9.026109 send: Q1
9.718951 received 96 (96)
9.719052 read: (226.9 226.9 226.9 005 49.8 27.6 --.- 00001001
9.719168 send: FW?
9.719232 read: FW?
9.719298 qx_process_answer: short reply (ups.firmware)
9.719414 send: Q1
10.419971 received 96 (96)
10.420058 read: (226.9 226.4 226.4 005 49.8 27.6 --.- 00001001
10.420160 send: FW?
10.420242 read: FW?
10.420288 qx_process_answer: short reply (ups.firmware)
10.420340 send: Q1
11.119994 received 96 (96)
11.120083 read: (226.9 226.9 226.9 005 49.8 27.6 --.- 00001001
11.120179 send: FW?
11.120245 read: FW?
11.120290 qx_process_answer: short reply (ups.firmware)
11.120363 Device not supported!
11.120408 Device not supported!
-------------- next part --------------
root at munka:/usr/local/ups# bin/blazer_usb -DDD -a ups -u nut
Network UPS Tools - Megatec/Q1 protocol USB driver 0.10 (2.7.1)
0.000000 debug level is '3'
0.001146 language ID workaround enabled (using '0x4095')
0.655405 Checking device (1D6B/0001) (007/001)
0.718449 - VendorID: 1d6b
0.718562 - ProductID: 0001
0.718615 - Manufacturer: unknown
0.718656 - Product: unknown
0.718724 - Serial Number: unknown
0.718778 - Bus: 007
0.718823 Trying to match device
0.718873 Device does not match - skipping
0.718959 Checking device (1D6B/0001) (006/001)
0.782438 - VendorID: 1d6b
0.782513 - ProductID: 0001
0.782594 - Manufacturer: unknown
0.782635 - Product: unknown
0.782700 - Serial Number: unknown
0.782751 - Bus: 006
0.782803 Trying to match device
0.782857 Device does not match - skipping
0.782943 Checking device (1D6B/0001) (005/001)
0.846438 - VendorID: 1d6b
0.846550 - ProductID: 0001
0.846606 - Manufacturer: unknown
0.846657 - Product: unknown
0.846728 - Serial Number: unknown
0.846787 - Bus: 005
0.846841 Trying to match device
0.846904 Device does not match - skipping
0.847065 Checking device (0001/0000) (004/003)
1.850638 - VendorID: 0001
1.850731 - ProductID: 0000
1.850779 - Manufacturer: unknown
1.850833 - Product: STD UPS MON V1.0
1.850895 - Serial Number: unknown
1.850962 - Bus: 004
1.851026 Trying to match device
1.851090 Device matches
1.854634 First supported language ID: 0x409 (please report to the NUT maintainer!)
1.854730 Trying megatec protocol...
1.854799 send: Q1
2.548702 received 96 (96)
2.548775 read: (225.9 225.9 226.4 005 49.8 27.6 --.- 00001001
2.548945 blazer_status: non numerical value [--.-]
2.549042 Status read in 1 tries
2.549152 Supported UPS detected with megatec protocol
2.549217 send: F
3.138723 received 46 (46)
3.138794 read: #230.0 003 24.00 50.0
3.138902 Ratings read in 1 tries
3.138970 send: I
3.640739 received 6 (6)
3.640809 read: #
3.640870 blazer_vendor: short reply
3.640930 Vendor information read 1 failed
3.640990 send: I
4.143756 received 6 (6)
4.143825 read: #
4.143883 blazer_vendor: short reply
4.143947 Vendor information read 2 failed
4.144026 send: I
4.646773 received 6 (6)
4.646843 read: #
4.646901 blazer_vendor: short reply
4.646977 Vendor information read 3 failed
4.647050 Vendor information unavailable
4.647097 No values provided for battery high/low voltages in ups.conf
4.647193 Using 'guestimation' (low: 20.800000, high: 26.000000)!
4.647260 Battery runtime will not be calculated (runtimecal not set)
4.647410 send: Q1
5.339798 received 96 (96)
5.339869 read: (225.9 225.9 225.9 005 49.8 27.6 --.- 00001001
5.340005 blazer_status: non numerical value [--.-]
5.340244 dstate_init: sock /var/state/ups/blazer_usb-ups open on fd 5
5.340323 send: Q1
6.040824 received 96 (96)
6.040896 read: (225.9 225.4 225.4 005 49.8 27.6 --.- 00001001
6.041011 blazer_status: non numerical value [--.-]
7.341721 send: Q1
8.033890 received 96 (96)
8.033964 read: (225.4 225.4 225.4 005 49.8 27.6 --.- 00001001
8.034076 blazer_status: non numerical value [--.-]
9.343116 send: Q1
10.035959 received 96 (96)
10.036032 read: (225.4 225.4 225.4 005 49.8 27.6 --.- 00001001
10.036142 blazer_status: non numerical value [--.-]
More information about the Nut-upsuser
mailing list