Re: [Nut-upsuser] Cyberpower model numbers in the HCL

2017-11-13 Thread Christoph Lampl
Hey,

I had the CP1500EPFCLCD running for a few months. It was recognized accordingly 
using usbhid-driver. It was a good ups :)

Cheers,
Chris


-Ursprüngliche Nachricht-
Von: Nut-upsuser 
[mailto:nut-upsuser-bounces+chris=weeone...@lists.alioth.debian.org] Im Auftrag 
von Sam Varshavchik
Gesendet: Sonntag, 12. November 2017 16:08
An: nut-upsuser@lists.alioth.debian.org
Betreff: [Nut-upsuser] Cyberpower model numbers in the HCL

Anyone familiar with Cyberpower's model numbers?

I finally got sick of my Tripplite's USB port going south, all the time, so I'm 
looking to replace it.

The HCL has an entry for a Cyberpower model CP1500AVRLCD. Not listed is the 
CP1500PFCLCD model, a newer, premium version of the unit; but the HCL does have 
an entry for the CP1000PFCLCD model.

Pretty sure that the CP1500PFCLCD will work; but figure I ask if anyone knows 
for sure.

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Re: [Nut-upsuser] Cyberpower PR2200ELCDRT2U

2017-11-10 Thread Christoph Lampl
   
Value: 206  



[ups.delay.shutdown]

Description unavailable 

Type: STRING

Maximum length: 10  

Value: 20   



[ups.delay.start]   

Description unavailable 

Type: STRING

Maximum length: 10  

Value: 30

---

However, I have to admit, I'm unsure, if all this output is sufficient and 
correctly? As far as I remember, when using my old CP1500, there was some sort 
of status message showing that the link between FreeNAS and the battery was 
established successfully, however, the only thing I receive now at this point 
is "upsmon parent: read". I'm a bit unsure, what this means?

Thanks so much for all your help!

Cheers,
Chris





-Ursprüngliche Nachricht-
Von: Charles Lepple [mailto:clep...@gmail.com] 
Gesendet: Freitag, 10. November 2017 15:00
An: Christoph Lampl <ch...@weeone.de>
Cc: nut-upsuser@lists.alioth.debian.org
Betreff: Re: [Nut-upsuser] Cyberpower PR2200ELCDRT2U

[please use reply-all to include the list. thanks!]

> On Nov 9, 2017, at 9:19 PM, Christoph Lampl <ch...@weeone.de> wrote:
> 
> Hey guys, :)
>  
> recently, I installed Cyberpower PR2200ELCDRT2U, however, I have not managed 
> to get this UPS working with FreeNAS 11, yet.
>  
> According to compatibility list, PR2200 should work fine, when using 
> powerpanel driver:
> http://networkupstools.org/ddl/Cyber_Power_Systems/
> http://networkupstools.org/ddl/Cyber_Power_Systems/PR2200.html

Looking at the PR6000LCD... entry, it looks like PR*LCD models might be 
different than the older PR* ones.

What do you get from "sudo usbconfig dump_device_desc"? (You can trim any 
non-UPS data - I'm mostly interested in idVendor and idProduct. Also, if you 
don't want to share the full serial number, it would be good to know how many 
characters there are.)

I suspect this UPS will work with the usbhid-ups driver, or if not, it can be 
made to work with minor NUT configuration changes. I forget how you choose a 
"generic" USB connection in FreeNAS - maybe someone else can chime in on that 
point?

> However, when trying to establish a connection between battery and FreeNAS 
> Server, either using usb cable or serial cable, I receive the same error 
> messages in the console of FreeNAS:
>  
> Nov 10 03:01:37 storageunit root: /usr/local/etc/rc.d/nut: WARNING: 
> failed precmd routine for nut

^ This command probably indicates that the NUT driver failed to start, so the 
NUT upsd process probably will not start, either.

> Nov 10 03:01:37 storageunit upsmon[8817]: UPS [PR2200ELCDRT2U]: 
> connect failed: Connection failure: Connection refused Nov 10 03:01:37 
> storageunit upsmon[8817]: Communications with UPS PR2200ELCDRT2U lost

