[Nut-upsuser] Trouble Configuring NUT with Gamatronic USB
eli at orbsky.homelinux.org
Sat Jun 17 18:00:34 UTC 2006
upsdrvctl start produces
Network UPS Tools - UPS driver controller 2.1.0
Network UPS Tools: New USB/HID UPS driver 0.28 (2.1.0)
Detected a UPS: Richcomm Tech /UPS2004
Using subdriver: RICHCOMM HID 0.9
Network UPS Tools upsd 2.1.0
Connected to UPS [Gamatronic_D-Compact]: Gamatronic_D-Compact
On Saturday, 17 בJune 2006 20:00, Peter Selinger wrote:
> Eli Wapniarski wrote:
> > Firstly forget about my link comment. I misread something.
> > I get the same results if I ups.conf contains
> > [Gamatronic_D-Compact]
> > driver= newhidups
> > port = auto
> > desc = "Gamatronic D-Compact"
> > running
> > newhidups -DD -u root -x vendorid=0925 -a Gamatronic_D-Compact
> > produces
> > Network UPS Tools: New USB/HID UPS driver 0.28 (2.1.0)
> > Error: UPS [Gamatronic_D-Compact] is for driver , but I'm newhidups!
> Please put a space between "driver" and "=". I don't know why this
> matters, but apparently it does. NUT thinks that your driver is called
> "" (the empty string), hence the weird error messages.
> NUT developers: perhaps parseconf.c should be changed to be more
> flexible regarding white space, or the fact that the "=" must be
> surrounded by spaces should be documented? I am surprised this error
> is not more common. Or did I miss something?
> -- Peter
More information about the Nut-upsuser