David Zomaya
2020-May-20 23:49 UTC
[Nut-upsuser] [POSSIBLE FRAUD] Re: [EXTERNAL] Re: Help with Tripp Lite Internet600U
Glad to hear it's working, thanks Tom. Network UPS Tools team: is fixing this as simple as me telling you what new UPS protocols are HID-PDC compliant? Thank you, David Zomaya Tripp Lite<http://www.tripplite.com/> ________________________________ From: Tom Cooper <tom at cooperfamily.xyz> Sent: Wednesday, May 20, 2020 2:42 PM To: David Zomaya Cc: nut-upsuser Subject: Re: [POSSIBLE FRAUD] Re: [Nut-upsuser] [EXTERNAL] Re: Help with Tripp Lite Internet600U The fix: Was following a howto here: https://raymondjdouglas.com/blog/2018/ups-monitoring/<https://urldefense.proofpoint.com/v2/url?u=https-3A__raymondjdouglas.com_blog_2018_ups-2Dmonitoring_&d=DwMFaQ&c=f9s1WCuF-N6cmD_YaZ7gBg&r=lhr3k4au5dVQgHY_iS-v_t9g8PHVkn8Px_wyaupZGfQ&m=xxqnPehnxbPZyMn7Y4l3qE4tQqpQ88lYY6CCnQ2qVrU&s=nbzYFun_NHdb-5EB7VMlWNFsqwWbA2-VLKNlBKWFVUQ&e=> Much thanks to David Zomaya for coming up with the recipe! Nut.conf: * Just have MODE=standalone UPS.conf * [tripplite] driver = usbhid-ups port = auto productid=3024 desc = "Tripp Lite Internet600U" upsd.conf * LISTEN 127.0.0.1 3493 LISTEN ::1 3493 [tripplite] driver = usbhid-ups port = auto Create a new udev ruleset: cat /etc/udev/rules.d/90-nut-ups.rules Put this rule in place # /etc/udev/rules.d/90-nut-ups.rules ACTION=="add", \ SUBSYSTEM=="usb", \ ATTR{idVendor}=="09ae", ATTR{idProduct}=="3024", \ MODE="0660", GROUP="nut" Reload the udev rules udevadm control --reload-rules && udevadm trigger (and maybe unplug/replug the UPS) Then sudo systemctl start nut-driver Loads the driver, and following the rest of the steps ih the howto I see this output from upsc pi at elmer:/home/macbackup $ upsc tripplite Init SSL without certificate database battery.charge: 100 battery.charge.warning: 30 battery.runtime: 1753 battery.type: PbAC battery.voltage: 0.0 battery.voltage.nominal: 12.0 device.mfr: Tripp Lite device.model: INTERNET600U device.serial: 2922BVLBC87B601706 device.type: ups driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: auto driver.parameter.productid: 3024 driver.parameter.synchronous: no driver.version: 2.7.4 driver.version.data: TrippLite HID 0.82 driver.version.internal: 0.41 input.frequency: 6020.0 input.transfer.high: 145.0 input.transfer.low: 95.0 input.voltage: 0.0 input.voltage.nominal: 120 output.current: 50.0 output.frequency: 6020.0 output.frequency.nominal: 60 output.voltage: 0.0 output.voltage.nominal: 120 ups.beeper.status: muted ups.delay.shutdown: 20 ups.delay.start: 30 ups.load: 11 ups.mfr: Tripp Lite ups.model: INTERNET600U ups.power: 37.0 ups.power.nominal: 600 ups.productid: 3024 ups.serial: 2922BVLBC87B601706 ups.status: OL ups.timer.reboot: 65535 ups.timer.shutdown: 65535 ups.timer.start: 65535 ups.vendorid: 09ae ups.watchdog.status: 0 ---- On Wed, 20 May 2020 14:56:14 -0400 David Zomaya <David_Zomaya at tripplite.com> wrote ---- "Can't claim USB device [09ae:3024]: could not detach kernel driver from interface 0: Operation not permitted" Is probably an issue with NUT grabbing the UPS... can you disconnect and reconnect the USB cable and try again? If that fails, maybe a udev rule will help. Thank you, David Zomaya Tripp Lite <http://www.tripplite.com/> ________________________________ From: Tom Cooper <tom at cooperfamily.xyz<mailto:tom at cooperfamily.xyz>> Sent: Wednesday, May 20, 2020 1:54:20 PM To: David Zomaya Cc: nut-upsuser Subject: Re: [POSSIBLE FRAUD] Re: [Nut-upsuser] [EXTERNAL] Re: Help with Tripp Lite Internet600U David, I appreciate the quick feedback! If I didn't fat finger any of the parameters you sent me, it's still not working. Here's the output from the attempt to start. (BTW - nothing appears in the daemon.log when I use the upsdrvctl command.) pi at elmer:/home/macbackup $ sudo vi /etc/nut/nut.conf pi at elmer:/home/macbackup $ sudo vi /etc/nut/ups.conf pi at elmer:/home/macbackup $ sudo vi /etc/nut/upsd.conf pi at elmer:/home/macbackup $ sudo upsdrvctl start Network UPS Tools - UPS driver controller 2.7.4 Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33 Can't claim USB device [09ae:3024]: could not detach kernel driver from interface 0: Operation not permitted Driver failed to start (exit status=1) Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33 Can't claim USB device [09ae:3024]: could not detach kernel driver from interface 0: Operation not permitted Driver failed to start (exit status=1) Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33 Can't claim USB device [09ae:3024]: could not detach kernel driver from interface 0: Operation not permitted Driver failed to start (exit status=1) ---- On Wed, 20 May 2020 14:03:09 -0400 David Zomaya <David_Zomaya at tripplite.com<mailto:David_Zomaya at tripplite.com>> wrote ---- My thoughts for a test: * Just have MODE=standalone in nut.conf * Put [tripplite] driver = usbhid-ups port = auto productid=3024 desc = "Tripp Lite Internet600U" In ups.conf * Put LISTEN 127.0.0.1 3493 LISTEN ::1 3493 [tripplite] driver = usbhid-ups port = auto in upsd.conf That may be suboptimal but will probably work for a test. Side note: I use "upsdrvctl start/stop" to start and stop the driver. Thank you, David Zomaya Tripp Lite ________________________________ From: Tom Cooper <tom at cooperfamily.xyz<mailto:tom at cooperfamily.xyz>> Sent: Wednesday, May 20, 2020 12:55 PM To: David Zomaya Cc: nut-upsuser Subject: Re: [POSSIBLE FRAUD] Re: [Nut-upsuser] [EXTERNAL] Re: Help with Tripp Lite Internet600U David, That's exciting - but I am not seeing similar results. I *must* be doing something dumb - but I can't see it. I've got nut-2.7.4-8 installed on my pi Hope you can help. Tom pi at elmer:/home/macbackup $ lsusb | grep ipp Bus 001 Device 004: ID 09ae:3024 Tripp Lite pi at elmer:/home/macbackup $ sudo cat /etc/nut/nut.conf # Network UPS Tools: example nut.conf # ############################################################################## # General section ############################################################################## # The MODE determines which part of the NUT is to be started, and which # configuration files must be modified. # # This file try to standardize the various files being found in the field, like # /etc/default/nut on Debian based systems, /etc/sysconfig/ups on RedHat based # systems, ... Distribution's init script should source this file to see which # component(s) has to be started. # # The values of MODE can be: # - none: NUT is not configured, or use the Integrated Power Management, or use # some external system to startup NUT components. So nothing is to be started. # - standalone: This mode address a local only configuration, with 1 UPS # protecting the local system. This implies to start the 3 NUT layers (driver, # upsd and upsmon) and the matching configuration files. This mode can also # address UPS redundancy. # - netserver: same as for the standalone configuration, but also need # some more network access controls (firewall, tcp-wrappers) and possibly a # specific LISTEN directive in upsd.conf. # Since this MODE is opened to the network, a special care should be applied # to security concerns. # - netclient: this mode only requires upsmon. # # IMPORTANT NOTE: # This file is intended to be sourced by shell scripts. # You MUST NOT use spaces around the equal sign! MODE=none [tripplite] driver = usbhid-ups port = auto productid=3024 desc = "Tripp Lite Internet600U" pi at elmer:/home/macbackup $ sudo systemctl start nut-driver Job for nut-driver.service failed because the control process exited with error code. See "systemctl status nut-driver.service" and "journalctl -xe" for details.>From the log file:May 20 13:51:47 elmer systemd[1]: Starting Network UPS Tools - power device driver controller... May 20 13:51:47 elmer upsdrvctl[2658]: This TrippLite device (09ae:3024) is not (or perhaps not yet) supported May 20 13:51:47 elmer upsdrvctl[2658]: by usbhid-ups. Please make sure you have an up-to-date version of NUT. If May 20 13:51:47 elmer upsdrvctl[2658]: this does not fix the problem, try running the driver with the May 20 13:51:47 elmer upsdrvctl[2658]: '-x productid=3024' option. Please report your results to the NUT user's May 20 13:51:47 elmer upsdrvctl[2658]: mailing list <nut-upsuser at lists.alioth.debian.org<mailto:nut-upsuser at lists.alioth.debian.org>>. May 20 13:51:47 elmer upsdrvctl[2658]: Network UPS Tools - Generic HID driver 0.41 (2.7.4) May 20 13:51:47 elmer upsdrvctl[2658]: USB communication driver 0.33 May 20 13:51:47 elmer upsdrvctl[2658]: No matching HID UPS found May 20 13:51:47 elmer upsdrvctl[2658]: Driver failed to start (exit status=1) May 20 13:51:52 elmer upsdrvctl[2658]: This TrippLite device (09ae:3024) is not (or perhaps not yet) supported May 20 13:51:52 elmer upsdrvctl[2658]: by usbhid-ups. Please make sure you have an up-to-date version of NUT. If May 20 13:51:52 elmer upsdrvctl[2658]: this does not fix the problem, try running the driver with the May 20 13:51:52 elmer upsdrvctl[2658]: '-x productid=3024' option. Please report your results to the NUT user's May 20 13:51:52 elmer upsdrvctl[2658]: mailing list <nut-upsuser at lists.alioth.debian.org<mailto:nut-upsuser at lists.alioth.debian.org>>. May 20 13:51:52 elmer upsdrvctl[2658]: Network UPS Tools - Generic HID driver 0.41 (2.7.4) May 20 13:51:52 elmer upsdrvctl[2658]: USB communication driver 0.33 May 20 13:51:52 elmer upsdrvctl[2658]: No matching HID UPS found May 20 13:51:52 elmer upsdrvctl[2658]: Driver failed to start (exit status=1) May 20 13:51:58 elmer upsdrvctl[2658]: This TrippLite device (09ae:3024) is not (or perhaps not yet) supported May 20 13:51:58 elmer upsdrvctl[2658]: by usbhid-ups. Please make sure you have an up-to-date version of NUT. If May 20 13:51:58 elmer upsdrvctl[2658]: this does not fix the problem, try running the driver with the May 20 13:51:58 elmer upsdrvctl[2658]: '-x productid=3024' option. Please report your results to the NUT user's May 20 13:51:58 elmer upsdrvctl[2658]: mailing list <nut-upsuser at lists.alioth.debian.org<mailto:nut-upsuser at lists.alioth.debian.org>>. May 20 13:51:58 elmer upsdrvctl[2658]: Network UPS Tools - Generic HID driver 0.41 (2.7.4) May 20 13:51:58 elmer upsdrvctl[2658]: USB communication driver 0.33 May 20 13:51:58 elmer upsdrvctl[2658]: No matching HID UPS found May 20 13:51:58 elmer systemd[1]: nut-driver.service: Control process exited, code=exited, status=1/FAILURE May 20 13:51:58 elmer upsdrvctl[2658]: Driver failed to start (exit status=1) May 20 13:51:58 elmer upsdrvctl[2658]: Network UPS Tools - UPS driver controller 2.7.4 May 20 13:51:58 elmer systemd[1]: nut-driver.service: Failed with result 'exit-code'. May 20 13:51:58 elmer systemd[1]: Failed to start Network UPS Tools - power device driver controller. ---- On Wed, 20 May 2020 13:46:09 -0400 David Zomaya <David_Zomaya at tripplite.com<mailto:David_Zomaya at tripplite.com>> wrote ---- Tested a Ubuntu 18.04 LTS virtual machine with NUT 2.7.4 and a 3024 protocol Tripp Lite UPS (mine is a INTERNET550U, but same protocol) :/etc/nut$ lsusb | grep Tripp Bus 002 Device 004: ID 09ae:3024 Tripp Lite I it got generally working (outputting reasonable responses to upsc, although there are some issues with variables like frequency) by adding productid=3024 to my ups.conf. Like this: [TrippLiteUPS3024] driver = usbhid-ups port = auto productid=3024 Here is the upsc output: :/etc/nut$ sudo upsc TrippLiteUPS3024 Init SSL without certificate database battery.charge: 100 battery.charge.warning: 30 battery.runtime: 1850 battery.type: PbAc battery.voltage: 0.0 battery.voltage.nominal: 12.0 device.mfr: Tripp Lite device.model: INTERNET550U device.serial: 2951EVLBC87B503245 device.type: ups driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: auto driver.parameter.productid: 3024 driver.parameter.synchronous: no driver.version: 2.7.4 driver.version.data: TrippLite HID 0.82 driver.version.internal: 0.41 input.frequency: 6010.0 input.transfer.high: 145.0 input.transfer.low: 95.0 input.voltage: 0.0 input.voltage.nominal: 120 output.current: 0.0 output.frequency: 6010.0 output.frequency.nominal: 60 output.voltage: 0.0 output.voltage.nominal: 120 ups.beeper.status: disabled ups.delay.shutdown: 20 ups.delay.start: 30 ups.load: 0 ups.mfr: Tripp Lite ups.model: INTERNET550U ups.power: 0.0 ups.power.nominal: 550 ups.productid: 3024 ups.serial: 2951EVLBC87B503245 ups.status: OL ups.timer.reboot: 65535 ups.timer.shutdown: 65535 ups.timer.start: 65535 ups.vendorid: 09ae ups.watchdog.status: 0 :/etc/nut$ Tom: Let me know if this helps you. List in general: would this help solve general 3024 issues? Thank you, David Zomaya Tripp Lite<http://www.tripplite.com/> ________________________________ From: Nut-upsuser <nut-upsuser-bounces+david_zomaya=tripplite.com at alioth-lists.debian.net<mailto:tripplite.com at alioth-lists.debian.net>> on behalf of David Zomaya Sent: Wednesday, May 20, 2020 8:49 AM To: Tom Cooper Cc: nut-upsuser Subject: [POSSIBLE FRAUD] Re: [Nut-upsuser] [EXTERNAL] Re: Help with Tripp Lite Internet600U Will do. Ball in my court for now. Thank you, David Zomaya Tripp Lite<http://www.tripplite.com/> ________________________________ From: Tom Cooper <tom at cooperfamily.xyz<mailto:tom at cooperfamily.xyz>> Sent: Wednesday, May 20, 2020 8:47:28 AM To: David Zomaya Cc: nut-upsuser Subject: Re: [EXTERNAL] Re: [Nut-upsuser] Help with Tripp Lite Internet600U That would be great. If there is something I can do to collect data or troubleshoot, please let me know. ---- On Wed, 20 May 2020 08:51:14 -0400 David Zomaya <David_Zomaya at tripplite.com<mailto:David_Zomaya at tripplite.com>> wrote ---- I'm still working remotely, but I should be able to get something set up soon. I'll reply all here once I have something to report. Thank you, David Zomaya Tripp Lite<http://www.tripplite.com/> ________________________________ From: Tom Cooper <tom at cooperfamily.xyz<mailto:tom at cooperfamily.xyz>> Sent: Wednesday, May 20, 2020 7:48:32 AM To: David Zomaya Cc: nut-upsuser Subject: Re: [EXTERNAL] Re: [Nut-upsuser] Help with Tripp Lite Internet600U I'm running Raspbian Buster, but given that the error seems to be "higher order" than a hardware issue - one of parsing the protocol? I suspect that Ubuntu would be a decent "lookalike" to model the issue. ---- On Tue, 19 May 2020 22:31:56 -0400 David Zomaya <David_Zomaya at tripplite.com<mailto:David_Zomaya at tripplite.com>> wrote ---- If I installed and tested against Ubuntu, how useful would that be in general and in this specific case? I think we've seen a few reports of issues with the newer 3024 protocols and I'd like to help get them sorted out. Thank you, David Zomaya Tripp Lite ________________________________ From: Nut-upsuser <nut-upsuser-bounces+david_zomaya=tripplite.com at alioth-lists.debian.net<mailto:tripplite.com at alioth-lists.debian.net>> on behalf of Charles Lepple <clepple at gmail.com<mailto:clepple at gmail.com>> Sent: Tuesday, May 19, 2020 9:24 PM To: Tom Cooper Cc: nut-upsuser Subject: [EXTERNAL] Re: [Nut-upsuser] Help with Tripp Lite Internet600U This is an EXTERNAL email. Please take a moment and think before clicking any links or opening any attachments from this email. If suspicious, please forward to ishelpdesk at tripplite.com<mailto:ishelpdesk at tripplite.com> for review. ______________________________________________________________________ On May 19, 2020, at 9:21 PM, Tom Cooper <tom at cooperfamily.xyz<mailto:tom at cooperfamily.xyz>> wrote:> > Bus 001 Device 004: ID 09ae:3024 Tripp Lite >We have only had reports of success with protocol 2010 of INTERNET600U (which would be 09ae:2010 in lsusb). More details: https://urldefense.proofpoint.com/v2/url?u=https-3A__alioth-2Dlists.debian.net_pipermail_nut-2Dupsuser_2020-2DApril_011803.html&d=DwIGaQ&c=f9s1WCuF-N6cmD_YaZ7gBg&r=lhr3k4au5dVQgHY_iS-v_t9g8PHVkn8Px_wyaupZGfQ&m=PY3fmIYRp20XyPJAWtuIoMta82maER1CGSdOB3x6HEM&s=9Ri1IbEOy_cyZZctw4a1IFxUMKAIwhu2xTRnjanyorI&e _______________________________________________ Nut-upsuser mailing list Nut-upsuser at alioth-lists.debian.net<mailto:Nut-upsuser at alioth-lists.debian.net> https://urldefense.proofpoint.com/v2/url?u=https-3A__alioth-2Dlists.debian.net_cgi-2Dbin_mailman_listinfo_nut-2Dupsuser&d=DwIGaQ&c=f9s1WCuF-N6cmD_YaZ7gBg&r=lhr3k4au5dVQgHY_iS-v_t9g8PHVkn8Px_wyaupZGfQ&m=PY3fmIYRp20XyPJAWtuIoMta82maER1CGSdOB3x6HEM&s=374XOzWi2asZji_KmGBZFGWtzgxtuHrjfrzcGP8Fsvw&e_______________________________________________ Nut-upsuser mailing list Nut-upsuser at alioth-lists.debian.net<mailto:Nut-upsuser at alioth-lists.debian.net> https://urldefense.proofpoint.com/v2/url?u=https-3A__alioth-2Dlists.debian.net_cgi-2Dbin_mailman_listinfo_nut-2Dupsuser&d=DwIGaQ&c=f9s1WCuF-N6cmD_YaZ7gBg&r=lhr3k4au5dVQgHY_iS-v_t9g8PHVkn8Px_wyaupZGfQ&m=PY3fmIYRp20XyPJAWtuIoMta82maER1CGSdOB3x6HEM&s=374XOzWi2asZji_KmGBZFGWtzgxtuHrjfrzcGP8Fsvw&e________________________________ This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information. ________________________________ This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information. ________________________________ This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information. ________________________________ This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information. ________________________________ This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information. ________________________________ This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information. ________________________________ This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20200520/a0b3e75f/attachment-0001.html>
Tom Cooper
2020-May-21 00:00 UTC
[Nut-upsuser] [POSSIBLE FRAUD] Re: [EXTERNAL] Re: Help with Tripp Lite Internet600U
I'm not seeing this in the log. I'm guessing that's not great. May 20 19:57:28 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:57:33 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:57:38 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:57:43 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:57:48 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:57:53 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:57:58 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:58:03 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:58:08 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:58:13 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:58:18 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:58:23 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:58:28 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:58:33 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:58:38 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:58:43 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:58:48 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:58:53 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:58:58 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:59:03 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale ---- On Wed, 20 May 2020 19:49:27 -0400 David Zomaya <David_Zomaya at tripplite.com> wrote ---- Glad to hear it's working, thanks Tom. Network UPS Tools team: is fixing this as simple as me telling you what new UPS protocols are HID-PDC compliant? Thank you, David Zomaya Tripp Litehttp://www.tripplite.com/ From: Tom Cooper <mailto:tom at cooperfamily.xyz> Sent: Wednesday, May 20, 2020 2:42 PM To: David Zomaya Cc: nut-upsuser Subject: Re: [POSSIBLE FRAUD] Re: [Nut-upsuser] [EXTERNAL] Re: Help with Tripp Lite Internet600U The fix: Was following a howto here: https://urldefense.proofpoint.com/v2/url?u=https-3A__raymondjdouglas.com_blog_2018_ups-2Dmonitoring_&d=DwMFaQ&c=f9s1WCuF-N6cmD_YaZ7gBg&r=lhr3k4au5dVQgHY_iS-v_t9g8PHVkn8Px_wyaupZGfQ&m=xxqnPehnxbPZyMn7Y4l3qE4tQqpQ88lYY6CCnQ2qVrU&s=nbzYFun_NHdb-5EB7VMlWNFsqwWbA2-VLKNlBKWFVUQ&e Much thanks to David Zomaya for coming up with the recipe! Nut.conf: Just have MODE=standalone UPS.conf [tripplite] driver = usbhid-ups port = auto productid=3024 desc = "Tripp Lite Internet600U" upsd.conf LISTEN 127.0.0.1 3493 LISTEN ::1 3493 [tripplite] driver = usbhid-ups port = auto Create a new udev ruleset: cat /etc/udev/rules.d/90-nut-ups.rules Put this rule in place # /etc/udev/rules.d/90-nut-ups.rules ACTION=="add", \ SUBSYSTEM=="usb", \ ATTR{idVendor}=="09ae", ATTR{idProduct}=="3024", \ MODE="0660", GROUP="nut" Reload the udev rules udevadm control --reload-rules && udevadm trigger (and maybe unplug/replug the UPS) Then sudo systemctl start nut-driver Loads the driver, and following the rest of the steps ih the howto I see this output from upsc pi at elmer:/home/macbackup $ upsc tripplite Init SSL without certificate database battery.charge: 100 battery.charge.warning: 30 battery.runtime: 1753 battery.type: PbAC battery.voltage: 0.0 battery.voltage.nominal: 12.0 device.mfr: Tripp Lite device.model: INTERNET600U device.serial: 2922BVLBC87B601706 device.type: ups driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: auto driver.parameter.productid: 3024 driver.parameter.synchronous: no driver.version: 2.7.4 driver.version.data: TrippLite HID 0.82 driver.version.internal: 0.41 input.frequency: 6020.0 input.transfer.high: 145.0 input.transfer.low: 95.0 input.voltage: 0.0 input.voltage.nominal: 120 output.current: 50.0 output.frequency: 6020.0 output.frequency.nominal: 60 output.voltage: 0.0 output.voltage.nominal: 120 ups.beeper.status: muted ups.delay.shutdown: 20 ups.delay.start: 30 ups.load: 11 ups.mfr: Tripp Lite ups.model: INTERNET600U ups.power: 37.0 ups.power.nominal: 600 ups.productid: 3024 ups.serial: 2922BVLBC87B601706 ups.status: OL ups.timer.reboot: 65535 ups.timer.shutdown: 65535 ups.timer.start: 65535 ups.vendorid: 09ae ups.watchdog.status: 0 ---- On Wed, 20 May 2020 14:56:14 -0400 David Zomaya <mailto:David_Zomaya at tripplite.com> wrote ---- This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information. "Can't claim USB device [09ae:3024]: could not detach kernel driver from interface 0: Operation not permitted" Is probably an issue with NUT grabbing the UPS... can you disconnect and reconnect the USB cable and try again? If that fails, maybe a udev rule will help. Thank you, David Zomaya Tripp Lite http://www.tripplite.com/ From: Tom Cooper <mailto:tom at cooperfamily.xyz> Sent: Wednesday, May 20, 2020 1:54:20 PM To: David Zomaya Cc: nut-upsuser Subject: Re: [POSSIBLE FRAUD] Re: [Nut-upsuser] [EXTERNAL] Re: Help with Tripp Lite Internet600U David, I appreciate the quick feedback! If I didn't fat finger any of the parameters you sent me, it's still not working. Here's the output from the attempt to start. (BTW - nothing appears in the daemon.log when I use the upsdrvctl command.) pi at elmer:/home/macbackup $ sudo vi /etc/nut/nut.conf pi at elmer:/home/macbackup $ sudo vi /etc/nut/ups.conf pi at elmer:/home/macbackup $ sudo vi /etc/nut/upsd.conf pi at elmer:/home/macbackup $ sudo upsdrvctl start Network UPS Tools - UPS driver controller 2.7.4 Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33 Can't claim USB device [09ae:3024]: could not detach kernel driver from interface 0: Operation not permitted Driver failed to start (exit status=1) Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33 Can't claim USB device [09ae:3024]: could not detach kernel driver from interface 0: Operation not permitted Driver failed to start (exit status=1) Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33 Can't claim USB device [09ae:3024]: could not detach kernel driver from interface 0: Operation not permitted Driver failed to start (exit status=1) ---- On Wed, 20 May 2020 14:03:09 -0400 David Zomaya <mailto:David_Zomaya at tripplite.com> wrote ---- My thoughts for a test: Just have MODE=standalone in nut.conf Put [tripplite] driver = usbhid-ups port = auto productid=3024 desc = "Tripp Lite Internet600U" In ups.conf Put LISTEN 127.0.0.1 3493 LISTEN ::1 3493 [tripplite] driver = usbhid-ups port = auto in upsd.conf That may be suboptimal but will probably work for a test. Side note: I use "upsdrvctl start/stop" to start and stop the driver. Thank you, David Zomaya Tripp Lite From: Tom Cooper <mailto:tom at cooperfamily.xyz> Sent: Wednesday, May 20, 2020 12:55 PM To: David Zomaya Cc: nut-upsuser Subject: Re: [POSSIBLE FRAUD] Re: [Nut-upsuser] [EXTERNAL] Re: Help with Tripp Lite Internet600U David, That's exciting - but I am not seeing similar results. I *must* be doing something dumb - but I can't see it. I've got nut-2.7.4-8 installed on my pi Hope you can help. Tom pi at elmer:/home/macbackup $ lsusb | grep ipp Bus 001 Device 004: ID 09ae:3024 Tripp Lite pi at elmer:/home/macbackup $ sudo cat /etc/nut/nut.conf # Network UPS Tools: example nut.conf # ############################################################################## # General section ############################################################################## # The MODE determines which part of the NUT is to be started, and which # configuration files must be modified. # # This file try to standardize the various files being found in the field, like # /etc/default/nut on Debian based systems, /etc/sysconfig/ups on RedHat based # systems, ... Distribution's init script should source this file to see which # component(s) has to be started. # # The values of MODE can be: # - none: NUT is not configured, or use the Integrated Power Management, or use # some external system to startup NUT components. So nothing is to be started. # - standalone: This mode address a local only configuration, with 1 UPS # protecting the local system. This implies to start the 3 NUT layers (driver, # upsd and upsmon) and the matching configuration files. This mode can also # address UPS redundancy. # - netserver: same as for the standalone configuration, but also need # some more network access controls (firewall, tcp-wrappers) and possibly a # specific LISTEN directive in upsd.conf. # Since this MODE is opened to the network, a special care should be applied # to security concerns. # - netclient: this mode only requires upsmon. # # IMPORTANT NOTE: # This file is intended to be sourced by shell scripts. # You MUST NOT use spaces around the equal sign! MODE=none [tripplite] driver = usbhid-ups port = auto productid=3024 desc = "Tripp Lite Internet600U" pi at elmer:/home/macbackup $ sudo systemctl start nut-driver Job for nut-driver.service failed because the control process exited with error code. See "systemctl status nut-driver.service" and "journalctl -xe" for details.>From the log file:May 20 13:51:47 elmer systemd[1]: Starting Network UPS Tools - power device driver controller... May 20 13:51:47 elmer upsdrvctl[2658]: This TrippLite device (09ae:3024) is not (or perhaps not yet) supported May 20 13:51:47 elmer upsdrvctl[2658]: by usbhid-ups. Please make sure you have an up-to-date version of NUT. If May 20 13:51:47 elmer upsdrvctl[2658]: this does not fix the problem, try running the driver with the May 20 13:51:47 elmer upsdrvctl[2658]: '-x productid=3024' option. Please report your results to the NUT user's May 20 13:51:47 elmer upsdrvctl[2658]: mailing list <mailto:nut-upsuser at lists.alioth.debian.org>. May 20 13:51:47 elmer upsdrvctl[2658]: Network UPS Tools - Generic HID driver 0.41 (2.7.4) May 20 13:51:47 elmer upsdrvctl[2658]: USB communication driver 0.33 May 20 13:51:47 elmer upsdrvctl[2658]: No matching HID UPS found May 20 13:51:47 elmer upsdrvctl[2658]: Driver failed to start (exit status=1) May 20 13:51:52 elmer upsdrvctl[2658]: This TrippLite device (09ae:3024) is not (or perhaps not yet) supported May 20 13:51:52 elmer upsdrvctl[2658]: by usbhid-ups. Please make sure you have an up-to-date version of NUT. If May 20 13:51:52 elmer upsdrvctl[2658]: this does not fix the problem, try running the driver with the May 20 13:51:52 elmer upsdrvctl[2658]: '-x productid=3024' option. Please report your results to the NUT user's May 20 13:51:52 elmer upsdrvctl[2658]: mailing list <mailto:nut-upsuser at lists.alioth.debian.org>. May 20 13:51:52 elmer upsdrvctl[2658]: Network UPS Tools - Generic HID driver 0.41 (2.7.4) May 20 13:51:52 elmer upsdrvctl[2658]: USB communication driver 0.33 May 20 13:51:52 elmer upsdrvctl[2658]: No matching HID UPS found May 20 13:51:52 elmer upsdrvctl[2658]: Driver failed to start (exit status=1) May 20 13:51:58 elmer upsdrvctl[2658]: This TrippLite device (09ae:3024) is not (or perhaps not yet) supported May 20 13:51:58 elmer upsdrvctl[2658]: by usbhid-ups. Please make sure you have an up-to-date version of NUT. If May 20 13:51:58 elmer upsdrvctl[2658]: this does not fix the problem, try running the driver with the May 20 13:51:58 elmer upsdrvctl[2658]: '-x productid=3024' option. Please report your results to the NUT user's May 20 13:51:58 elmer upsdrvctl[2658]: mailing list <mailto:nut-upsuser at lists.alioth.debian.org>. May 20 13:51:58 elmer upsdrvctl[2658]: Network UPS Tools - Generic HID driver 0.41 (2.7.4) May 20 13:51:58 elmer upsdrvctl[2658]: USB communication driver 0.33 May 20 13:51:58 elmer upsdrvctl[2658]: No matching HID UPS found May 20 13:51:58 elmer systemd[1]: nut-driver.service: Control process exited, code=exited, status=1/FAILURE May 20 13:51:58 elmer upsdrvctl[2658]: Driver failed to start (exit status=1) May 20 13:51:58 elmer upsdrvctl[2658]: Network UPS Tools - UPS driver controller 2.7.4 May 20 13:51:58 elmer systemd[1]: nut-driver.service: Failed with result 'exit-code'. May 20 13:51:58 elmer systemd[1]: Failed to start Network UPS Tools - power device driver controller. ---- On Wed, 20 May 2020 13:46:09 -0400 David Zomaya <mailto:David_Zomaya at tripplite.com> wrote ---- Tested a Ubuntu 18.04 LTS virtual machine with NUT 2.7.4 and a 3024 protocol Tripp Lite UPS (mine is a INTERNET550U, but same protocol) :/etc/nut$ lsusb | grep Tripp Bus 002 Device 004: ID 09ae:3024 Tripp Lite I it got generally working (outputting reasonable responses to upsc, although there are some issues with variables like frequency) by adding productid=3024 to my ups.conf. Like this: [TrippLiteUPS3024] driver = usbhid-ups port = auto productid=3024 Here is the upsc output: :/etc/nut$ sudo upsc TrippLiteUPS3024 Init SSL without certificate database battery.charge: 100 battery.charge.warning: 30 battery.runtime: 1850 battery.type: PbAc battery.voltage: 0.0 battery.voltage.nominal: 12.0 device.mfr: Tripp Lite device.model: INTERNET550U device.serial: 2951EVLBC87B503245 device.type: ups driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: auto driver.parameter.productid: 3024 driver.parameter.synchronous: no driver.version: 2.7.4 driver.version.data: TrippLite HID 0.82 driver.version.internal: 0.41 input.frequency: 6010.0 input.transfer.high: 145.0 input.transfer.low: 95.0 input.voltage: 0.0 input.voltage.nominal: 120 output.current: 0.0 output.frequency: 6010.0 output.frequency.nominal: 60 output.voltage: 0.0 output.voltage.nominal: 120 ups.beeper.status: disabled ups.delay.shutdown: 20 ups.delay.start: 30 ups.load: 0 ups.mfr: Tripp Lite ups.model: INTERNET550U ups.power: 0.0 ups.power.nominal: 550 ups.productid: 3024 ups.serial: 2951EVLBC87B503245 ups.status: OL ups.timer.reboot: 65535 ups.timer.shutdown: 65535 ups.timer.start: 65535 ups.vendorid: 09ae ups.watchdog.status: 0 :/etc/nut$ Tom: Let me know if this helps you. List in general: would this help solve general 3024 issues? Thank you, David Zomaya Tripp Litehttp://www.tripplite.com/ From: Nut-upsuser <nut-upsuser-bounces+david_zomaya=mailto:tripplite.com at alioth-lists.debian.net> on behalf of David Zomaya Sent: Wednesday, May 20, 2020 8:49 AM To: Tom Cooper Cc: nut-upsuser Subject: [POSSIBLE FRAUD] Re: [Nut-upsuser] [EXTERNAL] Re: Help with Tripp Lite Internet600U Will do. Ball in my court for now. Thank you, David Zomaya Tripp Litehttp://www.tripplite.com/ From: Tom Cooper <mailto:tom at cooperfamily.xyz> Sent: Wednesday, May 20, 2020 8:47:28 AM To: David Zomaya Cc: nut-upsuser Subject: Re: [EXTERNAL] Re: [Nut-upsuser] Help with Tripp Lite Internet600U That would be great. If there is something I can do to collect data or troubleshoot, please let me know. ---- On Wed, 20 May 2020 08:51:14 -0400 David Zomaya <mailto:David_Zomaya at tripplite.com> wrote ---- I'm still working remotely, but I should be able to get something set up soon. I'll reply all here once I have something to report. Thank you, David Zomaya Tripp Litehttp://www.tripplite.com/ From: Tom Cooper <mailto:tom at cooperfamily.xyz> Sent: Wednesday, May 20, 2020 7:48:32 AM To: David Zomaya Cc: nut-upsuser Subject: Re: [EXTERNAL] Re: [Nut-upsuser] Help with Tripp Lite Internet600U I'm running Raspbian Buster, but given that the error seems to be "higher order" than a hardware issue - one of parsing the protocol? I suspect that Ubuntu would be a decent "lookalike" to model the issue. ---- On Tue, 19 May 2020 22:31:56 -0400 David Zomaya <mailto:David_Zomaya at tripplite.com> wrote ---- If I installed and tested against Ubuntu, how useful would that be in general and in this specific case? I think we've seen a few reports of issues with the newer 3024 protocols and I'd like to help get them sorted out. Thank you, David Zomaya Tripp Lite From: Nut-upsuser <nut-upsuser-bounces+david_zomaya=mailto:tripplite.com at alioth-lists.debian.net> on behalf of Charles Lepple <mailto:clepple at gmail.com> Sent: Tuesday, May 19, 2020 9:24 PM To: Tom Cooper Cc: nut-upsuser Subject: [EXTERNAL] Re: [Nut-upsuser] Help with Tripp Lite Internet600U This is an EXTERNAL email. Please take a moment and think before clicking any links or opening any attachments from this email. If suspicious, please forward to mailto:ishelpdesk at tripplite.com for review. ______________________________________________________________________ On May 19, 2020, at 9:21 PM, Tom Cooper <mailto:tom at cooperfamily.xyz> wrote: > > Bus 001 Device 004: ID 09ae:3024 Tripp Lite > We have only had reports of success with protocol 2010 of INTERNET600U (which would be 09ae:2010 in lsusb). More details: https://urldefense.proofpoint.com/v2/url?u=https-3A__alioth-2Dlists.debian.net_pipermail_nut-2Dupsuser_2020-2DApril_011803.html&d=DwIGaQ&c=f9s1WCuF-N6cmD_YaZ7gBg&r=lhr3k4au5dVQgHY_iS-v_t9g8PHVkn8Px_wyaupZGfQ&m=PY3fmIYRp20XyPJAWtuIoMta82maER1CGSdOB3x6HEM&s=9Ri1IbEOy_cyZZctw4a1IFxUMKAIwhu2xTRnjanyorI&e= _______________________________________________ Nut-upsuser mailing list mailto:Nut-upsuser at alioth-lists.debian.net https://urldefense.proofpoint.com/v2/url?u=https-3A__alioth-2Dlists.debian.net_cgi-2Dbin_mailman_listinfo_nut-2Dupsuser&d=DwIGaQ&c=f9s1WCuF-N6cmD_YaZ7gBg&r=lhr3k4au5dVQgHY_iS-v_t9g8PHVkn8Px_wyaupZGfQ&m=PY3fmIYRp20XyPJAWtuIoMta82maER1CGSdOB3x6HEM&s=374XOzWi2asZji_KmGBZFGWtzgxtuHrjfrzcGP8Fsvw&e= _______________________________________________ Nut-upsuser mailing list mailto:Nut-upsuser at alioth-lists.debian.net https://urldefense.proofpoint.com/v2/url?u=https-3A__alioth-2Dlists.debian.net_cgi-2Dbin_mailman_listinfo_nut-2Dupsuser&d=DwIGaQ&c=f9s1WCuF-N6cmD_YaZ7gBg&r=lhr3k4au5dVQgHY_iS-v_t9g8PHVkn8Px_wyaupZGfQ&m=PY3fmIYRp20XyPJAWtuIoMta82maER1CGSdOB3x6HEM&s=374XOzWi2asZji_KmGBZFGWtzgxtuHrjfrzcGP8Fsvw&e= This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information. This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information. This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information. This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information. This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information. This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20200520/67249827/attachment-0001.html>
David Zomaya
2020-May-21 00:03 UTC
[Nut-upsuser] [POSSIBLE FRAUD] Re: [EXTERNAL] Re: Help with Tripp Lite Internet600U
No, it's not. I'd defer to the list for tips on that one. First thing I'd try if no one else has ideas is checking lsusb and restarting the service. Thank you, David Zomaya Tripp Lite<http://www.tripplite.com/> ________________________________ From: Tom Cooper <tom at cooperfamily.xyz> Sent: Wednesday, May 20, 2020 7:00 PM To: David Zomaya Cc: nut-upsuser Subject: Re: [POSSIBLE FRAUD] Re: [Nut-upsuser] [EXTERNAL] Re: Help with Tripp Lite Internet600U I'm not seeing this in the log. I'm guessing that's not great. May 20 19:57:28 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:57:33 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:57:38 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:57:43 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:57:48 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:57:53 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:57:58 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:58:03 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:58:08 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:58:13 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:58:18 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:58:23 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:58:28 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:58:33 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:58:38 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:58:43 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:58:48 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:58:53 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:58:58 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale May 20 19:59:03 elmer upsmon[3828]: Poll UPS [tripplite at localhost] failed - Data stale ---- On Wed, 20 May 2020 19:49:27 -0400 David Zomaya <David_Zomaya at tripplite.com> wrote ---- Glad to hear it's working, thanks Tom. Network UPS Tools team: is fixing this as simple as me telling you what new UPS protocols are HID-PDC compliant? Thank you, David Zomaya Tripp Lite<http://www.tripplite.com/> ________________________________ From: Tom Cooper <tom at cooperfamily.xyz<mailto:tom at cooperfamily.xyz>> Sent: Wednesday, May 20, 2020 2:42 PM To: David Zomaya Cc: nut-upsuser Subject: Re: [POSSIBLE FRAUD] Re: [Nut-upsuser] [EXTERNAL] Re: Help with Tripp Lite Internet600U The fix: Was following a howto here: https://raymondjdouglas.com/blog/2018/ups-monitoring/<https://urldefense.proofpoint.com/v2/url?u=https-3A__raymondjdouglas.com_blog_2018_ups-2Dmonitoring_&d=DwMFaQ&c=f9s1WCuF-N6cmD_YaZ7gBg&r=lhr3k4au5dVQgHY_iS-v_t9g8PHVkn8Px_wyaupZGfQ&m=xxqnPehnxbPZyMn7Y4l3qE4tQqpQ88lYY6CCnQ2qVrU&s=nbzYFun_NHdb-5EB7VMlWNFsqwWbA2-VLKNlBKWFVUQ&e=> Much thanks to David Zomaya for coming up with the recipe! Nut.conf: * Just have MODE=standalone UPS.conf * [tripplite] driver = usbhid-ups port = auto productid=3024 desc = "Tripp Lite Internet600U" upsd.conf * LISTEN 127.0.0.1 3493 LISTEN ::1 3493 [tripplite] driver = usbhid-ups port = auto Create a new udev ruleset: cat /etc/udev/rules.d/90-nut-ups.rules Put this rule in place # /etc/udev/rules.d/90-nut-ups.rules ACTION=="add", \ SUBSYSTEM=="usb", \ ATTR{idVendor}=="09ae", ATTR{idProduct}=="3024", \ MODE="0660", GROUP="nut" Reload the udev rules udevadm control --reload-rules && udevadm trigger (and maybe unplug/replug the UPS) Then sudo systemctl start nut-driver Loads the driver, and following the rest of the steps ih the howto I see this output from upsc pi at elmer:/home/macbackup $ upsc tripplite Init SSL without certificate database battery.charge: 100 battery.charge.warning: 30 battery.runtime: 1753 battery.type: PbAC battery.voltage: 0.0 battery.voltage.nominal: 12.0 device.mfr: Tripp Lite device.model: INTERNET600U device.serial: 2922BVLBC87B601706 device.type: ups driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: auto driver.parameter.productid: 3024 driver.parameter.synchronous: no driver.version: 2.7.4 driver.version.data: TrippLite HID 0.82 driver.version.internal: 0.41 input.frequency: 6020.0 input.transfer.high: 145.0 input.transfer.low: 95.0 input.voltage: 0.0 input.voltage.nominal: 120 output.current: 50.0 output.frequency: 6020.0 output.frequency.nominal: 60 output.voltage: 0.0 output.voltage.nominal: 120 ups.beeper.status: muted ups.delay.shutdown: 20 ups.delay.start: 30 ups.load: 11 ups.mfr: Tripp Lite ups.model: INTERNET600U ups.power: 37.0 ups.power.nominal: 600 ups.productid: 3024 ups.serial: 2922BVLBC87B601706 ups.status: OL ups.timer.reboot: 65535 ups.timer.shutdown: 65535 ups.timer.start: 65535 ups.vendorid: 09ae ups.watchdog.status: 0 ---- On Wed, 20 May 2020 14:56:14 -0400 David Zomaya <David_Zomaya at tripplite.com<mailto:David_Zomaya at tripplite.com>> wrote ---- ________________________________ This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information. "Can't claim USB device [09ae:3024]: could not detach kernel driver from interface 0: Operation not permitted" Is probably an issue with NUT grabbing the UPS... can you disconnect and reconnect the USB cable and try again? If that fails, maybe a udev rule will help. Thank you, David Zomaya Tripp Lite <http://www.tripplite.com/> ________________________________ From: Tom Cooper <tom at cooperfamily.xyz<mailto:tom at cooperfamily.xyz>> Sent: Wednesday, May 20, 2020 1:54:20 PM To: David Zomaya Cc: nut-upsuser Subject: Re: [POSSIBLE FRAUD] Re: [Nut-upsuser] [EXTERNAL] Re: Help with Tripp Lite Internet600U David, I appreciate the quick feedback! If I didn't fat finger any of the parameters you sent me, it's still not working. Here's the output from the attempt to start. (BTW - nothing appears in the daemon.log when I use the upsdrvctl command.) pi at elmer:/home/macbackup $ sudo vi /etc/nut/nut.conf pi at elmer:/home/macbackup $ sudo vi /etc/nut/ups.conf pi at elmer:/home/macbackup $ sudo vi /etc/nut/upsd.conf pi at elmer:/home/macbackup $ sudo upsdrvctl start Network UPS Tools - UPS driver controller 2.7.4 Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33 Can't claim USB device [09ae:3024]: could not detach kernel driver from interface 0: Operation not permitted Driver failed to start (exit status=1) Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33 Can't claim USB device [09ae:3024]: could not detach kernel driver from interface 0: Operation not permitted Driver failed to start (exit status=1) Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33 Can't claim USB device [09ae:3024]: could not detach kernel driver from interface 0: Operation not permitted Driver failed to start (exit status=1) ---- On Wed, 20 May 2020 14:03:09 -0400 David Zomaya <David_Zomaya at tripplite.com<mailto:David_Zomaya at tripplite.com>> wrote ---- My thoughts for a test: * Just have MODE=standalone in nut.conf * Put [tripplite] driver = usbhid-ups port = auto productid=3024 desc = "Tripp Lite Internet600U" In ups.conf * Put LISTEN 127.0.0.1 3493 LISTEN ::1 3493 [tripplite] driver = usbhid-ups port = auto in upsd.conf That may be suboptimal but will probably work for a test. Side note: I use "upsdrvctl start/stop" to start and stop the driver. Thank you, David Zomaya Tripp Lite ________________________________ From: Tom Cooper <tom at cooperfamily.xyz<mailto:tom at cooperfamily.xyz>> Sent: Wednesday, May 20, 2020 12:55 PM To: David Zomaya Cc: nut-upsuser Subject: Re: [POSSIBLE FRAUD] Re: [Nut-upsuser] [EXTERNAL] Re: Help with Tripp Lite Internet600U David, That's exciting - but I am not seeing similar results. I *must* be doing something dumb - but I can't see it. I've got nut-2.7.4-8 installed on my pi Hope you can help. Tom pi at elmer:/home/macbackup $ lsusb | grep ipp Bus 001 Device 004: ID 09ae:3024 Tripp Lite pi at elmer:/home/macbackup $ sudo cat /etc/nut/nut.conf # Network UPS Tools: example nut.conf # ############################################################################## # General section ############################################################################## # The MODE determines which part of the NUT is to be started, and which # configuration files must be modified. # # This file try to standardize the various files being found in the field, like # /etc/default/nut on Debian based systems, /etc/sysconfig/ups on RedHat based # systems, ... Distribution's init script should source this file to see which # component(s) has to be started. # # The values of MODE can be: # - none: NUT is not configured, or use the Integrated Power Management, or use # some external system to startup NUT components. So nothing is to be started. # - standalone: This mode address a local only configuration, with 1 UPS # protecting the local system. This implies to start the 3 NUT layers (driver, # upsd and upsmon) and the matching configuration files. This mode can also # address UPS redundancy. # - netserver: same as for the standalone configuration, but also need # some more network access controls (firewall, tcp-wrappers) and possibly a # specific LISTEN directive in upsd.conf. # Since this MODE is opened to the network, a special care should be applied # to security concerns. # - netclient: this mode only requires upsmon. # # IMPORTANT NOTE: # This file is intended to be sourced by shell scripts. # You MUST NOT use spaces around the equal sign! MODE=none [tripplite] driver = usbhid-ups port = auto productid=3024 desc = "Tripp Lite Internet600U" pi at elmer:/home/macbackup $ sudo systemctl start nut-driver Job for nut-driver.service failed because the control process exited with error code. See "systemctl status nut-driver.service" and "journalctl -xe" for details.>From the log file:May 20 13:51:47 elmer systemd[1]: Starting Network UPS Tools - power device driver controller... May 20 13:51:47 elmer upsdrvctl[2658]: This TrippLite device (09ae:3024) is not (or perhaps not yet) supported May 20 13:51:47 elmer upsdrvctl[2658]: by usbhid-ups. Please make sure you have an up-to-date version of NUT. If May 20 13:51:47 elmer upsdrvctl[2658]: this does not fix the problem, try running the driver with the May 20 13:51:47 elmer upsdrvctl[2658]: '-x productid=3024' option. Please report your results to the NUT user's May 20 13:51:47 elmer upsdrvctl[2658]: mailing list <nut-upsuser at lists.alioth.debian.org<mailto:nut-upsuser at lists.alioth.debian.org>>. May 20 13:51:47 elmer upsdrvctl[2658]: Network UPS Tools - Generic HID driver 0.41 (2.7.4) May 20 13:51:47 elmer upsdrvctl[2658]: USB communication driver 0.33 May 20 13:51:47 elmer upsdrvctl[2658]: No matching HID UPS found May 20 13:51:47 elmer upsdrvctl[2658]: Driver failed to start (exit status=1) May 20 13:51:52 elmer upsdrvctl[2658]: This TrippLite device (09ae:3024) is not (or perhaps not yet) supported May 20 13:51:52 elmer upsdrvctl[2658]: by usbhid-ups. Please make sure you have an up-to-date version of NUT. If May 20 13:51:52 elmer upsdrvctl[2658]: this does not fix the problem, try running the driver with the May 20 13:51:52 elmer upsdrvctl[2658]: '-x productid=3024' option. Please report your results to the NUT user's May 20 13:51:52 elmer upsdrvctl[2658]: mailing list <nut-upsuser at lists.alioth.debian.org<mailto:nut-upsuser at lists.alioth.debian.org>>. May 20 13:51:52 elmer upsdrvctl[2658]: Network UPS Tools - Generic HID driver 0.41 (2.7.4) May 20 13:51:52 elmer upsdrvctl[2658]: USB communication driver 0.33 May 20 13:51:52 elmer upsdrvctl[2658]: No matching HID UPS found May 20 13:51:52 elmer upsdrvctl[2658]: Driver failed to start (exit status=1) May 20 13:51:58 elmer upsdrvctl[2658]: This TrippLite device (09ae:3024) is not (or perhaps not yet) supported May 20 13:51:58 elmer upsdrvctl[2658]: by usbhid-ups. Please make sure you have an up-to-date version of NUT. If May 20 13:51:58 elmer upsdrvctl[2658]: this does not fix the problem, try running the driver with the May 20 13:51:58 elmer upsdrvctl[2658]: '-x productid=3024' option. Please report your results to the NUT user's May 20 13:51:58 elmer upsdrvctl[2658]: mailing list <nut-upsuser at lists.alioth.debian.org<mailto:nut-upsuser at lists.alioth.debian.org>>. May 20 13:51:58 elmer upsdrvctl[2658]: Network UPS Tools - Generic HID driver 0.41 (2.7.4) May 20 13:51:58 elmer upsdrvctl[2658]: USB communication driver 0.33 May 20 13:51:58 elmer upsdrvctl[2658]: No matching HID UPS found May 20 13:51:58 elmer systemd[1]: nut-driver.service: Control process exited, code=exited, status=1/FAILURE May 20 13:51:58 elmer upsdrvctl[2658]: Driver failed to start (exit status=1) May 20 13:51:58 elmer upsdrvctl[2658]: Network UPS Tools - UPS driver controller 2.7.4 May 20 13:51:58 elmer systemd[1]: nut-driver.service: Failed with result 'exit-code'. May 20 13:51:58 elmer systemd[1]: Failed to start Network UPS Tools - power device driver controller. ---- On Wed, 20 May 2020 13:46:09 -0400 David Zomaya <David_Zomaya at tripplite.com<mailto:David_Zomaya at tripplite.com>> wrote ---- Tested a Ubuntu 18.04 LTS virtual machine with NUT 2.7.4 and a 3024 protocol Tripp Lite UPS (mine is a INTERNET550U, but same protocol) :/etc/nut$ lsusb | grep Tripp Bus 002 Device 004: ID 09ae:3024 Tripp Lite I it got generally working (outputting reasonable responses to upsc, although there are some issues with variables like frequency) by adding productid=3024 to my ups.conf. Like this: [TrippLiteUPS3024] driver = usbhid-ups port = auto productid=3024 Here is the upsc output: :/etc/nut$ sudo upsc TrippLiteUPS3024 Init SSL without certificate database battery.charge: 100 battery.charge.warning: 30 battery.runtime: 1850 battery.type: PbAc battery.voltage: 0.0 battery.voltage.nominal: 12.0 device.mfr: Tripp Lite device.model: INTERNET550U device.serial: 2951EVLBC87B503245 device.type: ups driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: auto driver.parameter.productid: 3024 driver.parameter.synchronous: no driver.version: 2.7.4 driver.version.data: TrippLite HID 0.82 driver.version.internal: 0.41 input.frequency: 6010.0 input.transfer.high: 145.0 input.transfer.low: 95.0 input.voltage: 0.0 input.voltage.nominal: 120 output.current: 0.0 output.frequency: 6010.0 output.frequency.nominal: 60 output.voltage: 0.0 output.voltage.nominal: 120 ups.beeper.status: disabled ups.delay.shutdown: 20 ups.delay.start: 30 ups.load: 0 ups.mfr: Tripp Lite ups.model: INTERNET550U ups.power: 0.0 ups.power.nominal: 550 ups.productid: 3024 ups.serial: 2951EVLBC87B503245 ups.status: OL ups.timer.reboot: 65535 ups.timer.shutdown: 65535 ups.timer.start: 65535 ups.vendorid: 09ae ups.watchdog.status: 0 :/etc/nut$ Tom: Let me know if this helps you. List in general: would this help solve general 3024 issues? Thank you, David Zomaya Tripp Lite<http://www.tripplite.com/> ________________________________ From: Nut-upsuser <nut-upsuser-bounces+david_zomaya=tripplite.com at alioth-lists.debian.net<mailto:tripplite.com at alioth-lists.debian.net>> on behalf of David Zomaya Sent: Wednesday, May 20, 2020 8:49 AM To: Tom Cooper Cc: nut-upsuser Subject: [POSSIBLE FRAUD] Re: [Nut-upsuser] [EXTERNAL] Re: Help with Tripp Lite Internet600U Will do. Ball in my court for now. Thank you, David Zomaya Tripp Lite<http://www.tripplite.com/> ________________________________ From: Tom Cooper <tom at cooperfamily.xyz<mailto:tom at cooperfamily.xyz>> Sent: Wednesday, May 20, 2020 8:47:28 AM To: David Zomaya Cc: nut-upsuser Subject: Re: [EXTERNAL] Re: [Nut-upsuser] Help with Tripp Lite Internet600U That would be great. If there is something I can do to collect data or troubleshoot, please let me know. ---- On Wed, 20 May 2020 08:51:14 -0400 David Zomaya <David_Zomaya at tripplite.com<mailto:David_Zomaya at tripplite.com>> wrote ---- I'm still working remotely, but I should be able to get something set up soon. I'll reply all here once I have something to report. Thank you, David Zomaya Tripp Lite<http://www.tripplite.com/> ________________________________ From: Tom Cooper <tom at cooperfamily.xyz<mailto:tom at cooperfamily.xyz>> Sent: Wednesday, May 20, 2020 7:48:32 AM To: David Zomaya Cc: nut-upsuser Subject: Re: [EXTERNAL] Re: [Nut-upsuser] Help with Tripp Lite Internet600U I'm running Raspbian Buster, but given that the error seems to be "higher order" than a hardware issue - one of parsing the protocol? I suspect that Ubuntu would be a decent "lookalike" to model the issue. ---- On Tue, 19 May 2020 22:31:56 -0400 David Zomaya <David_Zomaya at tripplite.com<mailto:David_Zomaya at tripplite.com>> wrote ---- If I installed and tested against Ubuntu, how useful would that be in general and in this specific case? I think we've seen a few reports of issues with the newer 3024 protocols and I'd like to help get them sorted out. Thank you, David Zomaya Tripp Lite ________________________________ From: Nut-upsuser <nut-upsuser-bounces+david_zomaya=tripplite.com at alioth-lists.debian.net<mailto:tripplite.com at alioth-lists.debian.net>> on behalf of Charles Lepple <clepple at gmail.com<mailto:clepple at gmail.com>> Sent: Tuesday, May 19, 2020 9:24 PM To: Tom Cooper Cc: nut-upsuser Subject: [EXTERNAL] Re: [Nut-upsuser] Help with Tripp Lite Internet600U This is an EXTERNAL email. Please take a moment and think before clicking any links or opening any attachments from this email. If suspicious, please forward to ishelpdesk at tripplite.com<mailto:ishelpdesk at tripplite.com> for review. ______________________________________________________________________ On May 19, 2020, at 9:21 PM, Tom Cooper <tom at cooperfamily.xyz<mailto:tom at cooperfamily.xyz>> wrote:> > Bus 001 Device 004: ID 09ae:3024 Tripp Lite >We have only had reports of success with protocol 2010 of INTERNET600U (which would be 09ae:2010 in lsusb). More details: https://urldefense.proofpoint.com/v2/url?u=https-3A__alioth-2Dlists.debian.net_pipermail_nut-2Dupsuser_2020-2DApril_011803.html&d=DwIGaQ&c=f9s1WCuF-N6cmD_YaZ7gBg&r=lhr3k4au5dVQgHY_iS-v_t9g8PHVkn8Px_wyaupZGfQ&m=PY3fmIYRp20XyPJAWtuIoMta82maER1CGSdOB3x6HEM&s=9Ri1IbEOy_cyZZctw4a1IFxUMKAIwhu2xTRnjanyorI&e _______________________________________________ Nut-upsuser mailing list Nut-upsuser at alioth-lists.debian.net<mailto:Nut-upsuser at alioth-lists.debian.net> https://urldefense.proofpoint.com/v2/url?u=https-3A__alioth-2Dlists.debian.net_cgi-2Dbin_mailman_listinfo_nut-2Dupsuser&d=DwIGaQ&c=f9s1WCuF-N6cmD_YaZ7gBg&r=lhr3k4au5dVQgHY_iS-v_t9g8PHVkn8Px_wyaupZGfQ&m=PY3fmIYRp20XyPJAWtuIoMta82maER1CGSdOB3x6HEM&s=374XOzWi2asZji_KmGBZFGWtzgxtuHrjfrzcGP8Fsvw&e_______________________________________________ Nut-upsuser mailing list Nut-upsuser at alioth-lists.debian.net<mailto:Nut-upsuser at alioth-lists.debian.net> https://urldefense.proofpoint.com/v2/url?u=https-3A__alioth-2Dlists.debian.net_cgi-2Dbin_mailman_listinfo_nut-2Dupsuser&d=DwIGaQ&c=f9s1WCuF-N6cmD_YaZ7gBg&r=lhr3k4au5dVQgHY_iS-v_t9g8PHVkn8Px_wyaupZGfQ&m=PY3fmIYRp20XyPJAWtuIoMta82maER1CGSdOB3x6HEM&s=374XOzWi2asZji_KmGBZFGWtzgxtuHrjfrzcGP8Fsvw&e________________________________ This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information. ________________________________ This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information. ________________________________ This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information. ________________________________ This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information. ________________________________ This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information. ________________________________ This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information. ________________________________ This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20200521/8276e330/attachment-0001.html>
Maybe Matching Threads
- [POSSIBLE FRAUD] Re: [EXTERNAL] Re: Help with Tripp Lite Internet600U
- [POSSIBLE FRAUD] Re: [EXTERNAL] Re: Help with Tripp Lite Internet600U
- [POSSIBLE FRAUD] Re: [EXTERNAL] Re: Help with Tripp Lite Internet600U
- [POSSIBLE FRAUD] Re: [EXTERNAL] Re: Help with Tripp Lite Internet600U
- [POSSIBLE FRAUD] Re: [EXTERNAL] Re: Help with Tripp Lite Internet600U