Chris Duffy
2014-Feb-06 02:03 UTC
[Nut-upsdev] Question on support for Upsonic Commercial UPS CXR 2000 - 2000VA/1200W - Rack/Tower on Freebsd 9.1.
Charles, the out from the command below as well as the system.log file are below your email. It does look like a permission issue but what one? Thx chris On 2/5/14, 6:43 PM, Charles Lepple wrote:> On Feb 5, 2014, at 10:12 AM, Chris Duffy wrote: > >> However, we are using NUT 2.6.5. >> >> Are we missing something by running 2.6.5 rather then >> 2.7.1? If so, I can build/install 2.7.1. > Well, 2.6.5 is from August 2012, so it's not the newest. And eventually, we would like people to switch to the shiny new nutdrv_qx driver which is in 2.7.1. But I'm pretty much guessing here until I see the logs from starting up the driver. For now, let's get the log messages from the 2.6.5 driver, and figure out whether it's something that has definitely been fixed in later versions, or if we need to go to something post-2.7.1 from Git. > > Please run this: > > /usr/local/libexec/nut/blazer_usb -a UPSonic -u root -D > > and send the output back to the list. >Output from the above command: 0.000000 debug level is '1' 0.248714 Supported UPS detected with megatec protocol 1.268575 Permissions problem: Input/output error Network UPS Tools - Megatec/Q1 protocol USB driver 0.09 (2.6.5-Unversioned directory) /var/log/system.log entries but they do not come out as a result of the above command....they just come out in large intervals: Feb 6 12:09:15 smalltree upsmon[3091]: UPS [UPSonic at localhost]: connect failed: Connection failure: Connection refused -- Chris Duffy Product Support Small Tree Communications www.small-tree.com Direct 651-209-6509 X305 Mobil 651-303-9613 Skype:cjdwoodbury Yahoo:chris_duffy6288 AIM/Google:cjdwoodbury at gmail.com
Charles Lepple
2014-Feb-06 03:55 UTC
[Nut-upsdev] Question on support for Upsonic Commercial UPS CXR 2000 - 2000VA/1200W - Rack/Tower on Freebsd 9.1.
On Feb 5, 2014, at 9:03 PM, Chris Duffy wrote:>> Please run this: >> >> /usr/local/libexec/nut/blazer_usb -a UPSonic -u root -D >> >> and send the output back to the list. >> > Output from the above command: > > 0.000000 debug level is '1' > 0.248714 Supported UPS detected with megatec protocol > 1.268575 Permissions problem: Input/output error > Network UPS Tools - Megatec/Q1 protocol USB driver 0.09 (2.6.5-Unversioned directory)Hmm, "Input/output error" is somewhat different than a permissions problem, so this points to some FreeBSD-specific weirdness. Unfortunately, it looks like this has been seen before, with no apparent resolution at the time: http://lists.alioth.debian.org/pipermail/nut-upsuser/2012-December/008164.html Can you try it with -DDDD to see if the error is on the send side? Also, any output from dmesg related to ugen? -- Charles Lepple clepple at gmail
Chris Duffy
2014-Feb-06 13:41 UTC
[Nut-upsdev] Question on support for Upsonic Commercial UPS CXR 2000 - 2000VA/1200W - Rack/Tower on Freebsd 9.1.
On 2/5/14, 9:55 PM, Charles Lepple wrote:> On Feb 5, 2014, at 9:03 PM, Chris Duffy wrote: > >>> Please run this: >>> >>> /usr/local/libexec/nut/blazer_usb -a UPSonic -u root -D >>> >>> and send the output back to the list. >>> >> Output from the above command: >> >> 0.000000 debug level is '1' >> 0.248714 Supported UPS detected with megatec protocol >> 1.268575 Permissions problem: Input/output error >> Network UPS Tools - Megatec/Q1 protocol USB driver 0.09 (2.6.5-Unversioned directory) > Hmm, "Input/output error" is somewhat different than a permissions problem, so this points to some FreeBSD-specific weirdness. Unfortunately, it looks like this has been seen before, with no apparent resolution at the time: > > http://lists.alioth.debian.org/pipermail/nut-upsuser/2012-December/008164.html > > Can you try it with -DDDD to see if the error is on the send side?Here is the new output plus dmesg: /usr/local/libexec/nut/blazer_usb -a UPSonic -u root -DDDD 0.000000 debug level is '4' 0.009364 Checking device (06DA/0005) (/dev/usb//dev/ugen1.3) 0.016405 - VendorID: 06da 0.016419 - ProductID: 0005 0.016438 - Manufacturer: PPC 0.016442 - Product: USB UPS 0.016446 - Serial Number: unknown 0.016449 - Bus: /dev/usb 0.016452 Trying to match device 0.016457 Device matches 0.016485 Trying megatec protocol... 0.017411 send: Q1 0.252545 read: (244.4 244.4 229.9 028 50.0 2.19 23.1 00000001 0.252589 Status read in 1 tries 0.252602 Supported UPS detected with megatec protocol 1.288032 send: Unknown error 1.288085 Permissions problem: Input/output error Network UPS Tools - Megatec/Q1 protocol USB driver 0.09 (2.6.5-Unversioned directory) dmesg output: ugen1.3: <PPC> at usbus1 (disconnected) uhid0: at uhub3, port 1, addr 3 (disconnected) ugen1.3: <PPC> at usbus1 uhid0: <PPC USB UPS, class 0/0, rev 2.00/0.03, addr 3> on usbus1> > Also, any output from dmesg related to ugen? >-- Chris Duffy Product Support Small Tree Communications www.small-tree.com Direct 651-209-6509 X305 Mobil 651-303-9613 Skype:cjdwoodbury Yahoo:chris_duffy6288 AIM/Google:cjdwoodbury at gmail.com
Possibly Parallel Threads
- Question on support for Upsonic Commercial UPS CXR 2000 - 2000VA/1200W - Rack/Tower on Freebsd 9.1.
- Question on support for Upsonic Commercial UPS CXR 2000 - 2000VA/1200W - Rack/Tower on Freebsd 9.1.
- Question on support for Upsonic Commercial UPS CXR 2000 - 2000VA/1200W - Rack/Tower on Freebsd 9.1.
- Question on support for Upsonic Commercial UPS CXR 2000 - 2000VA/1200W - Rack/Tower on Freebsd 9.1.
- Question on support for Upsonic Commercial UPS CXR 2000 - 2000VA/1200W - Rack/Tower on Freebsd 9.1.