[Nut-upsuser] trying to use powerware 3110 USB with NUT

Kjell Claesson kjell.claesson at telia.com
Wed Oct 5 21:20:06 UTC 2005


Hi John.

Yep, you need the /var/state/ups directory. And it
must be accessible by the user you run the NUT as.

This is how it look's on my side.
ls -al /var/state/
totalt 0
drwxr-xr-x   3 root root  96  9 sep  2004 .
drwxr-xr-x  15 root root 408  1 maj 21.08 ..
-rw-r--r--   1 root root   0  8 sep 22.12 .keep
drwxrwx---   2 nut  nut  144  5 okt 18.09 ups

This directory holds the socket to communicate at
and some pid files.

ls -al /var/state/ups/
totalt 8
drwxrwx---  2 nut  nut  144  5 okt 18.09 .
drwxr-xr-x  3 root root  96  9 sep  2004 ..
srw-rw----  1 nut  nut    0  5 okt 18.07 bcmxcp_usb-auto
-rw-r--r--  1 nut  nut    5  5 okt 18.07 bcmxcp_usb-auto.pid
-rw-r--r--  1 nut  nut    5  5 okt 18.09 upsd.pid

Create this directory, then try.

/usr/local/ups/bin/bcmxcp_usb -DD -a PW3

If your ups.conf holds the.

[PW3]
	driver = bcmxcp_usb
	port = auto
	shutdown_delay = 60
	desc = "My pc"

kjell


ons 2005-10-05 klockan 15:36 -0500 skrev John H.:
>  bcmxcp_usb -DDDDD -a PW3
> Network UPS Tools - BCMXCP UPS driver 0.09 (2.1.0)
> 
> debug level is '5'
> Can't chdir to /var/state/ups: No such file or directory
> 
> 
> Did I miss something?  what do I put for your_ups, which is device?  I
> have auto specfied in ups.conf
> 
> 
> 
> On 10/5/05, Arnaud Quette <aquette.dev at gmail.com> wrote:
> >
> >
> > 2005/10/5, John H. <mistamaila at gmail.com>:
> > > ls -la libhidups
> > > -rwxr-xr-x  1 root root 481 Sep 29 08:05 libhidups
> >
> >  ok, so stop every pieces of NUT, and try to start the driver manually, and
> > in debug mode (ie bcmxcp_usb -DDDDD -a your-ups) after having set the env.
> > var USB_DEBUG to 3 (ie export USB_DEBUG=3).
> >
> >  Then send back this output.
> >
> >  The underlying problem might be a device disconnexion due to EMI. But the
> > reconnexion might fail for some reason. If you see anything that can be
> > interesting in your log (ie some failure of hotplug...), send it also back.
> >
> >  Arnaud
> >
> 
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser




More information about the Nut-upsuser mailing list