Hi Alexander,
the driver you want is newhidups, not hidups. First check if your
device is already supported; this could be so even if it isn't in
data/driver.list (because often vendors just put their name on a UPS
engineered by someone else).
If it's not already supported, have a look at docs/hid-subdrivers.txt.
That file explains several useful concepts, and gives you enough
information to get started. Particularly the output from
drivers/newhidups -DD -u root -x generic -x vendorid=XXXX auto
will be relevant. When the instructions run out, please report back to
the list for more assistance.
-- Peter
Alexander I. Gordeev wrote:>
> Hi, All!
>
> I've recently bought an UPS. It is Krauler UP-M500VA, it has USB
> port and is a HID device.
>
> But as I discovered the only HID application it supports is 0x860004,
> so it isn't claimed by both hidups and newhidups drivers, because it
> uses a vendor-specific values. I tried to discover values in that x86
> page, but I failed. How can I do it?
>
> And after I get values how to understand what they mean? I've seen
> this comment in hidups.c:
>
> /* results of querying some x86 page values on my APC UPS */
>
> /* note to APC: i can decode your "secret protocol" just
by *
> * looking at it. you're not helping anyone by keeping it
closed! */
>
> Maybe this person who wrote this lines could look at my values to? :)
>
> --
> Alexander mailto:lasaine@lvk.cs.msu.su
>
>
> _______________________________________________
> Nut-upsdev mailing list
> Nut-upsdev@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
>