gene heskett
2023-Jun-20 00:33 UTC
[Nut-upsuser] had to reinstall on new drive, lost all nut related .conf's
On 6/19/23 20:29, gene heskett wrote: Some speeling korrections> On 6/19/23 18:57, gene heskett wrote: >> Greetings Jim & friends; >> >> Just installed nut 2.7.4 on a debian bullseye system.? ups is: >> Bus 001 Device 006: ID 051d:0003 American Power Conversion UPS >> Device Descriptor: >> ?? bLength??????????????? 18 >> ?? bDescriptorType???????? 1 >> ?? bcdUSB?????????????? 2.00 >> ?? bDeviceClass??????????? 0 >> ?? bDeviceSubClass???????? 0 >> ?? bDeviceProtocol???????? 0 >> ?? bMaxPacketSize0??????? 64 >> ?? idVendor?????????? 0x051d American Power Conversion >> ?? idProduct????????? 0x0003 UPS >> ?? bcdDevice??????????? 0.01 >> ?? iManufacturer?????????? 1 American Power Conversion >> ?? iProduct??????????????? 2 Smart-UPS_1500 FW:UPS 03.5 / ID=1015 >> ?? iSerial???????????????? 3 3S1906X11389 >> >> Where do I start and what do I added to which files in /etc/nut so I >> can type "upsc myups" and get a status report?? Its been years since I >> dived thru all these flaming hoops the last time. >> >> Thanks. > Found the help on the web pages, and upsc is working. But I've an odd > msg at startup: > interrupt pipe disabled (add 'pollonly' flag to 'ups.conf' to get rid of > this message) > > However, any attempt to add it to the [myups] stanza in ups.conf is a > showstopper error. No mention of this "flag" in the rest of the file's comments.So how does that syntax actually look like?>> >> Cheers, Gene Heskett. > > Cheers, Gene Heskett.Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/>
Charles Lepple
2023-Jun-20 02:00 UTC
[Nut-upsuser] had to reinstall on new drive, lost all nut related .conf's
> On Jun 19, 2023, at 8:33 PM, gene heskett wrote: > >>> However, any attempt to add it to the [myups] stanza in ups.conf is a showstopper error. No mention of this "flag" in the rest of the file's comments. >> >> So how does that syntax actually look like? >In ups.conf, you should be able to do something like this: [myups] driver = usbhid-ups port = auto pollonly If that isn't working, check for spurious UPS-specific lines in the "global" section (above the first UPS stanza like "[myups]"), or vice-versa (global options covered in ups.conf documentation that got added to the end of the ups.conf template). ("pollonly" doesn't appear in the standard ups.conf template because it is specific to usbhid-ups.) ref: https://networkupstools.org/docs/man/usbhid-ups.html#_extra_arguments - Charles