Hi , As the subject, I'm using the CPS UPS. I use NUT to read the HID information. The device information is attached. After I read the information, I can't see the frequency information. I have used the CPS software to see the frequency information before. But I want to see the frequency in NUT by connecting CPS UPS. I have traced the NUT source code and find that the CPS HID table doesn't build the frequency. Due to I know less about Linux and NUT. Could you help to revise the NUT CPS HID table? My UPS model is PR750ELCD. If any advise or comment, please feel free to tell me. Thanks a lot. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20170801/8e49a186/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: 2017.08.01 Device information.jpg Type: image/jpeg Size: 58521 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20170801/8e49a186/attachment-0001.jpg>
Charles Lepple
2017-Aug-01 13:37 UTC
[Nut-upsuser] I have a question in use CyberPower UPS.
On Aug 1, 2017, at 5:47 AM, Andy Jan <andy1635qq at gmail.com> wrote:> > But I want to see the frequency in NUT by connecting CPS UPS. I have traced the NUT source code and find that the CPS HID table doesn't build the frequency. > > Due to I know less about Linux and NUT. Could you help to revise the NUT CPS HID table? My UPS model is PR750ELCD. >Can you please send a log from "explore" mode? http://networkupstools.org/docs/man/usbhid-ups.html Not sure which distribution you are using, but on Debian/Ubuntu it will look something like this: /lib/nut/usbhid-ups -DD -x explore -a name-of-ups 2>&1 | tee /tmp/explore-CPS.txt It will loop continuously if it finds the UPS, so you can press Control-C after ~ 30 seconds. Please gzip the log before emailing it to the list.
Hi, Thanks for your guidance. I use Rad Hat. The explore-CPS.txt is attached. Thx. 2017-08-01 21:37 GMT+08:00 Charles Lepple <clepple at gmail.com>:> On Aug 1, 2017, at 5:47 AM, Andy Jan <andy1635qq at gmail.com> wrote: > > > > But I want to see the frequency in NUT by connecting CPS UPS. I have > traced the NUT source code and find that the CPS HID table doesn't build > the frequency. > > > > Due to I know less about Linux and NUT. Could you help to revise the NUT > CPS HID table? My UPS model is PR750ELCD. > > > Can you please send a log from "explore" mode? > > http://networkupstools.org/docs/man/usbhid-ups.html > > Not sure which distribution you are using, but on Debian/Ubuntu it will > look something like this: > > /lib/nut/usbhid-ups -DD -x explore -a name-of-ups 2>&1 | tee > /tmp/explore-CPS.txt > > It will loop continuously if it finds the UPS, so you can press Control-C > after ~ 30 seconds. Please gzip the log before emailing it to the list.-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20170802/aa785c04/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: explore-CPS.txt.gz Type: application/x-gzip Size: 2840 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20170802/aa785c04/attachment.bin>