Re: APCUPSD with Belkin Model F6C900-UNV UPS on FreeBSD 6.2?

2007-05-26 Thread Thanos Rizoulis

O/H L Goodwin έγραψε:

I'm still looking for the right UPS for a server
running FreeBSD 6.2. 


Staples has the Belkin Enterprise Series 900VA UPS
(model F6C900-UNV) on sale for $89.99.

Will apcupsd on FreeBSD 6.2 work with this unit???


Theoretically no 
(http://www.apcupsd.org/manual/Supported_UPSes_Cables.html) unless 
someone with hands-on experience on this unit can say otherwise.



--
RTFM and STFW before anything bad happens
_
Thanos Rizoulis
Electronic Computing Systems Engineer
Larissa, Greece
FreeBSD/PCBSD user
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


APCUPSD with Belkin Model F6C900-UNV UPS on FreeBSD 6.2?

2007-05-24 Thread L Goodwin
I'm still looking for the right UPS for a server
running FreeBSD 6.2. 

Staples has the Belkin Enterprise Series 900VA UPS
(model F6C900-UNV) on sale for $89.99.

Will apcupsd on FreeBSD 6.2 work with this unit???

FYI, I'm posting to freebsd-questions because I've had
zero replies to my posts about three different UPS
brands/models to the apcupsd-user mailing list.


   
Take
 the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos & more. 
http://mobile.yahoo.com/go?refer=1GNXIC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: UPS on FreeBSD

2004-10-08 Thread login

Thanks to all. Now we getin' somewhere

Per the link provided by Robert, I did the followings:

1) re-compile/install the kernel by hashing the uhid device.
# deviceuhid # "Human Interface Devices"
2) reboot the system to launch/verify (uname -a) the newer kernel
3) deinstall apcupsd which was previously installed from /usr/ports
4) download/install this newer beta apcupsd from the link provided 
with ./configure --enable-usb option. Perhaps, this option was not 
on as I noticed that I can not run apcupsd and got this error message:
Most likely, you need to add --enable-usb to your ./configure options.
5) set DEVICE /dev/ugen0 in the apcupsd.conf
6) ran the apcupsd as follows:
/sbin/apcupsd -f /etc/apcupsd/apcupsd.conf --kill-on-powerfail

7) ran apcaccess and here is output:

# apcaccess
APC  : 001,034,0871
DATE : Fri Oct 08 15:39:24 EDT 2004
HOSTNAME : host.domain.com
RELEASE  : 3.10.15
VERSION  : 3.10.15 (26 August 2004) freebsd
UPSNAME  : host.domain.com
CABLE: USB Cable
MODEL: Back-UPS RS 1500
UPSMODE  : Stand Alone
STARTTIME: Fri Oct 08 15:19:58 EDT 2004
STATUS   : ONLINE 
LINEV: 115.0 Volts
LOADPCT  :  10.0 Percent Load Capacity
BCHARGE  : 100.0 Percent
TIMELEFT :  77.4 Minutes
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME  : 0 Seconds
LOTRANS  : 097.0 Volts
HITRANS  : 132.0 Volts
ALARMDEL : Always
BATTV: 26.8 Volts
NUMXFERS : 0
TONBATT  : 0 seconds
CUMONBATT: 0 seconds
XOFFBATT : N/A
SELFTEST : NO
STATFLAG : 0x0208 Status Flag
MANDATE  : 2004-03-20
SERIALNO : JB0412048005  
BATTDATE : 2001-09-25
NOMBATTV :  24.0
FIRMWARE : .g8 .D USB FW:g8 
APCMODEL : Back-UPS RS 1500
END APC  : Fri Oct 08 15:39:26 EDT 2004
# 

8) Next, unplugged the UPS from power outlet, and noticed
STATUS   : ONBATT besides many other factor chaning as time goes by.

9) I also ran apctest and ran all tests/date verifications etc. All
passed. 

Next, I called APC, they are going to send me RJ45 <--> Serial cable for
this UPS. Now I am debating to go with this setup or replace the above cable 
and run apcupsd from /usr/ports/sysutils and go serially.

Thanks Robert again. This was not possible without your kind effort in 
locating the right resources. Special thanks goes to Adam Kropelin for
bringing Beta apcupsd USB driver for FreeBSD. This document will be a good 
start for those who want to have USB based UPS hooked with FreeBSD OS.

S. Mohammad [ [EMAIL PROTECTED] ]

Robert Huff <[EMAIL PROTECTED]> said:

> 
> [EMAIL PROTECTED] writes:
> 
> >  Any thoughts and/or workaround to have UPS working on FreeBSD
> >  especially via USB cable? Thanks!
> 
>   1) apcupsd does not currently support USB connections for
> FreeBSD.
>   2) There is a _beta_ version - availiable at
> "http://sourceforge.net/mailarchive/forum.php?
thread_id=5525131&forum_id=26961"
> that may work.  If you can afford to install and test this version,
> please do so as it will not be added to main apcupsd code-base and
> therefore not be part of the port until more testing occurs.
> 
> 
>   Robert Huff
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: UPS on FreeBSD

2004-10-07 Thread Robert Huff

Chris Howells writes:

>  > 1) apcupsd does not currently support USB connections for
>  > FreeBSD.
>  
>  APC used to send out the serial equivalent for free, I guess they
>  still do...

APC has PowerChute Personal Edition for Windows (and possible
Mac) available on their website; it only covers USB devices.


Robert Huff






___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: UPS on FreeBSD

2004-10-07 Thread Chris Howells
On Thursday 07 October 2004 21:43, Robert Huff wrote:
> 1) apcupsd does not currently support USB connections for
> FreeBSD.

APC used to send out the serial equivalent for free, I guess they still do...

