> Hi, > did someone tried apcupsd ? > I've got a APC Back-ups 500 with usb cable 940-0127B linked to a pc with > RedHat 8.0A installed > > I've tested everything it was written on the documentation, man pages and > mailing list, but I couldn't figure out the problem > The system finds the ups: > #cat /proc/bus/usb/devices > > S: Manufacturer=American Power Conversion > S: Product=Back-UPS 500 FW: 6.4.I USB FW: c1 > S: SerialNumber=BB0307324835 > C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 30mA > I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=hid > E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms > T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3 > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 > D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > P: Vendor=0000 ProdID=0000 Rev= 0.00 > > in /etc/apcupsd/apcupsd.conf I set: > UPSCABLE usb > UPSTYPE usb > DEVICE /dev/usb/hiddev[0-15] <snip>
Okay, I have a Back-UPS 350. I used the rpm on their website apcupsd-3.10.5-1_rh8_usb, but after awhile stopped using it because they have a bug that fills my log with: kernel: application bug: apcupsd(617) has SIGCHLD set to SIG_IGN but calls wait(). errors and I got tired of not being able to see what was really going on in my /var/log/messages file. That aside, the rpm *does* work with power outages, etc. My /etc/apcupsd/apcupsd.conf file is as follows: UPSCABLE usb UPSTYPE usb DEVICE /dev/usb/hid/hiddev[0-9] LOCKFILE /var/lock BATTERYLEVEL 5 MINUTES 3 TIMEOUT 0 ANNOY 300 ANNOYDELAY 60 NOLOGON disable KILLDELAY 0 NETSERVER on NISIP 0.0.0.0 NISPORT 3551 EVENTSFILE /var/log/apcupsd.events EVENTSFILEMAX 100 UPSCLASS standalone UPSMODE disable STATTIME 0 STATFILE /var/log/apcupsd.status LOGSTATS off DATATIME 0 Hope that helps, Ben -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list