Subject: Re: USB UPS's
To: Users NetBSD <netbsd-users@NetBSD.org>
From: Sergey Svishchev <svs@grep.ru>
List: netbsd-users
Date: 03/25/2007 14:09:26
--s2ZSL+KKDSLx8OML
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Mar 18, 2007 at 08:01:01PM -0400, Brian McEwen wrote:
>
>On Mar 18, 2007, at 10:09 AM, Steven M. Bellovin wrote:
>>
>>of thing if there's a power hit.  (UPS?  Sure; I have one for each of
>>my machines.  The machines also have no way of knowing when the UPS
>>battery is dying, since last time I checked our USB stack was
>>sufficiently incompatible with Linux's that the usual daemons don't
>>work that way.)
>>
>One of my weekend tasks sometime is to see if I can get my newly-=20
>installed USB card working with a UPS.
>I have a few brands around.
>
>What is supported well in terms of UPS features, and what is not?

apcupsd supports USB UPS's, using ugen(4) interface.  But uhidev(4) has
higher priority and attaches first, so you need to modify kernel config
or patch the kernel source -- see PR#28613 and PR#31884.

--=20
Sergey Svishchev

--s2ZSL+KKDSLx8OML
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Comment: ''

iD8DBQFGBkpW3P+wmuUns7URAndKAJ0ZiqAfrrBw9CsQcws1Ll5tgYfQWwCaAxHB
TeqZJpRp3feOGkv/7BqJSeY=
=zqL5
-----END PGP SIGNATURE-----

--s2ZSL+KKDSLx8OML--