From owner-freebsd-ports@FreeBSD.ORG Tue Feb 19 09:20:07 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id F1A1B465; Tue, 19 Feb 2013 09:20:07 +0000 (UTC) (envelope-from ml@netfence.it) Received: from smtp.eutelia.it (mp1-smtp-6.eutelia.it [62.94.10.166]) by mx1.freebsd.org (Postfix) with ESMTP id 7F308AAB; Tue, 19 Feb 2013 09:20:07 +0000 (UTC) Received: from ns2.biolchim.it (ip-188-188.sn2.eutelia.it [83.211.188.188]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.eutelia.it (Eutelia) with ESMTP id 87C816445F3; Tue, 19 Feb 2013 10:00:19 +0100 (CET) Received: from soth.ventu (adsl-ull-238-253.41-151.net24.it [151.41.253.238]) (authenticated bits=0) by ns2.biolchim.it (8.14.6/8.14.6) with ESMTP id r1J90B4Q068583 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 19 Feb 2013 10:00:12 +0100 (CET) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.6/8.14.5) with ESMTP id r1J8xunS086657; Tue, 19 Feb 2013 09:59:56 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <51233F0C.1030509@netfence.it> Date: Tue, 19 Feb 2013 09:59:56 +0100 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130204 Thunderbird/17.0.2 MIME-Version: 1.0 To: itetcu@FreeBSD.org Subject: Apcupsd USB strangeitude Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.73 X-Scanned-By: MIMEDefang 2.73 on 10.1.2.13 X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ns2.biolchim.it [192.168.2.203]); Tue, 19 Feb 2013 10:00:13 +0100 (CET) Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2013 09:20:08 -0000 Hello. For years I've been an happy user of FreeBSD + apcupsd + APC Smart-UPS 1500. This has worked through various upgrades until a few days ago. Right now my config is: > # uname -a > FreeBSD xxxxxx.xxxxx 9.0-RELEASE-p5 FreeBSD 9.0-RELEASE-p5 #2: Sat Dec 1 14:43:22 CET 2012 root@xxxxxx.xxxxx:/usr/obj/usr/src/sys/XXXXXX i386 > # usbconfig > ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE > ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE > ugen2.1: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE > ugen3.1: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE > ugen4.1: at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE > ugen5.1: at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE > ugen6.1: at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE > ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON > ugen5.2: at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON > ugen3.2: at usbus3, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON > ugen0.3: at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON > ugen3.3: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE > ugen3.4: at usbus3, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON > ugen3.5: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON > # grep -v "^#" /usr/local/etc/apcupsd/apcupsd.conf > UPSCABLE usb > UPSTYPE usb > > LOCKFILE /var/spool/lock > ONBATTERYDELAY 6 > BATTERYLEVEL 5 > MINUTES 3 > TIMEOUT 0 > ANNOY 300 > ANNOYDELAY 60 > NOLOGON disable > KILLDELAY 0 > NETSERVER on > NISIP 0.0.0.0 > NISPORT 3551 > EVENTSFILE /var/log/apcupsd.events > EVENTSFILEMAX 10 > UPSCLASS standalone > UPSMODE disable > STATTIME 0 > STATFILE /var/log/apcupsd.status > LOGSTATS off > DATATIME 0 As I said, until a few days ago, this setup would work perfectly... that was until I added a BT dongle (ugen0.2). After this apparently unrelated change, apcupsd will refuse to start 9 times out of 10 with the following: > apcupsd[2353]: apcupsd FATAL ERROR in generic-usb.c at line 674 Cannot find UPS device -- For a link to detailed USB trouble shooting information, please see . Repeated "service apcupsd restart" will finally get it up and running. Any hint or pointer? bye & Thanks av.