[Nut-upsuser] communications lost/established

ricman ricman at neomedia.it
Thu Mar 18 22:05:38 UTC 2010


Scrive Kjell Claesson <kjell.claesson at epost.tidanet.se>:

> Hi ricman,
> 
> 
> 8<--------------------snip----------------------------
> > 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?
> 
> 1. Your ups.conf ?
> 
> 2. What command did you use for debug ?
> ex: /path/to/driver -a ups -u root
> 
> 3. The user and group of the serial port ?
> ex: crw-rw---- 1 root uucp 4, 64 18 mar 22.37 /dev/ttyS0
> 
> 4. Is the user you run NUT as, a member of the group for the port?
> 
> /Kjell
> 


1) ups.conf

[myups]
	driver = blazer_ser
	port = /dev/ttyS0
	desc = "Atlantis Land HostPower Sinewave Line Interactive 1501 - A03-HP1501"

------------------------------------------------------------------------

2) sudo /lib/nut/blazer_ser -DDD -a myups 2>&1 | tee log.txt

------------------------------------------------------------------------

3) ls -l | grep ttyS0
crw-rw-rw-  1 root nut       4,  64 2010-03-18 22:08 ttyS0

------------------------------------------------------------------------

4) i don't know the command to check this for sure but i think so, since this
stuff is done automatically in ubuntu and worked using usb connection (but was
very very ustable)




More information about the Nut-upsuser mailing list