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=182&t=35970&start=0> &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 <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, Jon C -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110114/92c71b3e/attachment.htm>
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>
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=182&t=35970&start=0> &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 <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, Jon C -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110115/9cb5d470/attachment-0001.htm>
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=182&t=35970&start=0> &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 <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, Jon C -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110124/733f68ec/attachment.htm>
Citeren Jonathan Cunliffe <subscription op 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)
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110125/3780fe25/attachment.htm>
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+0000) 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 PATTERN File 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 PERMS Permissions 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:0000]: 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:subscription at gadget.org.uk] Sent: 25 January 2011 10:25 To: 'nut-upsuser at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110126/2bd7a4c3/attachment.htm>