[Nut-upsuser] Eaton USB PowerWare 3105
Kjell Claesson
kjell.claesson at telia.com
Tue Jun 6 15:14:05 UTC 2006
Hi Kelly.
Tis 2006-06-06 klockan 08:17 -0400 skrev Charles Lepple:
> On 6/5/06, Brendan Kelly <bkelly7 at bigpond.net.au> wrote:
> > On Tue, 2006-06-06 at 04:34 +0300, lonely wolf wrote:
> > > On 06/06/2006 02:53 AM, Brendan Kelly wrote:
> > > > This is just to let the list know that I have had success getting my FC3
> > > > system talking to my USB PW3105. I used nut 2.0.3 and recompiled from
> > > > source so as to get the bcmxcp_usb driver. After that it was just a
> > > > matter of following the (very good) INSTALL instructions provided in the
> > > > tarball. Although I haven't got the hotplug scripts working yet (the
> > > > samples provided are not a good fit on a FC3 system) I got around this
> > > > by setting the perms (640) and ownership (nut:nut) manually for
> > > > both /dev/ttyS1 and /proc/bus/usb/xxx/yyy (xxx/yyy obtained from lsusb).
> > > >
> > > since it's an USB ups, you should not need to touch /dev/ttyS1 (that is
> > > the serial port)
> >
> > The system appears to map /dev/ttyS1 to the right USB port - I have no
> > idea how. My entry in ups.conf is:
> > [pw3105]
> > driver = bcmxcp_usb
> > port = /dev/ttyS1
> > This seems to work.
>
> I think Lonely Wolf is right - you do not need to modify permissions
> on /dev/ttyS1. According to the man page, the bcmxcp_usb driver only
> supports one UPS, and apparently the port name just has to be some
> placeholder value (the man page suggests "auto"). (Not saying that you
> should change anything, just that there is no connection.)
>
Yes Charles is right about that. Set the port to auto. If you using the
latest libusb (0.1.12) then it uses /dev/bus/usb/00x/00x instead of
/proc/bus......
Check if you get a /dev/bus/usb/.... when you plug in the ups.
If so:
To set the right permission on that you need the nut-usbups.rules in
./scripts/hotplug-ng (as i suppose you are running 2.6 and udev)
This line (sorry for the line-break)
# Powerware - bcmxcp_usb
SYSFS{idVendor}=="0592", SYSFS{idProduct}=="0002", MODE="660",
GROUP="nut"
Set the /dev/bus/usb/00x/00x to rw for user root and group nut.
The rules files normal goes into /etc/udev/rules.d and is parsed in
numerical order. So give it name 77-usbups.rules .
This works on my machine, but i run Gentoo unstable.
Regards
Kjell
More information about the Nut-upsuser
mailing list