Re: [Nut-upsuser] APC BACK UPS 2200 model BZ2200BI-BR

2015-08-20 Thread Charles Lepple
On Aug 20, 2015, at 6:33 PM, Mario Lobo  wrote:
> 
> ** cuaU0
> 
> [>]/usr/local/libexec/nut/solis -D -a lobos -u root
> Network UPS Tools - Microsol Solis UPS driver 0.62 (2.7.3)
>   0.00 debug level is '1'
>  21.065536 Solis not detected! aborting ...

It looks like /dev/cuaU0 is the port that was suggested for a similarly-named 
model last year:

http://article.gmane.org/gmane.comp.monitoring.nut.user/8554

The binary patches mentioned in that thread have been superseded by source code 
chances that are part of NUT 2.7.3.

Unfortunately, as you have seen, the solis driver does not have much debug 
output. What happens when you run it under ktrace?

-- 
Charles Lepple
clepple@gmail




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


Re: [Nut-upsuser] APC BACK UPS 2200 model BZ2200BI-BR

2015-08-20 Thread e430benz98
I am not an expert on this matter but I can tell you I am having issues with 
Freebsd 10.2 with a Tripp Lite ups myself 

Hopefully a dev can look in to FreeBSD 10.2

Sent from my LG G3.

-Original Message-
From: Mario Lobo 
To: nut-upsuser@lists.alioth.debian.org
Sent: Thu, 20 Aug 2015 3:50 PM
Subject: [Nut-upsuser] APC BACK UPS 2200 model BZ2200BI-BR

Hi;

I'm having some trouble to comunicate with my just bought (08/17/15)
Ups. According to SOLIS(8):

SUPPORTED HARDWARE

This driver has been tested with :

Solis 1000 VA
Solis 1500 VA
Solis 2000 VA
Solis 3000 VA
Back-UPS BZ1200-BR
Back-UPS BZ2200BI-BR

So solis is the one to go for.


Here is my scenario:

SW:  nut-2.7.3 (compiled from ports) 
OS:  FreeBSD 10.2-STABLE #2 r286923
UPS: APC BACK UPS 2200 model BZ2200BI-BR (usb interface)
 using a printer-like usb cable (bundled)

When I plug it in, here is what comes up:

ugen1.2:  at usbus1
umodem0:  on usbus1 
umodem0: data interface 1, has no CM over data, has no break


[>]usbconfig list

ugen1.1:  at usbus1, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=SAVE (0mA) 

ugen0.1:  at usbus0, cfg=0
md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA) 

ugen2.1: at usbus2, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE (0mA) 

ugen1.2: at
usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)


And here are the devices I get after pluging it in:

ttyU0
ttyU0.init
ttyU0.lock

cuaU0
cuaU0.init
cuaU0.lock

ugen1.2 (ugen1.2 -> usb/1.2.0)

(no umodem0 device shows)


** ups.conf

[lobos]
  driver = solis
  port = /dev/ttyU0 (or cuaU0, or ugen1.2)


*** RESULTS

** ugen1.2

[>]/usr/local/libexec/nut/solis -D -a lobos -u root
Network UPS Tools - Microsol Solis UPS driver 0.62 (2.7.3)
   0.00 debug level is '1'
   0.001551 tcgetattr(/dev/ugen1.2): Inappropriate ioctl for device

** ttyU0

[>]/usr/local/libexec/nut/solis -D -a lobos -u root
Network UPS Tools - Microsol Solis UPS driver 0.62 (2.7.3)
   0.00 debug level is '1'
  21.249301 Solis not detected! aborting ...

** cuaU0

[>]/usr/local/libexec/nut/solis -D -a lobos -u root
Network UPS Tools - Microsol Solis UPS driver 0.62 (2.7.3)
   0.00 debug level is '1'
  21.065536 Solis not detected! aborting ...


using 'upsdrvctl -t -u root start lobos' yields the same results.


On windows it works with the software that I downloaded for it
but the server is FreeBSD. Windows is just the desktop I use for
occasional audio production.


Would anyone have any pointers of what else I can try to make this
work?

Thanks for any suggestions. 

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since 2.2.8 [not Pro-Audio YET!!]

"UNIX was not designed to stop you from doing stupid things, 
because that would also stop you from doing clever things."

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

[Nut-upsuser] APC BACK UPS 2200 model BZ2200BI-BR

2015-08-20 Thread Mario Lobo
Hi;

I'm having some trouble to comunicate with my just bought (08/17/15)
Ups. According to SOLIS(8):

SUPPORTED HARDWARE

This driver has been tested with :

Solis 1000 VA
Solis 1500 VA
Solis 2000 VA
Solis 3000 VA
Back-UPS BZ1200-BR
Back-UPS BZ2200BI-BR

So solis is the one to go for.


Here is my scenario:

SW:  nut-2.7.3 (compiled from ports) 
OS:  FreeBSD 10.2-STABLE #2 r286923
UPS: APC BACK UPS 2200 model BZ2200BI-BR (usb interface)
 using a printer-like usb cable (bundled)

When I plug it in, here is what comes up:

ugen1.2:  at usbus1
umodem0:  on usbus1 
umodem0: data interface 1, has no CM over data, has no break


[>]usbconfig list

ugen1.1:  at usbus1, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=SAVE (0mA) 

ugen0.1:  at usbus0, cfg=0
md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA) 

ugen2.1: at usbus2, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE (0mA) 

ugen1.2: at
usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)


And here are the devices I get after pluging it in:

ttyU0
ttyU0.init
ttyU0.lock

cuaU0
cuaU0.init
cuaU0.lock

ugen1.2 (ugen1.2 -> usb/1.2.0)

(no umodem0 device shows)


** ups.conf

[lobos]
  driver = solis
  port = /dev/ttyU0 (or cuaU0, or ugen1.2)


*** RESULTS

** ugen1.2

[>]/usr/local/libexec/nut/solis -D -a lobos -u root
Network UPS Tools - Microsol Solis UPS driver 0.62 (2.7.3)
   0.00 debug level is '1'
   0.001551 tcgetattr(/dev/ugen1.2): Inappropriate ioctl for device

** ttyU0

[>]/usr/local/libexec/nut/solis -D -a lobos -u root
Network UPS Tools - Microsol Solis UPS driver 0.62 (2.7.3)
   0.00 debug level is '1'
  21.249301 Solis not detected! aborting ...

** cuaU0

[>]/usr/local/libexec/nut/solis -D -a lobos -u root
Network UPS Tools - Microsol Solis UPS driver 0.62 (2.7.3)
   0.00 debug level is '1'
  21.065536 Solis not detected! aborting ...


using 'upsdrvctl -t -u root start lobos' yields the same results.


On windows it works with the software that I downloaded for it
but the server is FreeBSD. Windows is just the desktop I use for
occasional audio production.


Would anyone have any pointers of what else I can try to make this
work?

Thanks for any suggestions. 

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since 2.2.8 [not Pro-Audio YET!!]

"UNIX was not designed to stop you from doing stupid things, 
because that would also stop you from doing clever things."

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