[Nut-upsuser] communications lost/established

ricman ricman at neomedia.it
Thu Mar 18 21:19:15 UTC 2010


Scrive Arjen de Korte <nut+users at de-korte.org>:

> Citeren ricman <ricman at neomedia.it>:
> 
> > here are a couple of logs: log 1 and 2 are pretty similar and command
> stopped
> > after a couple of seconds saying "No supported UPS detected"; log 3  
> > went on for about 30 seconds and i stopped it using control+c
> 
> Your UPS can't make up its little mind what it should report when we  
> ask it for the Product string. Initially it reports nothing (unknown)  
> and later it reports "068A". This fools the logic that attempts to  
> detect the UPS again when the connection needs to be re-established.  
> There us really not much we can do about that and it also speaks  
> volumes for the robustness of the USB implementation of your UPS.
> 
> > my ups has a serial port but not my pc (it is on the motherboard...  
> > i should buy a connector... maybe i do)
> 
> Since the USB connection is unreliable, a USB to serial converter  
> might be a better solution here. Hopefully the serial connection of  
> the device is a little more stable than the crappy USB interface.
> 
> Best regards, Arjen
> -- 
> Please keep list traffic on the list
> 
> 
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
> 


serial-pci card installed and ups connected.
since it is the only serial port in use i guess it is ttyS0... anyway i tried
ttyS0 and ttyS1 but it doesn't work.
connecting or not the cable the result doesn't change


Mar 18 22:02:40 maialinux upsd[2895]: listening on 127.0.0.1 port 3493
Mar 18 22:02:40 maialinux upsd[2895]: Can't connect to UPS [myups]
(blazer_ser-myups): No such file or directory
Mar 18 22:02:40 maialinux upsd[2903]: Startup successful
Mar 18 22:02:40 maialinux upsmon[2905]: Startup successful
Mar 18 22:02:40 maialinux upsd[2903]: User local_mon at 127.0.0.1 logged into UPS
[myups]
Mar 18 22:02:40 maialinux upsmon[2908]: Poll UPS [myups at localhost] failed -
Driver not connected
Mar 18 22:02:40 maialinux upsmon[2908]: Communications with UPS myups at localhost
lost
Mar 18 22:02:45 maialinux upsmon[2908]: Poll UPS [myups at localhost] failed -
Driver not connected
Mar 18 22:02:45 maialinux upsmon[2908]: UPS myups at localhost is unavailable
Mar 18 22:02:50 maialinux upsmon[2908]: Poll UPS [myups at localhost] failed -
Driver not connected


debug level is '3'
Trying megatec protocol...
send: Q1
read: timeout
blazer_status: short reply
Status read 1 failed
send: Q1
read: timeout
blazer_status: short reply
Status read 2 failed
send: Q1
read: timeout
blazer_status: short reply
Status read 3 failed
Trying mustek protocol...
send: QS
read: timeout
blazer_status: short reply
Status read 1 failed
send: QS
read: timeout
blazer_status: short reply
Status read 2 failed
send: QS
read: timeout
blazer_status: short reply
Status read 3 failed
Trying megatec/old protocol...
send: D
read: timeout
blazer_status: short reply
Status read 1 failed
send: D
read: timeout
blazer_status: short reply
Status read 2 failed
send: D
read: timeout
blazer_status: short reply
Status read 3 failed
No supported UPS detected
Network UPS Tools - Megatec/Q1 protocol serial driver 1.51 (2.4.1)

where am i wrong?




More information about the Nut-upsuser mailing list