Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: klaudadio on May 17, 2007, 12:03:09 AM

Title: USB UPS Shutdown
Post by: klaudadio on May 17, 2007, 12:03:09 AM
I have installed an APC ES 500 USB UPS and configured it with NUT. upsc UPS@localhost returns all the correct information. Running /sbin/usbdrvctl directly from the command line correctly powers down the UPS however upsmon -c shutdown correctly shuts down the computer and writes the file /etc/killpower but when the scripts gets to the command /sbin/usbdrvctl an error is generated with something like No matching USB/HID UPS found or something like that and shuts down the computer but does not shut down the UPS and the computer does not reboot. All the ups files are located in /etc/ups. Is the location of the files incorrect, maybe not on a mounted drive by this point in the shutdown process? Have the USB devices been shutdown before it got to this point?
Any ideas of how I can correct the installation?

Thanks
Title: USB UPS Shutdown (solved)
Post by: klaudadio on May 17, 2007, 08:43:55 PM
Using /sbin/newhidups vice /sbin/upsdrvctl as the UPS shutdown command solved the problem. I also remounted the USB filesystem.
Title: Re: USB UPS Shutdown (solved)
Post by: pfloor on May 18, 2007, 04:21:28 AM
Quote from: "klaudadio"
Using /sbin/newhidups vice /sbin/upsdrvctl as the UPS shutdown command solved the problem. I also remounted the USB filesystem.

klaudadio,

Could you please post exactly what you did to get this working to this bug:

http://bugs.contribs.org/show_bug.cgi?id=2594

Thanks,

Paul