[Nut-upsuser] I/O errors with usbhid-ups and Tripp Lite SMART1500LCDT
Null
null at wuffleton.com
Mon Oct 26 00:33:28 UTC 2015
On 2015-10-23 5:42, Charles Lepple wrote:
> So the interesting part is that I was testing the master branch yesterday (same commit) on an older Debian box (3.16 kernel). The driver had trouble starting, but once it got going, it has been running continuously.
>
> I'm not really sold on this approach (due to the testing needed on other hardware), but this pull request reworks the USB communication so that the interface is only claimed while it is being polled:
>
> https://github.com/networkupstools/nut/pull/122
>
> Even though Github is reporting a potential merge conflict, it should be possible to check out that branch, and see if the driver is more stable in that version.
>
> If nothing else, there are some value scaling fixes for this model in that pull request. The HID descriptor in this UPS is a bit of a mess. (6kHz Hz power would be... interesting.)
The driver seems to be much more stable in this branch. I'm able to get
the driver up and running on the first shot, and it's been up for at
least a few hours now without any issues. The scaling fixes also
definitely work, since I'm seeing sane values for everything when I use
upsc to query the UPS.
On 2015-10-24 19:25, Charles Lepple wrote:
> I'm starting to think this is motherboard-dependent. I now have the SMART1500LCDT plugged into a HP Z800 (Xeon 5xxx) motherboard on Debian jessie (also 3.16, but might be slightly different than the other box), and it is disconnecting frequently. (The stable system is a Dell Core i5.)
Seeing as the Dell C2100 server I'm running it with has a very similar
chipset to the Z800 (Intel 5500 vs 5520, which lspci considers to be
effectively the same), I wouldn't rule this out. So we've got a couple
more samples with different chipsets and this model of UPS, I'll test it
against my Haswell i3 laptop, and my Raspberry Pi2 later this week to
see if they behave any differently against the current master branch.
More information about the Nut-upsuser
mailing list