[Nut-upsuser] IBM 5396-1Kx ups nearly recognised.

Charles Lepple clepple at gmail.com
Sat Apr 16 22:50:40 UTC 2016


[as this list does not set or alter the Reply-To header, please use "reply all". Thanks!]

> On Apr 16, 2016, at 5:14 PM, Andy R - (NUT-List) wrote:
> 
> I'm currently using the usbhid-ups driver but as the ups usb-ID isn't recognised in the udev rules I run it as root. Running usbhid-ups gives a "device not recognised" error but using '-x explore' gives a huge pile of information back. Though this could mean anything from just a small change needed all the way to "good luck" though.
> 
> So, what can I do to get my ups to work with NUT?

The debug output looks reasonable - I think you are close to getting this working. (If you have any other debug output to send, feel free to gzip the log file and it should get through to the list automatically, if less than 40kB when MIME-encoded.)

We can probably just add the IBM VID to the list of supported devices.

I am not familiar with Arch Linux. What is the easiest way for you to rebuild the package? I attached a patch file to add your device to both the driver and udev rules (diffed from master, but should work against 2.7.4).

I also kicked off a build, which generated this source tarball: http://buildbot.networkupstools.org/~buildbot/docker-debian-jessie/snapshot/Eaton_IBM_VID/ra7f4858f1d220b4c10bf5afb51071ff174f7e4a8-548/nut-v2.7.4-20-ga7f4858.tar.gz (The tarballs don't require autotools or some other dependencies, but they would need a compiler and all of the relevant lib*-devel packages.)

It is possible that you could just change one of the Arch build scripts from "nut-2.7.4.tar.gz" to "nut-v2.7.4-20-ga7f4858.tar.gz" and rebuild, but I am totally speculating. (Note the extra "v" before the version number - I need to fix that...)

-- 
Charles Lepple
clepple at gmail


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Eaton_IBM_VID.diff
Type: application/octet-stream
Size: 2002 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20160416/b98b6145/attachment.obj>


More information about the Nut-upsuser mailing list