Re: [Nut-upsuser] safenet on debian etch

2006-07-25 Thread Omry Yadan
Here is my output:


# /lib/nut/safenet -a everpower1000 -D

Network UPS Tools - Generic SafeNet UPS driver 0.03 (2.0.2)

debug level is '5'

C : ZCADLIOPERJD
S : [empty]

C : ZCADLIOPERJD
S : [empty]

C : ZCADLIOPERJD
S : [empty]

C : ZCADLIOPERJD
S : [empty]
Communications with UPS lost: Status read failed

C : ZCADLIOPERJD
S : [empty]
Communications with UPS lost: Status read failed
SafeNet protocol compatible UPS not found on /dev/ttyS1



Arjen de Korte wrote:

 Run the driver in debug mode, I already suggested this in the previous
 message. The driver will be more verbose about what the cause is that it
 won't run.
   
 how do I run it in debug mode?
 

 Run (as root)

 path to driver/safenet -a everpower1000 -D

   
 I think that the problem is that the device does not support the safenet
 protocol.
 

 Maybe, maybe not.

   
 when I cat /dev/ttyS1, I get no output at all.
 is that normal for safenet?
 

 Yes. The device will only answer when a query or a command is sent.

 Regards, Arjen

 PS  Keep the mailinglist CC-ed. I will not reply to private messages.

   


___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


[Nut-upsuser] safenet on debian etch

2006-07-24 Thread Omry Yadan
Hi List,

I just got myself a new everpower-1000va.

according to the compatibility list, the 'safenet' driver supposed to
support it,

however, when I try, I get this in syslog:


Jul 24 15:05:22 tv upsd[26458]: Can't connect to UPS [everpower1000]
(safenet-ttyS1): No such file or directory


this is my ups.conf:


[everpower1000]
driver = safenet
port = /dev/ttyS1
desc = firefang.net



I am using nut installed via apt on debian-etch.


any suggestions?


Omry.


___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] safenet on debian etch

2006-07-24 Thread Omry Yadan
first of all, I am using version 2.0.2 on kernel 2.6.15

I played with the init.d startup script, and figured it was indeed a
permissions problem accessing the port file.

now I have, as you anticipated, a new problem : the protocol does not
seem to match.

this is what I get when I try:



# /etc/init.d/nut start
Starting Network UPS Tools:Network UPS Tools - UPS driver controller 2.0.2
Network UPS Tools - Generic SafeNet UPS driver 0.03 (2.0.2)

Communications with UPS lost: Status read failed
Communications with UPS lost: Status read failed
SafeNet protocol compatible UPS not found on /dev/ttyS1
Driver failed to start (exit status=1)
 (upsdrvctl failed).




any suggestions?


Omry.



Arjen de Korte wrote:

 I just got myself a new everpower-1000va.

 according to the compatibility list, the 'safenet' driver supposed to
 support it,
 

 That depends. The hardware this driver is written for is usually OEM
 equipment and vendors tend to shop for the lowest bidder. So quite often
 they change the internals of the UPS, without changing the typenumber or
 even the box it is packaged in. If your UPS came with 'SafeNet v1.0'
 software for Windows (either in the box or via download) it should be
 supported by this driver. If something else is bundled, you'll have to
 continue your search as it probably won't be supported by this driver.

   
 however, when I try, I get this in syslog:

 Jul 24 15:05:22 tv upsd[26458]: Can't connect to UPS [everpower1000]
 (safenet-ttyS1): No such file or directory
 

 This usually means the safenet driver isn't running. You may want to run
 the driver from the commandline with '-D' added to make it more
 verbose. Chances are that it will be telling you why it can't be started.
 This can be  as trivial as a serial port without the proper permissions.

 [...]

   
 I am using nut installed via apt on debian-etch.
 

 This isn't very helpful for people not running Debian. Please list version
 number of kernel and NUT.
   


___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser