From owner-freebsd-questions@FreeBSD.ORG Tue Jul 3 02:59:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EB9D6106566C for ; Tue, 3 Jul 2012 02:59:51 +0000 (UTC) (envelope-from mueller23@insightbb.com) Received: from mail.insightbb.com (smtp3.insight.synacor.com [208.47.185.25]) by mx1.freebsd.org (Postfix) with ESMTP id AE8F18FC08 for ; Tue, 3 Jul 2012 02:59:51 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=1.1 cv=z5JnbuUV59w9XxpMO3Yhc9aVbWy8YmjdXuO1Tcff/LU= c=1 sm=0 a=wI-ZHkVuxeQA:10 a=jLN7EqiLvroA:10 a=G2fqfSWf53u-7-Ty2ggA:9 a=Q/oqmR4JO1zR3vNQamCQeQ==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp02.insight.synacor.com smtp.mail=mueller23@insightbb.com; spf=softfail; sender-id=softfail Authentication-Results: smtp02.insight.synacor.com header.from=mueller23@insightbb.com; sender-id=softfail Received-SPF: softfail (smtp02.insight.synacor.com: transitional domain insightbb.com does not designate 74.134.26.53 as permitted sender) Received: from [74.134.26.53] ([74.134.26.53:49459] helo=localhost) by mail.insightbb.com (envelope-from ) (ecelerity 2.2.2.40 r(29895/29896)) with ESMTP id C8/05-06836-02062FF4; Mon, 02 Jul 2012 22:59:44 -0400 Date: Mon, 02 Jul 2012 22:59:44 -0400 Message-ID: From: "Thomas Mueller" To: freebsd-questions@freebsd.org Subject: WITHOUT_MODULES in /etc/make.conf doesn't work 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: Tue, 03 Jul 2012 02:59:52 -0000 How does one, when building the kernel, prevent building one or more modules? I have WITHOUT_MODULES= ulpt in /etc/make.conf but ulpt.ko always appears in /boot/kernel directory. For now, I want to build all modules except for this one, but perhaps I could keep everything in kernel config and not build modules. I think MODULES_OVERRIDE is for building only a few modules instead of a large number of modules? I can't see any way one would use both MODULES_OVERRIDE and WITHOUT_MODULES at the same time. Alternatively, how can I prevent ulpt.ko from automatically loading when I connect a USB printer (HP) that is supposed to work with ugen but not ulpt. What would a FreeBSD user do in order to be able to be able to connect USB printers by either ugen or ulpt, might have two or more printers, using one at a time? I have "device ulpt" line commented out in kernel config. Tom