[Nut-upsdev] [PATCH] tripplite driver updates
Nicholas Kain
njk at kain.us
Fri Jul 11 15:31:51 UTC 2008
* Charles Lepple <clepple at gmail.com> [080711 08:51]:
> Thanks for taking the time to clean up this driver.
>
> I occasionally work on the tripplite_usb driver, but I have not had
> much of a chance to test that against units that have both serial and
> USB connections.
(sorry for the duplicate -- this isn't my usual mail client; resending
with proper cc: so the threading on the list won't break)
I unfortunately only have access to a serial port model.
> I suspect that a lot of the code could be shared between the two
> drivers, though.
A unified driver (or at least one with common code) would certainly
be a worthy goal.
> Do you know what protocol number the Smart 700 uses? (It is returned
> by the ":\0" command.)
I tried sending ":\0\r" to my UPS and didn't receive any reply. To be
certain I didn't make a mistake in my script, I tried W as a test, and
it did return '84', which is what it should for my model.
It seems like \0 isn't supported on my serial UPS. The closest
similar command that I know of is :V, which gives the firmware revision
level, which for me returns "01\r\n".
Just let me know if you'd like any other commands tested.
--
Nicholas J. Kain <nicholas at kain dot us>
http://www.kain.us/~niklata/
More information about the Nut-upsdev
mailing list