Package: nut
Version: 2.4.1-3
Severity: normal
I have a SVEN Pro+ 625 ups that uses megatec_usb driver.
In ups.conf I describe it like:
[sven_625]
driver = megatec_usb
port = auto
desc = "SVEN Pro+ 625"
When I starting the nut, I hear "beep" from the ups and nut succesfully detect
it.
And I can view the UPS status:
# upsc sven_625
battery.charge: 97.5
battery.voltage: 13.60
battery.voltage.nominal: 12.0
driver.name: megatec_usb
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.version: 2.4.1
driver.version.internal: 1.6
input.frequency: 50.0
input.frequency.nominal: 50.0
input.voltage: 233.3
input.voltage.fault: 140.0
input.voltage.maximum: 233.3
input.voltage.minimum: 229.9
input.voltage.nominal: 220.0
output.voltage: 233.8
ups.beeper.status: enabled
ups.delay.shutdown: 0
ups.delay.start: 2
ups.load: 20.0
ups.mfr:
ups.model: VT0105BG
ups.serial: unknown
ups.status: OL
ups.temperature: 30.0
ups.type: standby
But in /var/log/syslog I see the errors that adds every 5-20 seconds!
Jun 15 13:58:12 beam megatec_usb[15480]: ser_send_pace: Device detached? (error
-5: could not claim interface 0: Device or
resource busy)
Jun 15 13:58:13 beam megatec_usb[15480]: Successfully reconnected
Jun 15 13:58:32 beam megatec_usb[15480]: ser_send_pace: Device detached? (error
-5: could not claim interface 0: Device or
resource busy)
Jun 15 13:58:32 beam megatec_usb[15480]: Successfully reconnected
Jun 15 13:58:34 beam megatec_usb[15480]: ser_send_pace: Device detached? (error
-5: error sending control message: Operation not
permitted)
Jun 15 13:58:35 beam megatec_usb[15480]: Successfully reconnected
If I try to start megatec_usb manually, I see:
# /lib/nut/megatec_usb -a sven_625 -D -u nut
Network UPS Tools - Megatec protocol driver 1.6 (2.4.1)
Serial-over-USB transport layer 0.10
debug level is '1'
Starting UPS detection process...
0 out of 5 detection attempts failed (minimum failures: 2).
Cancelling any pending shutdown or battery test.
Megatec protocol UPS detected [ VT0105BG].
12.0V battery, interval [9.7V, 13.7V].
Done setting up the UPS.
ser_send_pace: Device detached? (error -5: error sending control message:
Operation not permitted)
Successfully reconnected
ser_send_pace: Device detached? (error -5: error sending control message:
Operation not permitted)
Successfully reconnected
ser_send_pace: Device detached? (error -5: error sending control message:
Operation not permitted)
Successfully reconnected
If I try to start it with root priveleges, I see thouse errors:
# /lib/nut/megatec_usb -a sven_625 -D -u root
Network UPS Tools - Megatec protocol driver 1.6 (2.4.1)
Serial-over-USB transport layer 0.10
debug level is '1'
Starting UPS detection process...
0 out of 5 detection attempts failed (minimum failures: 2).
Cancelling any pending shutdown or battery test.
Megatec protocol UPS detected [ VT0105BG].
12.0V battery, interval [9.7V, 13.7V].
Done setting up the UPS.
ser_send_pace: Device detached? (error -5: No error)
Successfully reconnected
ser_send_pace: Device detached? (error -5: No error)
Successfully reconnected
ser_send_pace: Device detached? (error -5: No error)
Successfully reconnected
ser_send_pace: Device detached? (error -5: No error)
Successfully reconnected
What does this error mean and how I can disable thouse messages?
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages nut depends on:
ii adduser 3.110 add and remove users and groups
ii debconf 1.5.26 Debian configuration management sy
ii libc6 2.9-12 GNU C Library: Shared libraries
ii libupsclient1 2.4.1-3 network UPS tools - client library
ii libusb-0.1-4 2:0.1.12-13 userspace USB programming library
ii libwrap0 7.6.q-16 Wietse Venema's TCP wrappers libra
ii lsb-base 3.2-22 Linux Standard Base 3.2 init scrip
ii udev 0.141-1 /dev/ and hotplug management daemo
Versions of packages nut recommends:
ii bash-completion 1:1.0-3 programmable completion for the ba
Versions of packages nut suggests:
pn nut-cgi <none> (no description available)
pn nut-dev <none> (no description available)
pn nut-snmp <none> (no description available)
pn nut-xml <none> (no description available)
-- debconf information:
nut/major_upstream_changes:
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]