[Nut-upsuser] Tripp lite SMART1000LCD

Arjen de Korte nut+users at de-korte.org
Sun Jan 27 10:54:04 UTC 2008


> Running usbhid-ups -DDD -a SMART1000LCD seems
> to go into an infinite loop unless the driver is supposed to
> send requests to the ups continuously.

The driver doesn't background when running in debug mode, so yes, this
loop will seem to be infinite.

> The values returned
> from the USB report requests seem to be valid though, for example,
> Report ID 0x32 (UPS.PowerSummary.PresentStatus) has
> correct value based on present state.

Indeed. So the problem probably doesn't lie between driver and UPS as they
seem to communicate quite happily.

> Based on the error message when later  starting upsd
> (Can't connect to UPS [SMART1000LCD] (usbhid-ups-SMART1000LCD): No such
> file or directory) has the driver not reached the point where it creates
> those files ?

No, that point will be reached regardless of running in debug mode or not.
As I wrote in a previous reply, most likely there is a permissions
problem. The easiest way to verify this, is to run both the driver and
server as root, by passing the '-u root' option in the startup line.

    /usr/local/ups/bin/upsdrvctl -u root start
    /usr/local/ups/sbin/upsd -u root

If the above solves the problem, it is a permissions problem.

Best regards, Arjen
-- 
Eindhoven - The Netherlands
Key fingerprint - 66 4E 03 2C 9D B5 CB 9B  7A FE 7E C1 EE 88 BC 57




More information about the Nut-upsuser mailing list