-- 
Cheers, Chris Howells -- [EMAIL PROTECTED], [EMAIL PROTECTED]
Web: http://chrishowells.co.uk, PGP ID: 0x33795A2C
KDE/Qt/C++/PHP Developer: http://www.kde.org


pgpp2mrPexyiy.pgp
Description: PGP signature


UPS on FreeBSD

2004-10-07 Thread Robert Huff

[EMAIL PROTECTED] writes:

>  Any thoughts and/or workaround to have UPS working on FreeBSD
>  especially via USB cable? Thanks!

1) apcupsd does not currently support USB connections for
FreeBSD.
2) There is a _beta_ version - availiable at
"http://sourceforge.net/mailarchive/forum.php?thread_id=5525131&forum_id=26961";
that may work.  If you can afford to install and test this version,
please do so as it will not be added to main apcupsd code-base and
therefore not be part of the port until more testing occurs.


Robert Huff





___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


UPS on FreeBSD

2004-10-07 Thread login

Good afternoon,

I have attached a UPS to FreeBSD host using USB cable provided by APC.

Environment:

# uname -a
FreeBSD host.domain.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: 
Mon Feb 23 20:45:55 GMT 2004 [EMAIL PROTECTED]:
/usr/obj/usr/src/sys/GENERIC  i386
# 

# usbdevs 
addr 1: UHCI root hub, Intel
addr 2: Back-UPS RS 1500 FW:8.g8 .D USB FW:g8, American Power Conversion
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
# 

# usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel
(0x), rev 1.00
 port 1 powered
 port 2 addr 2: low speed, power 24 mA, config 1, Back-UPS RS 1500 
FW:8.g8 .D USB FW:g8(0x0002), 
 American Power Conversion(0x051d), rev 1.06
...

...
#


This is Back-UPS RS 1500 and connected to FreeBSD server via usb port.

# dmesg | grep usb0
usb0:  on uhci0
usb0: USB revision 1.0
#

# dmesg | grep ugen0
ugen0: American Power Conversion Back-UPS RS 1500 FW:8.g8 .D USB FW:g8, rev 
1.10/1.06, addr 2
#

# apcupsd -V
apcupsd 3.10.6 (28 October 2003) freebsd
#

# grep -v ^# apcupsd.conf
UPSCABLE usb
UPSTYPE dumb 
DEVICE /dev/usb0<--- usb device
LOCKFILE /var/spool/lock
BATTERYLEVEL 5
MINUTES 3
TIMEOUT 30
ANNOY 300
ANNOYDELAY 60
NOLOGON disable
KILLDELAY 0
NETSERVER on
NISIP 0.0.0.0
NISPORT 3551
EVENTSFILE /var/log/apcupsd.events
EVENTSFILEMAX 10
UPSCLASS standalone
UPSMODE disable
STATTIME 0
STATFILE /var/log/apcupsd.status
LOGSTATS off
DATATIME 0
# 

# ps aux | grep apcupsd
root 967  0.0  0.3  2804 1400  ??  Ss3:55PM   
0:00.01 /usr/local/sbin/apcupsd --kill-on-powerfail
# 


# /usr/local/etc/rc.d/apcupsd.sh status
or
# /usr/local/sbin/apcaccess

returns this output:

APC  : 001,019,0507
DATE : Tue Oct 05 13:56:16 EDT 2004
HOSTNAME : host.domain.com
RELEASE  : 3.10.6
VERSION  : 3.10.6 (28 October 2003) freebsd
UPSNAME  : host.domain.com
CABLE: USB Cable
MODEL: DUMB UPS Driver
UPSMODE  : Stand Alone
STARTTIME: Tue Oct 05 13:56:08 EDT 2004
STATUS   :
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME  : 30 Seconds
NUMXFERS : 0
TONBATT  : 0 seconds
CUMONBATT: 0 seconds
XOFFBATT : N/A
STATFLAG : 0x0200 Status Flag
END APC  : Tue Oct 05 18:01:53 EDT 2004
# 

Here is /var/log/message and apcupsd get started at boot time without any
problem.

Oct  7 16:19:42 bsd20 apcupsd[497]: apcupsd 3.10.6 (28 October 2003) freebsd 
startup succeeded

The STATUS is missing in the above status report. Other thing that by un-
plugging the UPS from the power outlet, the system does not shutdown 
gracefully neither display/wall any warning about the UPS. The output from 
the  /usr/local/etc/rc.d/apcupsd.sh status is same as above. Basically, 
system crashes since UPS is not getting any command to follow by 
the /usr/local/etc/apcupsd/apccontrol program.

By changing the DEVICE to /dev/uhid0 in the apcupsd.conf file, 
when starting the apcupsd, I get:

# /usr/local/etc/rc.d/apcupsd.sh start
 apcupsd
# apcupsd FATAL ERROR in dumbsetup.c at line 91
Cannot open UPS port /dev/uhid0: Device busy
#

Any thoughts and/or workaround to have UPS working on FreeBSD especially via 
USB cable? Thanks!

S. Mohammad [ [EMAIL PROTECTED] ]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: UPS on FreeBSD

2004-09-15 Thread login
Hi all,

I am interested to buy a brand new UPS for a host with:

# uname -a
FreeBSD host.domain.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb
 23 20:45:55 GMT 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
i386

This is Dell PowerEdge 2600 that comes with 2 USB and 2 serial ports.

Any suggestion on go-far/stay-away on a particular UPS in North America?

Also, if someone can share their handy notes/links in setting up UPS would 
be appreciated. Once I implemented UPS (hopefully), will get back to list 
with my UPS how-to. I promise on this one!

S. Mohammad [ [EMAIL PROTECTED] ]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"