On Monday 22 May 2006 17:43, Daniel O'Connor wrote:
> I am looking at the newhid driver for this Pulsar EXtreme here but it gives
> odd results, for example there is no status variable :)

Hmm well updating to a later libusb fixed that..

Interestingly I still can't set the outlets! :)

eg I run..
upsrw -s outlet.2.delay.start=1 -u admin -p password [EMAIL PROTECTED]

And I see..
...
entering setvar(outlet.2.delay.start, 1)

entering string_to_path()
Looking up UPS
Looking up OutletSystem
Looking up Outlet
Looking up [3]
Looking up DelayBeforeStartup
Report : (8 bytes) => 3D FF FF FF 00 00 00 00
=>> SET: Before set: -10.00 (1)
=>> SET: after exp: 0/0.10 (exp = 0.10)
PhyMax = 0, PhyMin = 0, LogMax = 65535, LogMin = -1
=>> SET: after PL: 0
==> Report after setvalue: (8 bytes) => 3D 00 00 00 00 00 00 00
Set report failed
FAILED

or..
upsrw -s outlet.2.switch=1 -u admin -p password [EMAIL PROTECTED]

...
entering setvar(outlet.2.switch, 1)

entering string_to_path()
Looking up UPS
Looking up OutletSystem
Looking up Outlet
Looking up [3]
Looking up PresentStatus
Looking up SwitchOn/Off
Report : (8 bytes) => 13 00 00 00 0B 00 00 00
=>> SET: Before set: 0.00 (1)
=>> SET: after exp: 1/1.00 (exp = 1.00)
PhyMax = 0, PhyMin = 0, LogMax = 1, LogMin = 0
=>> SET: after PL: 1
==> Report after setvalue: (8 bytes) => 13 01 00 00 0B 00 00 00
Set report failed
FAILED

-- 
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

Attachment: pgpmuDU0ShLTL.pgp
Description: PGP signature

_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to