<div dir="ltr"><span style="color:rgb(11,83,148)">Use the name from ups.conf in front of "@localhost".</span><br><div class="gmail_extra"><div class="gmail_quote"><div style="font-family:verdana,sans-serif" class="gmail_default"><br>The result is quite different ;)<br><br>root@artu:~# upsc Elit@artu<br>Init SSL without certificate database<br>Error: Driver not connected<br><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="color:rgb(61,133,198)">What if you try nutdrv_qx without specifying megatec? (It should autodetect.)<br></span></blockquote><div><br><div style="font-family:verdana,sans-serif;display:inline" class="gmail_default">Here is the result:<br><br></div> root@artu:~# upsdrvctl start<br>Network UPS Tools - UPS driver controller 2.7.2<br>Network UPS Tools - Generic Q* USB/Serial driver 0.06 (2.7.2)<br>USB communication driver 0.32<br>Device not supported!<br>Device not supported!<br>Driver failed to start (exit status=1)<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="color:rgb(61,133,198)"></span>
<span style="color:rgb(61,133,198)"><br>
If that doesn't work, please try to get some logs - they will look like this:<br></span>
<span style="color:rgb(61,133,198)"><br>
<a href="http://lists.alioth.debian.org/pipermail/nut-upsuser/2017-March/010555.html" rel="noreferrer" target="_blank">http://lists.alioth.debian.<wbr>org/pipermail/nut-upsuser/<wbr>2017-March/010555.html</a><br></span>
<span style="color:rgb(61,133,198)"><br>
The author of the driver recommends a debug level of 5: "-DDDDD"<br></span>
<span style="color:rgb(61,133,198)"><br>
(Note that we are not looking for the debug output for upsdrvctl, but rather for nutdrv_qx. If you pass "-D" flags to upsdrvctl, it should tell you how to start the driver in debug mode instead.)</span></blockquote><div><br><div style="font-family:verdana,sans-serif;display:inline" class="gmail_default">Here is the output of debug level 5:</div> <br><br>root@artu:~# /lib/nut/nutdrv_qx -a Elit -u nut -DDDDD<br>Network UPS Tools - Generic Q* USB/Serial driver 0.06 (2.7.2)<br>USB communication driver 0.32<br> 0.000000 debug level is '5'<br> 0.001187 upsdrv_initups...<br> 0.414464 Checking device (1D6B/0001) (006/001)<br> 0.477567 - VendorID: 1d6b<br> 0.477611 - ProductID: 0001<br> 0.477619 - Manufacturer: unknown<br> 0.477627 - Product: unknown<br> 0.477634 - Serial Number: unknown<br> 0.477648 - Bus: 006<br> 0.477656 Trying to match device<br> 0.477668 Device does not match - skipping<br> 0.477784 Checking device (1D6B/0001) (005/001)<br> 0.541404 - VendorID: 1d6b<br> 0.541733 - ProductID: 0001<br> 0.541933 - Manufacturer: unknown<br> 0.542124 - Product: unknown<br> 0.543843 - Serial Number: unknown<br> 0.543897 - Bus: 005<br> 0.543935 Trying to match device<br> 0.543978 Device does not match - skipping<br> 0.544122 Checking device (FFFF/0000) (004/004)<br> 0.561393 - VendorID: ffff<br> 0.561428 - ProductID: 0000<br> 0.561438 - Manufacturer:<br> 0.561443 - Product: 010937<br> 0.561457 - Serial Number:<br> 0.561461 - Bus: 004<br> 0.561466 Trying to match device<br> 0.561473 Device matches<br> 0.565355 send_to_all: SETINFO ups.vendorid "ffff"<br> 0.565815 send_to_all: SETINFO ups.productid "0000"<br> 0.566137 send: QGS<br> 0.566421 read: QGS<br> 0.566708 qx_process_answer: short reply (input.voltage)<br> 0.567007 send: QGS<br> 0.567377 read: QGS<br> 0.567668 qx_process_answer: short reply (input.voltage)<br> 0.567965 send: QGS<br> 0.568256 read: QGS<br> 0.568609 qx_process_answer: short reply (input.voltage)<br> 0.568952 send: M<br> 0.569310 read: M<br> 0.569498 voltronic_qs_protocol: invalid protocol [M]<br> 0.569678 ups_infoval_set: failed to preprocess value [ups.firmware.aux: M]<br> 0.569866 send: M<br> 0.570071 read: M<br> 0.570262 voltronic_qs_protocol: invalid protocol [M]<br> 0.570460 ups_infoval_set: failed to preprocess value [ups.firmware.aux: M]<br> 0.570653 send: M<br> 0.570834 read: M<br> 0.571024 voltronic_qs_protocol: invalid protocol [M]<br> 0.571213 ups_infoval_set: failed to preprocess value [ups.firmware.aux: M]<br> 0.571405 send: QS<br> 0.571587 read: QS<br> 0.571781 qx_process_answer: short reply (input.voltage)<br> 0.571973 send: QS<br> 0.572155 read: QS<br> 0.572343 qx_process_answer: short reply (input.voltage)<br> 0.572532 send: QS<br> 0.572716 read: QS<br> 0.572903 qx_process_answer: short reply (input.voltage)<br> 0.573093 send: D<br> 0.573288 read: D<br> 0.573481 qx_process_answer: short reply (input.voltage)<br> 0.573673 send: D<br> 0.573853 read: D<br> 0.574041 qx_process_answer: short reply (input.voltage)<br> 0.574236 send: D<br> 0.574414 read: D<br> 0.574600 qx_process_answer: short reply (input.voltage)<br> 0.574759 send: Q1<br> 0.807418 received 46 (40)<br> 0.807475 read: (225.3 140.0 222.6 015 49.9 13.8 30.0 00001001<br> 0.807516 qx_process_answer: short reply (input.voltage)<br> 0.807548 send: Q1<br> 1.041418 received 46 (40)<br> 1.041472 read: (225.3 140.0 224.5 015 49.9 13.9 30.0 00001001<br> 1.041487 qx_process_answer: short reply (input.voltage)<br> 1.041508 send: Q1<br> 1.275423 received 46 (40)<br> 1.275476 read: (225.3 140.0 222.6 015 49.9 13.9 30.0 00001001<br> 1.275489 qx_process_answer: short reply (input.voltage)<br> 1.275511 send: Q1<br> 1.509410 received 46 (40)<br> 1.509463 read: (225.3 140.0 222.6 015 49.9 13.9 30.0 00001001<br> 1.509501 qx_process_answer: short reply (input.voltage)<br> 1.509566 send: Q1<br> 1.743299 received 46 (40)<br> 1.743344 read: (225.3 140.0 222.6 015 49.9 13.9 30.0 00001001<br> 1.743353 qx_process_answer: short reply (input.voltage)<br> 1.743365 send: Q1<br> 1.976367 received 46 (40)<br> 1.976428 read: (225.3 140.0 222.6 015 49.9 13.9 30.0 00001001<br> 1.976441 qx_process_answer: short reply (input.voltage)<br> 1.976453 send: Q1<br> 2.438350 received 46 (40)<br> 2.438409 read: (225.3 140.0 224.5 015 49.9 13.9 30.0 00001001<br> 2.438453 qx_process_answer: short reply (input.voltage)<br> 2.438523 send: Q1<br> 2.672338 received 46 (40)<br> 2.672398 read: (225.3 140.0 224.5 015 49.9 13.9 30.0 00001001<br> 2.672411 qx_process_answer: short reply (input.voltage)<br> 2.672422 send: Q1<br> 2.906353 received 46 (40)<br> 2.906411 read: (225.3 140.0 224.5 015 49.9 13.9 30.0 00001001<br> 2.906424 qx_process_answer: short reply (input.voltage)<br> 2.906444 send: Q1<br> 3.140343 received 46 (40)<br> 3.140400 read: (225.3 140.0 224.5 015 49.9 13.9 30.0 00001001<br> 3.140443 qx_process_answer: short reply (input.voltage)<br> 3.140512 send: Q1<br> 3.374274 received 46 (40)<br> 3.374321 read: (225.3 140.0 224.5 015 49.9 13.9 30.0 00001001<br> 3.374329 qx_process_answer: short reply (input.voltage)<br> 3.374337 send: Q1<br> 3.608246 received 46 (40)<br> 3.608291 read: (225.3 140.0 224.5 015 49.9 13.9 30.0 00001001<br> 3.608299 qx_process_answer: short reply (input.voltage)<br> 3.608313 Device not supported!<br> 3.608319 Device not supported!<br><br><div style="font-family:verdana,sans-serif" class="gmail_default">It seems I am not so lucky...<br><br></div><div style="font-family:verdana,sans-serif" class="gmail_default">Thank you lots,<br></div><div style="font-family:verdana,sans-serif" class="gmail_default">Andrea</div><br><br><br></div></div><br></div></div>