Hi Charles, I am done with few things: I made the cable - looks good, because I see some activities. I upgraded NUT to 2.7.3. but I have no success to start driver(this are the outputs) nut.cfg MODE = netserver
ups.conf [infosec] driver = nutdrv_qx (or blazer_ser) port = /dev/ttyS1 desc = "XP Pro 2500 RM" output(nutdrv_qx cmd upsdrvctl -DDD start) Network UPS Tools - UPS driver controller 2.7.3 0.000000 If you're not a NUT core developer, chances are that you're told to enable debugging to see why a driver isn't working for you. We're sorry for the confusion, but this is the 'upsdrvctl' wrapper, not the driver you're interested in. Below you'll find one or more lines starting with 'exec:' followed by an absolute path to the driver binary and some command line option. This is what the driver starts and you need to copy and paste that line and append the debug flags to that line (less the 'exec:' prefix). 0.000665 Starting UPS: infosec 0.000891 1 remaining attempts 0.001135 exec: /usr/lib/ups/driver/nutdrv_qx -a infosec Network UPS Tools - Generic Q* USB/Serial driver 0.17 (2.7.3) USB communication driver 0.32 Device not supported! Device not supported! 30.165209 Driver failed to start (exit status=1) output(blazer_ser cmd upsdrvctl -DDD start) Network UPS Tools - UPS driver controller 2.7.3 0.000000 If you're not a NUT core developer, chances are that you're told to enable debugging to see why a driver isn't working for you. We're sorry for the confusion, but this is the 'upsdrvctl' wrapper, not the driver you're interested in. Below you'll find one or more lines starting with 'exec:' followed by an absolute path to the driver binary and some command line option. This is what the driver starts and you need to copy and paste that line and append the debug flags to that line (less the 'exec:' prefix). 0.002778 Starting UPS: infosec 0.003112 1 remaining attempts 0.003716 exec: /usr/lib/ups/driver/blazer_ser -a infosec Network UPS Tools - Megatec/Q1 protocol serial driver 1.56 (2.7.3) No supported UPS detected 12.135176 Driver failed to start (exit status=1) Please what I am doing wrong? Best regards, Robert SZAKSZ. ----- Original Message ----- From: "Charles Lepple" <clep...@gmail.com> To: "Róbert SZAKSZ" <rob...@szaksz.eu> Cc: nut-upsuser@lists.alioth.debian.org Sent: Tuesday, November 17, 2015 3:56:58 AM Subject: Re: [Nut-upsuser] Contact-closure UPS On Nov 16, 2015, at 3:57 PM, Róbert SZAKSZ <rob...@szaksz.eu> wrote: > > Thank you for your answer, so I want to try make the "smart" cable, but > should I use: > http://www.networkupstools.org/ups-protocols/megatec.html (cable mentioned by > you - above 3 wire cable)? If I am reading the code correctly, it does not need anything other than Tx/Rx/Ground (ser_open() sets CLOCAL, which ignores modem control lines). So that cable should work. > or > http://web.archive.org/web/20100106160328/http://ups.miem.edu.ru/ups_faq5.html > (cable 5.4.1)? The loopback connections would be for the modem control lines (hardware handshaking, which your UPS probably does not do). Other than that, I think the DB-9 pinout is the same. nutdrv_qx would be best, but blazer_ser is the next newest driver. -- Charles Lepple clepple@gmail _______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser