[Nut-upsdev] PowerWalker and megatec_usb
Alexander I. Gordeev
lasaine at lvk.cs.msu.su
Wed Sep 12 22:31:27 UTC 2007
On Thu, 13 Sep 2007 01:24:04 +0400, Carlos Rodrigues
<carlos.efr at mail.telepac.pt> wrote:
> I've (finally) decided to try and make my PowerWalker work with
> megatec_usb. So far it seems the agiler subdriver is the way to go,
> but it doesn't work. The initial detection process sometimes succeeds
> in 1 out of 5 "Q1" commands, but that's about it (which is better than
> what the krauler subdriver can do... absolutely nothing).
> So, what needs to be done to obtain more information? I don't seem to
> get anything readable out of the "get_descriptor" tool. What command
> line parameters should I use?
> Be aware that I'm still almost completely ignorant about this USB
I'll try to help, but I don't know much about agiler subdriver.
AFAIK it assumes that the device has a bogus HID descriptor (which
is to allow the device to describe it's own abilities. Still this info
could be obtained from specs/Windows drivers/etc.) So the driver
sends and receives chunks of data of a hard-coded size to a hard-coded
So the "get_descriptor" tool can only help in retrieving the HID
descriptor and nothing more.
I've just commited a change intended to increase verbosity of the agiler
subdriver (it can dump all the traffic now). Please, run it with '-DDDDD'.
P.S. If you have a Windows driver for your UPS it can help a lot.
How it's called?
More information about the Nut-upsdev