[Nut-upsuser] Plexus UPS on a QNAP NAS

Arnaud Quette aquette.dev at gmail.com
Sat Jan 15 09:35:47 UTC 2011


Hi

Note that you need to subscribe to this list, in order to post...

2011/1/14 Jonathan Cunliffe <subscription at gadget.org.uk>

> Hi,
>
> Has anyone managed to get a Plexus UPS talking to their NAS. I've followed
> the excellent instructions here
> http://forum.qnap.com/viewtopic.php?f=182&t=35970&start=0 but I'm not
> there yet.
>
 (...) and you can get ever more compatibility with nut 2.6.0 ;-) (...)

When I manually start upsdrvctl without the UPS plugged in I get
>
>  [~] # /usr/bin/upsdrvctl start
> Network UPS Tools - UPS driver controller 2.4.1
> Network UPS Tools - Megatec protocol driver 1.6 (2.4.1)
> Serial-over-USB transport layer 0.10
> No supported devices found. Please check your device availability with
> 'lsusb'
> and make sure you have an up-to-date version of NUT. If this does not help,
> try running the driver with at least 'vendorid' and 'subdriver' options
> specified. Please refer to the man page for details about these options
> (man 8 megatec_usb).
> Please report your results to the NUT user's mailing list
> <nut-upsuser at lists.alioth.debian.org>.
>
> Driver failed to start (exit status=1)
> [~] #
>
>
> When I plug the UPS in I get
>
>
>
> [~] # /usr/bin/upsdrvctl start
> Network UPS Tools - UPS driver controller 2.4.1
> Network UPS Tools - Megatec protocol driver 1.6 (2.4.1)
> Serial-over-USB transport layer 0.10
> Can't claim USB device [0001:0000]: could not detach kernel driver from
> interface 0: Operation not permitted
> Driver failed to start (exit status=1)
>
>
>
> My ups.conf looks like this
>
>
>
> [qnapups]
>         driver = usbhid-ups
>         port = auto
>         mfr = "Plexus"
>         model = "Plexus 500VA UPS"
>         desc = "Workstation"
>         pollinterval=1
>         ignoreoff
>
>
> lsusb shows before the UPS is plugged in
>
>
>
> [~] # lsusb
> Bus 001 Device 003: ID 04a9:10b0 Canon, Inc.
> Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc.
> Bus 001 Device 001: ID 1d6b:0002
>
>
> And after
>
>
>
> [~] # lsusb
> Bus 001 Device 004: ID 0001:0000 Fry's Electronics
> Bus 001 Device 003: ID 04a9:10b0 Canon, Inc.
> Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc.
> Bus 001 Device 001: ID 1d6b:0002
>
>
>
> Anyone any ideas...?
>
> Thanks,
>

you are missing the udev device permissions settings:
http://www.networkupstools.org/docs/user-manual.chunked/ar01s05.html#Ownership

if the file scripts/udev/52-nut-usbups.rules is not installed in
/etc/udev/rules.d/, do so and refresh you udev configuration using "udevadm
trigger --action=change".

cheers,
Arnaud
-- 
Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.free.fr/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110115/f7ef2c53/attachment.htm>


More information about the Nut-upsuser mailing list