Subject: Re: Installing a UPS for a NetBSD server... software and procedures?
To: None <>
From: Courtney R. Spencer <>
List: netbsd-users
Date: 04/23/2007 07:12:19
On 4/21/07, Thomas Bieg <> wrote:
> Gilles Gravier wrote:
> > Thomas.
> >
> > Thanks!
> >
> > But... I'm not a "kernel manipulation" specialist... So... how do I get
> > the ugen driver loaded? I have no special problem with HID mice or
> > keyboards as they are both PS/2 devices on the server... so all I need
> > is to load ugen... but do I really need to rebuild a kernel for that? Or
> > is there a more "dynamic" way on a running system (I'm OK with having to
> > reboot... but rebuilding a kernel... well... haven't done that since the
> > SunOS 4.0.3 times... so I'm a bit rusty.).
> The only way to go without rebuilding a kernel is probably to disable
> uhid at the boot prompt on every reboot...
> But you don't have to be a specialist to build a kernel. The needed
> steps are documented on the Kernel FAQ page; you can follow them almost
> blindly once you managed to get the sources and appropriately replace
> <ARCH> and <MYCONF>:
> The patch I'm running my system without disabling uhid is found
> here (there are other patches floating around but this is probably
> the simplest that does the job):

I wrote the maintainers of apcupsd a while back about this in that there is no
need to disable uhidev when you take care to declare direct addresses
in your kernel.  There is also no need to patch uhid.

One maintainer corrected the documentation in an old version but it looks
like the new documentation declares the same (non)requirement.