[Nut-upsuser] HID PDU implementation [WAS: 24V DC ATX PSU with limited UPS functionality over USB]
Charles Lepple
clepple at gmail.com
Wed Apr 30 20:46:43 UTC 2008
On Tue, Apr 29, 2008 at 3:33 PM, Michelle Konzack
<linux4michelle at freenet.de> wrote:
> Hello Charles,
>
> Am 2008-03-13 19:27:27, schrieb Charles Lepple:
> > Another advantage of going the HID PDC route (regardless of whether
> > NUT is involved) is that the device is essentially self-describing. If
> > the first version does not have a shutdown flag, but later versions
> > do, then very little driver code needs to change - just device
> > firmware.
> >
> > Also, I believe that GNOME has a power monitor that works with HID PDC
> > devices out-of-the-box, which would be another bonus feature if you go
> > down the USB route.
>
> Now I have read Tonns of documents and i am puzzeling arround, HOW to
> implement the HID PDC stuff in my PDU. Can you tell me, where I can
> find documents and maybe example source codes for the implementation?
The PDC spec: http://www.usb.org/developers/devclass_docs/pdcv10.pdf
Not sure where to find source examples - of course, it would depend on
the microcontroller. There was a SourceForge project a while back for
adapting old Sun keyboards and mice to HID input devices, though -- if
you can't find it, let me know, but I don't have it bookmarked
anymore.
--
- Charles Lepple
More information about the Nut-upsuser
mailing list