[Nut-upsuser] can't get UPSDRV to see serial port

Kjell Claesson kjell.claesson at telia.com
Sun Aug 13 17:06:22 UTC 2006


Hi Rich,
sön 2006-08-13 klockan 11:28 -0500 skrev Rich Osman:
> First, a little history; nut has been working on this system for about 
> two years. It was a Fedora Core 2 (3?) system that I wiped and installed 
> SUSE 10.1 on so I'm fairly confident of the hardware.  I thought I'd 
> saved the nut configuration details before I did the reinstall, but 
> can't find them. (D'oh!)
> 
> The UPS is an APC BackUPS Pro 420. The cable is a clone of the APC 
> 940-0024C 'smart' cable and matches the pinout on the nut site.
> 
> I've created a user and group of 'ups' and set ports and permissions as 
> outlined in the install doc. 
> 
> I've configged for a user of  'ups' and all the makes were generally 
> clean, though some warnings were given about unreferenced variables and 
> pointer 'signedness' .  I'm not thrilled about this but see too much of 
> it. Make exits with a level of 0.
> 
> The chmod and chown in the install directions terminate without 
> comment.  The UPS is on com1/ttys0, though I've tried ttys1 just to see 
> what changes and nothing does.  I've also tried running it all as root 
> as a test.
> 
> The salient part of my ups.conf is:
> 
>     ________________________________
>     # Network UPS Tools: ups.conf
> 
>     user = ups
> 
>     [bup420]
>         driver = apcsmart
>         port = /dev/ttys0
>         desc = "Local UPS"
>     ________________________________
> 
> I'm (always) getting the message
> 
>  

Try port = /dev/ttyS0 .

It's a capital S in ttyS0.

Regards
Kjell





More information about the Nut-upsuser mailing list