[Nut-upsuser] how do I find the association between a usb
Peter Selinger
selinger at mathstat.dal.ca
Fri Feb 23 17:58:15 CET 2007
A.Lizard wrote:
>
> At 02:34 AM 2/23/07, you wrote:
>
> Is it possible to simply get the usbhid-ups driver so I can replace
> newhidups without replacing the nut 2.0.5 version I have installed? The
> hotplug-ng scripts I was referred to from v2.0.5 (I originally installed
> the Debian package version, then grabbed a tarball and expanded it so I
> could find the scripts) appear to call for the usbhid-ups drivers.
There is no need for this. In the hotplug-ng scripts, "usbhid-ups" is
only mentioned in *comments*. You can just use newhidups with 2.0.5.
> ----------------- quote
> # udev rules for the NUT USB drivers
>
> SUBSYSTEM!="usb_device", GOTO="nut-usbups_rules_end"
> ACTION!="add", GOTO="nut-usbups_rules_end"
>
> . . .
>
> # Belkin - usbhid-ups
> SYSFS{idVendor}=="050d", SYSFS{idProduct}=="0980", MODE="664",
> GROUP="@RUN_AS_USER@"
> SYSFS{idVendor}=="050d", SYSFS{idProduct}=="0900", MODE="664",
> GROUP="@RUN_AS_USER@"
> SYSFS{idVendor}=="050d", SYSFS{idProduct}=="0912", MODE="664",
> GROUP="@RUN_AS_USER@"
> SYSFS{idVendor}=="050d", SYSFS{idProduct}=="0551", MODE="664",
> GROUP="@RUN_AS_USER@"
> SYSFS{idVendor}=="050d", SYSFS{idProduct}=="0751", MODE="664",
> GROUP="@RUN_AS_USER@"
>
>
> ------------------ end quote
> thanks
> A.Lizard
>
>
> > > I looked through the faq, but couldn't find an answer to this.
> > >
> > > I'm trying to configure nut-2.0.4-26 on SuSE linux 10.2.
> > >
> > > In ups.conf, I have
> > >
> > > [myups]
> > > driver = belkinunv
> >
> >This is the wrong driver. You appear to have an UPS with a USB connection,
> >while belkinunv is for a serial connected one. I think your UPS may be
> >supported by the newhidups driver, although we've had quite a number of
> >updates to that driver since nut-2.0.4 came out. You may want to checkout
> >nut-2.0.5 or (even better) the version available in the SVN trunk (where
> >newhidups is replaced by the usbhid-ups driver). If you don't know how to
> >build this, contact me off-list and I'll send you an RPM package for
> >openSUSE 10.2.
> >
> > > port = /dev/undefined
> >
> >That can be set to 'auto', it is not used for a USB UPS.
> >
> >Best regards, Arjen
> >--
> >Eindhoven - The Netherlands
> >Key fingerprint - 66 4E 03 2C 9D B5 CB 9B 7A FE 7E C1 EE 88 BC 5
More information about the Nut-upsuser
mailing list