[Nut-upsuser] Plexus UPS on a QNAP NAS

2011-01-24 Thread Jonathan Cunliffe
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
http://forum.qnap.com/viewtopic.php?f=182t=35970start=0 t=35970start=0
but I'm not there yet.

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@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:]: 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: 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,

Jon C

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

Re: [Nut-upsuser] Plexus UPS on a QNAP NAS

2011-01-24 Thread Arjen de Korte

Citeren Jonathan Cunliffe subscript...@gadget.org.uk:

[...]


Anyone any ideas...?


Someone posted a reply to your first message. Instead of reposting the  
same message, you might try if following that reply might get you  
further. Reading the manuals might also help.


Best regards, Arjen
--
Please keep list traffic on the list (off-list replies will be rejected)


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


Re: [Nut-upsuser] Plexus UPS on a QNAP NAS

2011-01-15 Thread Arnaud Quette
Hi

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

2011/1/14 Jonathan Cunliffe subscript...@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=182t=35970start=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@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:]: 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: 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 RD - 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/
___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

[Nut-upsuser] Plexus UPS on a QNAP NAS

2011-01-15 Thread Jonathan Cunliffe
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
http://forum.qnap.com/viewtopic.php?f=182t=35970start=0 t=35970start=0
but I'm not there yet.

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@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:]: 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: 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,

Jon C

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