[Nut-upsuser] Problems with APC Smart-UPS 1500 USB and, newhidups
Peter Selinger
selinger at mathstat.dal.ca
Fri Aug 25 14:38:05 UTC 2006
Paolo,
I recently fixed some bugs regarding the report descriptor retrieval.
Please try it with the newest development version from SVN. You can
follow the instructions at
http://www.networkupstools.org/source.html
under "Development tree" to get it. It might solve the problem, or if
it doesn't, at least it will give more useful debugging output.
I think the trick suggested by Brian may not work in your case,
because the error messages don't seem to indicate that there was a
problem attaching to the device. However, you should try it anyway, in
case it was a permissions problem.
-- Peter
Brian Foster wrote:
>
> Paolo,
> Try
>
> sudo /lib/nut/newhidups -DDD -u root -a SmartUps1500
>
> newhidups would only run on my computer if I ran it using sudo and as
> root user. I know this indicates a problem with the USB permissions,
> but I could not, for the life of me, get the permissions to change when
> I plugged the UPS in. I know this isn't a true fix, but it worked for me.
> --
> ~Brian Foster
>
> > Paolo Pedroni wrote:
> >
> > Whenever I try to use the newhidups driver with my new UPS I get
> > the following message:
> >
> > #/lib/nut/newhidups -DDD -a SmartUps1500
> > Network UPS Tools: New USB/HID UPS driver 0.28 (2.0.4)
> >
> > debug level is '3'
> > [...skip unrelevant device...]
> > Checking device (051D/0002) (001/005)
> > - VendorID: 051d
> > - ProductID: 0002
> > - Manufacturer: American Power Conversion
> > - Product: Smart-UPS 1500 FW:601.3.I USB FW:1.5
> > - Serial Number: AS0523120710
> > - Bus: 001
> > Trying to match device
> > Device matches
> > HID descriptor retrieved (Reportlen = 61939)
> > Size read for the report descriptor: 4294967274
> > Unable to get Report descriptor (-22)
> > [...skip other unrelevant devices...]
> > No appropriate HID device found
> > No matching USB/HID UPS found
> >
> > Of course the driver does not start.
> >
> > Any help?
> >
> > Thanks in advance.
More information about the Nut-upsuser
mailing list