Subject: Re: prototype in GENERIC for APC UPS?
To: Matthias Scheler <tron@zhadum.org.uk>
From: Michael Lorenz <macallan@netbsd.org>
List: tech-kern
Date: 04/23/2007 14:23:05
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Apr 23, 2007, at 11:09, Matthias Scheler wrote:

> On Mon, Apr 23, 2007 at 10:57:46AM -0400, Steven M. Bellovin wrote:
>> In principle, you're right, though I'd prefer a scheme where such a
>> table can be loaded and modified dynamically.  One shouldn't have to
>> change a kernel config file or (worse yet) change kernel source to
>> handle a situation like this.
>
> Well, you could always teach uhid(4) to ignore certain devices in which
> ugen(4) should get them.

Or just have ugen's match() return a higher score than uhid's in such a 
case.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRiz5icpnzkX8Yg2nAQL1XQf/f64DzIaW7b6wgY8/9cKVq/NazSp46LSi
szB8j4P57gjW52c7KBc8RoAjwDdG0ktLBzhkaiiTe5DOdq3ixKEKJPkXu3ZRJ+4q
a9da7wGAHYiw0euYtlEE2sntDrfeA8mEGFR9iSxqxFULsq/n6IK0lOLSw9BnETOg
PkOgPLBo5a3Wg0g8uzv6Bm5kGNsP8/ygNfqJAwZynEMHRjkqb5kZuO+3JMoHASzH
/FPEBy39pWBQazGcPDTN7rjRvdvToFbkQzWuQCFKLyqqO9nEDneG0bCv9bEK0TN5
J9sVzzJp78482cfvI2ajOB7YyBSK6WE2FPat6RCvKoFMghx4py7yWw==
=OBNG
-----END PGP SIGNATURE-----