[Nut-upsuser] how do I find the association between a usb port and a /dev entry?

A.Lizard alizard at ecis.com
Fri Feb 23 12:27:26 CET 2007

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.
----------------- 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", 
SYSFS{idVendor}=="050d", SYSFS{idProduct}=="0900", MODE="664", 
SYSFS{idVendor}=="050d", SYSFS{idProduct}=="0912", MODE="664", 
SYSFS{idVendor}=="050d", SYSFS{idProduct}=="0551", MODE="664", 
SYSFS{idVendor}=="050d", SYSFS{idProduct}=="0751", MODE="664", 

------------------ end quote

> > 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

member The Internet Society (ISOC), The HTML Writers Guild.
"You can't have in a democracy various groups with arms - you have to have 
the state with a monopoly on power." Condoleeza Rice, US Secretary of State
Personal Website http://www.ecis.com/~alizard
business Website http://www.reptilelabs.com
backup address (if ALL else fails) alizard at gmail.com
PGP 8.0 key available by request or keyserver. Download PGP from:
http://www.pgpi.org for e-mail privacy.
Disaster prep info: http://www.ecis.com/~alizard/y2k.html
***Looking for INTELLIGENT new technology public policy 
alternatives?***               http://www.ecis.com/~alizard/technology.html

More information about the Nut-upsuser mailing list