----- On Sep 23, 2015, at 9:26 AM, Charles Lepple [email protected] wrote:

> On Sep 23, 2015, at 9:22 AM, Louis G. <[email protected]> wrote:
>> 
>> >Can you open up a root shell, kill the old `usbhid-ups` process, and run it 
>> >from
>> >the command line?
>> >
>> >   /usr/local/libexec/nut/usbhid-ups -a ups -DDD
>> >
>> >(Adjust the "-a ups" for the name that NAS4Free uses.)
>> >
>> >It will indefinitely, but we only need about the first 30 seconds. Please 
>> >gzip
>> >the output before posting to the list. Also, please use reply-all, as this
>> >mailing list does not mangle the reply-to headers.
>>  This is the output from what you asked. The last line keeps repeating. Looks
>>  like the ups is refusing to connect. Not sure how to get it to connect at 
>> this
>>  point. Thank you again for your help so far.
>> 
>>   0.000000    UPS: server@localhost (master) (power value 1)
>>    0.000051    Using power down flag file /var/etc/killpower
>>    0.000138    debug level is '3'
>>    0.004778    Trying to connect to UPS [Blob@localhost]
>>    0.005103    UPS [Blob@localhost]: connect failed: Connection failure: 
>> Connection
>>    refused
> 
> This is the debug output for upsd - the problem is one level down, in the 
> driver
> (usbhid-ups).
> 
> We would need the output from:
> 
> /usr/local/libexec/nut/usbhid-ups -a Blob -DDD
> 
> Again, this can get big, so please redirect to a file, gzip, and attach it.
> 
> --
> Charles Lepple
> clepple@gmail

I attached the output. Sorry about the confusion. It didn't dawn on me that you 
meant the actual name of my UPS and not just ups in the options for the 
command. The output was also not as big as you made it out to be. Let me know 
if you have any more pointers. Thank you again. 

