On 11/10/2016 07:12 PM, hyo...@gmail.com wrote: > 2016-11-09 14:57 GMT+01:00 Lars de Bruin <l...@larsdebruin.net>: >> - The device never re-connects to the system, i have to physically remove >> the USB plug and insert it again for the device to come back. This is my log with a Tripplite SMART1500LCDT on CentOS-6 with nut-2.6.5, also disconnecting with the same timing:
Nov 6 09:54:18 fairfax kernel: hub 1-1.1.1:1.0: port 4 disabled by hub (EMI?), re-enabling... Nov 6 09:54:18 fairfax kernel: usb 1-1.1.1.4: USB disconnect, device number 14 Nov 6 09:54:21 fairfax named[28979]: transfer of 'neo/IN' from 2002:cfc0:470d::1#53: failed to connect: timed out Nov 6 09:54:21 fairfax named[28979]: transfer of 'neo/IN' from 2002:cfc0:470d::1#53: Transfer completed: 0 messages, 0 records, 0 bytes, 63.000 secs (0 bytes/sec) Nov 6 09:54:22 fairfax kernel: hub 1-1.1.1:1.0: Cannot enable port 4. Maybe the USB cable is bad? Nov 6 09:54:26 fairfax kernel: hub 1-1.1.1:1.0: Cannot enable port 4. Maybe the USB cable is bad? ... Nov 6 09:54:34 fairfax kernel: hub 1-1.1.1:1.0: unable to enumerate USB device on port 4 No, the cable is not bad. While not really solving the problem, I was able to work around it by removing power from the USB port under software control. This keeps the UPS online while unattended. https://gathman.org/2016/07/30/Standard_Schmandard/ https://github.com/sdgathman/trippfix If you have a hub with power control (list here: https://github.com/sdgathman/trippfix#hubs-known-to-work), you can give it a try. The package uses upssched to append to a file, and incrond to then run a script to cycle the port power as root. I switched to hub-ctrl from hubpower because the former has a GPL license. Here is a log of the disconnects: 2016-08-27 23:23:56 NOCOMM 2016-08-30 14:38:21 NOCOMM 2016-08-30 15:25:34 NOCOMM 2016-08-30 15:41:40 NOCOMM 2016-09-02 08:41:37 NOCOMM 2016-09-04 02:08:26 NOCOMM 2016-09-09 23:57:25 NOCOMM 2016-09-10 17:02:54 NOCOMM 2016-09-10 22:30:40 NOCOMM 2016-09-15 04:36:36 NOCOMM 2016-09-15 19:43:25 NOCOMM 2016-09-17 20:21:20 NOCOMM 2016-09-19 13:54:36 NOCOMM 2016-09-19 14:00:59 NOCOMM 2016-09-19 15:03:51 NOCOMM 2016-09-22 19:10:20 NOCOMM 2016-09-22 22:41:21 NOCOMM 2016-09-23 20:06:56 NOCOMM 2016-09-30 00:12:17 NOCOMM 2016-09-30 16:43:56 NOCOMM 2016-10-01 03:16:23 NOCOMM 2016-10-02 22:20:32 NOCOMM 2016-10-06 23:11:42 NOCOMM 2016-10-10 02:03:32 NOCOMM 2016-10-12 17:24:27 NOCOMM 2016-10-14 06:32:10 NOCOMM 2016-10-16 20:23:02 NOCOMM 2016-10-16 21:47:42 NOCOMM 2016-10-21 01:04:48 NOCOMM 2016-10-23 05:07:29 NOCOMM 2016-10-23 13:32:40 NOCOMM 2016-10-26 06:43:35 NOCOMM 2016-10-26 13:03:26 NOCOMM 2016-10-26 17:43:27 NOCOMM 2016-10-28 21:19:33 NOCOMM 2016-10-29 06:10:25 NOCOMM 2016-10-30 23:08:29 NOCOMM 2016-11-02 11:58:55 NOCOMM 2016-11-04 11:31:14 NOCOMM 2016-11-06 09:54:44 NOCOMM 2016-11-09 01:45:53 NOCOMM 2016-11-09 08:47:48 NOCOMM 2016-11-09 17:02:52 NOCOMM _______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser