hi!
When I turn on my pc everything works fine, but if I restart fails (I'm not
sure if this is true at 100%)?(then, i can do 'sudo /etc/init.d/nut
restart' and it works)
But what is certain is that sometimes when start up the pc it works and
sometimes fails, can be a problem with the start time (i have a fast ssd) and
the initialization of the driver and the usb port?
thanks!
syslog:
Apr 30 21:58:16 tron upsd[1251]: listening on 127.0.0.1 port 3493Apr 30 21:58:16
tron upsd[1251]: Can't connect to UPS [soyntec] (blazer_usb-soyntec): No
such file or directoryApr 30 21:58:16 tron upsd[1253]: Startup successfulApr 30
21:58:16 tron upsmon[1256]: Startup successfulApr 30 21:58:16 tron upsd[1253]:
User monuser at 127.0.0.1 logged into UPS [soyntec]Apr 30 21:58:16 tron
upsmon[1259]: Poll UPS [soyntec at localhost] failed - Driver not connectedApr
30 21:58:16 tron upsmon[1259]: Communications with UPS soyntec at localhost lost
my setup:
Ubuntu 11.04 64bitNUT v2.6 deb from ubuntuUPS Soyntec Sekury C 800 USBcore i5,
SSD corsair, 8GB ram, msi p67a-gd65
sudo /lib/nut/blazer_usb -DDDDD -a soyntec output?
Network UPS Tools - Megatec/Q1 protocol USB driver 0.03 (2.6.0)? 0.000000
send_to_all: SETINFO driver.parameter.port "auto"? ?0.000056 debug
level is '5'? ?0.132441 Checking device (1D6B/0003) (004/001)? ?0.132483
- VendorID: 1d6b? ?0.132490 - ProductID: 0003? ?0.132495 - Manufacturer:
unknown? ?0.132501 - Product: unknown? ?0.132506 - Serial Number: unknown?
?0.132511 - Bus: 004? ?0.132516 Trying to match device? ?0.132522 Device does
not match - skipping? ?0.132531 Checking device (1D6B/0003) (003/001)? ?0.132547
- VendorID: 1d6b? ?0.132553 - ProductID: 0003? ?0.132559 - Manufacturer:
unknown? ?0.132564 - Product: unknown? ?0.132569 - Serial Number: unknown?
?0.132574 - Bus: 003? ?0.132579 Trying to match device? ?0.132584 Device does
not match - skipping? ?0.132592 Checking device (8087/0024) (002/002)? ?0.132605
- VendorID: 8087? ?0.132610 - ProductID: 0024? ?0.132615 - Manufacturer:
unknown? ?0.132621 - Product: unknown? ?0.132626 - Serial Number: unknown?
?0.132630 - Bus: 002? ?0.132635 Trying to match device? ?0.132641 Device does
not match - skipping? ?0.132648 Checking device (1D6B/0002) (002/001)? ?0.132663
- VendorID: 1d6b? ?0.132669 - ProductID: 0002? ?0.132674 - Manufacturer:
unknown? ?0.132679 - Product: unknown? ?0.132684 - Serial Number: unknown?
?0.132689 - Bus: 002? ?0.132694 Trying to match device? ?0.132699 Device does
not match - skipping? ?0.132706 Checking device (0665/5161) (001/010)? ?0.136925
- VendorID: 0665? ?0.136941 - ProductID: 5161? ?0.136948 - Manufacturer: Cypress
Semiconductor? ?0.136954 - Product: USB to Serial? ?0.136960 - Serial Number:
unknown? ?0.136965 - Bus: 001? ?0.136971 Trying to match device? ?0.136977
Device matches? ?0.136990 failed to claim USB device: could not claim interface
0: Device or resource busy? ?0.193524 detached kernel driver from USB device...?
?0.194699 send_to_all: SETINFO ups.vendorid "0665"? ?0.194717
send_to_all: SETINFO ups.productid "5161"? ?0.194729 send_to_all:
SETINFO device.type "ups"? ?0.194737 send_to_all: SETINFO
driver.version "2.6.0"? ?0.194744 send_to_all: SETINFO
driver.version.internal "0.03"? ?0.194752 send_to_all: SETINFO
driver.name "blazer_usb"? ?0.194758 Trying megatec protocol...?
?0.195462 send: Q1? ?0.563527 read: (230.7 230.7 230.7 019 50.1 13.5 25.0
00001001? ?0.563573 send_to_all: SETINFO input.voltage "230.7"?
?0.563585 send_to_all: SETINFO input.voltage.fault "230.7"? ?0.563594
send_to_all: SETINFO output.voltage "230.7"? ?0.563619 send_to_all:
SETINFO ups.load "19"? ?0.563628 send_to_all: SETINFO input.frequency
"50.1"? ?0.563638 send_to_all: SETINFO battery.voltage
"13.50"? ?0.563647 send_to_all: SETINFO ups.temperature
"25.0"? ?0.563655 send_to_all: SETINFO beeper.status
"enabled"? ?0.563663 send_to_all: SETINFO ups.type "offline /
line interactive"? ?0.563676 send_to_all: SETINFO ups.status
"OL"? ?0.563683 Status read in 1 tries? ?0.563689 Supported UPS
detected with megatec protocol? ?0.564446 send: F? ?0.755438 read: #230.0 003
12.00 50.0? ?0.755467 send_to_all: SETINFO input.voltage.nominal
"230"? ?0.755477 send_to_all: SETINFO input.current.nominal
"3.0"? ?0.755488 send_to_all: SETINFO battery.voltage.nominal
"12.0"? ?0.755497 send_to_all: SETINFO input.frequency.nominal
"50"? ?0.755510 Ratings read in 1 tries? ?0.756084 send: I? ?1.756636
read: could not claim interface 0: Device or resource busy? ?1.756660
blazer_vendor: short reply? ?1.756668 Vendor information read 1 failed?
?1.757836 send: I? ?2.758276 read: could not claim interface 0: Device or
resource busy? ?2.758298 blazer_vendor: short reply? ?2.758305 Vendor
information read 2 failed? ?2.758964 send: I? ?3.760021 read: could not claim
interface 0: Device or resource busy? ?3.760042 blazer_vendor: short reply?
?3.760050 Vendor information read 3 failed? ?3.760056 Vendor information
unavailable? ?3.760063 Battery runtime will not be calculated (runtimecal not
set)? ?3.760076 send_to_all: SETINFO ups.delay.start "180"? ?3.760085
send_to_all: SETINFO ups.delay.shutdown "30"? ?3.760092 send_to_all:
ADDCMD beeper.toggle? ?3.760098 send_to_all: ADDCMD load.off? ?3.760104
send_to_all: ADDCMD load.on? ?3.760110 send_to_all: ADDCMD shutdown.return?
?3.760116 send_to_all: ADDCMD shutdown.stayoff? ?3.760123 send_to_all: ADDCMD
shutdown.stop? ?3.760129 send_to_all: ADDCMD test.battery.start? ?3.760135
send_to_all: ADDCMD test.battery.start.deep? ?3.760142 send_to_all: ADDCMD
test.battery.start.quick? ?3.760148 send_to_all: ADDCMD test.battery.stop?
?3.760938 send: Q1? ?4.115391 read: (230.7 231.1 230.7 019 50.1 13.5 25.0
00001001? ?4.115423 send_to_all: SETINFO input.voltage.fault "231.1"?
?4.115446 send_to_all: DATAOK? ?4.115503 dstate_init: sock
/var/run/nut/blazer_usb-soyntec open on fd 5? ?4.115515 send_to_all: SETINFO
driver.parameter.pollinterval "2"? ?4.116204 send: Q1? ?4.467429 read:
(230.7 231.1 231.1 019 50.1 13.5 25.0 00001001? ?4.467466 send_to_all: SETINFO
output.voltage "231.1"? ?5.838873 new connection on fd 6? ?5.838909
send_to_one: SETINFO battery.voltage "13.50"? ?5.838923 send_to_one:
SETINFO battery.voltage.nominal "12.0"? ?5.838931 send_to_one: SETINFO
beeper.status "enabled"? ?5.838939 send_to_one: SETINFO device.type
"ups"? ?5.838947 send_to_one: SETINFO driver.name
"blazer_usb"? ?5.838954 send_to_one: SETINFO
driver.parameter.pollinterval "2"? ?5.838961 send_to_one: SETINFO
driver.parameter.port "auto"? ?5.838969 send_to_one: SETINFO
driver.version "2.6.0"? ?5.838977 send_to_one: SETINFO
driver.version.internal "0.03"? ?5.838984 send_to_one: SETINFO
input.current.nominal "3.0"? ?5.838992 send_to_one: SETINFO
input.frequency "50.1"? ?5.838999 send_to_one: SETINFO
input.frequency.nominal "50"? ?5.839006 send_to_one: SETINFO
input.voltage "230.7"? ?5.839014 send_to_one: SETINFO
input.voltage.fault "231.1"? ?5.839021 send_to_one: SETINFO
input.voltage.nominal "230"? ?5.839028 send_to_one: SETINFO
output.voltage "231.1"? ?5.839035 send_to_one: SETINFO
ups.delay.shutdown "30"? ?5.839054 send_to_one: SETINFO
ups.delay.start "180"? ?5.839062 send_to_one: SETINFO ups.load
"19"? ?5.839069 send_to_one: SETINFO ups.productid "5161"?
?5.839076 send_to_one: SETINFO ups.status "OL"? ?5.839083 send_to_one:
SETINFO ups.temperature "25.0"? ?5.839090 send_to_one: SETINFO
ups.type "offline / line interactive"? ?5.839098 send_to_one: SETINFO
ups.vendorid "0665"? ?5.839105 send_to_one: ADDCMD beeper.toggle?
?5.839112 send_to_one: ADDCMD load.off? ?5.839119 send_to_one: ADDCMD load.on?
?5.839126 send_to_one: ADDCMD shutdown.return? ?5.839133 send_to_one: ADDCMD
shutdown.stayoff? ?5.839140 send_to_one: ADDCMD shutdown.stop? ?5.839146
send_to_one: ADDCMD test.battery.start? ?5.839153 send_to_one: ADDCMD
test.battery.start.deep? ?5.839160 send_to_one: ADDCMD test.battery.start.quick?
?5.839169 send_to_one: ADDCMD test.battery.stop? ?5.839176 send_to_one: DATAOK?
?5.839183 send_to_one: DUMPDONE? ?6.117135 send: Q1? ?6.483450 read: (230.7
231.1 230.7 019 50.1 13.5 25.0 00001001? ?6.483481 send_to_all: SETINFO
output.voltage "230.7"? ?8.119240 send: Q1? ?8.467467 read: (230.7
231.1 230.7 019 50.1 13.5 25.0 00001001? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?Broadcast Message from nut at tron ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? ? ? ? (somewhere) at 13:11 ... ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?Communications with UPS soyntec at
localhost established ? ? ? ? ? ? ? ? ? ? ? ? ?? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? 10.120718 send: Q1? 10.483419
read: (231.1 230.7 230.7 019 50.1 13.5 25.0 00001001? 10.483449 send_to_all:
SETINFO input.voltage "231.1"? 10.483467 send_to_all: SETINFO
input.voltage.fault "230.7"^C ?11.730901 Signal 2: exiting