Re: [Nut-upsuser] I have a question in use CyberPower UPS.

2017-08-02 Thread Andy Jan
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 <clep...@gmail.com>:

> On Aug 1, 2017, at 5:47 AM, Andy Jan <andy163...@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.


explore-CPS.txt.gz
Description: GNU Zip compressed data
___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Re: [Nut-upsuser] I have a question in use CyberPower UPS.

2017-08-04 Thread Andy Jan
Hi Charles,

Thanks.

Is the modification will be released?
What is the released rule?

2017-08-02 19:31 GMT+08:00, Charles Lepple <clep...@gmail.com>:
> On Aug 2, 2017, at 3:12 AM, Andy Jan <andy163...@gmail.com> wrote:
>>
>> Hi,
>>
>> Thanks for your guidance.
>> I use Rad Hat. The explore-CPS.txt is attached.
>> Thx.
>
> Looks like it should be easy to fix. The attached patch should work against
> 2.6.5. Assuming that you are using EPEL, you can grab the SRPM from here:
>
> http://www.rpmfind.net/linux/RPM/epel/6/x86_64/nut-2.6.5-2.el6.x86_64.html
>
> Let us know if you have questions - there are many people on the list who
> know RedHat better than I do.
>
>

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] I have a question in use CyberPower UPS.

2017-08-08 Thread Andy Jan
Hi Charles,

The attachment(gzip) is the CyberPower UPS USB HID data.
It is worked! Thanks a lot.


2017-08-07 20:41 GMT+08:00 Charles Lepple <clep...@gmail.com>:

> On Aug 7, 2017, at 7:33 AM, Andy Jan <andy163...@gmail.com> wrote:
> >
> > [root@andy nut-2.7.4]# yum install libusb
> > Loaded plugins: langpacks, presto, refresh-packagekit
> > Package 1:libusb-0.1.3-11.fc18.i686 already installed and latest version
>
> That is the runtime library. To rebuild nut, you will also need something
> like libusb-devel (not sure of the exact name)


PR3000ELCD-usb-hid-data.gz
Description: GNU Zip compressed data
___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

[Nut-upsuser] I have a question in use CyberPower UPS.

2017-08-01 Thread Andy Jan
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.
___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Re: [Nut-upsuser] I have a question in use CyberPower UPS.

2017-08-07 Thread Andy Jan
Hi,

I got a problem.
I have the libusb drivers already, why does it still not find?
The error is shown below.
Thx.


configure: error: "USB drivers requested, but libusb not found."
[root@andy nut-2.7.4]# yum install libusb
Loaded plugins: langpacks, presto, refresh-packagekit
Package 1:libusb-0.1.3-11.fc18.i686 already installed and latest version
Nothing to do
[root@andy nut-2.7.4]#




2017-08-04 19:22 GMT+08:00 Charles Lepple <clep...@gmail.com>:

> On Aug 4, 2017, at 4:56 AM, Andy Jan <andy163...@gmail.com> wrote:
> >
> > Is the modification will be released?
>
> Let me know if it works, and I will merge that onto the master branch that
> will be used for the next release.
___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser