From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 01:48:21 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A72D16A41C for ; Sat, 9 Jul 2005 01:48:21 +0000 (GMT) (envelope-from george@n3gqf.net) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id A48F043D49 for ; Sat, 9 Jul 2005 01:48:20 +0000 (GMT) (envelope-from george@n3gqf.net) Received: from bsd.asgard.local (pcp0010945386pcs.reding01.pa.comcast.net[68.82.173.201]) by comcast.net (sccrmhc11) with ESMTP id <2005070901481901100ipm6ee>; Sat, 9 Jul 2005 01:48:19 +0000 Received: from [10.42.69.30] (gf-xp3200.asgard.local [10.42.69.30]) by bsd.asgard.local (8.13.3/8.13.1) with ESMTP id j691mgIn004790 for ; Fri, 8 Jul 2005 21:48:43 -0400 (EDT) (envelope-from george@n3gqf.net) Message-ID: <42CF2CE2.60009@n3gqf.net> Date: Fri, 08 Jul 2005 21:48:18 -0400 From: George Fazio User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: device.hints question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2005 01:48:21 -0000 I was installing apcupsd with an APC USB UPS, and found that I needed to disable the uhid driver. The instructions on the apcupsd site specifically say to recompile the kernel. But, I try to keep my kernel as generic as possible, so I tried entering the following line into the device.hints file. hint.uhid.0.disabled="1" This did not work, and I'm not sure if it's a syntax issue on my part, or if disabling this driver via device.hints is just not supported. I did a web search for information on device.hints and uhid, but did not find anything specific. Recompiling with a custom kernconf worked, and everything is up and running.. But, I'm interested in a little bit of background on why the device hint did not work. If anyone has a quick answer great. Like I said, everything is working, so it's not like I need an answer. But, I'm still fairly new to Unix and FreeBSD, and trying to learn the why behind how things work. So, any information would be helpful. Thanks a bunch, George