Hi, I am trying to use an MGE Pulsar Extreme UPS with the NUT port using the newhidups driver.
I can read the values just fine but I can't set anything which precludes the PC from shutting the UPS off (or in fact configuring it in any way). The error is... ... Looking up DelayBeforeStartup usb_control_msg: 161 1 791 0 0x514f34 8 4000 Report : (8 bytes) => 17 FF FF FF CB 1F 51 0A =>> SET: Before set: -10.00 (120) =>> SET: after exp: 12/12.00 (exp = 0.10) PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = -1 =>> SET: after PL: 12 ==> Report after setvalue: (8 bytes) => 17 0C 00 00 CB 1F 51 0A usb_control_msg: 33 9 791 0 0x514f34 8 4000 USB error: error sending control message: Input/output error Set report failed FAILED Shutoff command failed (setting ondelay) ... This program uses libusb to talk to the UPS over ugen - the system has 6.0 on it and libusb 0.1.12 (the latest). I am going to try instrumenting ugen next and see why it's returning EIO. I checked CVS but I don't believe any of the commits since 6.0 would have an effect here. Does anyone have any suggestions? Thanks. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
pgpvAGPpFOPuv.pgp
Description: PGP signature