Michelle Konzack
2008-Apr-29 19:33 UTC
[Nut-upsuser] HID PDU implementation [WAS: 24V DC ATX PSU with limited UPS functionality over USB]
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? Thanks, Greetings and nice Day Michelle Konzack Systemadministrator 24V Electronic Engineer Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 +49/177/9351947 50, rue de Soultz MSN LinuxMichi +33/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20080429/5d87e071/attachment.pgp
Charles Lepple
2008-Apr-30 20:46 UTC
[Nut-upsuser] HID PDU implementation [WAS: 24V DC ATX PSU with limited UPS functionality over USB]
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