From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-79922-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1Jx7vb-0001ju-VL
	for garchives@archives.gentoo.org; Fri, 16 May 2008 21:57:28 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id D34CFE0414;
	Fri, 16 May 2008 21:57:25 +0000 (UTC)
Received: from web31703.mail.mud.yahoo.com (web31703.mail.mud.yahoo.com [68.142.201.183])
	by pigeon.gentoo.org (Postfix) with SMTP id 6427BE0414
	for <gentoo-user@lists.gentoo.org>; Fri, 16 May 2008 21:57:25 +0000 (UTC)
Received: (qmail 73443 invoked by uid 60001); 16 May 2008 21:57:24 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
  s=s1024; d=yahoo.com;
  h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID;
  b=vsJHk6cAep6ObZt8e/AFricsGqGMnBb+xu8zuWsV08Ciwdo9bNGMgdqFjNouM7EO4wRYy9KZTD3JwJe55zSAneola3HrhVc0QoRYk4BAde8lrV6xxDYKURbuS/so/9Ae0+Al2bguutPywjNZoP3zJp1WlUy8jJIc42zNQzTQ8UU=;
X-YMail-OSG: Qt3vYUsVM1mNIJze77Cvuk5dHYrpLlYsNLULsvAyxbrIUfMFfCPyVeFTPS8nlMFR3Ai3hVBmlvJOTQTrooIYSLw2ay1uOjmU.Rxkjn6c1fI7aOXhHCRD5ygtYhA-
Received: from [64.228.98.122] by web31703.mail.mud.yahoo.com via HTTP; Fri, 16 May 2008 14:57:24 PDT
X-Mailer: YahooMailWebService/0.7.185
Date: Fri, 16 May 2008 14:57:24 -0700 (PDT)
From: maxim wexler <blissfix@yahoo.com>
Subject: Re: [gentoo-user] ttyS0 conflict was UPS recommendation
To: gentoo-user@lists.gentoo.org
In-Reply-To: <847198.24766.qm@web31704.mail.mud.yahoo.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Message-ID: <558187.73071.qm@web31703.mail.mud.yahoo.com>
X-Archives-Salt: b41a1804-8df5-4f27-903a-40bfe1017fc0
X-Archives-Hash: ddc7a80feb79e5c3d0129c21b5846fff

> Thanks for your exhaustive replies. I've decided to go
> for the APC ES-350 for seventy bucks at the local Staples.

been following this page:

http://gentoo-wiki.com/HOWTO_APCUPSD

Kernel seems to have all the right stuff...

heathen@localhost ~ $ emerge -pv apcupsd

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-power/apcupsd-3.12.4  USE="ncurses usb -cgi -doc -nls -snmp -threads -vhosts" 0 kB

#rc-update add apcupsd default. So far so good. 

$cat /proc/bus/usb/devices

<...>
T:  Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=051d ProdID=0002 Rev= 1.06
S:  Manufacturer=APC
S:  Product=Back-UPS ES 350 FW:823.B1.D USB FW:B1
S:  SerialNumber=3B0742X02836
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   6 Ivl=10ms
<...>

But when I try dialup I get this:

Device ttyS0 is blocked by PID 3981

which turns out is apcupsd. So I have to kill it before I can dial out.
Sure enough, in the conf file there is this: DEVICE /dev/ttyS0.

Which makes me wonder why it needs /dev/ttyS0? I'm using an external USR modem which uses ttyS0.

If I don't need to protect a fax-machine why do I need that phone line connector in the back of the UPS device anyway? When the power goes I don't care if the modem dies.

Can I just tell it to use one of these other /dev/ttyS*? If I comment out that DEVICE line will the thing still protect my PC?

heathen@localhost ~ $ ls /dev/ttyS*
/dev/ttyS0  /dev/ttyS1  /dev/ttyS2  /dev/ttyS3

Maxim







      
-- 
gentoo-user@lists.gentoo.org mailing list