Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Apr 2008 10:16:14 -0600
From:      Eric Zimmerman <heli@mikestammer.com>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        ports@freebsd.org, itetcu@freebsd.org, Mike Stammer <mikestammer@gmail.com>
Subject:   Re: freebsd port: apcupsd-3.14.3_1
Message-ID:  <48189B4E.5070001@mikestammer.com>
In-Reply-To: <18456.39202.134250.307801@jerusalem.litteratus.org>
References:  <2a2e30e80804300831r78f6a3a2j634f94877d75a32@mail.gmail.com> <18456.39202.134250.307801@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <blank> works as expected.

Eric Zimmerman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48189B4E.5070001>