^ upsmon "Connection refused" errors (on FreeNAS, or other connections to 
localhost) are usually a consequence of upsd not starting, so this should 
resolve itself once you can get the driver running.

> I tried connecting to PR2200 using a Laptop with preinstalled Cyberpower 
> Personal Edition. Everything is working fine at this point and the software 
> displays battery details correctly! However, as soon as I try to establish a 
> connection between FreeNAS and Cyberpower PR2200, I receive these error 
> messages. I spent many hours in reconfiguring and trying new/different ports, 
> however, it looks like I’m going in the wrong direction, because I can’t get 
> this battery communicating with FreeNAS correctly.

I doubt this will be an issue here, b

Re: [Nut-upsuser] Cyberpower PR2200ELCDRT2U [HCL]

2017-11-13 Thread Christoph Lampl
Dear Charles,

thanks for all your information.

By using usbhid-driver we tested PR2200ELCDRT2U. FreeNAS was receiving "ONBATT" 
successfully and also initiated it's graceful shutdown!

So thanks for your information! :) I'm happy that it works!

Cheers,
Chris


-Ursprüngliche Nachricht-
Von: Charles Lepple [mailto:clep...@gmail.com] 
Gesendet: Sonntag, 12. November 2017 21:12
An: Christoph Lampl <ch...@weeone.de>
Cc: nut-upsuser@lists.alioth.debian.org
Betreff: Re: [Nut-upsuser] Cyberpower PR2200ELCDRT2U [HCL]

On Nov 10, 2017, at 5:31 PM, Christoph Lampl <ch...@weeone.de> wrote:
> 
> Dear Charles,
> 
> thanks for your quick answer and your information! I didn't know there is a 
> difference in the PR-series between old and new. So thanks for this valuable 
> information!

Just a lucky guess :-) We tend not to know about changes like this until 
someone reports an issue.
> 
> usbconfig dump_device_desc shows:
> 
> ugen0.2:  at usbus0, cfg=0 md=HOST spd=LOW 
> (1.5Mbps) pwr=ON (50mA)   
> 
>  bLength = 0x0012 
>  
>  bDescriptorType = 0x0001 
>  
>  bcdUSB = 0x0110  
>  
>  bDeviceClass = 0x 
>  
>  bDeviceSubClass = 0x 
>  
>  bDeviceProtocol = 0x 
>  
>  bMaxPacketSize0 = 0x0008 
>  
>  idVendor = 0x0764
>  
>  idProduct = 0x0601   
>  
>  bcdDevice = 0x0200   
>  
>  iManufacturer = 0x0003   
>  
>  iProduct = 0x0001  
>  
>  iSerialNumber = 0x
>  
>  bNumConfigurations = 0x0001
> 
> Right now, I selected " Cyber Power Systems ups 3 OR2200LCDRM2U USB 
> (usbhid-ups)" in the dropdown menu, in order to shift away from 
> powerpanel-driver to usbhid-driver.

Thanks, good to know. PR6000LCDRTXL5U would probably also work.

> However, when choosing this driver, freenas shows this log:
> 
> Nov 10 23:04:45 storageunit upsd[17599]: mainloop: Interrupted system 
> call Nov 10 23:04:45 storageunit upsmon[17621]: upsmon parent: read
> 
> I guess, interrupted system call shows up, because FreeNAS is already trying 
> to "read" a response from the battery from the previous attempt, however is 
> still waiting? So, basically, the output is "upsmon parent: read"... however, 
> this is all and there is no further output. But I think, there should be 
> further output, shouldn't it? (some sort like "link established 
> successfully").

Those are likely from the previous instances of upsd and upsmon - they look 
like the "errors" you get from sending SIGTERM to them.

The UPS drivers send their "connected" message to stdout, and they are not 
consistent about that, either. Pretty sure we have that logged as a bug.

Do you know the lowest syslog level FreeNAS logs by default? (debug, info, 
notice, etc. - see 
https://www.freebsd.org/cgi/man.cgi?query=syslog=3=0 for the 
list, and it might be in /etc/syslog.conf)

