APCのES500をUSB経由でFreeBSDに対応させるスクリプト
- http://d.hatena.ne.jp/taizooo/20060412/1144804046
- http://gigo.com/archives/Source%20Code/upsdpl.html
upsd.pl
http://gigo.com/ftp/pub/src/upsd.plUPS monitoring script for the cheap APC UPS I bought. I made the mistake of buying things thinking it would talk like any other APC. I was wrong. The cheapness of this device made up for that fact however. Reading the /dev/uhid0 file handle for this device was not too hard. Device: USB based APC Battery Backup 500 VA (ES series), aka BE500U
% sudo usbdevs Password: addr 1: UHCI root hub, Intel addr 2: Back-UPS ES 500 FW:2.e2.D USB FW:e2, APCまるまる貼り付け.