Joe Gzesh 
Sent from Zimbra Open Source Mail Server. Hosted at my House. 
Ask me how to set up your own Zimbra server.
Network UPS Tools - Generic HID driver 0.39 (2.7.3)
USB communication driver 0.32
   0.000000	debug level is '3'
   0.001080	upsdrv_initups...
   0.001967	Checking device (046B/FF10) (/dev/usb//dev/ugen1.2)
   0.036398	- VendorID: 046b
   0.036408	- ProductID: ff10
   0.036413	- Manufacturer: American Megatrends Inc.
   0.036418	- Product: Virtual Keyboard and Mouse
   0.036422	- Serial Number: serial
   0.036427	- Bus: /dev/usb
   0.036431	Trying to match device
   0.036443	Device does not match - skipping
   0.036464	Checking device (0764/0601) (/dev/usb//dev/ugen4.2)
   0.067400	- VendorID: 0764
   0.067410	- ProductID: 0601
   0.067414	- Manufacturer: CyberPower Systems
   0.067419	- Product: unknown
   0.067423	- Serial Number: unknown
   0.067428	- Bus: /dev/usb
   0.067432	Trying to match device
   0.067440	Device matches
   0.067448	nut_usb_set_altinterface: skipped usb_set_altinterface(udev, 0)
   0.071402	Unable to get HID descriptor (Unknown error)
   0.071415	HID descriptor, method 2: (9 bytes) => 09 21 10 01 21 01 22 90 02
   0.071420	HID descriptor length 656
   0.157403	Report Descriptor size = 656
   0.157417	Report Descriptor: (656 bytes) => 05 00 84 00 09 00 04 00 a1 00 01 00 09 00
   0.157431	 24 00 a1 00 00 00 85 00 01 00 09 00 fe 00 75 00 08 00 95 00 01 00 15 00 00
   0.157445	 00 26 00 ff 00 00 00 b1 00 22 00 85 00 02 00 09 00 ff 00 b1 00 22 00 85 00
   0.157459	 03 00 05 00 85 00 09 00 8f 00 b1 00 22 00 85 00 04 00 09 00 89 00 b1 00 22
   0.157472	 00 85 00 05 00 09 00 8b 00 b1 00 22 00 85 00 06 00 09 00 2c 00 b1 00 22 00
   0.157486	 85 00 07 00 75 00 08 00 95 00 05 00 25 00 64 00 09 00 83 00 09 00 8d 00 09
   0.157500	 00 8e 00 09 00 8c 00 09 00 67 00 b1 00 22 00 95 00 01 00 25 00 5a 00 15 00
   0.157514	 0a 00 09 00 29 00 b1 00 22 00 25 00 64 00 15 00 00 00 85 00 08 00 75 00 08
   0.157527	 00 65 00 00 00 09 00 66 00 81 00 22 00 09 00 66 00 b1 00 a2 00 09 00 68 00
   0.157541	 75 00 10 00 27 00 ff 00 ff 00 00 00 00 00 66 00 01 00 10 00 81 00 22 00 09
   0.157555	 00 68 00 b1 00 a2 00 09 00 2a 00 26 00 58 00 02 00 81 00 22 00 09 00 2a 00
   0.157569	 b1 00 a2 00 85 00 09 00 75 00 10 00 27 00 ff 00 ff 00 00 00 00 00 05 00 84
   0.157582	 00 09 00 40 00 67 00 21 00 d1 00 f0 00 00 00 55 00 06 00 b1 00 22 00 85 00
   0.157596	 0a 00 09 00 30 00 b1 00 a2 00 65 00 00 00 55 00 00 00 09 00 02 00 a1 00 02
   0.157610	 00 85 00 0b 00 75 00 01 00 95 00 06 00 25 00 01 00 05 00 85 00 09 00 d0 00
   0.157624	 09 00 44 00 09 00 45 00 09 00 42 00 09 00 46 00 09 00 43 00 81 00 22 00 09
   0.157638	 00 d0 00 09 00 44 00 09 00 45 00 09 00 42 00 09 00 46 00 09 00 43 00 b1 00
   0.157652	 a2 00 75 00 02 00 95 00 01 00 81 00 01 00 b1 00 01 00 c0 00 85 00 0c 00 05
   0.157666	 00 84 00 09 00 5a 00 75 00 08 00 15 00 01 00 25 00 03 00 b1 00 a2 00 85 00
   0.157680	 0d 00 09 00 fd 00 15 00 00 00 26 00 ff 00 00 00 b1 00 22 00 c0 00 05 00 84
   0.157693	 00 09 00 1a 00 a1 00 00 00 85 00 0e 00 05 00 84 00 09 00 40 00 75 00 08 00
   0.157707	 67 00 21 00 d1 00 f0 00 00 00 55 00 07 00 26 00 82 00 00 00 16 00 6e 00 00
   0.157721	 00 b1 00 22 00 85 00 0f 00 75 00 10 00 09 00 30 00 26 00 ff 00 01 00 15 00
   0.157734	 00 00 b1 00 a2 00 85 00 10 00 75 00 08 00 26 00 5f 00 00 00 16 00 55 00 00
   0.157748	 00 09 00 53 00 b1 00 22 00 75 00 08 00 85 00 11 00 75 00 10 00 26 00 91 00
   0.157762	 00 00 16 00 87 00 00 00 09 00 54 00 b1 00 22 00 c0 00 09 00 1c 00 a1 00 00
   0.157772	 00 85 00 12 00 09 00 30 00 26 00 ff 00 01 00 26 00
   0.157970	Using subdriver: CyberPower HID 0.4
   0.160400	libusb_get_report: Unknown error
   0.160474	Can't retrieve Report 00: Input/output error
   0.160488	Path: 00000000.00000000.00000900, Type: Feature, ReportID: 0x00, Offset: 0, Size: 0
   0.163399	libusb_get_report: Unknown error
   0.163408	Can't retrieve Report 00: Input/output error
   0.163423	Path: 00000000.00000000.00000000.[0].00000000.[0].00000000.[0].b1000900, Type: Feature, ReportID: 0x00, Offset: 0, Size: 0
   0.166398	libusb_get_report: Unknown error
   0.166407	Can't retrieve Report 00: Input/output error
   0.166424	Path: 00000000.00000000.00000000.[0].00000000.[0].00000000.[0].00000000.[0].80000000, Type: Input, ReportID: 0x00, Offset: 0, Size: 0
   0.169399	libusb_get_report: Unknown error
   0.169407	Can't retrieve Report 00: Input/output error
   0.169423	Path: 00000000.00000000.00000000.[0].00000000.[0].00000000.[0].00000000.[0].80000000, Type: Input, ReportID: 0x00, Offset: 0, Size: 0
   0.172399	libusb_get_report: Unknown error
   0.172407	Can't retrieve Report 00: Input/output error
   0.172421	Path: 00000000.00000000.00000000.[0].00000000.[0].00000000.[0].26000000, Type: Feature, ReportID: 0x00, Offset: 0, Size: 0
   0.175398	libusb_get_report: Unknown error
   0.175407	Can't retrieve Report 00: Input/output error
   0.175423	Path: 00000000.00000000.00000000.[0].00000000.[0].00000000.[0].00000000.[0].b0000000, Type: Feature, ReportID: 0x00, Offset: 0, Size: 0
   0.178397	libusb_get_report: Unknown error
   0.178406	Can't retrieve Report 00: Input/output error
   0.178422	Path: 00000000.00000000.00000000.[0].00000000.[0].00000000.[0].00000000.[0].b0000000, Type: Feature, ReportID: 0x00, Offset: 0, Size: 0
   0.181397	libusb_get_report: Unknown error
   0.181406	Can't retrieve Report 00: Input/output error
   0.181422	Path: 00000000.00000000.00000000.[0].00000000.[0].00000000.[0].00000000.[0].b0000000, Type: Feature, ReportID: 0x00, Offset: 0, Size: 0
   0.184398	libusb_get_report: Unknown error
   0.184406	Can't retrieve Report 00: Input/output error
   0.184422	Path: 00000000.00000000.00000000.[0].00000000.[0].00000000.[0].00000000.[0].b0000000, Type: Feature, ReportID: 0x00, Offset: 0, Size: 0
   0.184440	Report descriptor retrieved (Reportlen = 656)
   0.184445	Found HID device
   0.184450	Detected a UPS: CyberPower Systems/unknown
   0.184765	find_nut_info: unknown info type: load.off.delay
   0.184775	find_nut_info: unknown info type: load.on.delay
   0.184782	find_nut_info: unknown info type: load.off.delay
   0.184796	upsdrv_initinfo...
   0.184807	upsdrv_updateinfo...
   0.186409	file_report_buffer: expected 0 bytes, but got 2 instead
   0.186420	Report[err]: (2 bytes) => 0b 13
   0.186426	HIDGetEvents: unexpected input report (ignored)
   0.186430	Got 0 HID objects...
   0.186436	Quick update...
   0.186572	dstate_init: sock /var/db/nut/usbhid-ups-Blob open on fd 6
   0.186592	upsdrv_updateinfo...
   0.194405	file_report_buffer: expected 1 bytes, but got 2 instead
   0.194415	Report[err]: (2 bytes) => 00 13
   0.194421	Got 2 HID objects...
   0.194427	Report[buf]: (1 bytes) => 00
   0.194444	Path: 00000000.00000000.00000000.[0].00000000.[0].00000000.[0].00000000.[0].80000000, Type: Input, ReportID: 0x00, Offset: 0, Size: 0, Value: 0
   0.197401	libusb_get_string: Unknown error
   0.197416	Report[buf]: (1 bytes) => 00
   0.197433	Path: 00000000.00000000.00000000.[0].00000000.[0].00000000.[0].00000000.[0].80000000, Type: Input, ReportID: 0x00, Offset: 0, Size: 0, Value: 0
   0.213396	libusb_get_string: Unknown error
   0.213406	Quick update...
   2.250149	upsdrv_updateinfo...
   2.258361	file_report_buffer: expected 0 bytes, but got 6 instead
   2.258372	Report[err]: (6 bytes) => 08 64 ec 04 50 46
   2.258378	HIDGetEvents: unexpected input report (ignored)
   2.258383	Got 0 HID objects...
   2.258388	Quick update...
   4.280406	upsdrv_updateinfo...
   4.282323	file_report_buffer: expected 0 bytes, but got 2 instead
   4.282336	Report[err]: (2 bytes) => 0b 13
   4.282342	HIDGetEvents: unexpected input report (ignored)
   4.282348	Got 0 HID objects...
   4.282354	Quick update...
   6.300148	upsdrv_updateinfo...
   6.306279	file_report_buffer: expected 0 bytes, but got 2 instead
   6.306293	Report[err]: (2 bytes) => 0b 13
   6.306299	HIDGetEvents: unexpected input report (ignored)
   6.306305	Got 0 HID objects...
   6.306311	Quick update...
   8.425702	upsdrv_updateinfo...
   8.434224	file_report_buffer: expected 0 bytes, but got 6 instead
   8.434236	Report[err]: (6 bytes) => 08 64 ec 04 50 46
   8.434241	HIDGetEvents: unexpected input report (ignored)
   8.434246	Got 0 HID objects...
   8.434252	Quick update...
  10.551117	upsdrv_updateinfo...
  10.554175	file_report_buffer: expected 0 bytes, but got 2 instead
  10.554185	Report[err]: (2 bytes) => 0b 13
  10.554191	HIDGetEvents: unexpected input report (ignored)
  10.554196	Got 0 HID objects...
  10.554201	Quick update...
  12.676884	upsdrv_updateinfo...
  12.682132	file_report_buffer: expected 0 bytes, but got 2 instead
  12.682146	Report[err]: (2 bytes) => 0b 13
  12.682151	HIDGetEvents: unexpected input report (ignored)
  12.682156	Got 0 HID objects...
  12.682164	Quick update...
  14.759991	upsdrv_updateinfo...
  14.762082	file_report_buffer: expected 0 bytes, but got 6 instead
  14.762094	Report[err]: (6 bytes) => 08 64 ec 04 50 46
  14.762099	HIDGetEvents: unexpected input report (ignored)
  14.762104	Got 0 HID objects...
  14.762110	Quick update...
  16.768400	upsdrv_updateinfo...
  16.770038	file_report_buffer: expected 0 bytes, but got 2 instead
  16.770049	Report[err]: (2 bytes) => 0b 13
  16.770055	HIDGetEvents: unexpected input report (ignored)
  16.770060	Got 0 HID objects...
  16.770066	Quick update...
  18.794148	upsdrv_updateinfo...
  18.802006	file_report_buffer: expected 0 bytes, but got 2 instead
  18.802020	Report[err]: (2 bytes) => 0b 13
  18.802026	HIDGetEvents: unexpected input report (ignored)
  18.802031	Got 0 HID objects...
  18.802037	Quick update...
  20.809408	upsdrv_updateinfo...
  20.817952	file_report_buffer: expected 0 bytes, but got 6 instead
  20.817965	Report[err]: (6 bytes) => 08 64 ec 04 50 46
  20.817971	HIDGetEvents: unexpected input report (ignored)
  20.817977	Got 0 HID objects...
  20.817984	Quick update...
  22.820721	upsdrv_updateinfo...
  22.825911	file_report_buffer: expected 0 bytes, but got 2 instead
  22.825925	Report[err]: (2 bytes) => 0b 13
  22.825931	HIDGetEvents: unexpected input report (ignored)
  22.825936	Got 0 HID objects...
  22.825942	Quick update...
  24.946334	upsdrv_updateinfo...
  24.953865	file_report_buffer: expected 0 bytes, but got 2 instead
  24.953880	Report[err]: (2 bytes) => 0b 13
  24.953886	HIDGetEvents: unexpected input report (ignored)
  24.953891	Got 0 HID objects...
  24.953897	Quick update...
  26.954150	upsdrv_updateinfo...
  26.961824	file_report_buffer: expected 0 bytes, but got 6 instead
  26.961841	Report[err]: (6 bytes) => 08 64 ec 04 50 46
  26.961848	HIDGetEvents: unexpected input report (ignored)
  26.961853	Got 0 HID objects...
  26.961859	Quick update...
  29.019147	upsdrv_updateinfo...
  29.025766	file_report_buffer: expected 0 bytes, but got 2 instead
  29.025777	Report[err]: (2 bytes) => 0b 13
  29.025783	HIDGetEvents: unexpected input report (ignored)
  29.025788	Got 0 HID objects...
  29.025794	Quick update...
  31.144549	upsdrv_updateinfo...
  31.145720	file_report_buffer: expected 0 bytes, but got 2 instead
  31.145732	Report[err]: (2 bytes) => 0b 13
  31.145738	HIDGetEvents: unexpected input report (ignored)
  31.145744	Got 0 HID objects...
  31.145750	Full update...
  33.246682	upsdrv_updateinfo...
  33.249671	file_report_buffer: expected 0 bytes, but got 2 instead
  33.249682	Report[err]: (2 bytes) => 0b 13
  33.249688	HIDGetEvents: unexpected input report (ignored)
  33.249693	Got 0 HID objects...
  33.249699	Quick update...

_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to