Łukasz Przeniosło
2023-Mar-20 18:00 UTC
[Nut-upsdev] Free and well documented NUT driver protocol
Hi Stuart, Thank you for the link. It does seem what I am looking for. Are you aware of any similar standard created for a serial device? I have a working CDC usb setup, which is why I am asking. If required, will switch to HID though. -- ?ukasz Przenios?o On March 20, 2023 15:25:09 Stuart Henderson via Nut-upsdev <nut-upsdev at alioth-lists.debian.net> wrote:> On 2023-03-20, ?ukasz Przenios?o <lukasz at przenioslo.com> wrote: >> I would like to create a new UPS device that communicate with the outer=20 >> world over USB. The USB protocol can be either CDC serial or HID. I am=20 >> looking for an existing protocol that can be legally used by me, so I=20 >> don't need to come up with a new protocol + ask anyone to add any new=20 >> code to the NUT project. It should also be well documented, since I need=20 >> to reimplement it in my device. >> >> What would be the best approach here? I would appreciate all help and=20 >> feedback! > > Many of the HID-based UPS use the Power Device Class, docs are at > https://usb.org/sites/default/files/pdcv11.pdf > > > > _______________________________________________ > Nut-upsdev mailing list > Nut-upsdev at alioth-lists.debian.net > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsdev-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsdev/attachments/20230320/2413261d/attachment.htm>
Stuart Henderson
2023-Mar-22 11:23 UTC
[Nut-upsdev] Free and well documented NUT driver protocol
On 2023-03-20, ?ukasz Przenios?o <lukasz at przenioslo.com> wrote:> Thank you for the link. It does seem what I am looking for. Are you aware > of any similar standard created for a serial device? I have a working CDC > usb setup, which is why I am asking. If required, will switch to HID though.I don't think there's a fully documented spec for a standard serial protocol for controlling UPS, the best you're likely to get is a common reverse-engineered one, there's some advice in the old list post at https://nut-upsdev.alioth.debian.narkive.com/HziUB0aa/ups-serial-protocol