Hi friends. Package: nut Version: 2.4.1-1 Depends: libusb, openssl, neon, libgd, net-snmp Status: install user installed Section: admin Architecture: mipsel maintainer: NSLU2 Linux <nslu2-linux at yahoogroups.com> MD5Sum: c8c55a6021fea2b5f194ce4623eb2dfe Size: 1246363 Filename: nut_2.4.1-1_mipsel.ipk Source: http://eu1.networkupstools.org/source/2.4/nut-2.4.1.tar.gz Description: Network UPS tools. ------------------------------------------ Startup log: Jul 6 22:00:19 rc.unslung: start service /opt/etc/init.d/S50ups Jul 6 22:00:21 usbhid-ups[170]: Startup successful Jul 6 22:00:21 upsd[173]: /opt/etc/upsd.conf is world readable Jul 6 22:00:21 upsd[173]: listening on 127.0.0.1 port 3493 Jul 6 22:00:21 upsd[173]: listening on 192.168.1.1 port 3493 Jul 6 22:00:21 upsd[173]: /opt/var/state/ups is world readable Jul 6 22:00:21 upsd[173]: Connected to UPS [ups]: usbhid-ups-ups Jul 6 22:00:21 upsd[173]: /opt/etc/upsd.users is world readable Jul 6 22:00:21 upsd[174]: Startup successful ------------------------------------------ Ok ------------------------------------------ $upsc usb battery.charge: 100 battery.charge.low: 10 battery.charge.warning: 50 battery.mfr.date: 2007/11/18 battery.runtime: 2940 battery.runtime.low: 120 battery.temperature: 34.2 battery.type: PbAc battery.voltage: 27.3 battery.voltage.nominal: 24.0 driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: /dev/usb/hiddev0 driver.version: 2.4.1 driver.version.data: APC HID 0.93 driver.version.internal: 0.34 input.voltage: 216.0 output.voltage: 216.0 output.voltage.nominal: 220.0 ups.beeper.status: disabled ups.delay.shutdown: 20 ups.firmware: 652.18.I ups.firmware.aux: 7.3 ups.load: 26.0 ups.mfr: American Power Conversion ups.mfr.date: 2007/11/18 ups.model: Smart-UPS 1000 ups.productid: 0002 ups.serial: AS0746224745 ups.status: OL ups.test.result: No test initiated ups.timer.reboot: -1 ups.timer.shutdown: -1 ups.vendorid: 051d ------------------------------------------ Ok. But, to switch off the electric power After 20 min: ------------------------------------------ $upsc usb ..skip... battery.charge: 100 battery.temperature: 36.8 battery.voltage: 23.9 input.voltage: 0.0 output.voltage: 220.4 ups.load: 24.7 ups.status: OL ...skip... ------------------------------------------ The ups.status and battery.charger have not changed the value. battery.voltage, ups.load, battery.temperature adequately react. After restoration electric power: ------------------------------------------ $upsc usb ..skip... battery.charge: 52 battery.temperature: 39.1 battery.voltage: 26.2 input.voltage: 217.4 output.voltage: 217.4 ups.load: 26.6 ups.status: OL ...skip... ------------------------------------------ The battery.charge and input.voltage show correct values. P.S. Probably the driver not truly reads out a condition my ups.
Citeren Sergey <S_S_N op MAIL.RU>: [...]> But, to switch off the electric power > After 20 min: > ------------------------------------------ > $upsc usb > ..skip... > battery.charge: 100 > battery.temperature: 36.8 > battery.voltage: 23.9 > input.voltage: 0.0 > output.voltage: 220.4 > ups.load: 24.7 > ups.status: OL > ...skip... > ------------------------------------------ > The ups.status and battery.charger have not changed the value. > battery.voltage, ups.load, battery.temperature adequately react. > > After restoration electric power: > ------------------------------------------ > $upsc usb > ..skip... > battery.charge: 52 > battery.temperature: 39.1 > battery.voltage: 26.2 > input.voltage: 217.4 > output.voltage: 217.4 > ups.load: 26.6 > ups.status: OL > ...skip... > ------------------------------------------ > The battery.charge and input.voltage show correct values.Apparently, your UPS doesn't update the reported battery charge, until the power is restored. There is nothing we can do about that. The only thing that worries me here a little, is that the status doesn't change from OL to OB when the mains is interrupted. This means that there may be a conflict between the two HID paths that feed this status: UPS.PowerSummary.PresentStatus.ACPresent UPS.PowerSummary.ACPresent You could help diagnosing this, buy running the driver in debug mode through /path/to/usbhid-ups -DD -a upsname Disconnect the mains and let it run until the load is switched off. We're only interested in the above two HID paths, so please only post the relevant lines from the output.> P.S. Probably the driver not truly reads out a condition my ups.It does, otherwise the other values wouldn't change either. Best regards, Arjen -- Please keep list traffic on the list