Pier Paolo Glave
2011-Feb-03 20:40 UTC
[Nut-upsuser] Status OB (on battery) when polling a Liebert PSA
Hi all, This is my first experience with NUT. I'm trying to test a Liebert PSA 1500 UPS, connected via USB to a single PC. I have followed the instruction in the "Configuration" section of the online user manual. Everything seems to be fine, except that, when I run "upsc liebert at localhostups.status", it retuns "OB", even if the UPS is currently online. Here are the information related to my system: - Debian 6.0 on Intel Pentium 4; kernel version 2.6.32-5-686; - NUT version 2.4.3-1.1squeeze1, installed with package system; - UPS: Liebert PSA1500MT3-230U My ups.conf is the following: [liebert] driver = usbhid-ups port = auto desc = "Liebert PSA1500MT3 UPS" The result of "upsdrvctl start" is: Network UPS Tools - UPS driver controller 2.4.3 Network UPS Tools - Generic HID driver 0.34 (2.4.3) USB communication driver 0.31 Using subdriver: Belkin HID 0.12 The result of "upsd" is: Network UPS Tools upsd 2.4.3 listening on 127.0.0.1 port 3493 listening on ::1 port 3493 Connected to UPS [liebert]: usbhid-ups-liebert The complete list obtained with "upsc" is: battery.charge.low: 38 battery.charge.warning: 38 battery.type: PbAc device.mfr: Emerson Network Power device.model: LiebertPSA device.serial: device.type: ups driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: auto driver.version: 2.4.3 driver.version.data: Belkin HID 0.12 driver.version.internal: 0.34 ups.mfr: Emerson Network Power ups.model: LiebertPSA ups.productid: 0001 ups.serial: ups.status: OB ups.vendorid: 10af What problem could be there? I would like to paste also a complete tracing of "/lib/nut/usbhid-ups -DDDDD -a liebert", but the message would become too big. Please tell me if there is any relevant portion that I could paste here. Thanks in advance for your help. Pier -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110203/9dca18ab/attachment.htm>
Arjen de Korte
2011-Feb-06 11:26 UTC
[Nut-upsuser] Status OB (on battery) when polling a Liebert PSA
Citeren Pier Paolo Glave <pierpaolo.glave op gmail.com>:> Everything seems to be fine, except that, when I run "upsc > liebert op localhostups.status", it retuns "OB", even if the UPS is > currently online.Looking at the rejected earlier message, I'd say you have a Belkin OEM device that has a very broken report descriptor. You may want to checkout the recently released nut-2.6.0 version. But I'm almost certain that the fixes in the HID parser are not going to solve this problem and that instead the problem is in the UPS itself. We may or may not be able to work around this, but in that case we will need lots of support from you (and you must be willing/capable to run the development version too). [...]> I would like to paste also a complete tracing of "/lib/nut/usbhid-ups -DDDDD > -a liebert", but the message would become too big.Then use gzip to compress it before attaching. We really need the full listing as an attachment, not inline in a message. Best regards, Arjen -- Please keep list traffic on the list (off-list replies will be rejected)
Pier Paolo Glave
2011-Feb-07 09:26 UTC
[Nut-upsuser] Status OB (on battery) when polling a Liebert PSA
Hi Arjen, Thanks for your answer. If you have time to support me, I will for sure follow you, providing all the information you need. I'm a software designer too, so don't hesitate to ask for some particular build or to make changes at source code level. Looking at the rejected earlier message, I'd say you have a Belkin OEM> device that has a very broken report descriptor. You may want to > checkout the recently released nut-2.6.0 version. But I'm almost > certain that the fixes in the HID parser are not going to solve this > problem and that instead the problem is in the UPS itself. We may or > may not be able to work around this, but in that case we will need > lots of support from you (and you must be willing/capable to run the > development version too). >I have built the nut-2.6.0 version. I did not want to completely uninstall my 2.4.3 version, which had been so gracefully installed by the debian package system... So, I tried to install only the 2.6.0 drivers, and forced nut to use them, by creating a new directory called /lib/nut-2.6, and making a symbolic link: /lib/nut -> /lib/nut-2.6. Please tell me if this is a right approach, to use the 2.6 HID parser.
Pier Paolo Glave
2011-Feb-07 09:40 UTC
[Nut-upsuser] Status OB (on battery) when polling a Liebert PSA
(I'm posting again this message, because I've seen that the last lines and the attachment are missing, in the version archived at http://lists.alioth.debian.org/pipermail/nut-upsuser/2011-February/006618.html. Maybe it's because I was not using plain text. Sorry for the double post, if you received it twice. Pier) Hi Arjen, Thanks for your answer. If you have time to support me, I will for sure follow you, providing all the information you need. I'm a software designer too, so don't hesitate to ask for some particular build or to make changes at source code level.> Looking at the rejected earlier message, I'd say you have a Belkin OEM > device that has a very broken report descriptor. You may want to > checkout the recently released nut-2.6.0 version. But I'm almost > certain that the fixes in the HID parser are not going to solve this > problem and that instead the problem is in the UPS itself. We may or > may not be able to work around this, but in that case we will need > lots of support from you (and you must be willing/capable to run the > development version too).I have built the nut-2.6.0 version. I did not want to completely uninstall my 2.4.3 version, which had been so gracefully installed by the debian package system... So, I tried to install only the 2.6.0 drivers, and forced nut to use them, by creating a new directory called /lib/nut-2.6, and making a symbolic link: /lib/nut -> /lib/nut-2.6. Please tell me if this is a right approach, to use the 2.6 HID parser.