Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Sep 1999 11:00:11 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        jason <jason@welsh.dynip.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: /dev/cuaa0 locked?
Message-ID:  <Pine.BSF.4.10.9909251059500.85093-100000@resnet.uoregon.edu>
In-Reply-To: <Pine.BSF.4.10.9909241940270.27516-100000@welsh.dynip.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 24 Sep 1999, jason wrote:

> im trying to run a ups daemon on my machine to run my ups.. its connected
> via serial cable to my ups..  when I run the program it initialize the
> program it says 
> [jason@welsh]$ /usr/local/ups/bin/genericups -t1 /dev/cuaa0
> Smart UPS Tools - Generic UPS driver 0.20 (0.41.4)
> UPS type: APC Back-UPS (940-0095A/B/C cable)
> /dev/cuaa0 is locked by another process   
> 
> how can I find out if /dev/cuaa0 is really being used by some other
> process? ive checked output of ps -auxw and didnt see anything..
> I looked in /var/spool/lock
> and didnt see a LCK file for it. (just for /dev/cuaa1 which is my modem)

Check perms on /dev/cuaa1.  It's probably owned by root:dialer with modes
660.

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9909251059500.85093-100000>