> Meanwhile I tried connecting the UPS PR2200ELCDRT2U to pfSense system. 
> However, I'm receiving the same error there, too.
> 
> Nov 10 13:59:45   upsmon   49323   Poll UPS 
> [PR2200ELCDRT2U] failed - Driver not connected
> Nov 10 13:59:40   upsmon   49323   UPS PR2200ELCDRT2U 
> is unavailable
> Nov 10 13:59:40   upsmon   49323   Poll UPS 
> [PR2200ELCDRT2U] failed - Driver not connected
> Nov 10 13:59:35   upsmon   49323   Communications 
> with UPS PR2200ELCDRT2U lost
> Nov 10 13:59:35  

[Nut-upsuser] Cyberpower PR2200ELCDRT2U

2017-11-09 Thread Christoph Lampl
Hey guys, :)

recently, I installed Cyberpower PR2200ELCDRT2U, however, I have not managed to 
get this UPS working with FreeNAS 11, yet.

According to compatibility list, PR2200 should work fine, when using powerpanel 
driver:
http://networkupstools.org/ddl/Cyber_Power_Systems/
http://networkupstools.org/ddl/Cyber_Power_Systems/PR2200.html

However, when trying to establish a connection between battery and FreeNAS 
Server, either using usb cable or serial cable, I receive the same error 
messages in the console of FreeNAS:

Nov 10 03:01:37 storageunit root: /usr/local/etc/rc.d/nut: WARNING: failed 
precmd routine for nut
Nov 10 03:01:37 storageunit upsmon[8817]: UPS [PR2200ELCDRT2U]: connect failed: 
Connection failure: Connection refused
Nov 10 03:01:37 storageunit upsmon[8817]: Communications with UPS 
PR2200ELCDRT2U lost
Nov 10 03:01:42 storageunit upsmon[8817]: UPS [PR2200ELCDRT2U]: connect failed: 
Connection failure: Connection refused
Nov 10 03:01:42 storageunit upsmon[8817]: UPS PR2200ELCDRT2U is unavailable
Nov 10 03:01:47 storageunit upsmon[8817]: UPS [PR2200ELCDRT2U]: connect failed: 
Connection failure: Connection refused
Nov 10 03:01:52 storageunit upsmon[8817]: UPS [PR2200ELCDRT2U]: connect failed: 
Connection failure: Connection refused
Nov 10 03:01:57 storageunit upsmon[8817]: UPS [PR2200ELCDRT2U]: connect failed: 
Connection failure: Connection refused
Nov 10 03:02:03 storageunit upsmon[8817]: UPS [PR2200ELCDRT2U]: connect failed: 
Connection failure: Connection refused
Nov 10 03:02:08 storageunit upsmon[8817]: UPS [PR2200ELCDRT2U]: connect failed: 
Connection failure: Connection refused
Nov 10 03:02:13 storageunit upsmon[8817]: UPS [PR2200ELCDRT2U]: connect failed: 
Connection failure: Connection refused
Nov 10 03:02:18 storageunit upsmon[8817]: UPS [PR2200ELCDRT2U]: connect failed: 
Connection failure: Connection refused
Nov 10 03:02:23 storageunit upsmon[8817]: UPS [PR2200ELCDRT2U]: connect failed: 
Connection failure: Connection refused

I tried connecting to PR2200 using a Laptop with preinstalled Cyberpower 
Personal Edition. Everything is working fine at this point and the software 
displays battery details correctly! However, as soon as I try to establish a 
connection between FreeNAS and Cyberpower PR2200, I receive these error 
messages. I spent many hours in reconfiguring and trying new/different ports, 
however, it looks like I'm going in the wrong direction, because I can't get 
this battery communicating with FreeNAS correctly.

I appreciate all your help and would be thankful for any hint or tipp. Are 
there any certain drivers I should test? I need to get this battery working...

Thanks so much for all your efforts!
Cheers, Chris

OS Name and Version: FreeNAS 11.0U4, no custom modifications
Cyberpower PR2200 Firmware: 4.520
RMCARD205 Firmware: 1.0.9

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser