Subject: Re: /dev/ttyXX for first serial port on NetBSD?
To: Thomas Bieg <tomsbsd04@tiscali.de>
From: Gilles Gravier <Gilles@Gravier.org>
List: netbsd-users
Date: 04/27/2007 20:48:19
No. It stops running. That's the problem.

Gilles.

Thomas Bieg wrote:
> Gilles Gravier wrote:
>> And when I launch it, I get the following :
>>
>> bash-3.2# apcupsd -d 10 -b
>> 0.000 apcupsd: apcupsd.c:211 Options parsed.
>> 0.000 apcupsd: apcupsd.c:234 Config file 
>> /usr/pkg/etc/apcupsd/apcupsd.conf processed.
>> 0.000 apcupsd: apcupsd.c:253 Attached to driver: dumb
>> 0.002 apcupsd: apcupsd.c:355 Netmaster thread started.
>> 0.003 apcupsd: apcnet.c:922 Master/slave network code disabled. Use 
>> --enable-master-slave to enable.
>>
>>
>> So... seems that something is wrong.
>
> Why do you think that there's something wrong? I don't see any error
> messages so far. Does it keep running in foreground (it should with -b)
> or does it return to the command prompt immediately?
>
> If apcupsd keeps running and you have your serial cable connected try
> to unplug the power from your UPS and check if you get any messages.
>
> Tom

-- 
/*Gilles Gravier*/ *=* *Gilles@Gravier.org* <mailto:Gilles@Gravier.org> 
*=* *http://www.gravier.org/*
ICQ : *77488526* 
<http://www.icq.com/whitepages/about_me.php?Uin=77488526> * || *MSN 
Messenger : Gilles@Gravier.org <http://members.msn.com/Gilles@Gravier.org>*
*Skype : ggravier <callto://ggravier>* || *Y! : ggravier 
<http://profiles.yahoo.com/ggravier> || AOL : gillesgravier 
<aim:goim?screenname=gillesgravier>
PGP Key ID : *0x8DE6D026* 
<http://pgp.mit.edu:11371/pks/lookup?search=0x8DE6D026&op=index>
"Chastity is its own punishment." (/Solomon Short/) [/David Gerrold/]
"De toutes les aberrations sexuelles, la chasteté est la plus 
aberrante." [Anatole France]