----- On Sep 23, 2015, at 9:26 AM, Charles Lepple clepple at gmail.com wrote:> On Sep 23, 2015, at 9:22 AM, Louis G. <louis at frentzgzesh.info> 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 at 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 at localhost] >> 0.005103 UPS [Blob at 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 at gmailI 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. -------------- next part -------------- A non-text attachment was scrubbed... Name: usbhid.log Type: text/x-log Size: 11601 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20150923/1310e9e5/attachment.bin>
On Sep 23, 2015, at 9:39 AM, Louis G. <louis at frentzgzesh.info> wrote:> > The output was also not as big as you made it out to be.Well, I didn't expect the driver to fail *that* badly :-) Assuming the UPS is still at /dev/ugen4.2, can you try the following command? (Probably needs to be run as root, with the driver stopped.) usbconfig -u 4 -a 2 dump_curr_config_desc -- Charles Lepple clepple at gmail
>> >> The output was also not as big as you made it out to be. > > Well, I didn't expect the driver to fail *that* badly :-) > > Assuming the UPS is still at /dev/ugen4.2, can you try the following command? (Probably needs to be run as root, with the driver stopped.) > > usbconfig -u 4 -a 2 dump_curr_config_descHere is output of the command. Thank you for your help with this. ugen4.2: <product 0x0601 CyberPower Systems> at usbus4, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (50mA) Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0029 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x00e0 bMaxPower = 0x0019 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x0003 <HID device> bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0000 iInterface = 0x0000 <no string> Additional Descriptor bLength = 0x09 bDescriptorType = 0x21 bDescriptorSubType = 0x10 RAW dump: 0x00 | 0x09, 0x21, 0x10, 0x01, 0x21, 0x01, 0x22, 0x90, 0x08 | 0x02 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0003 <INTERRUPT> wMaxPacketSize = 0x0008 bInterval = 0x000a bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0002 <OUT> bmAttributes = 0x0003 <INTERRUPT> wMaxPacketSize = 0x0008 bInterval = 0x0014 bRefresh = 0x0000 bSynchAddress = 0x0000 Joe Gzesh Sent from Zimbra Open Source Mail Server. Hosted at my House. Ask me how to set up your own Zimbra server. ----- Original Message ----- From: "Charles Lepple" <clepple at gmail.com> To: "Joseph Gzesh" <louis at frentzgzesh.info> Cc: nut-upsuser at lists.alioth.debian.org Sent: Wednesday, September 23, 2015 8:04:37 PM Subject: Re: [Nut-upsuser] FreeBSD backed with a PR1500LCDRT2U On Sep 23, 2015, at 9:39 AM, Louis G. <louis at frentzgzesh.info> wrote:> > The output was also not as big as you made it out to be.Well, I didn't expect the driver to fail *that* badly :-) Assuming the UPS is still at /dev/ugen4.2, can you try the following command? (Probably needs to be run as root, with the driver stopped.) usbconfig -u 4 -a 2 dump_curr_config_desc -- Charles Lepple clepple at gmail