usbhid-ups Connection failure: Connection refused

Richard Durso

Explorer
Joined
Jan 30, 2014
Messages
70
UPS: Tripp Lite SMART 1500LCDT USB
FreeNAS: 9.3-STABBLE-201508250051

I thought this was on the supported device list... off by 1 letter (SMART 1500LCD is on list). Naturally I tried some of the drivers anyway. The port looks fine:
Code:
# sbconfig | grep ugen0.4
ugen0.4: <TRIPP LITE UPS Tripp Lite> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA)


But I get a connection refused messages in the logs when I try to start the UPS service which seems odd.
Code:
Sep 10 19:57:38 freenas notifier: Starting nut_upslog.
Sep 10 19:57:38 freenas notifier: Warning: initial connect failed: Connection failure: Connection refused
Sep 10 19:57:39 freenas notifier: Stopping nut_upslog.
Sep 10 19:57:39 freenas notifier: Waiting for PIDS: 49900.
Sep 10 19:57:39 freenas notifier: Stopping nut_upsmon.


I get an email that simply states "COMMBAD - ups".

I tried all these drivers:
  • Tripp Lite UPS3 SMART 1500LCD (protocol 2009)
  • Tripp Lite UPS3 SMART 1500LCDXL (protocol 2012)
  • Tripp Lite UPS2 1500 LCD USB
  • Tripp Lite UPS1 SmartOnline (Tripplitesu)
I'm curious if I have something besides a driver problem with the "Connection refused" message.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Try a generic usbhid driver?
 

Richard Durso

Explorer
Joined
Jan 30, 2014
Messages
70
I didn't see anything in the drop down list as "generic". I saw some which started with "Various" but none of them referenced "usbhid". Is there something specific I should be looking for?

Tried changing port to "auto" since apparently you don't need to be specific with the usbhid-ups driver.

No matter what changes I make consistently get " Warning: initial connect failed: Connection failure: Connection refused".

Full log:
Code:
Sep 11 09:17:08 freenas notifier: nut not running? (check /var/db/nut/upsd.pid).
Sep 11 09:17:08 freenas notifier: nut_upsmon not running? (check /var/db/nut/upsmon.pid).
Sep 11 09:17:08 freenas notifier: nut_upslog not running? (check /var/db/nut/upslog.pid).
Sep 11 09:17:08 freenas notifier: Will not 'restart' nut because nut_enable is NO.
Sep 11 09:17:08 freenas notifier: Will not 'restart' nut_upsmon because nut_upsmon_enable is NO.
Sep 11 09:17:08 freenas notifier: Will not 'restart' nut_upslog because nut_upslog_enable is NO.
Sep 11 09:17:35 freenas notifier: Network UPS Tools - Generic HID driver 0.39 (2.7.3)
Sep 11 09:17:35 freenas notifier: USB communication driver 0.32
Sep 11 09:17:35 freenas notifier: No matching HID UPS found
Sep 11 09:17:35 freenas notifier: Driver failed to start (exit status=1)
Sep 11 09:17:35 freenas notifier: Network UPS Tools - UPS driver controller 2.7.3
Sep 11 09:17:35 freenas root: /usr/local/etc/rc.d/nut: WARNING: failed precmd routine for nut
Sep 11 09:17:35 freenas notifier: /usr/local/etc/rc.d/nut: WARNING: failed precmd routine for nut
Sep 11 09:17:35 freenas notifier: Starting nut_upsmon.
Sep 11 09:17:35 freenas notifier: kill: No such process
Sep 11 09:17:35 freenas notifier: UPS: ups (master) (power value 1)
Sep 11 09:17:35 freenas notifier: Using power down flag file /etc/killpower
Sep 11 09:17:35 freenas upsmon[8941]: UPS [ups]: connect failed: Connection failure: Connection refused
Sep 11 09:17:35 freenas upsmon[8941]: Communications with UPS ups lost
   
Broadcast Message from root@freenas.localdomain   
  (no tty) at 9:17 EDT...   
   
Communications with UPS ups lost   
   
Sep 11 09:17:35 freenas notifier: Starting nut_upslog.
Sep 11 09:17:35 freenas notifier: Warning: initial connect failed: Connection failure: Connection refused
Sep 11 09:17:36 freenas notifier: Stopping nut_upslog.
Sep 11 09:17:36 freenas notifier: Waiting for PIDS: 8961.
Sep 11 09:17:37 freenas notifier: Stopping nut_upsmon.
Sep 11 09:18:00 freenas upsmon[8940]: upsmon parent: read
Sep 11 09:18:01 freenas notifier: Waiting for PIDS: 8941, 8941, 8941, 8941, 8941, 8941, 8941, 8941, 8941, 8941, 8941, 8941, 8941, 8941, 8941, 8941, 8941, 8941, 8941, 8941, 8941, 8941, 8941, 8941, 8941.
Sep 11 09:18:01 freenas notifier: nut not running? (check /var/db/nut/upsd.pid).
 

Richard Durso

Explorer
Joined
Jan 30, 2014
Messages
70
BTW - The nightly freenas security report had a reference to the UPS. Include it here in case any of these numbers are useful:

ugen0.4: <Tripp Lite> at usbus0
uhid0: <Tripp Lite TRIPP LITE UPS, class 0/0, rev 1.10/0.02, addr 4> on usbus0
 

Richard Durso

Explorer
Joined
Jan 30, 2014
Messages
70

1TrueStoney

Cadet
Joined
Jul 14, 2017
Messages
3
This is the last in a long line of threads that end with ... no answers. Has anyone had this device working properly? Should I just send it back before it's too late?
 

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479
This is the last in a long line of threads that end with ... no answers. Has anyone had this device working properly? Should I just send it back before it's too late?
This model is shown on their website and has over 130 reviews and no mention of FreeNAS in any of those posts.
That's usually not a good sign...
 

rudyamid

Cadet
Joined
Nov 6, 2018
Messages
7
It's not working for me, and I'm on the latest freenas 12rc2.

I'm going to have to plug it back into Windows.
 

GrahamBB

Explorer
Joined
Sep 6, 2014
Messages
77
I have the same issue, cannot get it to work :-(
 
Top