From owner-freebsd-ports@FreeBSD.ORG Wed Apr 30 16:40:08 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFBEE106566B; Wed, 30 Apr 2008 16:40:08 +0000 (UTC) (envelope-from heli@mikestammer.com) Received: from mho-01-bos.mailhop.org (mho-01-bos.mailhop.org [63.208.196.178]) by mx1.freebsd.org (Postfix) with ESMTP id 954DE8FC18; Wed, 30 Apr 2008 16:40:08 +0000 (UTC) (envelope-from heli@mikestammer.com) Received: from [130.94.133.64] (helo=[192.168.11.2]) by mho-01-bos.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1JrEz0-000N69-Me; Wed, 30 Apr 2008 16:16:39 +0000 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 130.94.133.64 X-Report-Abuse-To: abuse@dyndns.com (see http://www.mailhop.org/outbound/abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18YUM+LndxrLSm4db7D2z73+S5sMA55crg= Message-ID: <48189B4E.5070001@mikestammer.com> Date: Wed, 30 Apr 2008 10:16:14 -0600 From: Eric Zimmerman User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Robert Huff References: <2a2e30e80804300831r78f6a3a2j634f94877d75a32@mail.gmail.com> <18456.39202.134250.307801@jerusalem.litteratus.org> In-Reply-To: <18456.39202.134250.307801@jerusalem.litteratus.org> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, itetcu@freebsd.org, Mike Stammer Subject: Re: freebsd port: apcupsd-3.14.3_1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2008 16:40:09 -0000 Robert Huff wrote: > Mike Stammer writes: > >> Last night i installed apcupsd and there was a post install message >> mentioning to comment out the following in the kernel: >> >> device uhid # "Human Interface Devices" >> >> i do not think this is necessary anymore as I, in the process of >> determining my first UPS was bad, tried a kernel both with and without >> the line above commented out. >> >> I now have apcupsd running with the line above uncommented in my >> kernel after exchanging my UPS for another one. >> >> The model UPS I am using is an APC BX900. >> >> Can the post install message be altered to remove the recommendation >> to comment out the device shown above? > > _If_ this is true (not doubting, just saying it's a significant > change and needs to be thoroughly tested), the APCUPSD authors need > to know so they can make the change in the souce. > According to the author's web page, found here: http://www.apcupsd.com/manual/Building_Installing_apcupsd.html#FreeBSD says: This port is complete and is being used by several users I think they already have changed things to allow it to work. I also found this page: http://www.freebsddiary.org/apcupsd.php which states: FreeBSD specific issues At the time of writing, there was a list of FreeBSD kernel configuration issues. These are no longer required. apcupsd now works with a GENERIC kernel on FreeBSD 6.1; there is no longer a need to disable uhid or enable egen. As well, the FreeBSD kernel panics if USB cable is unplugged while apcupsd is running. In short, apcupsd works out of the box, with the correct configuration items. I cannot comment on the kernel panics when unplugging the UPS as i haven't tested that, but everything else works without tweaking anything as mentioned in the post install file in the kernel (which is a good thing!). Everything else in the post install msg, including setting UPSTYPE usb and setting DEVICE works as expected. Eric Zimmerman