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

2011-01-25 Thread Jonathan Cunliffe
Hi again,

 

Changes applied as suggested but still the same problem unfortunately.
Here's what I did:

 

[~] # pwd

/root

[~] # ls

index_default.html

[~] # ls /etc/udev/  

udev.conf

[~] # ls /

Qmultimedia@ etc/ linuxrc@ opt@ proc/share/
tmp/

bin/ home@lost+found/  php.ini@ root/stunnel.pid
usr@

dev/ lib/ mnt/ play/sbin/sys/
var/

[~] # find / -names *.rules

BusyBox v1.01 (2010.12.16-17:41+) multi-call binary

 

Usage: find [PATH...] [EXPRESSION]

 

Search for files in a directory hierarchy.  The default PATH is

the current directory; default EXPRESSION is '-print'

 

EXPRESSION may consist of:

-follow  Dereference symbolic links.

-name PATTERNFile name (leading directories removed)
matches PATTERN.

-print Print (default and assumed).

 

-type X  Filetype matches X (where X is
one of: f,d,l,b,c,...)

-perm PERMSPermissions match any of (+NNN); all
of (-NNN);

or exactly (NNN)

-mtime TIME Modified time is greater than (+N);
less than (-N);

or exactly (N) days

 

[~] # ls /opt

/opt@

[~] # 

[~] # find / -name *.rules 

/share/MD0_DATA/.qpkg/Optware/etc/udev/rules.d/52-nut-usbups.rules

[~] # ls /etc/udev

udev.conf

[~] # ln -s /share/MD0_DATA/.qpkg/Optware/etc/udev/rules.d /etc/udev/rules.d


[~] # ls /etc/udev

rules.d@   udev.conf

[~] # udevadm  

missing or unknown command

 

Usage: udevadm [--help] [--version] [--debug] COMMAND [COMMAND OPTIONS]

  info query sysfs or the udev database

  trigger  request events from the kernel

  settle   wait for the event queue to finish

  control  control the udev daemon

  monitor  listen to kernel and udev events

  test simulation run

 

[~] # udevadm trigger --action=change

[~] # 

[~] # /usr/bin/upsdrvctl start

Network UPS Tools - UPS driver controller 2.4.1

Network UPS Tools - Megatec/Q1 protocol USB driver 0.03 (2.4.1)

Can't claim USB device [0001:]: could not detach kernel driver from
interface 0: Operation not permitted

Driver failed to start (exit status=1)

[~] #

 

Sorry if I'm appearing a bit slow here but Linux is very new to me so any
help is genuinely appreciated.

 

Thanks,

 

Jonathan

From: Jonathan Cunliffe [mailto:subscript...@gadget.org.uk] 
Sent: 25 January 2011 10:25
To: 'nut-upsuser@lists.alioth.debian.org'
Subject: Re: [Nut-upsuser] Plexus UPS on a QNAP NAS

 

Thanks Arjen and Arnaud.  Sorry, I missed Arnaud's first answer.  I'll try
and do as he suggests and reply back.

 

Thanks again,

 

Jonathan

 

___
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-25 Thread Jonathan Cunliffe
Thanks Arjen and Arnaud.  Sorry, I missed Arnaud's first answer.  I'll try
and do as he suggests and reply back.

 

Thanks again,

 

Jonathan

 

___
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-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
 &t=35970&start=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
.

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

[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
 &t=35970&start=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
.

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

[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
 &t=35970&start=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
.

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