Hello Ben, I retrieved the apcupsd from your ftp site and rebuilt it for use on 8.2. Everything seems fine until i tested that the system shut down was going to work. I changed my TIMEOUT to 120 seconds, and pulled the plug. 2 minutes later the system goes thru the shut down, then I see the following:
apccontrol doing: /sbin/apcupsd --killpower on UPS ... /etc/apcupsd/apccontrol: line 144: 3325 Segmentation fault. This step should have caused the APC unit to turn off, but because of the segmentation fault it does not. I had to revert back to the 3.8.2 version to get the proper shutdown. I am using a simple cable and a Back-UPS 300 Regards Dave On Saturday 20 April 2002 03:43 pm, you wrote: > On Sat, Apr 20, 2002 at 03:16:37AM -0500, Lonnie Borntreger wrote: > > I just purchased an APC UPS. It has a USB interface. /proc/usb lists > > the device (as does usbview). I downloaded the APC PowerChute software > > for Linux. > > I can't specifically help you with the PowerChute software but I can > help with the apcupsd package that's in cooker that just got updated > yesterday. As of yesterday that package will support USB. > > If you're using devfs it'll show as: > /dev/usb/hid/hiddev0 > (though the number can vary anything from 0-9). > > > My problem is that I don't know what device to give the upsd for where > > it should find the UPS (with all my experience with Linux/Unix, I've > > never used USB on it). Does anybody have this configuration working? > > If so, could you let me know your settings? > > I've attached my config file for apcupsd to this. That shows you how to > config that tool with USB.
